activerecord-propertybase_id 0.3.0 → 0.3.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: 26f5a4e1850a56a83d8c6000780eaa95f7fb63cc
4
- data.tar.gz: f1528ea64f6392619ada3b46ea1bb6c1e714902e
3
+ metadata.gz: 2000ee66ba5b55c690cba703b710dfe398b658bd
4
+ data.tar.gz: 76cfcf3674c5dca54410db07595fbae5facba84e
5
5
  SHA512:
6
- metadata.gz: 98b5137743e268d3fe435913aac6bf25f25f1df08b6507d94c003fb50b17bdd221c8d35847098783176162be352f4b5daeb223e6cd61956595cc5aa5dfcea774
7
- data.tar.gz: 08e5d12ffcf030d7e15a4802fa3b6e32cc25a73ae129cee31c1caa4ebd70b434762b95006fac468ce5342f0016bb4e43fd86c09ec0e9298d28489c5c6a2b0e44
6
+ metadata.gz: ba395831bfb452d6d73bdc0cbe0697030945f3d46db5919db79ffc76483cc96ca04a4e8556f6cbcb33bb6cfb0ebada16c6d13f0683d27054738d303e38982e4c
7
+ data.tar.gz: f8bbcdf0de6fff1ce50132ada671143cf4ec1f5ac5a13058e811fc5a5f1b576f746be91b1f980572a1ab0cb0710cff5832186e1fb1a7c19dcd24cd1fcc75095b
@@ -16,7 +16,7 @@ module ActiveRecord
16
16
  before_create :generate_propertybase_id_if_needed
17
17
  end
18
18
 
19
- def propertybase_id
19
+ def propertybase_id_wrapped
20
20
  pb_id_string = send(self.class.primary_key)
21
21
  ::PropertybaseId.parse(pb_id_string)
22
22
  end
@@ -1,5 +1,5 @@
1
1
  module ActiveRecord
2
2
  module PropertybaseId
3
- VERSION = "0.3.0"
3
+ VERSION = "0.3.1"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: activerecord-propertybase_id
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.0
4
+ version: 0.3.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Leif Gensert