mocha 3.0.0.pre.rc.2 → 3.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/RELEASE.md +28 -29
- data/lib/mocha/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 9431ccba02f75fc0a40dbac200ac7a5629f203848691e38214a725f927dc0725
|
|
4
|
+
data.tar.gz: aa40e7e3969c0e79e0846d0861d93a32d78a22b0ecb6b4717686159c9bfd017b
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 32d76cc9bb034b962a11af73c274ca6231a837420fb3b22493b0c06234baa83ea52f7e4320a9b71e30aec522fe17d33ccc30115dd492c7b44381c410c5bead4f
|
|
7
|
+
data.tar.gz: 7b2edba204cdc7b84a280b28febca098b4723e8ef28eadd643ebe93a5bef6f1067b36df3fb030ba356a7e3ee05ab4d2f837f540e9857f9129db0224e1a8144bc
|
data/RELEASE.md
CHANGED
|
@@ -1,33 +1,6 @@
|
|
|
1
1
|
# Release Notes
|
|
2
2
|
|
|
3
|
-
## 3.0.0
|
|
4
|
-
|
|
5
|
-
### External changes
|
|
6
|
-
|
|
7
|
-
* Fix compatibility with Ruby 3.5 (#755) - thanks to @Earlopain
|
|
8
|
-
* Add missing quotes to docs for `Mocha::ParameterMatchers::Methods#equivalent_uri` (#757) - thanks to @bensherman
|
|
9
|
-
* Increment assertion count on never expected invocation (#763 & #764)
|
|
10
|
-
* Remove deprecated `ParameterMatchers::Base` class; include `ParameterMatchers::BaseMethods` module instead (415ae768)
|
|
11
|
-
* Remove deprecated `ParameterMatcher` methods now available in `ParameterMatcher::Methods` (8de49979)
|
|
12
|
-
* Removed deprecated access to `ParameterMatcher` classes (6ea9e3f5)
|
|
13
|
-
|
|
14
|
-
### Internal changes
|
|
15
|
-
|
|
16
|
-
* Remove workaround for JRuby jar-dependencies issue (#737)
|
|
17
|
-
* Add benchmark to `Gemfile` to fix warning (#733 & #740) - thanks to @nitishr
|
|
18
|
-
* Add documentation coverage check (#707, #743 & #745) - thanks to @nitishr
|
|
19
|
-
* Fix `Lint/LiteralAsCondition` violation (#746) - thanks to @nitishr
|
|
20
|
-
* Fix rdoc-related warning when running doc rake task (#741 & #747)
|
|
21
|
-
* Fail fast in CI builds on any Ruby warnings (#729 & #741) - thanks to @nitishr
|
|
22
|
-
* Add `ObjectMethods#stubba_respond_to?` and use instead of `Object#respond_to?` (#713, #742 & #750) - thanks to @nitishr
|
|
23
|
-
* Rename `#stubbee` -> `#stubba_object` and `#mock_owner` -> `#stubbee` (#463 & #751) - thanks to @nitishr
|
|
24
|
-
* Fix `enable-frozen-string-literal` in CI build (#752) - thanks to @nitishr
|
|
25
|
-
* Various rubocop fixed (#754 & #756)
|
|
26
|
-
* Fix `Layout/EmptyLinesAfterModuleInclusion` violations (3f683220)
|
|
27
|
-
* Auto-correct `Style/RedundantParentheses` violations (0277a592)
|
|
28
|
-
* Automatically retry failed CI builds (9bbdbc66)
|
|
29
|
-
|
|
30
|
-
## 3.0.0-rc.1
|
|
3
|
+
## 3.0.0
|
|
31
4
|
|
|
32
5
|
### External changes
|
|
33
6
|
|
|
@@ -42,9 +15,14 @@
|
|
|
42
15
|
* Improve `#mocha_inspect` for empty keyword argument `Hash` (#588 & #720) - thanks to @herwinw for reporting
|
|
43
16
|
* Improve error if `Mockery.teardown` called before `Mockery.setup` (#611, #646 & #721) - thanks to @riniculous for reporting
|
|
44
17
|
* Freeze string literals (#722)
|
|
45
|
-
* Remove support for running tests with Minitest < v5 (#727)
|
|
46
18
|
* Allow keyword arguments to match an expectation expecting *only* positional arguments (#593 & #732) - thanks to @seandilda
|
|
47
19
|
for reporting
|
|
20
|
+
* Fix compatibility with Ruby 3.5 (#755) - thanks to @Earlopain
|
|
21
|
+
* Add missing quotes to docs for `Mocha::ParameterMatchers::Methods#equivalent_uri` (#757) - thanks to @bensherman
|
|
22
|
+
* Increment assertion count on never expected invocation (#763 & #764)
|
|
23
|
+
* Remove deprecated `ParameterMatchers::Base` class; include `ParameterMatchers::BaseMethods` module instead (415ae768)
|
|
24
|
+
* Remove deprecated `ParameterMatcher` methods now available in `ParameterMatcher::Methods` (8de49979)
|
|
25
|
+
* Removed deprecated access to `ParameterMatcher` classes (6ea9e3f5)
|
|
48
26
|
|
|
49
27
|
### Internal changes
|
|
50
28
|
|
|
@@ -63,6 +41,27 @@ for reporting
|
|
|
63
41
|
* Remove duplicate `DefaultReceiverTest` (39d99954)
|
|
64
42
|
* Improvements to keyword argument matching tests (#730)
|
|
65
43
|
* Improvements to keyword argument matcher unit test (#731)
|
|
44
|
+
* Remove support for running tests with Minitest < v5 (#727)
|
|
45
|
+
* Remove workaround for JRuby jar-dependencies issue (#737)
|
|
46
|
+
* Add benchmark to `Gemfile` to fix warning (#733 & #740) - thanks to @nitishr
|
|
47
|
+
* Add documentation coverage check (#707, #743 & #745) - thanks to @nitishr
|
|
48
|
+
* Fix `Lint/LiteralAsCondition` violation (#746) - thanks to @nitishr
|
|
49
|
+
* Fix rdoc-related warning when running doc rake task (#741 & #747)
|
|
50
|
+
* Fail fast in CI builds on any Ruby warnings (#729 & #741) - thanks to @nitishr
|
|
51
|
+
* Add `ObjectMethods#stubba_respond_to?` and use instead of `Object#respond_to?` (#713, #742 & #750) - thanks to @nitishr
|
|
52
|
+
* Rename `#stubbee` -> `#stubba_object` and `#mock_owner` -> `#stubbee` (#463 & #751) - thanks to @nitishr
|
|
53
|
+
* Fix `enable-frozen-string-literal` in CI build (#752) - thanks to @nitishr
|
|
54
|
+
* Various rubocop fixed (#754 & #756)
|
|
55
|
+
* Fix `Layout/EmptyLinesAfterModuleInclusion` violations (3f683220)
|
|
56
|
+
* Auto-correct `Style/RedundantParentheses` violations (0277a592)
|
|
57
|
+
* Automatically retry failed CI builds (9bbdbc66)
|
|
58
|
+
|
|
59
|
+
## 2.8.1
|
|
60
|
+
|
|
61
|
+
### External changes
|
|
62
|
+
|
|
63
|
+
* Restore unqualified access to `ParameterMatchers` matcher classes, but deprecate such access (5231a4f7)
|
|
64
|
+
* Restore unqualified access to `ParameterMatchers::BaseMethods`, but deprecate such access (8a898567)
|
|
66
65
|
|
|
67
66
|
## 2.8.0
|
|
68
67
|
|
data/lib/mocha/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: mocha
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 3.0.0
|
|
4
|
+
version: 3.0.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- James Mead
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2025-
|
|
11
|
+
date: 2025-12-15 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: ruby2_keywords
|