ohm 0.1.1 → 0.1.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/lib/ohm.rb +4 -3
- data/lib/ohm/version.rb +1 -1
- metadata +3 -3
data/lib/ohm.rb
CHANGED
|
@@ -1718,9 +1718,6 @@ module Ohm
|
|
|
1718
1718
|
self.db = Ohm.connection(*options)
|
|
1719
1719
|
end
|
|
1720
1720
|
|
|
1721
|
-
protected
|
|
1722
|
-
attr_writer :id
|
|
1723
|
-
|
|
1724
1721
|
# @return [Ohm::Key] A key scoped to the model which uses this object's
|
|
1725
1722
|
# id.
|
|
1726
1723
|
#
|
|
@@ -1729,6 +1726,10 @@ module Ohm
|
|
|
1729
1726
|
self.class.key[id]
|
|
1730
1727
|
end
|
|
1731
1728
|
|
|
1729
|
+
protected
|
|
1730
|
+
attr_writer :id
|
|
1731
|
+
|
|
1732
|
+
|
|
1732
1733
|
# Write all the attributes and counters of this object. The operation
|
|
1733
1734
|
# is actually a 2-step process:
|
|
1734
1735
|
#
|
data/lib/ohm/version.rb
CHANGED
metadata
CHANGED
|
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
|
|
|
5
5
|
segments:
|
|
6
6
|
- 0
|
|
7
7
|
- 1
|
|
8
|
-
-
|
|
9
|
-
version: 0.1.
|
|
8
|
+
- 2
|
|
9
|
+
version: 0.1.2
|
|
10
10
|
platform: ruby
|
|
11
11
|
authors:
|
|
12
12
|
- Michel Martens
|
|
@@ -15,7 +15,7 @@ autorequire:
|
|
|
15
15
|
bindir: bin
|
|
16
16
|
cert_chain: []
|
|
17
17
|
|
|
18
|
-
date: 2010-10-
|
|
18
|
+
date: 2010-10-29 00:00:00 -03:00
|
|
19
19
|
default_executable:
|
|
20
20
|
dependencies:
|
|
21
21
|
- !ruby/object:Gem::Dependency
|