medea 0.2.4 → 0.2.5
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/VERSION +1 -1
- data/lib/medea/jasonobject.rb +1 -1
- metadata +3 -3
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
0.2.
|
|
1
|
+
0.2.5
|
data/lib/medea/jasonobject.rb
CHANGED
|
@@ -118,7 +118,7 @@ module Medea
|
|
|
118
118
|
def jason_key
|
|
119
119
|
#Generate a random UUID for this object.
|
|
120
120
|
#since jason urls must start with a letter, we'll use the first letter of the class name
|
|
121
|
-
@__id ||= "#{self.class.name[0].downcase}#{UUIDTools::UUID::random_create.to_s}"
|
|
121
|
+
@__id ||= "#{self.class.name[0].chr.downcase}#{UUIDTools::UUID::random_create.to_s}"
|
|
122
122
|
end
|
|
123
123
|
|
|
124
124
|
def jason_state
|
metadata
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: medea
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
hash:
|
|
4
|
+
hash: 29
|
|
5
5
|
prerelease: false
|
|
6
6
|
segments:
|
|
7
7
|
- 0
|
|
8
8
|
- 2
|
|
9
|
-
-
|
|
10
|
-
version: 0.2.
|
|
9
|
+
- 5
|
|
10
|
+
version: 0.2.5
|
|
11
11
|
platform: ruby
|
|
12
12
|
authors:
|
|
13
13
|
- Michael Jensen
|