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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: cb1d1bdcd67442312ce8e48fa04a1e202aca15a2
4
- data.tar.gz: 1a506e8c642e84938a4f32ae8f97cf2ed579b05b
3
+ metadata.gz: 7019abbcba367ffde338074a378485042f539b0b
4
+ data.tar.gz: 41ec48902a59084d62cb5a6b7ee281b32dc29296
5
5
  SHA512:
6
- metadata.gz: fa1024912a23354e5bb1ec42ee3518b6b2de5e5e8229eb2182c93f8b69783dc5dfc16e03d0f5da3d6f525ed4472b028f5787952848cc04795728786223df3cf3
7
- data.tar.gz: a27f0003a78e6ad4fbc69362cb6da84707c6b5f5887e900cec0eccf0f23879b1bdf6cc393e4b7313c4e7644827e1faee1c42745bcbc0eb455e89f58c1534df5a
6
+ metadata.gz: 10fccfaecf7a65a8b92de435b3d8865306eee571ba916f9dfbeb97a95dc7aca6dcf2e856ac885b74210ff26d944f2c3c28125db1d04d4f0d5c7a0465a872ec12
7
+ data.tar.gz: cbfc59f94eb61dbd59b70c15b119cf1635a159cdf6918d11cf891de114a4e97df161dd0e5f30a1830357cf2af74bb72aff44b358aabd86a19955fc397da51611
@@ -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
@@ -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
- message = "Unknown attribute: #{attr}"
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
@@ -1,3 +1,3 @@
1
1
  class Bound
2
- VERSION = "2.0.0"
2
+ VERSION = "2.0.1"
3
3
  end
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.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