railties 5.1.5 → 5.1.6

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
- SHA256:
3
- metadata.gz: 3f7692ff1ed5c80568a76d56fc2129a98cc778d6a4a5b06eb90ec566fd026300
4
- data.tar.gz: f05dc8d602998c9f48977b71ea8d75c7ed5395189b0bdbc6d9571b8017b001a8
2
+ SHA1:
3
+ metadata.gz: 439e435a7aafd120a23e80cd9d44d075120777a2
4
+ data.tar.gz: 5a063772980c83cc00154869b9b4a2747291c4ba
5
5
  SHA512:
6
- metadata.gz: 2d7da354c344673c65a51f31cce37a2e6ba447a7277c8b37e93e7c4f8e308dd46d2c699299633c33d08b54e47b12dcc70852caae2bf665bfa0c6ed50a2252206
7
- data.tar.gz: f0635bc6ce65b6b2a18b139e94e60287848c52c569802d5c2873299626497d2b2b759c4495f522f1c62e57a882f19845bc90023fa28fc63c6d5894ceffa6e1f1
6
+ metadata.gz: 5862c8c7d2a66cb8d99a5238a360c371646a2c107b693cd03b2c61f038cd0bd0355b3f9ed48010a61c830d7abdf227b17f362ea7ce50b6074da8257344791f1d
7
+ data.tar.gz: fcddc92904530d925ff0b1ac5090ee0e563f85df44866145770422a55060a3ee3c42bfa4e4a37958b75358f06771c418e831a3945c7be32dc39854bf8d2e9c6e
@@ -1,9 +1,25 @@
1
+ ## Rails 5.1.6 (March 29, 2018) ##
2
+
3
+ * Fix check for minimum Ruby version to correctly identify Ruby 2.2.10.
4
+
5
+ *shia*
6
+
7
+ * Fix minitest rails plugin.
8
+
9
+ The custom reporters are added only if needed.
10
+
11
+ This will fix conflicts with others plugins.
12
+
13
+ *Kevin Robatel*
14
+
15
+
1
16
  ## Rails 5.1.5 (February 14, 2018) ##
2
17
 
3
18
  * Gemfile for new apps: upgrade redis-rb from ~> 3.0 to 4.0.
4
19
 
5
20
  *Jeremy Daer*
6
21
 
22
+
7
23
  ## Rails 5.1.4 (September 07, 2017) ##
8
24
 
9
25
  * No changes.
Binary file
@@ -38,10 +38,19 @@ module Minitest
38
38
  Minitest.backtrace_filter = ::Rails.backtrace_cleaner if ::Rails.respond_to?(:backtrace_cleaner)
39
39
  end
40
40
 
41
+ self.plugin_rails_replace_reporters(reporter, options)
42
+ end
43
+
44
+ def self.plugin_rails_replace_reporters(minitest_reporter, options)
45
+ return unless minitest_reporter.kind_of?(Minitest::CompositeReporter)
46
+
41
47
  # Replace progress reporter for colors.
42
- reporter.reporters.delete_if { |reporter| reporter.kind_of?(SummaryReporter) || reporter.kind_of?(ProgressReporter) }
43
- reporter << SuppressedSummaryReporter.new(options[:io], options)
44
- reporter << ::Rails::TestUnitReporter.new(options[:io], options)
48
+ if minitest_reporter.reporters.reject! { |reporter| reporter.kind_of?(SummaryReporter) } != nil
49
+ minitest_reporter << SuppressedSummaryReporter.new(options[:io], options)
50
+ end
51
+ if minitest_reporter.reporters.reject! { |reporter| reporter.kind_of?(ProgressReporter) } != nil
52
+ minitest_reporter << ::Rails::TestUnitReporter.new(options[:io], options)
53
+ end
45
54
  end
46
55
 
47
56
  # Backwardscompatibility with Rails 5.0 generated plugin test scripts
Binary file
@@ -7,7 +7,7 @@ module Rails
7
7
  module VERSION
8
8
  MAJOR = 5
9
9
  MINOR = 1
10
- TINY = 5
10
+ TINY = 6
11
11
  PRE = nil
12
12
 
13
13
  STRING = [MAJOR, MINOR, TINY, PRE].compact.join(".")
@@ -272,7 +272,7 @@ module Rails
272
272
  def gem_for_database
273
273
  # %w( mysql postgresql sqlite3 oracle frontbase ibm_db sqlserver jdbcmysql jdbcsqlite3 jdbcpostgresql )
274
274
  case options[:database]
275
- when "mysql" then ["mysql2", [">= 0.3.18", "< 0.5"]]
275
+ when "mysql" then ["mysql2", [">= 0.3.18", "< 0.6.0"]]
276
276
  when "postgresql" then ["pg", [">= 0.18", "< 2.0"]]
277
277
  when "oracle" then ["activerecord-oracle_enhanced-adapter", nil]
278
278
  when "frontbase" then ["ruby-frontbase", nil]
@@ -1,4 +1,4 @@
1
- if RUBY_VERSION < "2.2.2" && RUBY_ENGINE == "ruby"
1
+ if Gem::Version.new(RUBY_VERSION) < Gem::Version.new("2.2.2") && RUBY_ENGINE == "ruby"
2
2
  desc = defined?(RUBY_DESCRIPTION) ? RUBY_DESCRIPTION : "ruby #{RUBY_VERSION} (#{RUBY_RELEASE_DATE})"
3
3
  abort <<-end_message
4
4
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: railties
3
3
  version: !ruby/object:Gem::Version
4
- version: 5.1.5
4
+ version: 5.1.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - David Heinemeier Hansson
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2018-02-14 00:00:00.000000000 Z
11
+ date: 2018-03-29 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport
@@ -16,28 +16,28 @@ dependencies:
16
16
  requirements:
17
17
  - - '='
18
18
  - !ruby/object:Gem::Version
19
- version: 5.1.5
19
+ version: 5.1.6
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - '='
25
25
  - !ruby/object:Gem::Version
26
- version: 5.1.5
26
+ version: 5.1.6
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: actionpack
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
31
  - - '='
32
32
  - !ruby/object:Gem::Version
33
- version: 5.1.5
33
+ version: 5.1.6
34
34
  type: :runtime
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
38
  - - '='
39
39
  - !ruby/object:Gem::Version
40
- version: 5.1.5
40
+ version: 5.1.6
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: rake
43
43
  requirement: !ruby/object:Gem::Requirement
@@ -92,14 +92,14 @@ dependencies:
92
92
  requirements:
93
93
  - - '='
94
94
  - !ruby/object:Gem::Version
95
- version: 5.1.5
95
+ version: 5.1.6
96
96
  type: :development
97
97
  prerelease: false
98
98
  version_requirements: !ruby/object:Gem::Requirement
99
99
  requirements:
100
100
  - - '='
101
101
  - !ruby/object:Gem::Version
102
- version: 5.1.5
102
+ version: 5.1.6
103
103
  description: 'Rails internals: application bootup, plugins, generators, and rake tasks.'
104
104
  email: david@loudthinking.com
105
105
  executables:
@@ -112,8 +112,10 @@ files:
112
112
  - RDOC_MAIN.rdoc
113
113
  - README.rdoc
114
114
  - exe/rails
115
+ - lib/.DS_Store
115
116
  - lib/minitest/rails_plugin.rb
116
117
  - lib/rails.rb
118
+ - lib/rails/.DS_Store
117
119
  - lib/rails/all.rb
118
120
  - lib/rails/api/generator.rb
119
121
  - lib/rails/api/task.rb
@@ -163,6 +165,7 @@ files:
163
165
  - lib/rails/engine/updater.rb
164
166
  - lib/rails/gem_version.rb
165
167
  - lib/rails/generators.rb
168
+ - lib/rails/generators/.DS_Store
166
169
  - lib/rails/generators/actions.rb
167
170
  - lib/rails/generators/actions/create_migration.rb
168
171
  - lib/rails/generators/active_model.rb
@@ -191,6 +194,8 @@ files:
191
194
  - lib/rails/generators/migration.rb
192
195
  - lib/rails/generators/model_helpers.rb
193
196
  - lib/rails/generators/named_base.rb
197
+ - lib/rails/generators/rails/.DS_Store
198
+ - lib/rails/generators/rails/app/.DS_Store
194
199
  - lib/rails/generators/rails/app/USAGE
195
200
  - lib/rails/generators/rails/app/app_generator.rb
196
201
  - lib/rails/generators/rails/app/templates/Gemfile
@@ -408,8 +413,8 @@ homepage: http://rubyonrails.org
408
413
  licenses:
409
414
  - MIT
410
415
  metadata:
411
- source_code_uri: https://github.com/rails/rails/tree/v5.1.5/railties
412
- changelog_uri: https://github.com/rails/rails/blob/v5.1.5/railties/CHANGELOG.md
416
+ source_code_uri: https://github.com/rails/rails/tree/v5.1.6/railties
417
+ changelog_uri: https://github.com/rails/rails/blob/v5.1.6/railties/CHANGELOG.md
413
418
  post_install_message:
414
419
  rdoc_options:
415
420
  - "--exclude"
@@ -428,7 +433,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
428
433
  version: '0'
429
434
  requirements: []
430
435
  rubyforge_project:
431
- rubygems_version: 2.7.3
436
+ rubygems_version: 2.6.14
432
437
  signing_key:
433
438
  specification_version: 4
434
439
  summary: Tools for creating, working with, and running Rails applications.