much-stub 0.1.1 → 0.1.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile +3 -1
- data/README.md +289 -39
- data/lib/much-stub.rb +106 -41
- data/lib/much-stub/call.rb +17 -0
- data/lib/much-stub/call_spy.rb +124 -0
- data/lib/much-stub/version.rb +3 -1
- data/much-stub.gemspec +4 -3
- data/test/helper.rb +5 -3
- data/test/support/factory.rb +3 -2
- data/test/system/much-stub_tests.rb +206 -223
- data/test/unit/call_spy_tests.rb +110 -0
- data/test/unit/call_tests.rb +70 -0
- data/test/unit/much-stub_tests.rb +185 -100
- metadata +13 -8
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: much-stub
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.6
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Kelly Redding
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date:
|
12
|
+
date: 2021-01-04 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: assert
|
@@ -17,14 +17,14 @@ dependencies:
|
|
17
17
|
requirements:
|
18
18
|
- - "~>"
|
19
19
|
- !ruby/object:Gem::Version
|
20
|
-
version: 2.
|
20
|
+
version: 2.19.0
|
21
21
|
type: :development
|
22
22
|
prerelease: false
|
23
23
|
version_requirements: !ruby/object:Gem::Requirement
|
24
24
|
requirements:
|
25
25
|
- - "~>"
|
26
26
|
- !ruby/object:Gem::Version
|
27
|
-
version: 2.
|
27
|
+
version: 2.19.0
|
28
28
|
description: Stubbing API for replacing method calls on objects in test runs.
|
29
29
|
email:
|
30
30
|
- kelly@kellyredding.com
|
@@ -38,12 +38,16 @@ files:
|
|
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
|
@@ -56,17 +60,16 @@ require_paths:
|
|
56
60
|
- lib
|
57
61
|
required_ruby_version: !ruby/object:Gem::Requirement
|
58
62
|
requirements:
|
59
|
-
- - "
|
63
|
+
- - "~>"
|
60
64
|
- !ruby/object:Gem::Version
|
61
|
-
version: '
|
65
|
+
version: '2.5'
|
62
66
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
63
67
|
requirements:
|
64
68
|
- - ">="
|
65
69
|
- !ruby/object:Gem::Version
|
66
70
|
version: '0'
|
67
71
|
requirements: []
|
68
|
-
|
69
|
-
rubygems_version: 2.7.7
|
72
|
+
rubygems_version: 3.1.2
|
70
73
|
signing_key:
|
71
74
|
specification_version: 4
|
72
75
|
summary: Stubbing API for replacing method calls on objects in test runs.
|
@@ -74,4 +77,6 @@ test_files:
|
|
74
77
|
- test/helper.rb
|
75
78
|
- test/support/factory.rb
|
76
79
|
- test/system/much-stub_tests.rb
|
80
|
+
- test/unit/call_spy_tests.rb
|
81
|
+
- test/unit/call_tests.rb
|
77
82
|
- test/unit/much-stub_tests.rb
|