rr 1.1.2.rc1 → 1.1.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: fcd365900d797d064358a2e5971e188181dcac4f
4
- data.tar.gz: 76b4b3f175b477d1ef4978d3c6c29dfec6240eb2
3
+ metadata.gz: 8b16f1f300c83ac27387ef72db6fc1514b27a1e9
4
+ data.tar.gz: 7c082dad820121cb7c9c44cb0f0f1400085b4442
5
5
  SHA512:
6
- metadata.gz: 7f961d11097a46ec5be81dd0c06081a599e974523da84129d095a40ce255d21d2b24390919ee02070f75a429f0febbe9380648839d8f39355f12dc1542271adf
7
- data.tar.gz: a694d5160568ac9878482257f22f42493bc62db670feb5b20ca7ec15669072519916235cb5aa0b69a026e88de30c1479148918d73dc0572ad333e0777f224bc3
6
+ metadata.gz: ab2c7e8209606ee44e8cd7ae29eaee652090dc4cfd81d802475fd84c73058cc3e0de9ad36915a8c39111ecc5c0565c6145f886b248610ff078f70d896c88f012
7
+ data.tar.gz: 46d2b0399555904b5d6b2d81bc7875cc204fe1875f90e6b8069e75970eaac4a7129ebc45b79b7c45d3388664f94c81d635ea4b5abf1bf04fbe9963fbe92cec13
data/CHANGES.md CHANGED
@@ -1,21 +1,31 @@
1
1
  # Changelog
2
2
 
3
- ## HEAD
3
+ ## 1.1.2 (August 17, 2013)
4
4
 
5
- * Add back tests, appraisals, etc. to the published gem ([#32][i32]).
5
+ * Add tests, appraisals, etc. back to the published gem ([#32][i32]).
6
6
  This is necessary because Debian wraps rr in a package, and they depend on the
7
7
  tests to be present in order to run them prior to packaging.
8
8
  * Add back RR::Adapters::RSpec2 which was removed accidentally ([#34][i34]).
9
- This fixes failures when running tests against sham_rack.
9
+ This fixes failures when running tests against sham_rack (which is no longer
10
+ using RR, but, oh well).
10
11
  * Remove deprecation warning about
11
12
  RSpec.configuration.backtrace_clean_patterns under RSpec 2.14 ([#37][i37]).
12
- * Bump integration tests from Rails 4.0.0.rc1 to 4.0.0.
13
+ NOTE: This warning will continue to appear if you are configuring RSpec using
14
+ `mock_with :rr`. This is because the RR adapter bundled with RSpec still
15
+ refers to `backtrace_clean_patterns` instead of
16
+ `backtrace_exclusion_patterns`. You can either wait until the next release of
17
+ rspec-core, or remove `mock_with :rr` (which is recommended at this point as
18
+ we consider RSpec's adapter to be slightly out of date, and RR provides its
19
+ own adapter for RSpec).
20
+ * RR now officially supports Rails 4.0.0. (It worked before, but now we're
21
+ explicitly testing against it instead of 4.0.0.rc1.)
13
22
  * Fix Test::Unit 1 and 2 adapters to avoid a possible "undefined
14
23
  Test::Unit::TestCase" error.
24
+ * Prevent adapters from being double-loaded.
15
25
  * Including RR::Adapters::TestUnit, RR::Adapters::MiniTest, or
16
26
  RR::Adapters::RSpec2 now just re-runs the autohook mechanism instead of
17
- building a fake adapter.
18
- * Prevent adapters from being double-loaded.
27
+ building a fake adapter, as it was possible to include both a real and fake
28
+ adapter in the same space and they could conflict with each other.
19
29
 
20
30
  ## 1.1.1 (June 17, 2013)
21
31
 
@@ -16,12 +16,14 @@ module RR
16
16
  config.mock_with Mixin
17
17
  config.include RR::Adapters::RRMethods
18
18
  end
19
- patterns =
20
- if ::RSpec.configuration.respond_to?(:backtrace_exclusion_patterns)
21
- ::RSpec.configuration.backtrace_exclusion_patterns
22
- else
23
- ::RSpec.configuration.backtrace_clean_patterns
24
- end
19
+
20
+ patterns =
21
+ if ::RSpec.configuration.respond_to?(:backtrace_exclusion_patterns)
22
+ ::RSpec.configuration.backtrace_exclusion_patterns
23
+ else
24
+ ::RSpec.configuration.backtrace_clean_patterns
25
+ end
26
+
25
27
  unless patterns.include?(RR::Errors::BACKTRACE_IDENTIFIER)
26
28
  patterns.push(RR::Errors::BACKTRACE_IDENTIFIER)
27
29
  end
@@ -1,4 +1,4 @@
1
1
  module RR
2
- VERSION = '1.1.2.rc1'.freeze
2
+ VERSION = '1.1.2'.freeze
3
3
  def self.version; VERSION; end
4
4
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rr
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.2.rc1
4
+ version: 1.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Brian Takita
@@ -302,9 +302,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
302
302
  version: '0'
303
303
  required_rubygems_version: !ruby/object:Gem::Requirement
304
304
  requirements:
305
- - - '>'
305
+ - - '>='
306
306
  - !ruby/object:Gem::Version
307
- version: 1.3.1
307
+ version: '0'
308
308
  requirements: []
309
309
  rubyforge_project:
310
310
  rubygems_version: 2.0.2