rspec-support 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: 04039acbffa124e0356893dfd6b37ad6793fff39
4
- data.tar.gz: d0e082625d0329b2e918a77aa06f71c41e4672bf
3
+ metadata.gz: 220288678e55ebf951caa894d9eacf4aa5857879
4
+ data.tar.gz: 49631c216c2f0d04734c11a88378d59b122b001e
5
5
  SHA512:
6
- metadata.gz: 97526b21209f907da6435684583005b57d16a4208772f2986ee83ce9b3e08e17fbc63b8f20865c30ff91c177fef627e0cb5c431f2a6e2e81b9fd1d3dde1eadbd
7
- data.tar.gz: 6a65cd43926b771a5483b2a2acabbb9cb81377c19a58570d7a9ce3780a88ce8f5a30e9a2e8feaedb26573f0c02ed8752f3d4cc24e5d77b26c0ddc073621de214
6
+ metadata.gz: 631750edb88c7a7c9351870fc3216136fbf3fc6e35c8a37aa6a9ff49f46dbf803781f84e231981a34ff933ce6c373c1c8aa0ef9474c86fb4113949ab26f8086c
7
+ data.tar.gz: 228c784f40effaa0d75f654413355d133b4641195a169182b42d5e4da1cb375e08c5ea761a039bda62f8915393baebc7c6c8b67cd30afd0b690cfe51bcca6728
Binary file
data.tar.gz.sig CHANGED
Binary file
@@ -1,3 +1,11 @@
1
+ ### 3.2.1 / 2015-02-04
2
+ [Full Changelog](http://github.com/rspec/rspec-support/compare/v3.2.0...v3.2.1)
3
+
4
+ Bug Fixes:
5
+
6
+ * Fix `RSpec::CallerFilter` to work on Rubinius 2.2.
7
+ (Myron Marston, #169)
8
+
1
9
  ### 3.2.0 / 2015-02-03
2
10
  [Full Changelog](http://github.com/rspec/rspec-support/compare/v3.1.2...v3.2.0)
3
11
 
@@ -1,3 +1,5 @@
1
+ RSpec::Support.require_rspec_support "ruby_features"
2
+
1
3
  module RSpec
2
4
  # Consistent implementation for "cleaning" the caller method to strip out
3
5
  # non-rspec lines. This enables errors to be reported at the call site in
@@ -25,7 +27,7 @@ module RSpec
25
27
  # with this complexity in our `RSpec.deprecate` calls, so we ignore it here.
26
28
  IGNORE_REGEX = Regexp.union(LIB_REGEX, "rubygems/core_ext/kernel_require.rb")
27
29
 
28
- if RUBY_VERSION >= '2.0.0'
30
+ if RSpec::Support::RubyFeatures.caller_locations_supported?
29
31
  # This supports args because it's more efficient when the caller specifies
30
32
  # these. It allows us to skip frames the caller knows are part of RSpec,
31
33
  # and to decrease the increment size if the caller is confident the line will
@@ -49,6 +49,10 @@ module RSpec
49
49
  Method.method_defined?(:parameters)
50
50
  end
51
51
 
52
+ def caller_locations_supported?
53
+ respond_to?(:caller_locations, true)
54
+ end
55
+
52
56
  if Ruby.mri?
53
57
  def kw_args_supported?
54
58
  RUBY_VERSION >= '2.0.0'
@@ -1,7 +1,7 @@
1
1
  module RSpec
2
2
  module Support
3
3
  module Version
4
- STRING = '3.2.0'
4
+ STRING = '3.2.1'
5
5
  end
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rspec-support
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
@@ -48,7 +48,7 @@ cert_chain:
48
48
  ZsVDj6a7lH3cNqtWXZxrb2wO38qV5AkYj8SQK7Hj3/Yui9myUX3crr+PdetazSqQ
49
49
  F3MdtaDehhjC
50
50
  -----END CERTIFICATE-----
51
- date: 2015-02-03 00:00:00.000000000 Z
51
+ date: 2015-02-04 00:00:00.000000000 Z
52
52
  dependencies:
53
53
  - !ruby/object:Gem::Dependency
54
54
  name: bundler
@@ -134,5 +134,5 @@ rubyforge_project: rspec
134
134
  rubygems_version: 2.2.2
135
135
  signing_key:
136
136
  specification_version: 4
137
- summary: rspec-support-3.2.0
137
+ summary: rspec-support-3.2.1
138
138
  test_files: []
metadata.gz.sig CHANGED
Binary file