File discourse.fix.deps.patch of Package discourse

Index: discourse/Gemfile
===================================================================
--- discourse.orig/Gemfile
+++ discourse/Gemfile
@@ -3,7 +3,6 @@
 source 'https://rubygems.org'
 # if there is a super emergency and rubygems is playing up, try
 #source 'http://production.cf.rubygems.org'
-
 gem 'bootsnap', require: false, platform: :mri
 
 def rails_master?
@@ -18,17 +17,17 @@ else
   # this allows us to include the bits of rails we use without pieces we do not.
   #
   # To issue a rails update bump the version number here
-  gem 'actionmailer', '6.0.3.7'
-  gem 'actionpack', '6.0.3.7'
-  gem 'actionview', '6.0.3.7'
-  gem 'activemodel', '6.0.3.7'
-  gem 'activerecord', '6.0.3.7'
-  gem 'activesupport', '6.0.3.7'
-  gem 'railties', '6.0.3.7'
+  gem 'actionmailer', '>= 6.0.3.7'
+  gem 'actionpack', '>= 6.0.3.7'
+  gem 'actionview', '>= 6.0.3.7'
+  gem 'activemodel', '>= 6.0.3.7'
+  gem 'activerecord', '>= 6.0.3.7'
+  gem 'activesupport', '>= 6.0.3.7'
+  gem 'railties', '>= 6.0.3.7'
   gem 'sprockets-rails'
 end
 
-gem 'json'
+gem 'json', '>= 2.3.1'
 
 # TODO: At the moment Discourse does not work with Sprockets 4, we would need to correct internals
 # This is a desired upgrade we should get to.
@@ -140,43 +139,43 @@ group :assets do
   gem 'rtlit', require: false # for css rtling
 end
 
-group :test do
-  gem 'webmock', require: false
-  gem 'fakeweb', require: false
-  gem 'minitest', require: false
-  gem 'simplecov', require: false
-  gem "test-prof"
-end
-
-group :test, :development do
-  gem 'rspec'
-  gem 'mock_redis'
-  gem 'listen', require: false
-  gem 'certified', require: false
-  gem 'fabrication', require: false
-  gem 'mocha', require: false
-
-  gem 'rb-fsevent', require: RUBY_PLATFORM =~ /darwin/i ? 'rb-fsevent' : false
-
-  gem 'rspec-rails'
-
-  gem 'shoulda-matchers', require: false
-  gem 'rspec-html-matchers'
-  gem 'byebug', require: ENV['RM_INFO'].nil?, platform: :mri
-  gem "rubocop-discourse", require: false
-  gem 'parallel_tests'
-
-  gem 'rswag-specs'
-end
-
-group :development do
-  gem 'ruby-prof', require: false, platform: :mri
-  gem 'bullet', require: !!ENV['BULLET']
-  gem 'better_errors', platform: :mri, require: !!ENV['BETTER_ERRORS']
-  gem 'binding_of_caller'
-  gem 'yaml-lint'
-  gem 'annotate'
-end
+# group :test do
+#   gem 'webmock', require: false
+#   gem 'fakeweb', require: false
+#   gem 'minitest', require: false
+#   gem 'simplecov', require: false
+#   gem "test-prof"
+# end
+#
+# group :test, :development do
+#   gem 'rspec'
+#   gem 'mock_redis'
+#   gem 'listen', require: false
+#   gem 'certified', require: false
+#   gem 'fabrication', require: false
+#   gem 'mocha', require: false
+#
+#   gem 'rb-fsevent', require: RUBY_PLATFORM =~ /darwin/i ? 'rb-fsevent' : false
+#
+#   gem 'rspec-rails'
+#
+#   gem 'shoulda-matchers', require: false
+#   gem 'rspec-html-matchers'
+#   gem 'byebug', require: ENV['RM_INFO'].nil?, platform: :mri
+#   gem "rubocop-discourse", require: false
+#   gem 'parallel_tests'
+#
+#   gem 'rswag-specs'
+# end
+#
+# group :development do
+#   gem 'ruby-prof', require: false, platform: :mri
+#   gem 'bullet', require: !!ENV['BULLET']
+#   gem 'better_errors', platform: :mri, require: !!ENV['BETTER_ERRORS']
+#   gem 'binding_of_caller'
+#   gem 'yaml-lint'
+#   gem 'annotate'
+# end
 
 # this is an optional gem, it provides a high performance replacement
 # to String#blank? a method that is called quite frequently in current
openSUSE Build Service is sponsored by