rspec-request_describer 0.0.7 → 0.0.8

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: 1e34bb0977864facf264901e6373f56f81199c77
4
- data.tar.gz: 9368cb823c9173b8392386d083b323d1fa384ded
3
+ metadata.gz: 27dc341f9baea8a6516e88517b67049fab09299c
4
+ data.tar.gz: d063e48008f4806a849cad0928535f92218886cf
5
5
  SHA512:
6
- metadata.gz: 9b44d91ceb4479389ae4501f56301b1efaf21a157600601696f67f7886260bb8d17c8e7ae2d78bbccac8c6e37df233bc7daba09f7920bb6f25393b2b1bb38324
7
- data.tar.gz: 6926ba1714c461e7360047c67aee127110c69a2a60a49dad8c48d9b0bdec226f7bf38e10dc09e004c2f9d1c803d27552d740890ffc55be2a52dcf452289ff102
6
+ metadata.gz: e2012ad3e832b6ed1b0d179ac559dc9a6e82a6ec1a83b74949f8bb184204c982431bb1cdb61344cd0e5b8490b7a13a478f3dfcb11a3fb366d010f10ef808ab7f
7
+ data.tar.gz: a564550a4459ddf90ef7bac3f232f135b07371d193c7c21406950c2fa00d6647b524877aee84e99789cb6fffed0453aada5b3aebe62cd6129a114e800288b4d7
data/CHANGELOG.md CHANGED
@@ -1,20 +1,23 @@
1
+ ## 0.0.8
2
+ - Use more sophisticated method capture pattern
3
+
1
4
  ## 0.0.7
2
- * Add `send_request` to explicitly call `subject` (Thx @lazywei)
5
+ - Add `send_request` to explicitly call `subject` (Thx @lazywei)
3
6
 
4
7
  ## 0.0.6
5
- * Allow any non-space characters in URL path
8
+ - Allow any non-space characters in URL path
6
9
 
7
10
  ## 0.0.5
8
- * Allow hyphen in path
11
+ - Allow hyphen in path
9
12
 
10
13
  ## 0.0.4
11
- * Define HTTPS as reserved header name
14
+ - Define HTTPS as reserved header name
12
15
 
13
16
  ## 0.0.3
14
- * Remove dependency on ActiveSupport's `Object#in?`
17
+ - Remove dependency on ActiveSupport's `Object#in?`
15
18
 
16
19
  ## 0.0.2
17
- * Support RSpec 3
20
+ - Support RSpec 3
18
21
 
19
22
  ## 0.0.1
20
- * 1st Release
23
+ - 1st Release
@@ -1,5 +1,5 @@
1
1
  module RSpec
2
2
  module RequestDescriber
3
- VERSION = "0.0.7"
3
+ VERSION = "0.0.8"
4
4
  end
5
5
  end
@@ -60,7 +60,7 @@ module RSpec
60
60
  end
61
61
 
62
62
  let(:path) do
63
- endpoint_segments[2].gsub(/:([^\s\/]+)/) { send($1) }
63
+ endpoint_segments[2].gsub(/:(\w+[!?=]?)/) { send($1) }
64
64
  end
65
65
  end
66
66
  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.7
4
+ version: 0.0.8
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-04-20 00:00:00.000000000 Z
11
+ date: 2015-05-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -79,4 +79,3 @@ signing_key:
79
79
  specification_version: 4
80
80
  summary: Force some rules to write self-documenting request spec.
81
81
  test_files: []
82
- has_rdoc: