propertybase_id 0.3.2 → 0.3.3

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: fc452861345f9564303760414afff7cc5fc05a19
4
- data.tar.gz: e1af84cbddbb0eecb49ec5d94c3b127f911171db
3
+ metadata.gz: 1d16d66e51b98f9299ba56b7c78d878631749a33
4
+ data.tar.gz: c23b69e8210c99ad6cc35206c28bd16e74616fa9
5
5
  SHA512:
6
- metadata.gz: 8e4c4e9f1ecf41fe0f9d2ffb3d0089c96ba20108dab2b23e5d19a57e0654e419495acbc60758304b0cb7bf98d985db1fc22922504e8d36eed925f4aba4d58f6a
7
- data.tar.gz: c52060006f0464d8bf07555767d18ca6e52a2a850cdf608e00e13ca64a8ba4a5a284d8a63650d88eef766e11d1fabe92b66a6d7f535c71e4232d4a3a848d9d26
6
+ metadata.gz: c040b67da1889b71e51ee597bfdebe628f2d65ee93be1f150e72c7b9cb5893b16bad9f6e853241e38ff5ba5f6dcfa68d79e29af5e9942cc4379792d303d80cc2
7
+ data.tar.gz: 0c26b2eb92e96eda22730fd35b960bb0104ffe9ea0c2827a130af6428e0ae2e2576a79dfe9c9d7731cbb36043b63897283921453cce141e3edd15ae73ab6736d
@@ -23,7 +23,7 @@ class PropertybaseId
23
23
  private
24
24
 
25
25
  def pb_object_id(object)
26
- PropertybaseId::Mappings.objects.fetch(object) do
26
+ PropertybaseId::Mappings.objects.fetch(object.to_s) do
27
27
  raise ArgumentError, "Object #{object.inspect} not found"
28
28
  end
29
29
  end
@@ -1,3 +1,3 @@
1
1
  class PropertybaseId
2
- VERSION = "0.3.2"
2
+ VERSION = "0.3.3"
3
3
  end
@@ -20,5 +20,6 @@ Gem::Specification.new do |spec|
20
20
 
21
21
  spec.add_development_dependency "bundler", "~> 1.8"
22
22
  spec.add_development_dependency "rake", "~> 10.0"
23
+ spec.add_development_dependency "rspec"
23
24
  spec.add_development_dependency "pry"
24
25
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: propertybase_id
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.2
4
+ version: 0.3.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Leif Gensert
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2015-04-03 00:00:00.000000000 Z
11
+ date: 2015-04-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -38,6 +38,20 @@ dependencies:
38
38
  - - "~>"
39
39
  - !ruby/object:Gem::Version
40
40
  version: '10.0'
41
+ - !ruby/object:Gem::Dependency
42
+ name: rspec
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - ">="
46
+ - !ruby/object:Gem::Version
47
+ version: '0'
48
+ type: :development
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - ">="
53
+ - !ruby/object:Gem::Version
54
+ version: '0'
41
55
  - !ruby/object:Gem::Dependency
42
56
  name: pry
43
57
  requirement: !ruby/object:Gem::Requirement