much-stub 0.1.2 → 0.1.7
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.l.yml +8 -0
- data/.rubocop.yml +3 -0
- data/.ruby-version +1 -0
- data/.t.yml +6 -0
- data/Gemfile +5 -1
- data/README.md +78 -12
- data/lib/much-stub.rb +124 -50
- data/lib/much-stub/call.rb +17 -0
- data/lib/much-stub/call_spy.rb +125 -0
- data/lib/much-stub/version.rb +3 -1
- data/much-stub.gemspec +20 -11
- data/test/helper.rb +3 -1
- data/test/support/factory.rb +2 -0
- data/test/system/much-stub_tests.rb +115 -77
- data/test/unit/call_spy_tests.rb +111 -0
- data/test/unit/call_tests.rb +70 -0
- data/test/unit/much-stub_tests.rb +220 -82
- metadata +31 -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.7
|
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-10 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: assert
|
@@ -17,14 +17,28 @@ dependencies:
|
|
17
17
|
requirements:
|
18
18
|
- - "~>"
|
19
19
|
- !ruby/object:Gem::Version
|
20
|
-
version: 2.
|
20
|
+
version: 2.19.2
|
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.2
|
28
|
+
- !ruby/object:Gem::Dependency
|
29
|
+
name: much-style-guide
|
30
|
+
requirement: !ruby/object:Gem::Requirement
|
31
|
+
requirements:
|
32
|
+
- - "~>"
|
33
|
+
- !ruby/object:Gem::Version
|
34
|
+
version: 0.6.0
|
35
|
+
type: :development
|
36
|
+
prerelease: false
|
37
|
+
version_requirements: !ruby/object:Gem::Requirement
|
38
|
+
requirements:
|
39
|
+
- - "~>"
|
40
|
+
- !ruby/object:Gem::Version
|
41
|
+
version: 0.6.0
|
28
42
|
description: Stubbing API for replacing method calls on objects in test runs.
|
29
43
|
email:
|
30
44
|
- kelly@kellyredding.com
|
@@ -34,16 +48,24 @@ extensions: []
|
|
34
48
|
extra_rdoc_files: []
|
35
49
|
files:
|
36
50
|
- ".gitignore"
|
51
|
+
- ".l.yml"
|
52
|
+
- ".rubocop.yml"
|
53
|
+
- ".ruby-version"
|
54
|
+
- ".t.yml"
|
37
55
|
- Gemfile
|
38
56
|
- LICENSE
|
39
57
|
- README.md
|
40
58
|
- lib/much-stub.rb
|
59
|
+
- lib/much-stub/call.rb
|
60
|
+
- lib/much-stub/call_spy.rb
|
41
61
|
- lib/much-stub/version.rb
|
42
62
|
- log/.gitkeep
|
43
63
|
- much-stub.gemspec
|
44
64
|
- test/helper.rb
|
45
65
|
- test/support/factory.rb
|
46
66
|
- test/system/much-stub_tests.rb
|
67
|
+
- test/unit/call_spy_tests.rb
|
68
|
+
- test/unit/call_tests.rb
|
47
69
|
- test/unit/much-stub_tests.rb
|
48
70
|
- tmp/.gitkeep
|
49
71
|
homepage: https://github.com/redding/much-stub
|
@@ -56,17 +78,16 @@ require_paths:
|
|
56
78
|
- lib
|
57
79
|
required_ruby_version: !ruby/object:Gem::Requirement
|
58
80
|
requirements:
|
59
|
-
- - "
|
81
|
+
- - "~>"
|
60
82
|
- !ruby/object:Gem::Version
|
61
|
-
version: '
|
83
|
+
version: '2.5'
|
62
84
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
63
85
|
requirements:
|
64
86
|
- - ">="
|
65
87
|
- !ruby/object:Gem::Version
|
66
88
|
version: '0'
|
67
89
|
requirements: []
|
68
|
-
|
69
|
-
rubygems_version: 2.7.6.2
|
90
|
+
rubygems_version: 3.2.4
|
70
91
|
signing_key:
|
71
92
|
specification_version: 4
|
72
93
|
summary: Stubbing API for replacing method calls on objects in test runs.
|
@@ -74,4 +95,6 @@ test_files:
|
|
74
95
|
- test/helper.rb
|
75
96
|
- test/support/factory.rb
|
76
97
|
- test/system/much-stub_tests.rb
|
98
|
+
- test/unit/call_spy_tests.rb
|
99
|
+
- test/unit/call_tests.rb
|
77
100
|
- test/unit/much-stub_tests.rb
|