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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 4c58d46ca687610ae0f138d5fde7eef55cb84618
4
- data.tar.gz: 8ae4c5d5616e174c3dfeba99f87c4e3507e88f67
3
+ metadata.gz: 31e3953940ab0d778a3c13c91e6c7ca5dd8362fc
4
+ data.tar.gz: a8c4462c7f53b91c305e533cdb52085cf601be18
5
5
  SHA512:
6
- metadata.gz: daf4b51f05b0d2923ed007f008d6733b7a6ce76b2027010398592564f5958073d93f1c166b40dc2934ee100208e7fe7432ca1abda552434ab7d998b09873c811
7
- data.tar.gz: a482328ea9051468d050eb99c577c25f9368384b17a07f680f86708c28a317bc020da963d90dde98aef8ce3e9b2e8713e56a6561def541fa3bdf3bd7e58d59b8
6
+ metadata.gz: d4fc494ef51ba5946f4bb8fb563c4fb5d530ad005ccd06d7d454e84df68f9a23ddafad2dc0d2b8791a72d4005129ceab533ab03481b3848aeda16bce2cdefb24
7
+ data.tar.gz: af62205c7a6eab0e7fb90174c2e5f0e9efdd4809a5b3c9b0446a03fe78205cf11d63a1558a0f8a30f8617d3749106894a7726eeb0549348c020fa415fdbbd8b9
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- incline (0.2.27)
4
+ incline (0.2.28)
5
5
  ansi (~> 1.5.0)
6
6
  bcrypt
7
7
  bootstrap-sass
@@ -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
@@ -1,3 +1,3 @@
1
1
  module Incline
2
- VERSION = "0.2.27"
2
+ VERSION = "0.2.28"
3
3
  end
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.27
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-10 00:00:00.000000000 Z
11
+ date: 2017-12-01 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails