File 02_downgrade_rails.gem.patch of Package portus.4171

diff --git a/Gemfile b/Gemfile
index 7145a71..ed5baab 100644
--- a/Gemfile
+++ b/Gemfile
@@ -1,6 +1,6 @@
 source "https://rubygems.org"
 
-gem "rails", "~> 4.2.6"
+gem "rails", "~> 4.2.2"
 gem "jquery-rails"
 gem "sass-rails", ">= 3.2"
 gem "slim"
@@ -59,6 +59,7 @@ end
 # PACKAGING=yes bundle list
 
 unless ENV["PACKAGING"] && ENV["PACKAGING"] == "yes"
+
   group :development do
     gem "annotate"
     gem "rails-erd"
@@ -66,6 +67,7 @@ unless ENV["PACKAGING"] && ENV["PACKAGING"] == "yes"
     gem "pry-rails"
     gem "git-review", require: false
     gem "rack-mini-profiler", require: false
+    gem "brakeman", require: false
     gem "guard", require: false
     gem "guard-rubocop", require: false
     gem "guard-rspec", require: false
@@ -83,7 +85,6 @@ unless ENV["PACKAGING"] && ENV["PACKAGING"] == "yes"
     gem "factory_girl_rails"
     gem "ffaker"
     gem "rubocop", "~> 0.41.2", require: false
-    gem "brakeman", require: false
     gem "database_cleaner"
     gem "md2man", "~>5.1.1", require: false
     gem "binman", "~>5.1.0"
@@ -102,4 +103,5 @@ unless ENV["PACKAGING"] && ENV["PACKAGING"] == "yes"
     gem "codeclimate-test-reporter", group: :test, require: nil
     gem "docker-api", "~> 1.28.0"
   end
+
 end
diff --git a/Gemfile.lock b/Gemfile.lock
index 5ae9b28..9e05c2a 100644
--- a/Gemfile.lock
+++ b/Gemfile.lock
@@ -1,40 +1,40 @@
 GEM
   remote: https://rubygems.org/
   specs:
-    actionmailer (4.2.6)
-      actionpack (= 4.2.6)
-      actionview (= 4.2.6)
-      activejob (= 4.2.6)
+    actionmailer (4.2.2)
+      actionpack (= 4.2.2)
+      actionview (= 4.2.2)
+      activejob (= 4.2.2)
       mail (~> 2.5, >= 2.5.4)
       rails-dom-testing (~> 1.0, >= 1.0.5)
-    actionpack (4.2.6)
-      actionview (= 4.2.6)
-      activesupport (= 4.2.6)
+    actionpack (4.2.2)
+      actionview (= 4.2.2)
+      activesupport (= 4.2.2)
       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.6)
-      activesupport (= 4.2.6)
+      rails-html-sanitizer (~> 1.0, >= 1.0.1)
+    actionview (4.2.2)
+      activesupport (= 4.2.2)
       builder (~> 3.1)
       erubis (~> 2.7.0)
       rails-dom-testing (~> 1.0, >= 1.0.5)
-      rails-html-sanitizer (~> 1.0, >= 1.0.2)
+      rails-html-sanitizer (~> 1.0, >= 1.0.1)
     active_model_serializers (0.9.0)
       activemodel (>= 3.2)
     active_record_union (1.1.0)
       activerecord (>= 4.0)
-    activejob (4.2.6)
-      activesupport (= 4.2.6)
+    activejob (4.2.2)
+      activesupport (= 4.2.2)
       globalid (>= 0.3.0)
-    activemodel (4.2.6)
-      activesupport (= 4.2.6)
+    activemodel (4.2.2)
+      activesupport (= 4.2.2)
       builder (~> 3.1)
-    activerecord (4.2.6)
-      activemodel (= 4.2.6)
-      activesupport (= 4.2.6)
+    activerecord (4.2.2)
+      activemodel (= 4.2.2)
+      activesupport (= 4.2.2)
       arel (~> 6.0)
-    activesupport (4.2.6)
+    activesupport (4.2.2)
       i18n (~> 0.7)
       json (~> 1.7, >= 1.7.7)
       minitest (~> 5.1)
@@ -44,7 +44,7 @@ GEM
     annotate (2.6.5)
       activerecord (>= 2.3.0)
       rake (>= 0.8.7)
-    arel (6.0.3)
+    arel (6.0.0)
     ast (2.3.0)
     autoprefixer-rails (5.2.0.1)
       execjs
@@ -136,7 +136,7 @@ GEM
       octokit (~> 2.0.0)
       yajl-ruby
     gli (2.8.1)
-    globalid (0.3.6)
+    globalid (0.3.5)
       activesupport (>= 4.1.0)
     gravatar_image_tag (1.2.0)
     guard (2.13.0)
@@ -181,28 +181,27 @@ GEM
     listen (3.0.6)
       rb-fsevent (>= 0.9.3)
       rb-inotify (>= 0.9.7)
-    loofah (2.0.3)
+    loofah (2.0.2)
       nokogiri (>= 1.5.9)
     lumberjack (1.0.10)
-    mail (2.6.4)
-      mime-types (>= 1.16, < 4)
+    mail (2.5.4)
+      mime-types (~> 1.16)
+      treetop (~> 1.4.8)
     md2man (5.1.1)
       binman (~> 5.0)
       redcarpet (~> 3.0)
       rouge (~> 1.0)
     method_source (0.8.2)
-    mime-types (3.0)
-      mime-types-data (~> 3.2015)
-    mime-types-data (3.2016.0221)
-    mini_portile2 (2.0.0)
-    minitest (5.8.4)
-    multi_json (1.11.2)
+    mime-types (1.25)
+    mini_portile (0.5.2)
+    minitest (5.7.0)
+    multi_json (1.8.2)
     multipart-post (2.0.0)
     mysql2 (0.3.18)
     nenv (0.3.0)
     net-ldap (0.11)
-    nokogiri (1.6.7.2)
-      mini_portile2 (~> 2.0.0.rc2)
+    nokogiri (1.6.1)
+      mini_portile (~> 0.5.0)
     notiffany (0.0.8)
       nenv (~> 0.1)
       shellany (~> 0.0)
@@ -219,7 +218,7 @@ GEM
       cliver (~> 0.3.1)
       multi_json (~> 1.0)
       websocket-driver (>= 0.2.0)
-    polyglot (0.3.5)
+    polyglot (0.3.3)
     powerpack (0.1.1)
     pry (0.10.1)
       coderay (~> 1.1.0)
@@ -240,22 +239,22 @@ GEM
     rack (1.6.4)
     rack-mini-profiler (0.9.3)
       rack (>= 1.1.3)
-    rack-test (0.6.3)
+    rack-test (0.6.2)
       rack (>= 1.0)
-    rails (4.2.6)
-      actionmailer (= 4.2.6)
-      actionpack (= 4.2.6)
-      actionview (= 4.2.6)
-      activejob (= 4.2.6)
-      activemodel (= 4.2.6)
-      activerecord (= 4.2.6)
-      activesupport (= 4.2.6)
+    rails (4.2.2)
+      actionmailer (= 4.2.2)
+      actionpack (= 4.2.2)
+      actionview (= 4.2.2)
+      activejob (= 4.2.2)
+      activemodel (= 4.2.2)
+      activerecord (= 4.2.2)
+      activesupport (= 4.2.2)
       bundler (>= 1.3.0, < 2.0)
-      railties (= 4.2.6)
+      railties (= 4.2.2)
       sprockets-rails
     rails-deprecated_sanitizer (1.0.3)
       activesupport (>= 4.2.0.alpha)
-    rails-dom-testing (1.0.7)
+    rails-dom-testing (1.0.6)
       activesupport (>= 4.2.0.beta, < 5.0)
       nokogiri (~> 1.6.0)
       rails-deprecated_sanitizer (>= 1.0.1)
@@ -264,16 +263,16 @@ GEM
       activesupport (>= 3.2)
       choice (~> 0.2.0)
       ruby-graphviz (~> 1.2)
-    rails-html-sanitizer (1.0.3)
+    rails-html-sanitizer (1.0.2)
       loofah (~> 2.0)
     rails_stdout_logging (0.0.5)
-    railties (4.2.6)
-      actionpack (= 4.2.6)
-      activesupport (= 4.2.6)
+    railties (4.2.2)
+      actionpack (= 4.2.2)
+      activesupport (= 4.2.2)
       rake (>= 0.8.7)
       thor (>= 0.18.1, < 2.0)
     rainbow (2.1.0)
-    rake (11.1.2)
+    rake (10.3.2)
     rb-fsevent (0.9.7)
     rb-inotify (0.9.7)
       ffi (>= 0.5.0)
@@ -345,23 +344,24 @@ GEM
       temple (~> 0.6.6)
       tilt (>= 1.3.3, < 2.1)
     slop (3.6.0)
-    sprockets (2.12.4)
+    sprockets (2.12.3)
       hike (~> 1.2)
       multi_json (~> 1.0)
       rack (~> 1.0)
       tilt (~> 1.1, != 1.3.0)
-    sprockets-rails (2.3.3)
+    sprockets-rails (2.3.1)
       actionpack (>= 3.0)
       activesupport (>= 3.0)
       sprockets (>= 2.8, < 4.0)
     temple (0.6.7)
     terminal-table (1.5.2)
-    thor (0.19.1)
+    thor (0.18.1)
     thread_safe (0.3.5)
     tilt (1.4.1)
     timecop (0.7.4)
-    treetop (1.6.5)
-      polyglot (~> 0.3)
+    treetop (1.4.15)
+      polyglot
+      polyglot (>= 0.3.1)
     turbolinks (2.5.3)
       coffee-rails
     typhoeus (1.0.2)
@@ -442,7 +442,7 @@ DEPENDENCIES
   pundit
   quiet_assets
   rack-mini-profiler
-  rails (~> 4.2.6)
+  rails (~> 4.2.2)
   rails-erd
   rails_stdout_logging (~> 0.0.5)
   redcarpet
openSUSE Build Service is sponsored by