straight-jacket 0.0.3 → 0.0.4

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/straight_jacket/match.rb +3 -0
  3. metadata +21 -21
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: a79c0c1b4065bb20ed004a6bcbfc202cc2ffbe95
4
- data.tar.gz: 4a7a7a34b764fd4579479cfda3905f973adc34cb
3
+ metadata.gz: c5c04c04308efb695318415be6d244a5f4c855ec
4
+ data.tar.gz: ee0d8c616b31fcff591ee05b436c5390987b69dd
5
5
  SHA512:
6
- metadata.gz: c227b8a77642aa57747607ac23a2a6fa60edc29b23c7e22f9e80f204f5215fc6cc907fb5dd365419660d424b64745354e2d8e0ec3da4324087e1c7e128727952
7
- data.tar.gz: 0113ad6b66d7695460ab0c1cd700f6652565ca17f1905e6b54691d94c0186545f89c7d1ca1482128aa692b1321da18f85b7769b5b464fd7e58912a8d680c6efd
6
+ metadata.gz: 0c130205a2b444bd64221ab334d89902de644f4e23d4fecd6efd9d6e0488781acdcbbe89e7cd89f97a309ccd9f6c26e14ec21a26163ff224ecb86338af5cbe4d
7
+ data.tar.gz: b0dbf221536f029598c3460e47fbcfc0330ba4614e02054c131dfe37d7b94196016a9290977dd6f02dbfde7b4d842ca6d9ba5a6643d9fab0a195a6a0f959f79a
@@ -19,6 +19,9 @@ module StraightJacket
19
19
  "expected #{actual} not to match #{request.parameters} but did"
20
20
  end
21
21
 
22
+ alias failure_message failure_message_for_should
23
+ alias failure_message_when_negated failure_message_for_should_not
24
+
22
25
  def description
23
26
  "match parameters #{request.parameters}"
24
27
  end
metadata CHANGED
@@ -1,83 +1,83 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: straight-jacket
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.3
4
+ version: 0.0.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Myles Megyesi
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-07-14 00:00:00.000000000 Z
11
+ date: 2014-12-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - ">="
17
+ - - '>='
18
18
  - !ruby/object:Gem::Version
19
19
  version: 4.0.0
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
- - - ">="
24
+ - - '>='
25
25
  - !ruby/object:Gem::Version
26
26
  version: 4.0.0
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: actionpack
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
- - - ">="
31
+ - - '>='
32
32
  - !ruby/object:Gem::Version
33
33
  version: 4.0.0
34
34
  type: :development
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
- - - ">="
38
+ - - '>='
39
39
  - !ruby/object:Gem::Version
40
40
  version: 4.0.0
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: rack
43
43
  requirement: !ruby/object:Gem::Requirement
44
44
  requirements:
45
- - - "~>"
45
+ - - ~>
46
46
  - !ruby/object:Gem::Version
47
47
  version: 1.5.2
48
48
  type: :development
49
49
  prerelease: false
50
50
  version_requirements: !ruby/object:Gem::Requirement
51
51
  requirements:
52
- - - "~>"
52
+ - - ~>
53
53
  - !ruby/object:Gem::Version
54
54
  version: 1.5.2
55
55
  - !ruby/object:Gem::Dependency
56
56
  name: rake
57
57
  requirement: !ruby/object:Gem::Requirement
58
58
  requirements:
59
- - - "~>"
59
+ - - ~>
60
60
  - !ruby/object:Gem::Version
61
61
  version: 10.3.2
62
62
  type: :development
63
63
  prerelease: false
64
64
  version_requirements: !ruby/object:Gem::Requirement
65
65
  requirements:
66
- - - "~>"
66
+ - - ~>
67
67
  - !ruby/object:Gem::Version
68
68
  version: 10.3.2
69
69
  - !ruby/object:Gem::Dependency
70
70
  name: rspec
71
71
  requirement: !ruby/object:Gem::Requirement
72
72
  requirements:
73
- - - "~>"
73
+ - - ~>
74
74
  - !ruby/object:Gem::Version
75
75
  version: 2.14.1
76
76
  type: :development
77
77
  prerelease: false
78
78
  version_requirements: !ruby/object:Gem::Requirement
79
79
  requirements:
80
- - - "~>"
80
+ - - ~>
81
81
  - !ruby/object:Gem::Version
82
82
  version: 2.14.1
83
83
  description: Route constrainer for Rails
@@ -87,17 +87,17 @@ executables: []
87
87
  extensions: []
88
88
  extra_rdoc_files: []
89
89
  files:
90
- - lib/straight_jacket.rb
91
- - lib/straight_jacket/collection.rb
92
- - lib/straight_jacket/composite.rb
93
90
  - lib/straight_jacket/equals.rb
91
+ - lib/straight_jacket/collection.rb
94
92
  - lib/straight_jacket/format.rb
95
- - lib/straight_jacket/inclusion.rb
96
93
  - lib/straight_jacket/integer_parameter.rb
97
- - lib/straight_jacket/match.rb
98
- - lib/straight_jacket/matchers.rb
99
94
  - lib/straight_jacket/required_parameter.rb
95
+ - lib/straight_jacket/inclusion.rb
96
+ - lib/straight_jacket/composite.rb
97
+ - lib/straight_jacket/matchers.rb
100
98
  - lib/straight_jacket/validator.rb
99
+ - lib/straight_jacket/match.rb
100
+ - lib/straight_jacket.rb
101
101
  homepage:
102
102
  licenses: []
103
103
  metadata: {}
@@ -107,17 +107,17 @@ require_paths:
107
107
  - lib
108
108
  required_ruby_version: !ruby/object:Gem::Requirement
109
109
  requirements:
110
- - - ">="
110
+ - - '>='
111
111
  - !ruby/object:Gem::Version
112
112
  version: '0'
113
113
  required_rubygems_version: !ruby/object:Gem::Requirement
114
114
  requirements:
115
- - - ">="
115
+ - - '>='
116
116
  - !ruby/object:Gem::Version
117
117
  version: '0'
118
118
  requirements: []
119
119
  rubyforge_project:
120
- rubygems_version: 2.2.2
120
+ rubygems_version: 2.0.14
121
121
  signing_key:
122
122
  specification_version: 4
123
123
  summary: Route constrainer for Rails