much-stub 0.1.0 → 0.1.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -7
- data/Gemfile +1 -1
- data/README.md +302 -35
- data/lib/much-stub.rb +116 -44
- data/lib/much-stub/call.rb +15 -0
- data/lib/much-stub/call_spy.rb +122 -0
- data/lib/much-stub/version.rb +1 -1
- data/much-stub.gemspec +4 -3
- data/test/helper.rb +3 -3
- data/test/support/factory.rb +1 -2
- data/test/system/much-stub_tests.rb +204 -223
- data/test/unit/call_spy_tests.rb +108 -0
- data/test/unit/call_tests.rb +68 -0
- data/test/unit/much-stub_tests.rb +193 -107
- metadata +41 -38
metadata
CHANGED
@@ -1,79 +1,82 @@
|
|
1
|
-
--- !ruby/object:Gem::Specification
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
2
|
name: much-stub
|
3
|
-
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.1.5
|
5
5
|
platform: ruby
|
6
|
-
authors:
|
6
|
+
authors:
|
7
7
|
- Kelly Redding
|
8
8
|
- Collin Redding
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
- !ruby/object:Gem::Dependency
|
12
|
+
date: 2020-11-06 00:00:00.000000000 Z
|
13
|
+
dependencies:
|
14
|
+
- !ruby/object:Gem::Dependency
|
16
15
|
name: assert
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
version: 2.16.3
|
16
|
+
requirement: !ruby/object:Gem::Requirement
|
17
|
+
requirements:
|
18
|
+
- - "~>"
|
19
|
+
- !ruby/object:Gem::Version
|
20
|
+
version: 2.18.2
|
23
21
|
type: :development
|
24
|
-
|
22
|
+
prerelease: false
|
23
|
+
version_requirements: !ruby/object:Gem::Requirement
|
24
|
+
requirements:
|
25
|
+
- - "~>"
|
26
|
+
- !ruby/object:Gem::Version
|
27
|
+
version: 2.18.2
|
25
28
|
description: Stubbing API for replacing method calls on objects in test runs.
|
26
|
-
email:
|
29
|
+
email:
|
27
30
|
- kelly@kellyredding.com
|
28
31
|
- collin.redding@me.com
|
29
32
|
executables: []
|
30
|
-
|
31
33
|
extensions: []
|
32
|
-
|
33
34
|
extra_rdoc_files: []
|
34
|
-
|
35
|
-
|
36
|
-
- .gitignore
|
35
|
+
files:
|
36
|
+
- ".gitignore"
|
37
37
|
- Gemfile
|
38
38
|
- LICENSE
|
39
39
|
- README.md
|
40
40
|
- lib/much-stub.rb
|
41
|
+
- lib/much-stub/call.rb
|
42
|
+
- lib/much-stub/call_spy.rb
|
41
43
|
- lib/much-stub/version.rb
|
42
44
|
- log/.gitkeep
|
43
45
|
- much-stub.gemspec
|
44
46
|
- test/helper.rb
|
45
47
|
- test/support/factory.rb
|
46
48
|
- test/system/much-stub_tests.rb
|
49
|
+
- test/unit/call_spy_tests.rb
|
50
|
+
- test/unit/call_tests.rb
|
47
51
|
- test/unit/much-stub_tests.rb
|
48
52
|
- tmp/.gitkeep
|
49
53
|
homepage: https://github.com/redding/much-stub
|
50
|
-
licenses:
|
54
|
+
licenses:
|
51
55
|
- MIT
|
52
56
|
metadata: {}
|
53
|
-
|
54
57
|
post_install_message:
|
55
58
|
rdoc_options: []
|
56
|
-
|
57
|
-
require_paths:
|
59
|
+
require_paths:
|
58
60
|
- lib
|
59
|
-
required_ruby_version: !ruby/object:Gem::Requirement
|
60
|
-
requirements:
|
61
|
-
-
|
62
|
-
-
|
63
|
-
|
64
|
-
|
65
|
-
|
66
|
-
|
67
|
-
|
61
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
62
|
+
requirements:
|
63
|
+
- - "~>"
|
64
|
+
- !ruby/object:Gem::Version
|
65
|
+
version: '2.5'
|
66
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
67
|
+
requirements:
|
68
|
+
- - ">="
|
69
|
+
- !ruby/object:Gem::Version
|
70
|
+
version: '0'
|
68
71
|
requirements: []
|
69
|
-
|
70
|
-
rubyforge_project:
|
71
|
-
rubygems_version: 2.6.6
|
72
|
+
rubygems_version: 3.1.2
|
72
73
|
signing_key:
|
73
74
|
specification_version: 4
|
74
75
|
summary: Stubbing API for replacing method calls on objects in test runs.
|
75
|
-
test_files:
|
76
|
+
test_files:
|
76
77
|
- test/helper.rb
|
77
78
|
- test/support/factory.rb
|
78
79
|
- test/system/much-stub_tests.rb
|
80
|
+
- test/unit/call_spy_tests.rb
|
81
|
+
- test/unit/call_tests.rb
|
79
82
|
- test/unit/much-stub_tests.rb
|