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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 98c5113978ecfca383496652f50e2fee8b820bdf0f9dfd94e01649b567c44ee8
4
- data.tar.gz: 16d205bacdddd4018ef18654b09c7f9b7d283956a382875f6f4dbae58f1244dd
3
+ metadata.gz: a37d5a48e24392779fb59d698491aab83b2ebd26118cd3b25e8af70f2762731e
4
+ data.tar.gz: cde1463f8b56b94dcc94d94cef6fc42629bff64a323c24253c966d733eb910b1
5
5
  SHA512:
6
- metadata.gz: 75ca213c47eabb2e1cf4ee8790949e041ff383193a844f34f1ab794486cd3afdf633e0206f367e7b74d358276bb43f48b7b0dcf8ae8fbb124977d42c34df1bb7
7
- data.tar.gz: 91e88879f44d036403d94808ab853007a66f10e60dad5569e38ace29f1969abc2abc24fdb87b6f9f5db61c98a8efdd34c6d4cfcb4f063fc147e9a1bc80ece52c
6
+ metadata.gz: 87c96bd3c0ba9f35a6aae57b99b4b1efb1e065c3c63a610971d202b0964787661eaec6cdf7a26840e8e246fba012628979f6ffb1999efaa47298302290be4ba1
7
+ data.tar.gz: f5b66d0f079d8850c770fef90768da8a10a62f657f4645901758f0137235eb403cf2cd1f426a7b13ddc16546ba278f0d38776e102a180181a15ce81135b07be9
@@ -26,13 +26,13 @@ jobs:
26
26
  run: bundle exec rubocop --format progress
27
27
 
28
28
  build:
29
- needs: [ linting ]
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: [ '2.5', '2.6', '2.7', '3.0' ]
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.2)
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.4)
14
- minitest-reporters (1.4.3)
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.2.0)
20
+ parser (3.1.0.0)
21
21
  ast (~> 2.4.1)
22
- rainbow (3.0.0)
22
+ rainbow (3.1.1)
23
23
  rake (13.0.6)
24
- regexp_parser (2.1.1)
24
+ regexp_parser (2.2.0)
25
25
  rexml (3.2.5)
26
- rubocop (1.22.3)
26
+ rubocop (1.25.1)
27
27
  parallel (~> 1.10)
28
- parser (>= 3.0.0.0)
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.12.0, < 2.0)
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.12.0)
35
+ rubocop-ast (1.15.1)
36
36
  parser (>= 3.0.1.1)
37
- rubocop-minitest (0.15.2)
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.12.0)
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
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Grift
4
4
  # gem version
5
- VERSION = '1.0.2'
5
+ VERSION = '1.1.0'
6
6
  public_constant :VERSION
7
7
  end
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.2
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: 2021-11-11 00:00:00.000000000 Z
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.1.2
70
+ rubygems_version: 3.3.3
70
71
  signing_key:
71
72
  specification_version: 4
72
73
  summary: Mocking and spying in MiniTest