rearmed_rails 1.0.0 → 1.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +2 -0
- data/lib/rearmed_rails/monkey_patches/minitest.rb +2 -2
- data/lib/rearmed_rails/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1f829123e5c404ffa148cc2c482db41843aa80c6
|
4
|
+
data.tar.gz: 9d04ddc3473378e75393d3e7614896ed931c14c4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a2aedc840f0454845bae1f6115134c8daa7557229c55330d00ed9447edd4cd622db52b8e69bfb264b85b0f56a7f3c8ef01cde03d3a9cb86fd6fc812c46871b94
|
7
|
+
data.tar.gz: 2e044aaa8ba45690b1b70653ac6cffa3e2d923fc720b7e8521b60af3ffdad0ed9a305a11e91e7f8d2bd80eb3eebd0bf7e78949f7a0a6a8d3feb19c37f2b4e325
|
data/CHANGELOG.md
CHANGED
@@ -4,7 +4,7 @@ if defined?(Minitest::Assertions)
|
|
4
4
|
|
5
5
|
Minitest::Assertions.module_eval do
|
6
6
|
|
7
|
-
if enabled ||
|
7
|
+
if enabled || RearmedRails.dig(RearmedRails.enabled_patches, :minitest, :assert_changed)
|
8
8
|
def assert_changed(expression, &block)
|
9
9
|
if expression.respond_to?(:call)
|
10
10
|
e = expression
|
@@ -17,7 +17,7 @@ if defined?(Minitest::Assertions)
|
|
17
17
|
end
|
18
18
|
end
|
19
19
|
|
20
|
-
if enabled ||
|
20
|
+
if enabled || RearmedRails.dig(RearmedRails.enabled_patches, :minitest, :assert_not_changed)
|
21
21
|
def assert_not_changed(expression, &block)
|
22
22
|
if expression.respond_to?(:call)
|
23
23
|
e = expression
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rearmed_rails
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Weston Ganger
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-
|
11
|
+
date: 2017-03-01 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rake
|