bound 2.0.0 → 2.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/bound.gemspec +1 -2
- data/lib/bound.rb +2 -1
- data/lib/bound/version.rb +1 -1
- metadata +1 -15
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7019abbcba367ffde338074a378485042f539b0b
|
4
|
+
data.tar.gz: 41ec48902a59084d62cb5a6b7ee281b32dc29296
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 10fccfaecf7a65a8b92de435b3d8865306eee571ba916f9dfbeb97a95dc7aca6dcf2e856ac885b74210ff26d944f2c3c28125db1d04d4f0d5c7a0465a872ec12
|
7
|
+
data.tar.gz: cbfc59f94eb61dbd59b70c15b119cf1635a159cdf6918d11cf891de114a4e97df161dd0e5f30a1830357cf2af74bb72aff44b358aabd86a19955fc397da51611
|
data/bound.gemspec
CHANGED
@@ -20,7 +20,6 @@ Gem::Specification.new do |spec|
|
|
20
20
|
spec.add_development_dependency "bundler", "~> 1.3"
|
21
21
|
spec.add_development_dependency "rake"
|
22
22
|
spec.add_development_dependency "minitest", "~> 5.0.7"
|
23
|
-
spec.add_development_dependency "perftools.rb"
|
24
23
|
|
25
|
-
spec.add_development_dependency "simplecov"
|
24
|
+
spec.add_development_dependency "simplecov"
|
26
25
|
end
|
data/lib/bound.rb
CHANGED
@@ -53,7 +53,8 @@ class Bound
|
|
53
53
|
def ensure_all_attributes_are_known!
|
54
54
|
(overwritten_attrs + target_attrs).each do |attr|
|
55
55
|
unless (attributes + optional_attributes).include? attr
|
56
|
-
|
56
|
+
a = (attributes + optional_attributes).inspect
|
57
|
+
message = "Unknown attribute: #{attr.inspect} in #{a}"
|
57
58
|
raise ArgumentError, message
|
58
59
|
end
|
59
60
|
end
|
data/lib/bound/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: bound
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.0.
|
4
|
+
version: 2.0.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jakob Holderbaum
|
@@ -53,20 +53,6 @@ dependencies:
|
|
53
53
|
- - "~>"
|
54
54
|
- !ruby/object:Gem::Version
|
55
55
|
version: 5.0.7
|
56
|
-
- !ruby/object:Gem::Dependency
|
57
|
-
name: perftools.rb
|
58
|
-
requirement: !ruby/object:Gem::Requirement
|
59
|
-
requirements:
|
60
|
-
- - ">="
|
61
|
-
- !ruby/object:Gem::Version
|
62
|
-
version: '0'
|
63
|
-
type: :development
|
64
|
-
prerelease: false
|
65
|
-
version_requirements: !ruby/object:Gem::Requirement
|
66
|
-
requirements:
|
67
|
-
- - ">="
|
68
|
-
- !ruby/object:Gem::Version
|
69
|
-
version: '0'
|
70
56
|
- !ruby/object:Gem::Dependency
|
71
57
|
name: simplecov
|
72
58
|
requirement: !ruby/object:Gem::Requirement
|