shapeable 0.7.0 → 0.7.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/shapeable/shape.rb +1 -1
- data/lib/shapeable/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 44bef841fc4c43c4312c5ce22125bbd3c3b11d2a
|
4
|
+
data.tar.gz: 87f78849bc7b182f102c0efa95966a9f55d9c7dc
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b4e14d70a9c19849e393e7aa2e1647ca0d6bd839b0dcb64fc612e16cd83e2b1a8f50cf41107488f92e544c72d2cb97dab8a6bedd30e457c06ef603517fb2c52c
|
7
|
+
data.tar.gz: 68fa2f2aaaff27cda7637d915a83f6f350df11a7698c9cc81b833348bae5a2aa02c0c67225e9c76d6c1b6bf82fd41ab410ffa0b8c2f077fc0c9d87817f594c63
|
data/lib/shapeable/shape.rb
CHANGED
@@ -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.
|
52
|
+
elsif opts[:enforce_shape] && shape.nil?
|
53
53
|
raise Shapeable::Errors::UnresolvedShapeError
|
54
54
|
end
|
55
55
|
|
data/lib/shapeable/version.rb
CHANGED
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.
|
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-
|
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.
|
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
|