grift 1.0.2 → 1.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.github/workflows/ci.yml +2 -2
- data/CHANGELOG.md +16 -0
- data/Gemfile.lock +12 -12
- data/README.md +8 -0
- data/grift.gemspec +1 -0
- data/lib/grift/version.rb +1 -1
- metadata +4 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a37d5a48e24392779fb59d698491aab83b2ebd26118cd3b25e8af70f2762731e
|
4
|
+
data.tar.gz: cde1463f8b56b94dcc94d94cef6fc42629bff64a323c24253c966d733eb910b1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 87c96bd3c0ba9f35a6aae57b99b4b1efb1e065c3c63a610971d202b0964787661eaec6cdf7a26840e8e246fba012628979f6ffb1999efaa47298302290be4ba1
|
7
|
+
data.tar.gz: f5b66d0f079d8850c770fef90768da8a10a62f657f4645901758f0137235eb403cf2cd1f426a7b13ddc16546ba278f0d38776e102a180181a15ce81135b07be9
|
data/.github/workflows/ci.yml
CHANGED
@@ -26,13 +26,13 @@ jobs:
|
|
26
26
|
run: bundle exec rubocop --format progress
|
27
27
|
|
28
28
|
build:
|
29
|
-
needs: [
|
29
|
+
needs: [linting]
|
30
30
|
runs-on: ubuntu-latest
|
31
31
|
name: build (ruby v${{ matrix.ruby }})
|
32
32
|
strategy:
|
33
33
|
fail-fast: false
|
34
34
|
matrix:
|
35
|
-
ruby: [
|
35
|
+
ruby: ["2.5", "2.6", "2.7", "3.0", "3.1"]
|
36
36
|
|
37
37
|
steps:
|
38
38
|
- uses: actions/checkout@v2
|
data/CHANGELOG.md
CHANGED
@@ -8,6 +8,22 @@ This project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.htm
|
|
8
8
|
|
9
9
|
N/A
|
10
10
|
|
11
|
+
## [1.1.0](https://github.com/clarkedb/grift/releases/tag/v1.1.0) - 2022-02-03
|
12
|
+
|
13
|
+
This version adds support for Ruby 3.1 and updates various dependencies.
|
14
|
+
|
15
|
+
### Added
|
16
|
+
|
17
|
+
* Support Ruby 3.1
|
18
|
+
|
19
|
+
### Updated
|
20
|
+
|
21
|
+
* Updates `minitest`
|
22
|
+
* Updates `minitest-reporters`
|
23
|
+
* Updates `rubocop`
|
24
|
+
* Updates `rubocop-minitest`
|
25
|
+
* Updates `rubocop-performance`
|
26
|
+
|
11
27
|
## [1.0.2](https://github.com/clarkedb/grift/releases/tag/v1.0.2) - 2021-11-11
|
12
28
|
|
13
29
|
This version fixes a bug that prevented the mocking of methods defined by a class's super class.
|
data/Gemfile.lock
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
grift (1.0
|
4
|
+
grift (1.1.0)
|
5
5
|
|
6
6
|
GEM
|
7
7
|
remote: https://rubygems.org/
|
@@ -10,35 +10,35 @@ GEM
|
|
10
10
|
ast (2.4.2)
|
11
11
|
builder (3.2.4)
|
12
12
|
docile (1.4.0)
|
13
|
-
minitest (5.
|
14
|
-
minitest-reporters (1.
|
13
|
+
minitest (5.15.0)
|
14
|
+
minitest-reporters (1.5.0)
|
15
15
|
ansi
|
16
16
|
builder
|
17
17
|
minitest (>= 5.0)
|
18
18
|
ruby-progressbar
|
19
19
|
parallel (1.21.0)
|
20
|
-
parser (3.0.
|
20
|
+
parser (3.1.0.0)
|
21
21
|
ast (~> 2.4.1)
|
22
|
-
rainbow (3.
|
22
|
+
rainbow (3.1.1)
|
23
23
|
rake (13.0.6)
|
24
|
-
regexp_parser (2.
|
24
|
+
regexp_parser (2.2.0)
|
25
25
|
rexml (3.2.5)
|
26
|
-
rubocop (1.
|
26
|
+
rubocop (1.25.1)
|
27
27
|
parallel (~> 1.10)
|
28
|
-
parser (>= 3.
|
28
|
+
parser (>= 3.1.0.0)
|
29
29
|
rainbow (>= 2.2.2, < 4.0)
|
30
30
|
regexp_parser (>= 1.8, < 3.0)
|
31
31
|
rexml
|
32
|
-
rubocop-ast (>= 1.
|
32
|
+
rubocop-ast (>= 1.15.1, < 2.0)
|
33
33
|
ruby-progressbar (~> 1.7)
|
34
34
|
unicode-display_width (>= 1.4.0, < 3.0)
|
35
|
-
rubocop-ast (1.
|
35
|
+
rubocop-ast (1.15.1)
|
36
36
|
parser (>= 3.0.1.1)
|
37
|
-
rubocop-minitest (0.
|
37
|
+
rubocop-minitest (0.17.1)
|
38
38
|
rubocop (>= 0.90, < 2.0)
|
39
39
|
rubocop-packaging (0.5.1)
|
40
40
|
rubocop (>= 0.89, < 2.0)
|
41
|
-
rubocop-performance (1.
|
41
|
+
rubocop-performance (1.13.2)
|
42
42
|
rubocop (>= 1.7.0, < 2.0)
|
43
43
|
rubocop-ast (>= 0.4.0)
|
44
44
|
ruby-progressbar (1.11.0)
|
data/README.md
CHANGED
@@ -106,12 +106,20 @@ my_mock.mock.results
|
|
106
106
|
#=> ['result1', 'result2']
|
107
107
|
```
|
108
108
|
|
109
|
+
## Requirements
|
110
|
+
|
111
|
+
Grift supports all Ruby versions >= 2.5 (including 3.1).
|
112
|
+
|
109
113
|
## Development
|
110
114
|
|
111
115
|
After forking the repo, run `bin/setup` to install dependencies. Then, run `rake test` to run the tests. You can also run `bin/console` for an interactive prompt that will allow you to experiment.
|
112
116
|
|
113
117
|
When developing, to install Grift whith your changes onto your local machine, run `bundle exec rake install` . To release a new version, update the version number in `version.rb` , and then run `bundle exec rake release` , which will create a git tag for the version, push git commits and tags, and push the `.gem` file to [rubygems.org](https://rubygems.org).
|
114
118
|
|
119
|
+
### Docs
|
120
|
+
|
121
|
+
The docs are generated using YARD. To build the docs, first `gem install yard`. Then run `yardoc` to build the new docs. This is always done before a release to update the docs that get published and made available with the gem.
|
122
|
+
|
115
123
|
## Contributing
|
116
124
|
|
117
125
|
Bug reports and pull requests are welcome on GitHub at [clarkedb/grift](https://github.com/clarkedb/grift). Before submitting a pull request, see [CONTRIBUTING](.github/CONTRIBUTING.md).
|
data/grift.gemspec
CHANGED
@@ -19,6 +19,7 @@ Gem::Specification.new do |spec|
|
|
19
19
|
'changelog_uri' => "#{spec.homepage}/blob/main/CHANGELOG.md",
|
20
20
|
'documentation_uri' => spec.homepage.to_s,
|
21
21
|
'homepage_uri' => spec.homepage.to_s,
|
22
|
+
'rubygems_mfa_required' => 'true',
|
22
23
|
'source_code_uri' => spec.homepage.to_s
|
23
24
|
}
|
24
25
|
|
data/lib/grift/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: grift
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0
|
4
|
+
version: 1.1.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Clark Brown
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2022-02-04 00:00:00.000000000 Z
|
12
12
|
dependencies: []
|
13
13
|
description: A gem for simple mocking and spying in Ruby's MiniTest framework.
|
14
14
|
email:
|
@@ -50,6 +50,7 @@ metadata:
|
|
50
50
|
changelog_uri: https://github.com/clarkedb/grift/blob/main/CHANGELOG.md
|
51
51
|
documentation_uri: https://github.com/clarkedb/grift
|
52
52
|
homepage_uri: https://github.com/clarkedb/grift
|
53
|
+
rubygems_mfa_required: 'true'
|
53
54
|
source_code_uri: https://github.com/clarkedb/grift
|
54
55
|
post_install_message:
|
55
56
|
rdoc_options: []
|
@@ -66,7 +67,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
66
67
|
- !ruby/object:Gem::Version
|
67
68
|
version: '0'
|
68
69
|
requirements: []
|
69
|
-
rubygems_version: 3.
|
70
|
+
rubygems_version: 3.3.3
|
70
71
|
signing_key:
|
71
72
|
specification_version: 4
|
72
73
|
summary: Mocking and spying in MiniTest
|