rspec-rails 3.2.0 → 3.2.1

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
2
  SHA1:
3
- metadata.gz: 027f378aa2e20a95523b0a2c7db67603858cab97
4
- data.tar.gz: 767ac26b5cac44dc1be51ff6e053d2492235d3d4
3
+ metadata.gz: 293b41440231e04309edaff6ee96229fae92d409
4
+ data.tar.gz: b91fd0fe65386c2ce791c93b1164201ecb8da9b5
5
5
  SHA512:
6
- metadata.gz: 629452b4ef924f97a6b036b462476254b6dad7962f1a44dfc44110f8fea02cca43b4fb52a9a0a6391b0a7ef163ea36248d9df277a63161c6d4fb0f0a83d5cb12
7
- data.tar.gz: e800239d5939a807e15cd4082a4b1277878886fb7fe5f5d8633b335e5f935e5cffabaaf877fc4a6a3fa7445cf907670f5368cb48be1430b228c9e0cc522483cc
6
+ metadata.gz: a04182629a0d1ea05441da7204b2319db54cdc1d85fa153b98c4b61cfd8c93edede9753d6ce46ef3764a52a0417ff09f4f98ffbc017f93374982985d31ff6edc
7
+ data.tar.gz: ddb7206a294cc3977bd4b34f1549989a13329c80449d58740e0b3da12973771ff7d1e997fd05d7e0f4c64b144619a191928ac7a452428e0906ff5c0b6e0ced76
Binary file
data.tar.gz.sig CHANGED
Binary file
@@ -1,3 +1,15 @@
1
+ ### 3.2.1 / 2015-02-23
2
+ [Full Changelog](http://github.com/rspec/rspec-rails/compare/v3.2.0...v3.2.1)
3
+
4
+ Bug Fixes:
5
+
6
+ * Add missing `require` to RSpec generator root fixing an issue where Rail's
7
+ autoload does not find it in some environments. (Aaron Kromer, #1305)
8
+ * `be_routable` matcher now has the correct description. (Tony Ta, #1310)
9
+ * Fix dependency to allow Rails 4.2.x patches / pre-releases (Lucas Mazza, #1318)
10
+ * Disable the `test-unit` gem's autorunner on projects running Rails < 4.1 and
11
+ Ruby < 2.2 (Aaron Kromer, #1320)
12
+
1
13
  ### 3.2.0 / 2015-02-03
2
14
  [Full Changelog](http://github.com/rspec/rspec-rails/compare/v3.1.0...v3.2.0)
3
15
 
@@ -1,4 +1,5 @@
1
1
  require 'rails/generators/named_base'
2
+ require 'rspec/rails/feature_check'
2
3
 
3
4
  # Weirdly named generators namespace (should be `RSpec`) for compatability with
4
5
  # rails loading.
@@ -61,6 +61,8 @@ module RSpec
61
61
  require 'rubysl-test-unit' if defined?(RUBY_ENGINE) && RUBY_ENGINE == 'rbx'
62
62
  require 'test/unit/assertions'
63
63
  end
64
+ # Turn off test unit's auto runner for those using the gem
65
+ Test::Unit::AutoRunner.need_auto_run = false if defined?(Test::Unit::AutoRunner)
64
66
  # Constant aliased to either Minitest or TestUnit, depending on what is
65
67
  # loaded.
66
68
  Assertions = Test::Unit::Assertions
@@ -84,6 +84,10 @@ module RSpec
84
84
  def failure_message_when_negated
85
85
  "expected #{@actual.inspect} not to be routable, but it routes to #{@routing_options.inspect}"
86
86
  end
87
+
88
+ def description
89
+ "be routable"
90
+ end
87
91
  end
88
92
 
89
93
  # Passes if the route expression is recognized by the Rails router based on
@@ -3,7 +3,7 @@ module RSpec
3
3
  # Version information for RSpec Rails.
4
4
  module Version
5
5
  # Current version of RSpec Rails, in semantic versioning format.
6
- STRING = '3.2.0'
6
+ STRING = '3.2.1'
7
7
  end
8
8
  end
9
9
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rspec-rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.2.0
4
+ version: 3.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - David Chelimsky
@@ -44,7 +44,7 @@ cert_chain:
44
44
  ZsVDj6a7lH3cNqtWXZxrb2wO38qV5AkYj8SQK7Hj3/Yui9myUX3crr+PdetazSqQ
45
45
  F3MdtaDehhjC
46
46
  -----END CERTIFICATE-----
47
- date: 2015-02-03 00:00:00.000000000 Z
47
+ date: 2015-02-24 00:00:00.000000000 Z
48
48
  dependencies:
49
49
  - !ruby/object:Gem::Dependency
50
50
  name: activesupport
@@ -53,9 +53,9 @@ dependencies:
53
53
  - - ">="
54
54
  - !ruby/object:Gem::Version
55
55
  version: '3.0'
56
- - - "<="
56
+ - - "<"
57
57
  - !ruby/object:Gem::Version
58
- version: '4.2'
58
+ version: '4.3'
59
59
  type: :runtime
60
60
  prerelease: false
61
61
  version_requirements: !ruby/object:Gem::Requirement
@@ -63,9 +63,9 @@ dependencies:
63
63
  - - ">="
64
64
  - !ruby/object:Gem::Version
65
65
  version: '3.0'
66
- - - "<="
66
+ - - "<"
67
67
  - !ruby/object:Gem::Version
68
- version: '4.2'
68
+ version: '4.3'
69
69
  - !ruby/object:Gem::Dependency
70
70
  name: actionpack
71
71
  requirement: !ruby/object:Gem::Requirement
@@ -73,9 +73,9 @@ dependencies:
73
73
  - - ">="
74
74
  - !ruby/object:Gem::Version
75
75
  version: '3.0'
76
- - - "<="
76
+ - - "<"
77
77
  - !ruby/object:Gem::Version
78
- version: '4.2'
78
+ version: '4.3'
79
79
  type: :runtime
80
80
  prerelease: false
81
81
  version_requirements: !ruby/object:Gem::Requirement
@@ -83,9 +83,9 @@ dependencies:
83
83
  - - ">="
84
84
  - !ruby/object:Gem::Version
85
85
  version: '3.0'
86
- - - "<="
86
+ - - "<"
87
87
  - !ruby/object:Gem::Version
88
- version: '4.2'
88
+ version: '4.3'
89
89
  - !ruby/object:Gem::Dependency
90
90
  name: railties
91
91
  requirement: !ruby/object:Gem::Requirement
@@ -93,9 +93,9 @@ dependencies:
93
93
  - - ">="
94
94
  - !ruby/object:Gem::Version
95
95
  version: '3.0'
96
- - - "<="
96
+ - - "<"
97
97
  - !ruby/object:Gem::Version
98
- version: '4.2'
98
+ version: '4.3'
99
99
  type: :runtime
100
100
  prerelease: false
101
101
  version_requirements: !ruby/object:Gem::Requirement
@@ -103,9 +103,9 @@ dependencies:
103
103
  - - ">="
104
104
  - !ruby/object:Gem::Version
105
105
  version: '3.0'
106
- - - "<="
106
+ - - "<"
107
107
  - !ruby/object:Gem::Version
108
- version: '4.2'
108
+ version: '4.3'
109
109
  - !ruby/object:Gem::Dependency
110
110
  name: rspec-core
111
111
  requirement: !ruby/object:Gem::Requirement
@@ -316,9 +316,9 @@ required_rubygems_version: !ruby/object:Gem::Requirement
316
316
  version: '0'
317
317
  requirements: []
318
318
  rubyforge_project: rspec
319
- rubygems_version: 2.2.2
319
+ rubygems_version: 2.4.5
320
320
  signing_key:
321
321
  specification_version: 4
322
- summary: rspec-rails-3.2.0
322
+ summary: rspec-rails-3.2.1
323
323
  test_files: []
324
324
  has_rdoc:
metadata.gz.sig CHANGED
Binary file