diff options
| author | mo <mo.khan@gmail.com> | 2018-09-09 16:29:31 -0600 |
|---|---|---|
| committer | mo <mo.khan@gmail.com> | 2018-09-09 16:29:31 -0600 |
| commit | 5fdfba3f7dfee0754d17733cf00dcfb80f65dd0a (patch) | |
| tree | 11f24b92ad3232f724ab09f24c6c3f76a12b000f | |
| parent | e369a2f417d0a7f980da6491572db1b5500cefff (diff) | |
upgrade gems
| -rw-r--r-- | .ruby-version | 2 | ||||
| -rw-r--r-- | Gemfile | 2 | ||||
| -rw-r--r-- | Gemfile.lock | 208 | ||||
| -rw-r--r-- | app/models/metadatum.rb | 2 | ||||
| -rwxr-xr-x | bin/server | 3 |
5 files changed, 109 insertions, 108 deletions
diff --git a/.ruby-version b/.ruby-version index 437459c..73462a5 100644 --- a/.ruby-version +++ b/.ruby-version @@ -1 +1 @@ -2.5.0 +2.5.1 @@ -1,5 +1,5 @@ source 'https://rubygems.org' -ruby '2.5.0' +ruby '2.5.1' git_source(:github) do |repo_name| repo_name = "#{repo_name}/#{repo_name}" unless repo_name.include?("/") diff --git a/Gemfile.lock b/Gemfile.lock index 453b66e..c194360 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -2,41 +2,41 @@ GEM remote: https://rubygems.org/ remote: https://rails-assets.org/ specs: - actioncable (5.1.4) - actionpack (= 5.1.4) + actioncable (5.1.6) + actionpack (= 5.1.6) nio4r (~> 2.0) websocket-driver (~> 0.6.1) - actionmailer (5.1.4) - actionpack (= 5.1.4) - actionview (= 5.1.4) - activejob (= 5.1.4) + actionmailer (5.1.6) + actionpack (= 5.1.6) + actionview (= 5.1.6) + activejob (= 5.1.6) mail (~> 2.5, >= 2.5.4) rails-dom-testing (~> 2.0) - actionpack (5.1.4) - actionview (= 5.1.4) - activesupport (= 5.1.4) + actionpack (5.1.6) + actionview (= 5.1.6) + activesupport (= 5.1.6) rack (~> 2.0) rack-test (>= 0.6.3) rails-dom-testing (~> 2.0) rails-html-sanitizer (~> 1.0, >= 1.0.2) - actionview (5.1.4) - activesupport (= 5.1.4) + actionview (5.1.6) + activesupport (= 5.1.6) builder (~> 3.1) erubi (~> 1.4) rails-dom-testing (~> 2.0) rails-html-sanitizer (~> 1.0, >= 1.0.3) - activejob (5.1.4) - activesupport (= 5.1.4) + activejob (5.1.6) + activesupport (= 5.1.6) globalid (>= 0.3.6) - activemodel (5.1.4) - activesupport (= 5.1.4) - activerecord (5.1.4) - activemodel (= 5.1.4) - activesupport (= 5.1.4) + activemodel (5.1.6) + activesupport (= 5.1.6) + activerecord (5.1.6) + activemodel (= 5.1.6) + activesupport (= 5.1.6) arel (~> 8.0) - activesupport (5.1.4) + activesupport (5.1.6) concurrent-ruby (~> 1.0, >= 1.0.2) - i18n (~> 0.7) + i18n (>= 0.7, < 2) minitest (~> 5.1) tzinfo (~> 1.1) addressable (2.5.2) @@ -44,15 +44,15 @@ GEM arel (8.0.0) bindex (0.5.0) builder (3.2.3) - byebug (9.1.0) - capybara (2.15.4) + byebug (10.0.2) + capybara (2.18.0) addressable mini_mime (>= 0.1.3) nokogiri (>= 1.3.3) rack (>= 1.0.0) rack-test (>= 0.5.4) - xpath (~> 2.0) - childprocess (0.8.0) + xpath (>= 2.0, < 4.0) + childprocess (0.9.0) ffi (~> 1.0, >= 1.0.11) coffee-rails (4.2.2) coffee-script (>= 2.2.0) @@ -64,25 +64,25 @@ GEM concurrent-ruby (1.0.5) crack (0.4.3) safe_yaml (~> 1.0.0) - crass (1.0.2) + crass (1.0.4) diff-lcs (1.3) - dotenv (2.2.1) - dotenv-rails (2.2.1) - dotenv (= 2.2.1) - railties (>= 3.2, < 5.2) - erubi (1.7.0) + dotenv (2.5.0) + dotenv-rails (2.5.0) + dotenv (= 2.5.0) + railties (>= 3.2, < 6.0) + erubi (1.7.1) execjs (2.7.0) - factory_girl (4.8.1) + factory_girl (4.9.0) activesupport (>= 3.0.0) - factory_girl_rails (4.8.0) - factory_girl (~> 4.8.0) + factory_girl_rails (4.9.0) + factory_girl (~> 4.9.0) railties (>= 3.0.0) - ffaker (2.7.0) - ffi (1.9.18) - globalid (0.4.0) + ffaker (2.10.0) + ffi (1.9.25) + globalid (0.4.1) activesupport (>= 4.2.0) hashdiff (0.3.7) - i18n (0.9.5) + i18n (1.1.0) concurrent-ruby (~> 1.0) jbuilder (2.7.0) activesupport (>= 4.2.0) @@ -91,43 +91,40 @@ GEM rb-fsevent (~> 0.9, >= 0.9.4) rb-inotify (~> 0.9, >= 0.9.7) ruby_dep (~> 1.2) - loofah (2.1.1) + loofah (2.2.2) crass (~> 1.0.2) nokogiri (>= 1.5.9) - mail (2.6.6) - mime-types (>= 1.16, < 4) + mail (2.7.0) + mini_mime (>= 0.1.1) method_source (0.9.0) - mime-types (3.1) - mime-types-data (~> 3.2015) - mime-types-data (3.2016.0521) - mini_mime (0.1.4) + mini_mime (1.0.1) mini_portile2 (2.3.0) minitest (5.11.3) - multi_json (1.12.2) - nio4r (2.1.0) - nokogiri (1.8.2) + multi_json (1.13.1) + net-hippie (0.1.9) + nio4r (2.3.1) + nokogiri (1.8.4) mini_portile2 (~> 2.3.0) - pg (0.21.0) - public_suffix (3.0.0) - puma (3.10.0) - rack (2.0.3) - rack-test (0.7.0) + pg (1.1.2) + public_suffix (3.0.3) + puma (3.12.0) + rack (2.0.5) + rack-test (1.1.0) rack (>= 1.0, < 3) - rails (5.1.4) - actioncable (= 5.1.4) - actionmailer (= 5.1.4) - actionpack (= 5.1.4) - actionview (= 5.1.4) - activejob (= 5.1.4) - activemodel (= 5.1.4) - activerecord (= 5.1.4) - activesupport (= 5.1.4) + rails (5.1.6) + actioncable (= 5.1.6) + actionmailer (= 5.1.6) + actionpack (= 5.1.6) + actionview (= 5.1.6) + activejob (= 5.1.6) + activemodel (= 5.1.6) + activerecord (= 5.1.6) + activesupport (= 5.1.6) bundler (>= 1.3.0) - railties (= 5.1.4) + railties (= 5.1.6) sprockets-rails (>= 2.0.0) - rails-assets-bootstrap (3.3.7) - rails-assets-jquery (>= 1.9.1, < 4) - rails-assets-jquery (3.2.1) + rails-assets-bootstrap (4.1.3) + rails-assets-jquery (3.3.1) rails-controller-testing (1.0.2) actionpack (~> 5.x, >= 5.0.1) actionview (~> 5.x, >= 5.0.1) @@ -135,66 +132,67 @@ GEM rails-dom-testing (2.0.3) activesupport (>= 4.2.0) nokogiri (>= 1.6) - rails-html-sanitizer (1.0.3) - loofah (~> 2.0) + rails-html-sanitizer (1.0.4) + loofah (~> 2.2, >= 2.2.2) rails_12factor (0.0.3) rails_serve_static_assets rails_stdout_logging rails_serve_static_assets (0.0.5) rails_stdout_logging (0.0.5) - railties (5.1.4) - actionpack (= 5.1.4) - activesupport (= 5.1.4) + railties (5.1.6) + actionpack (= 5.1.6) + activesupport (= 5.1.6) method_source rake (>= 0.8.7) thor (>= 0.18.1, < 2.0) - rake (12.1.0) - rb-fsevent (0.10.2) + rake (12.3.1) + rb-fsevent (0.10.3) rb-inotify (0.9.10) ffi (>= 0.5.0, < 2) - rspec-core (3.7.0) - rspec-support (~> 3.7.0) - rspec-expectations (3.7.0) + rspec-core (3.8.0) + rspec-support (~> 3.8.0) + rspec-expectations (3.8.1) diff-lcs (>= 1.2.0, < 2.0) - rspec-support (~> 3.7.0) - rspec-mocks (3.7.0) + rspec-support (~> 3.8.0) + rspec-mocks (3.8.0) diff-lcs (>= 1.2.0, < 2.0) - rspec-support (~> 3.7.0) - rspec-rails (3.7.0) + rspec-support (~> 3.8.0) + rspec-rails (3.8.0) actionpack (>= 3.0) activesupport (>= 3.0) railties (>= 3.0) - rspec-core (~> 3.7.0) - rspec-expectations (~> 3.7.0) - rspec-mocks (~> 3.7.0) - rspec-support (~> 3.7.0) - rspec-support (3.7.0) + rspec-core (~> 3.8.0) + rspec-expectations (~> 3.8.0) + rspec-mocks (~> 3.8.0) + rspec-support (~> 3.8.0) + rspec-support (3.8.0) ruby_dep (1.5.0) - rubyzip (1.2.1) + rubyzip (1.2.2) safe_yaml (1.0.4) - saml-kit (1.0.12) + saml-kit (1.0.23) activemodel (>= 4.2.0) - xml-kit (>= 0.1.12, <= 1.0.0) - sass (3.5.2) + net-hippie (~> 0.1.8) + xml-kit (>= 0.1.13, <= 1.0.0) + sass (3.5.7) sass-listen (~> 4.0.0) sass-listen (4.0.0) rb-fsevent (~> 0.9, >= 0.9.4) rb-inotify (~> 0.9, >= 0.9.7) - sass-rails (5.0.6) + sass-rails (5.0.7) railties (>= 4.0.0, < 6) sass (~> 3.1) sprockets (>= 2.8, < 4.0) sprockets-rails (>= 2.0, < 4.0) tilt (>= 1.1, < 3) - selenium-webdriver (3.6.0) + selenium-webdriver (3.14.0) childprocess (~> 0.5) - rubyzip (~> 1.0) + rubyzip (~> 1.2) spring (2.0.2) activesupport (>= 4.2) spring-watcher-listen (2.0.1) listen (>= 2.7, < 4.0) spring (>= 1.2, < 3.0) - sprockets (3.7.1) + sprockets (3.7.2) concurrent-ruby (~> 1.0) rack (> 1, < 3) sprockets-rails (3.2.1) @@ -205,35 +203,35 @@ GEM thor (0.20.0) thread_safe (0.3.6) tilt (2.0.8) - turbolinks (5.0.1) - turbolinks-source (~> 5) - turbolinks-source (5.0.3) + turbolinks (5.2.0) + turbolinks-source (~> 5.2) + turbolinks-source (5.2.0) tzinfo (1.2.5) thread_safe (~> 0.1) - uglifier (3.2.0) + uglifier (4.1.18) execjs (>= 0.3.0, < 3) - web-console (3.5.1) + web-console (3.7.0) actionview (>= 5.0) activemodel (>= 5.0) bindex (>= 0.4.0) railties (>= 5.0) - webmock (3.1.0) + webmock (3.4.2) addressable (>= 2.3.6) crack (>= 0.3.2) hashdiff websocket-driver (0.6.5) websocket-extensions (>= 0.1.0) - websocket-extensions (0.1.2) - xml-kit (0.1.12) + websocket-extensions (0.1.3) + xml-kit (0.1.13) activemodel (>= 4.2.0) builder (~> 3.2) nokogiri (>= 1.8.2) tilt (>= 1.4.1) xmldsig (~> 0.6) - xmldsig (0.6.5) + xmldsig (0.6.6) nokogiri (>= 1.6.8, < 2.0.0) - xpath (2.1.0) - nokogiri (~> 1.3) + xpath (3.1.0) + nokogiri (~> 1.8) PLATFORMS ruby @@ -268,7 +266,7 @@ DEPENDENCIES webmock RUBY VERSION - ruby 2.5.0p0 + ruby 2.5.1p57 BUNDLED WITH - 1.16.1 + 1.16.4 diff --git a/app/models/metadatum.rb b/app/models/metadatum.rb index 29a080e..1eac396 100644 --- a/app/models/metadatum.rb +++ b/app/models/metadatum.rb @@ -28,7 +28,7 @@ class Metadatum < ApplicationRecord class << self def register_url(url, verify_ssl: true) - content = Saml::Kit::DefaultRegistry::HttpApi.new(url, verify_ssl: verify_ssl).get + content = Net::Hippie::Api.new(url, verify_none: !verify_ssl).get register(Saml::Kit::Metadata.from(content), url: url) end diff --git a/bin/server b/bin/server new file mode 100755 index 0000000..555f067 --- /dev/null +++ b/bin/server @@ -0,0 +1,3 @@ +#!/bin/sh + +bin/rails server |
