rspec-request_describer 0.0.2 → 0.0.3

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: 90c6194a42c746e844d07e88ac9e2188a609476b
4
- data.tar.gz: 02f584cd17fae6489c9f2c531350e2d1edce6e0e
3
+ metadata.gz: 5fb8a392f64afce9655a922e3965840754241d80
4
+ data.tar.gz: 4d44273d8d4e4b8b61581340b49efebc94227143
5
5
  SHA512:
6
- metadata.gz: 64437937be725870424153864e9cf1eba3806996c09c97f742688d9e3e16597ac33386b251831681faa950a0bf5b98ea4e7b4a4b03b319272a856b961bdc3e75
7
- data.tar.gz: 07a36ffb4554e190935ac7742e44763814e9ee0f0eb4efd8f5bac7f81427c570fc02b4e51288ce2b1ab0e764ad2871873e24800cd81025c3ef5b2dce9b1f8eb1
6
+ metadata.gz: 5f1b0ff50b0b85ce6bf1188ae115fbe6d8768d1d0ed525466c6278d39888fe5d2f6cf51f4a3199bcecd60a93d2183d17e082319cd3f5623f65fbbbb0c09980a9
7
+ data.tar.gz: 64ee5c88a96f2b118a06eaf5529cc04173a3985448443fed8243d78fffd06920f43ce3dcffa8fef52d5af672c42deb6f4b8af52fe311e8ea3609e15c43f5bb74
data/CHANGELOG.md CHANGED
@@ -1,3 +1,6 @@
1
+ ## 0.0.3
2
+ * Remove dependency on ActiveSupport's `Object#in?`
3
+
1
4
  ## 0.0.2
2
5
  * Support RSpec 3
3
6
 
@@ -1,5 +1,5 @@
1
1
  module RSpec
2
2
  module RequestDescriber
3
- VERSION = "0.0.2"
3
+ VERSION = "0.0.3"
4
4
  end
5
5
  end
@@ -39,7 +39,7 @@ module RSpec
39
39
 
40
40
  let(:env) do
41
41
  headers.inject({}) do |result, (key, value)|
42
- key = "HTTP_" + key unless key.in?(RESERVED_HEADER_NAMES)
42
+ key = "HTTP_" + key unless RESERVED_HEADER_NAMES.include?(key)
43
43
  key = key.gsub("-", "_").upcase
44
44
  result.merge(key => value)
45
45
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rspec-request_describer
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2
4
+ version: 0.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ryo Nakamura
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-09-25 00:00:00.000000000 Z
11
+ date: 2014-10-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler