rspec-request_describer 0.0.6 → 0.0.7

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: 41153fd6543c606f5f743da2281f36067b6daa9b
4
- data.tar.gz: c654080acc1fb7d7a8151bde1c9b650f51e806d1
3
+ metadata.gz: 1e34bb0977864facf264901e6373f56f81199c77
4
+ data.tar.gz: 9368cb823c9173b8392386d083b323d1fa384ded
5
5
  SHA512:
6
- metadata.gz: 93bc24a8dd99e83f7ad61ef70793344ac93b9c802a99b91b239b12754ad6e0562190fefb3e3d9f3cefdf4e27063b35c5ca3f3d704e9289f151b62c8e66afbe9c
7
- data.tar.gz: da51974b29aaf7cf1d70f3881318222a65dc02f6ea809c11d58610df225ee4fa47b7b86de70a057dccd75a8b56621612c78c5f19a09f2e5542ff2f532c615581
6
+ metadata.gz: 9b44d91ceb4479389ae4501f56301b1efaf21a157600601696f67f7886260bb8d17c8e7ae2d78bbccac8c6e37df233bc7daba09f7920bb6f25393b2b1bb38324
7
+ data.tar.gz: 6926ba1714c461e7360047c67aee127110c69a2a60a49dad8c48d9b0bdec226f7bf38e10dc09e004c2f9d1c803d27552d740890ffc55be2a52dcf452289ff102
data/CHANGELOG.md CHANGED
@@ -1,3 +1,6 @@
1
+ ## 0.0.7
2
+ * Add `send_request` to explicitly call `subject` (Thx @lazywei)
3
+
1
4
  ## 0.0.6
2
5
  * Allow any non-space characters in URL path
3
6
 
@@ -1,5 +1,5 @@
1
1
  module RSpec
2
2
  module RequestDescriber
3
- VERSION = "0.0.6"
3
+ VERSION = "0.0.7"
4
4
  end
5
5
  end
@@ -19,6 +19,10 @@ module RSpec
19
19
  def self.included(base)
20
20
  base.instance_eval do
21
21
  subject do
22
+ send_request
23
+ end
24
+
25
+ let(:send_request) do
22
26
  send method, path, request_body, env
23
27
  end
24
28
 
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.6
4
+ version: 0.0.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ryo Nakamura
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-02-11 00:00:00.000000000 Z
11
+ date: 2015-04-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler