shapeable 0.7.0 → 0.7.1

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: a7d39aa43ffe8a1b7c7aa7dfe557982057468b14
4
- data.tar.gz: 54dd027ea85753aac5541856fcce80455aa5828a
3
+ metadata.gz: 44bef841fc4c43c4312c5ce22125bbd3c3b11d2a
4
+ data.tar.gz: 87f78849bc7b182f102c0efa95966a9f55d9c7dc
5
5
  SHA512:
6
- metadata.gz: c68b5fcb8fedd59d00150e174277025fc6b40c5fa62663530cd504a70989e0250f4cda480451924cc2d7106acbb5cf1e5062f8434dc42d229be596bce2c7f1ae
7
- data.tar.gz: bb086e17c28795076e00d7b00d343b85bafccf747e4426e21ba46835371dca87f941780e18c61507f277a131706ea4b0a4d169ccbb63d0f65d6d5517fde2bc18
6
+ metadata.gz: b4e14d70a9c19849e393e7aa2e1647ca0d6bd839b0dcb64fc612e16cd83e2b1a8f50cf41107488f92e544c72d2cb97dab8a6bedd30e457c06ef603517fb2c52c
7
+ data.tar.gz: 68fa2f2aaaff27cda7637d915a83f6f350df11a7698c9cc81b833348bae5a2aa02c0c67225e9c76d6c1b6bf82fd41ab410ffa0b8c2f077fc0c9d87817f594c63
@@ -49,7 +49,7 @@ module Shapeable
49
49
  raise Shapeable::Errors::UnresolvedPathError
50
50
  elsif opts[:enforce_versioning] && version.blank?
51
51
  raise Shapeable::Errors::UnresolvedVersionError
52
- elsif opts[:enforce_shape] && shape.blank?
52
+ elsif opts[:enforce_shape] && shape.nil?
53
53
  raise Shapeable::Errors::UnresolvedShapeError
54
54
  end
55
55
 
@@ -1,3 +1,3 @@
1
1
  module Shapeable
2
- VERSION = '0.7.0'
2
+ VERSION = '0.7.1'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: shapeable
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.7.0
4
+ version: 0.7.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Shawn O'Mara
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2017-07-20 00:00:00.000000000 Z
12
+ date: 2017-09-29 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: actionpack
@@ -142,7 +142,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
142
142
  version: '0'
143
143
  requirements: []
144
144
  rubyforge_project:
145
- rubygems_version: 2.6.11
145
+ rubygems_version: 2.6.13
146
146
  signing_key:
147
147
  specification_version: 4
148
148
  summary: API versioning that promotes convention over configuration