incline 0.2.27 → 0.2.28
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/Gemfile.lock +1 -1
- data/lib/incline/extensions/test_case.rb +2 -0
- data/lib/incline/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: 31e3953940ab0d778a3c13c91e6c7ca5dd8362fc
|
4
|
+
data.tar.gz: a8c4462c7f53b91c305e533cdb52085cf601be18
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d4fc494ef51ba5946f4bb8fb563c4fb5d530ad005ccd06d7d454e84df68f9a23ddafad2dc0d2b8791a72d4005129ceab533ab03481b3848aeda16bce2cdefb24
|
7
|
+
data.tar.gz: af62205c7a6eab0e7fb90174c2e5f0e9efdd4809a5b3c9b0446a03fe78205cf11d63a1558a0f8a30f8617d3749106894a7726eeb0549348c020fa415fdbbd8b9
|
data/Gemfile.lock
CHANGED
@@ -469,8 +469,10 @@ module Incline::Extensions
|
|
469
469
|
kset = :"#{k}="
|
470
470
|
vorig = copy.send(k)
|
471
471
|
copy.send(kset, v)
|
472
|
+
assert_equal v, copy.send(k), message ? (message + ": (failed to set #{k})") : "Failed to set #{k}=#{v.inspect}."
|
472
473
|
assert copy.valid?, message ? (message + ": !#{k}(#{v})") : "Duplicate model with #{k}=#{v.inspect} should be valid with #{attribute}=#{copy.send(attribute).inspect}."
|
473
474
|
copy.send(kset, vorig)
|
475
|
+
assert_equal vorig, copy.send(k), message ? (message + ": (failed to reset #{k})") : "Failed to reset #{k}=#{v.inspect}."
|
474
476
|
assert_not copy.valid?, message ? (message + ": (#{copy.send(attribute).inspect})") : "Duplicate model with #{attribute}=#{copy.send(attribute).inspect} should not be valid."
|
475
477
|
assert copy.errors[attribute].to_s =~ regex, message ? (message + ': (error message)') : "Did not fail for expected reason"
|
476
478
|
end
|
data/lib/incline/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: incline
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.28
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Beau Barker
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-
|
11
|
+
date: 2017-12-01 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|