gimme 0.1.6
Sign up to get free protection for your applications and to get access to all the features.
- data/.bundle/config +2 -0
- data/.document +5 -0
- data/Gemfile +11 -0
- data/Gemfile.lock +38 -0
- data/LICENSE.txt +20 -0
- data/README.markdown +219 -0
- data/README.rdoc +22 -0
- data/Rakefile +45 -0
- data/VERSION +1 -0
- data/features/argument_captors.feature +12 -0
- data/features/gimme_next.feature +13 -0
- data/features/step_definitions/gimme_steps.rb +118 -0
- data/features/stub_basic.feature +34 -0
- data/features/stub_matchers.feature +60 -0
- data/features/stub_sensible_defaults.feature +10 -0
- data/features/support/animals.rb +55 -0
- data/features/support/env.rb +4 -0
- data/features/unknown_methods.feature +39 -0
- data/features/verify_matcher_anything.feature +21 -0
- data/features/verify_no_args.feature +18 -0
- data/features/verify_with_args.feature +21 -0
- data/gimme.gemspec +86 -0
- data/lib/gimme/captor.rb +24 -0
- data/lib/gimme/errors.rb +6 -0
- data/lib/gimme/gives.rb +27 -0
- data/lib/gimme/matchers.rb +58 -0
- data/lib/gimme/method_resolver.rb +23 -0
- data/lib/gimme/test_double.rb +63 -0
- data/lib/gimme/verifies.rb +44 -0
- data/lib/gimme-double.rb +1 -0
- data/lib/gimme.rb +10 -0
- metadata +194 -0
metadata
ADDED
@@ -0,0 +1,194 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: gimme
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
hash: 23
|
5
|
+
prerelease:
|
6
|
+
segments:
|
7
|
+
- 0
|
8
|
+
- 1
|
9
|
+
- 6
|
10
|
+
version: 0.1.6
|
11
|
+
platform: ruby
|
12
|
+
authors:
|
13
|
+
- Justin Searls
|
14
|
+
autorequire:
|
15
|
+
bindir: bin
|
16
|
+
cert_chain: []
|
17
|
+
|
18
|
+
date: 2011-01-18 00:00:00 -05:00
|
19
|
+
default_executable:
|
20
|
+
dependencies:
|
21
|
+
- !ruby/object:Gem::Dependency
|
22
|
+
prerelease: false
|
23
|
+
requirement: &id001 !ruby/object:Gem::Requirement
|
24
|
+
none: false
|
25
|
+
requirements:
|
26
|
+
- - ~>
|
27
|
+
- !ruby/object:Gem::Version
|
28
|
+
hash: 23
|
29
|
+
segments:
|
30
|
+
- 1
|
31
|
+
- 0
|
32
|
+
- 0
|
33
|
+
version: 1.0.0
|
34
|
+
type: :development
|
35
|
+
name: bundler
|
36
|
+
version_requirements: *id001
|
37
|
+
- !ruby/object:Gem::Dependency
|
38
|
+
prerelease: false
|
39
|
+
requirement: &id002 !ruby/object:Gem::Requirement
|
40
|
+
none: false
|
41
|
+
requirements:
|
42
|
+
- - ~>
|
43
|
+
- !ruby/object:Gem::Version
|
44
|
+
hash: 7
|
45
|
+
segments:
|
46
|
+
- 1
|
47
|
+
- 5
|
48
|
+
- 2
|
49
|
+
version: 1.5.2
|
50
|
+
type: :development
|
51
|
+
name: jeweler
|
52
|
+
version_requirements: *id002
|
53
|
+
- !ruby/object:Gem::Dependency
|
54
|
+
prerelease: false
|
55
|
+
requirement: &id003 !ruby/object:Gem::Requirement
|
56
|
+
none: false
|
57
|
+
requirements:
|
58
|
+
- - ">="
|
59
|
+
- !ruby/object:Gem::Version
|
60
|
+
hash: 25
|
61
|
+
segments:
|
62
|
+
- 1
|
63
|
+
- 3
|
64
|
+
- 1
|
65
|
+
version: 1.3.1
|
66
|
+
type: :development
|
67
|
+
name: rspec
|
68
|
+
version_requirements: *id003
|
69
|
+
- !ruby/object:Gem::Dependency
|
70
|
+
prerelease: false
|
71
|
+
requirement: &id004 !ruby/object:Gem::Requirement
|
72
|
+
none: false
|
73
|
+
requirements:
|
74
|
+
- - ">="
|
75
|
+
- !ruby/object:Gem::Version
|
76
|
+
hash: 55
|
77
|
+
segments:
|
78
|
+
- 0
|
79
|
+
- 10
|
80
|
+
- 0
|
81
|
+
version: 0.10.0
|
82
|
+
type: :development
|
83
|
+
name: cucumber
|
84
|
+
version_requirements: *id004
|
85
|
+
- !ruby/object:Gem::Dependency
|
86
|
+
prerelease: false
|
87
|
+
requirement: &id005 !ruby/object:Gem::Requirement
|
88
|
+
none: false
|
89
|
+
requirements:
|
90
|
+
- - ">="
|
91
|
+
- !ruby/object:Gem::Version
|
92
|
+
hash: 25
|
93
|
+
segments:
|
94
|
+
- 1
|
95
|
+
- 3
|
96
|
+
- 1
|
97
|
+
version: 1.3.1
|
98
|
+
type: :development
|
99
|
+
name: rspec
|
100
|
+
version_requirements: *id005
|
101
|
+
- !ruby/object:Gem::Dependency
|
102
|
+
prerelease: false
|
103
|
+
requirement: &id006 !ruby/object:Gem::Requirement
|
104
|
+
none: false
|
105
|
+
requirements:
|
106
|
+
- - ">="
|
107
|
+
- !ruby/object:Gem::Version
|
108
|
+
hash: 55
|
109
|
+
segments:
|
110
|
+
- 0
|
111
|
+
- 10
|
112
|
+
- 0
|
113
|
+
version: 0.10.0
|
114
|
+
type: :development
|
115
|
+
name: cucumber
|
116
|
+
version_requirements: *id006
|
117
|
+
description: "gimme attempts to bring to Ruby a test double workflow akin to Mockito in Java. Major distinctions include preserving arrange-act-assert in tests, fast feedback for methods the double's real counterpart may not know how to respond to, no string/symbolic representations of methods, argument captors, and strong opinions (weakly held). "
|
118
|
+
email: searls@gmail.com
|
119
|
+
executables: []
|
120
|
+
|
121
|
+
extensions: []
|
122
|
+
|
123
|
+
extra_rdoc_files:
|
124
|
+
- LICENSE.txt
|
125
|
+
- README.markdown
|
126
|
+
- README.rdoc
|
127
|
+
files:
|
128
|
+
- .bundle/config
|
129
|
+
- .document
|
130
|
+
- Gemfile
|
131
|
+
- Gemfile.lock
|
132
|
+
- LICENSE.txt
|
133
|
+
- README.markdown
|
134
|
+
- README.rdoc
|
135
|
+
- Rakefile
|
136
|
+
- VERSION
|
137
|
+
- features/argument_captors.feature
|
138
|
+
- features/gimme_next.feature
|
139
|
+
- features/step_definitions/gimme_steps.rb
|
140
|
+
- features/stub_basic.feature
|
141
|
+
- features/stub_matchers.feature
|
142
|
+
- features/stub_sensible_defaults.feature
|
143
|
+
- features/support/animals.rb
|
144
|
+
- features/support/env.rb
|
145
|
+
- features/unknown_methods.feature
|
146
|
+
- features/verify_matcher_anything.feature
|
147
|
+
- features/verify_no_args.feature
|
148
|
+
- features/verify_with_args.feature
|
149
|
+
- gimme.gemspec
|
150
|
+
- lib/gimme-double.rb
|
151
|
+
- lib/gimme.rb
|
152
|
+
- lib/gimme/captor.rb
|
153
|
+
- lib/gimme/errors.rb
|
154
|
+
- lib/gimme/gives.rb
|
155
|
+
- lib/gimme/matchers.rb
|
156
|
+
- lib/gimme/method_resolver.rb
|
157
|
+
- lib/gimme/test_double.rb
|
158
|
+
- lib/gimme/verifies.rb
|
159
|
+
has_rdoc: true
|
160
|
+
homepage: http://github.com/searls/gimme
|
161
|
+
licenses:
|
162
|
+
- MIT
|
163
|
+
post_install_message:
|
164
|
+
rdoc_options: []
|
165
|
+
|
166
|
+
require_paths:
|
167
|
+
- lib
|
168
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
169
|
+
none: false
|
170
|
+
requirements:
|
171
|
+
- - ">="
|
172
|
+
- !ruby/object:Gem::Version
|
173
|
+
hash: 3
|
174
|
+
segments:
|
175
|
+
- 0
|
176
|
+
version: "0"
|
177
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
178
|
+
none: false
|
179
|
+
requirements:
|
180
|
+
- - ">="
|
181
|
+
- !ruby/object:Gem::Version
|
182
|
+
hash: 3
|
183
|
+
segments:
|
184
|
+
- 0
|
185
|
+
version: "0"
|
186
|
+
requirements: []
|
187
|
+
|
188
|
+
rubyforge_project:
|
189
|
+
rubygems_version: 1.4.2
|
190
|
+
signing_key:
|
191
|
+
specification_version: 3
|
192
|
+
summary: "gimme \xE2\x80\x94\xC2\xA0a low-specification test double library for Ruby"
|
193
|
+
test_files: []
|
194
|
+
|