diff --git a/.ruby-version b/.ruby-version index b1b25a5ff..5bc1cc43d 100644 --- a/.ruby-version +++ b/.ruby-version @@ -1 +1 @@ -2.2.2 +2.2.7 diff --git a/Gemfile b/Gemfile index 11e5d92a0..acdc8fff2 100644 --- a/Gemfile +++ b/Gemfile @@ -8,7 +8,7 @@ end if Bundler::VERSION < '2' source 'https://rubygems.org' # core -gem 'rails', '4.2.5.2' # when update, all initializers eis_custom files needs check/update +gem 'rails', '4.2.7.1' # when update, all initializers eis_custom files needs check/update gem 'iso8601', '0.8.6' # for dates and times gem 'hashie-forbidden_attributes', '0.1.1' gem 'SyslogLogger', '2.0', require: 'syslog/logger' @@ -18,7 +18,7 @@ gem 'rest-client' gem 'figaro', '1.1.1' # model related -gem 'pg', '0.18.2' +gem 'pg', '0.19.0' gem 'ransack', '1.5.1' # for searching gem 'validates_email_format_of', '1.6.3' # validates email against RFC 2822 and RFC 3696 @@ -31,7 +31,7 @@ gem 'rails-settings-cached', '0.4.1' # for settings # html-xml gem 'haml-rails', '0.9.0' # haml for views -gem 'nokogiri', '1.6.8' # For XML parsing +gem 'nokogiri', '1.7.1' # For XML parsing # style gem 'sass-rails', '5.0.3' # sass style @@ -64,7 +64,7 @@ gem 'grape', '0.12.0' gem 'jbuilder', '2.2.16' # json api # registry specfic -gem 'simpleidn', '0.0.5' # For punycode +gem 'simpleidn', '0.0.7' # For punycode gem 'isikukood' # for EE-id validation gem 'money-rails', '1.4.1' @@ -119,7 +119,7 @@ end group :development, :test do # test stack - gem 'rspec-rails', '3.3.2' + gem 'rspec-rails', '3.5.0' gem 'capybara', '2.4.4' gem 'phantomjs-binaries', '1.9.2.4' gem 'poltergeist', '1.6.0' # We are using PhantomJS instead @@ -140,7 +140,7 @@ group :development, :test do gem 'brakeman', '3.0.5', require: false # for security audit' # tmp, otherwise conflics with breakman # gem 'html2haml', github: 'haml/html2haml', ref: '6984f50bdbbd6291535027726a5697f28778ee8d' - gem 'html2haml', '2.0.0' + gem 'html2haml', '2.1.0' gem 'sdoc', '0.4.1' # bundle exec rake doc:rails generates the API under doc/api. gem 'railroady', '1.3.0' # to generate database diagrams diff --git a/Gemfile.lock b/Gemfile.lock index 7b3810caf..82f82d495 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -58,38 +58,38 @@ GEM specs: SyslogLogger (2.0) abstract_type (0.0.7) - actionmailer (4.2.5.2) - actionpack (= 4.2.5.2) - actionview (= 4.2.5.2) - activejob (= 4.2.5.2) + actionmailer (4.2.7.1) + actionpack (= 4.2.7.1) + actionview (= 4.2.7.1) + activejob (= 4.2.7.1) mail (~> 2.5, >= 2.5.4) rails-dom-testing (~> 1.0, >= 1.0.5) - actionpack (4.2.5.2) - actionview (= 4.2.5.2) - activesupport (= 4.2.5.2) + actionpack (4.2.7.1) + actionview (= 4.2.7.1) + activesupport (= 4.2.7.1) rack (~> 1.6) rack-test (~> 0.6.2) rails-dom-testing (~> 1.0, >= 1.0.5) rails-html-sanitizer (~> 1.0, >= 1.0.2) - actionview (4.2.5.2) - activesupport (= 4.2.5.2) + actionview (4.2.7.1) + activesupport (= 4.2.7.1) builder (~> 3.1) erubis (~> 2.7.0) rails-dom-testing (~> 1.0, >= 1.0.5) rails-html-sanitizer (~> 1.0, >= 1.0.2) - activejob (4.2.5.2) - activesupport (= 4.2.5.2) + activejob (4.2.7.1) + activesupport (= 4.2.7.1) globalid (>= 0.3.0) - activemodel (4.2.5.2) - activesupport (= 4.2.5.2) + activemodel (4.2.7.1) + activesupport (= 4.2.7.1) builder (~> 3.1) - activerecord (4.2.5.2) - activemodel (= 4.2.5.2) - activesupport (= 4.2.5.2) + activerecord (4.2.7.1) + activemodel (= 4.2.7.1) + activesupport (= 4.2.7.1) arel (~> 6.0) activerecord-import (0.7.0) activerecord (>= 3.0) - activesupport (4.2.5.2) + activesupport (4.2.7.1) i18n (~> 0.7) json (~> 1.7, >= 1.7.7) minitest (~> 5.1) @@ -98,29 +98,29 @@ GEM adamantium (0.2.0) ice_nine (~> 0.11.0) memoizable (~> 0.4.0) - addressable (2.3.8) - airbrake (5.6.0) - airbrake-ruby (~> 1.6) - airbrake-ruby (1.6.0) + addressable (2.5.1) + public_suffix (~> 2.0, >= 2.0.2) + airbrake (6.0.0) + airbrake-ruby (~> 2.0) + airbrake-ruby (2.0.0) akami (1.3.1) gyoku (>= 0.4.0) nokogiri - arel (6.0.3) - ast (2.1.0) + arel (6.0.4) + ast (2.3.0) astrolabe (1.3.1) parser (~> 2.2) - autodoc (0.5.1) + autodoc (0.6.0) actionpack activesupport (>= 3.0.0) rspec - autoprefixer-rails (6.0.2) + autoprefixer-rails (6.7.7.1) execjs - json axiom-types (0.1.1) descendants_tracker (~> 0.0.4) ice_nine (~> 0.11.0) thread_safe (~> 0.3, >= 0.3.1) - bcrypt (3.1.10) + bcrypt (3.1.11) bootstrap-datepicker-rails (1.3.1.1) railties (>= 3.0) bootstrap-sass (3.3.5.1) @@ -136,7 +136,7 @@ GEM ruby_parser (~> 3.7.0) sass (~> 3.0) terminal-table (~> 1.4) - builder (3.2.2) + builder (3.2.3) bullet (4.14.7) activesupport (>= 3.0.0) uniform_notifier (~> 1.9.0) @@ -158,22 +158,22 @@ GEM coffee-script (2.4.1) coffee-script-source execjs - coffee-script-source (1.9.1.1) + coffee-script-source (1.12.2) concord (0.1.5) adamantium (~> 0.2.0) equalizer (~> 0.0.9) - concurrent-ruby (1.0.1) + concurrent-ruby (1.0.5) countries (0.11.4) currencies (~> 0.4.2) i18n_data (~> 0.7.0) - crack (0.4.2) + crack (0.4.3) safe_yaml (~> 1.0.0) currencies (0.4.2) - daemons (1.2.3) + daemons (1.2.4) daemons-rails (1.2.1) daemons multi_json (~> 1.0) - database_cleaner (1.4.1) + database_cleaner (1.5.3) deep_cloneable (2.1.1) activerecord (>= 3.1.0, < 5.0.0) descendants_tracker (0.0.4) @@ -193,19 +193,19 @@ GEM nokogiri (>= 1.4.0) savon (>= 2.4.0) docile (1.1.5) - domain_name (0.5.25) + domain_name (0.5.20170223) unf (>= 0.0.5, < 1.0.0) equalizer (0.0.11) erubis (2.7.0) - execjs (2.6.0) + execjs (2.7.0) fabrication (2.13.2) - factory_girl (4.7.0) + factory_girl (4.8.0) activesupport (>= 3.0.0) - factory_girl_rails (4.7.0) - factory_girl (~> 4.7.0) + factory_girl_rails (4.8.0) + factory_girl (~> 4.8.0) railties (>= 3.0.0) fastercsv (1.5.5) - ffi (1.9.10) + ffi (1.9.18) figaro (1.1.1) thor (~> 0.14) flay (2.4.0) @@ -215,7 +215,7 @@ GEM ruby_parser (~> 3.1, > 3.1.0) sexp_processor (~> 4.4) formatador (0.2.5) - globalid (0.3.6) + globalid (0.3.7) activesupport (>= 4.1.0) grape (0.12.0) activesupport @@ -257,26 +257,27 @@ GEM haml (>= 4.0.6, < 5.0) html2haml (>= 1.0.1) railties (>= 4.0.1) - hashdiff (0.3.1) - hashie (3.4.2) + hashdiff (0.3.2) + hashie (3.5.5) hashie-forbidden_attributes (0.1.1) hashie (>= 3.0) highline (1.6.21) hpricot (0.8.6) - html2haml (2.0.0) + html2haml (2.1.0) erubis (~> 2.7.0) - haml (~> 4.0.0) - nokogiri (~> 1.6.0) + haml (~> 4.0) + nokogiri (>= 1.6.0) ruby_parser (~> 3.5) html5_validators (1.2.2) - http-cookie (1.0.2) + http-cookie (1.0.3) domain_name (~> 0.5) - httpclient (2.6.0.1) - httpi (2.4.1) + httpclient (2.8.3) + httpi (2.4.2) rack + socksify i18n (0.7.0) i18n_data (0.7.0) - ice_nine (0.11.1) + ice_nine (0.11.2) isikukood (0.1.2) iso8601 (0.8.6) jbuilder (2.2.16) @@ -291,33 +292,36 @@ GEM jquery-validation-rails (1.13.1) railties (>= 3.2, < 5.0) thor (~> 0.14) - json (1.8.3) + json (1.8.6) kaminari (0.16.3) actionpack (>= 3.0.0) activesupport (>= 3.0.0) - kgio (2.10.0) + kgio (2.11.0) launchy (2.4.3) addressable (~> 2.3) - libv8 (3.16.14.11) - libxml-ruby (2.9.0) + libv8 (3.16.14.19) + libxml-ruby (3.0.0) liquid (3.0.6) - listen (3.0.3) - rb-fsevent (>= 0.9.3) - rb-inotify (>= 0.9) + listen (3.1.5) + rb-fsevent (~> 0.9, >= 0.9.4) + rb-inotify (~> 0.9, >= 0.9.7) + ruby_dep (~> 1.2) loofah (2.0.3) nokogiri (>= 1.5.9) - lumberjack (1.0.9) - mail (2.6.3) - mime-types (>= 1.16, < 3) + lumberjack (1.0.11) + mail (2.6.4) + mime-types (>= 1.16, < 4) memoizable (0.4.2) thread_safe (~> 0.3, >= 0.3.1) method_source (0.8.2) - mime-types (2.99.1) + mime-types (3.1) + mime-types-data (~> 3.2015) + mime-types-data (3.2016.0521) mina (0.3.1) open4 (~> 1.3.4) rake mini_portile2 (2.1.0) - minitest (5.8.4) + minitest (5.10.1) monetize (1.1.0) money (~> 6.5.0) money (6.5.1) @@ -327,47 +331,47 @@ GEM monetize (~> 1.1.0) money (~> 6.5.0) railties (>= 3.0) - multi_json (1.11.2) - multi_xml (0.5.5) - nenv (0.2.0) + multi_json (1.12.1) + multi_xml (0.6.0) + nenv (0.3.0) netrc (0.11.0) - nokogiri (1.6.8) + nokogiri (1.7.1) mini_portile2 (~> 2.1.0) - pkg-config (~> 1.1.7) nori (2.6.0) - notiffany (0.0.7) + notiffany (0.1.1) nenv (~> 0.1) shellany (~> 0.0) nprogress-rails (0.1.6.7) open4 (1.3.4) orm_adapter (0.5.0) - parser (2.2.2.6) + parser (2.2.3.0) ast (>= 1.1, < 3.0) pdfkit (0.6.2) - pg (0.18.2) + pg (0.19.0) phantomjs (1.9.8.0) phantomjs-binaries (1.9.2.4) sys-uname (= 0.9.0) - pkg-config (1.1.7) poltergeist (1.6.0) capybara (~> 2.1) cliver (~> 0.3.1) multi_json (~> 1.0) websocket-driver (>= 0.2.0) - polyamorous (1.2.0) + polyamorous (1.3.1) activerecord (>= 3.0) powerpack (0.1.1) - procto (0.0.2) + procto (0.0.3) pry (0.10.1) coderay (~> 1.1.0) method_source (~> 0.8.1) slop (~> 3.4) + public_suffix (2.0.5) + puma (3.8.2) que (0.10.0) que-web (0.4.0) erubis que (~> 0.8) sinatra - rack (1.6.4) + rack (1.6.5) rack-accept (0.4.5) rack (>= 0.4) rack-mount (0.8.3) @@ -377,89 +381,90 @@ GEM rack-test (0.6.3) rack (>= 1.0) railroady (1.3.0) - rails (4.2.5.2) - actionmailer (= 4.2.5.2) - actionpack (= 4.2.5.2) - actionview (= 4.2.5.2) - activejob (= 4.2.5.2) - activemodel (= 4.2.5.2) - activerecord (= 4.2.5.2) - activesupport (= 4.2.5.2) + rails (4.2.7.1) + actionmailer (= 4.2.7.1) + actionpack (= 4.2.7.1) + actionview (= 4.2.7.1) + activejob (= 4.2.7.1) + activemodel (= 4.2.7.1) + activerecord (= 4.2.7.1) + activesupport (= 4.2.7.1) bundler (>= 1.3.0, < 2.0) - railties (= 4.2.5.2) + railties (= 4.2.7.1) sprockets-rails rails-deprecated_sanitizer (1.0.3) activesupport (>= 4.2.0.alpha) - rails-dom-testing (1.0.7) + rails-dom-testing (1.0.8) activesupport (>= 4.2.0.beta, < 5.0) - nokogiri (~> 1.6.0) + nokogiri (~> 1.6) rails-deprecated_sanitizer (>= 1.0.1) rails-html-sanitizer (1.0.3) loofah (~> 2.0) rails-settings-cached (0.4.1) rails (>= 4.0.0) - railties (4.2.5.2) - actionpack (= 4.2.5.2) - activesupport (= 4.2.5.2) + railties (4.2.7.1) + actionpack (= 4.2.7.1) + activesupport (= 4.2.7.1) rake (>= 0.8.7) thor (>= 0.18.1, < 2.0) - rainbow (2.0.0) - raindrops (0.15.0) - rake (10.5.0) + rainbow (2.2.1) + raindrops (0.18.0) + rake (12.0.0) ransack (1.5.1) actionpack (>= 3.0) activerecord (>= 3.0) activesupport (>= 3.0) i18n polyamorous (~> 1.1) - rb-fsevent (0.9.6) - rb-inotify (0.9.5) + rb-fsevent (0.9.8) + rb-inotify (0.9.8) ffi (>= 0.5.0) - rdoc (4.2.0) + rdoc (4.3.0) reek (1.6.5) parser (~> 2.2.0.pre.7) rainbow (>= 1.99, < 3.0) unparser (~> 0.2.2) ref (2.0.0) request_store (1.1.0) - responders (2.1.1) + responders (2.3.0) railties (>= 4.2.0, < 5.1) - rest-client (1.8.0) + rest-client (2.0.1) http-cookie (>= 1.0.2, < 2.0) - mime-types (>= 1.16, < 3.0) - netrc (~> 0.7) - rspec (3.3.0) - rspec-core (~> 3.3.0) - rspec-expectations (~> 3.3.0) - rspec-mocks (~> 3.3.0) - rspec-core (3.3.2) - rspec-support (~> 3.3.0) - rspec-expectations (3.3.1) + mime-types (>= 1.16, < 4.0) + netrc (~> 0.8) + rspec (3.5.0) + rspec-core (~> 3.5.0) + rspec-expectations (~> 3.5.0) + rspec-mocks (~> 3.5.0) + rspec-core (3.5.4) + rspec-support (~> 3.5.0) + rspec-expectations (3.5.0) diff-lcs (>= 1.2.0, < 2.0) - rspec-support (~> 3.3.0) - rspec-mocks (3.3.2) + rspec-support (~> 3.5.0) + rspec-mocks (3.5.0) diff-lcs (>= 1.2.0, < 2.0) - rspec-support (~> 3.3.0) - rspec-rails (3.3.2) - actionpack (>= 3.0, < 4.3) - activesupport (>= 3.0, < 4.3) - railties (>= 3.0, < 4.3) - rspec-core (~> 3.3.0) - rspec-expectations (~> 3.3.0) - rspec-mocks (~> 3.3.0) - rspec-support (~> 3.3.0) - rspec-support (3.3.0) + rspec-support (~> 3.5.0) + rspec-rails (3.5.0) + actionpack (>= 3.0) + activesupport (>= 3.0) + railties (>= 3.0) + rspec-core (~> 3.5.0) + rspec-expectations (~> 3.5.0) + rspec-mocks (~> 3.5.0) + rspec-support (~> 3.5.0) + rspec-support (3.5.0) rubocop (0.32.1) astrolabe (~> 1.3) parser (>= 2.2.2.5, < 3.0) powerpack (~> 0.1) rainbow (>= 1.99.1, < 3.0) ruby-progressbar (~> 1.4) - ruby-progressbar (1.7.5) + ruby-progressbar (1.8.1) ruby2ruby (2.1.4) ruby_parser (~> 3.1) sexp_processor (~> 4.0) - ruby_parser (3.7.1) + ruby_dep (1.5.0) + ruby_parser (3.7.3) sexp_processor (~> 4.1) rubycritic (1.4.0) flay (= 2.4.0) @@ -468,7 +473,7 @@ GEM reek (= 1.6.5) virtus (~> 1.0) safe_yaml (1.0.4) - sass (3.4.18) + sass (3.4.23) sass-rails (5.0.3) railties (>= 4.0.0, < 5.0) sass (~> 3.1) @@ -489,51 +494,53 @@ GEM select2-rails (3.5.9.3) thor (~> 0.14) selectize-rails (0.12.1) - sexp_processor (4.6.0) + sexp_processor (4.8.0) shellany (0.0.1) simplecov (0.10.0) docile (~> 1.1.0) json (~> 1.8) simplecov-html (~> 0.10.0) simplecov-html (0.10.0) - simpleidn (0.0.5) - sinatra (1.4.6) - rack (~> 1.4) + simpleidn (0.0.7) + sinatra (1.4.8) + rack (~> 1.5) rack-protection (~> 1.4) tilt (>= 1.3, < 3) slop (3.6.0) + socksify (1.7.1) spring (1.3.6) spring-commands-rspec (1.0.4) spring (>= 0.9.1) - sprockets (3.5.2) + sprockets (3.7.1) concurrent-ruby (~> 1.0) rack (> 1, < 3) - sprockets-rails (3.0.4) + sprockets-rails (3.2.0) actionpack (>= 4.0) activesupport (>= 4.0) sprockets (>= 3.0.0) sys-uname (0.9.0) ffi (>= 1.0.0) - terminal-table (1.5.2) + terminal-table (1.7.3) + unicode-display_width (~> 1.1.1) therubyracer (0.12.2) libv8 (~> 3.16.14.0) ref - thor (0.19.1) - thread_safe (0.3.5) + thor (0.19.4) + thread_safe (0.3.6) tilt (1.4.1) turbolinks (2.5.3) coffee-rails - tzinfo (1.2.2) + tzinfo (1.2.3) thread_safe (~> 0.1) uglifier (2.7.2) execjs (>= 0.3.0) json (>= 1.8.0) unf (0.1.4) unf_ext - unf_ext (0.0.7.1) - unicorn (4.9.0) + unf_ext (0.0.7.2) + unicode-display_width (1.1.3) + unicorn (5.3.0) kgio (~> 2.6) - rack raindrops (~> 0.7) uniform_notifier (1.9.0) unparser (0.2.4) @@ -552,16 +559,16 @@ GEM coercible (~> 1.0) descendants_tracker (~> 0.0, >= 0.0.3) equalizer (~> 0.0, >= 0.0.9) - warden (1.2.6) + warden (1.2.7) rack (>= 1.0) wasabi (3.5.0) httpi (~> 2.0) nokogiri (>= 1.4.2) - webmock (2.1.0) + webmock (2.3.2) addressable (>= 2.3.6) crack (>= 0.3.2) hashdiff - websocket-driver (0.6.2) + websocket-driver (0.6.5) websocket-extensions (>= 0.1.0) websocket-extensions (0.1.2) whenever (0.9.4) @@ -605,7 +612,7 @@ DEPENDENCIES guard-rubocop (= 1.2.0) haml-rails (= 0.9.0) hashie-forbidden_attributes (= 0.1.1) - html2haml (= 2.0.0) + html2haml (= 2.1.0) html5_validators (= 1.2.2) isikukood iso8601 (= 0.8.6) @@ -618,11 +625,11 @@ DEPENDENCIES liquid (= 3.0.6) mina (= 0.3.1) money-rails (= 1.4.1) - nokogiri (= 1.6.8) + nokogiri (= 1.7.1) nprogress-rails (= 0.1.6.7) paper_trail! pdfkit (= 0.6.2) - pg (= 0.18.2) + pg (= 0.19.0) phantomjs (= 1.9.8.0) phantomjs-binaries (= 1.9.2.4) poltergeist (= 1.6.0) @@ -631,11 +638,11 @@ DEPENDENCIES que-web (= 0.4.0) que_mailer! railroady (= 1.3.0) - rails (= 4.2.5.2) + rails (= 4.2.7.1) rails-settings-cached (= 0.4.1) ransack (= 1.5.1) rest-client - rspec-rails (= 3.3.2) + rspec-rails (= 3.5.0) rubocop (= 0.32.1) rubycritic (= 1.4.0) sass-rails (= 5.0.3) @@ -643,7 +650,7 @@ DEPENDENCIES select2-rails (= 3.5.9.3) selectize-rails (= 0.12.1) simplecov (= 0.10.0) - simpleidn (= 0.0.5) + simpleidn (= 0.0.7) spring (= 1.3.6) spring-commands-rspec (= 1.0.4) therubyracer (= 0.12.2) @@ -656,4 +663,4 @@ DEPENDENCIES whenever (= 0.9.4) BUNDLED WITH - 1.13.1 + 1.13.6