RubyGems
npm
Organizations
Log in
Sign up
RubyGems
schemata-dea
Versions diffs
0.0.1.beta6 → 0.0.1.beta7
schemata-dea 0.0.1.beta6 → 0.0.1.beta7
Sign up to get
free
protection for your applications and to get access to all the features.
Files changed (4)
hide
show
data/lib/schemata/dea/version.rb
+1
-1
data/lib/schemata/helpers/hash_copy.rb
+2
-0
data/lib/schemata/helpers/stringify.rb
+2
-0
metadata
+1
-1
data/lib/schemata/dea/version.rb
CHANGED
Viewed
@@ -1,5 +1,5 @@
1
1
module Schemata
2
2
module DEA
3
-
VERSION = "0.0.1.
beta6
"
3
+
VERSION = "0.0.1.
beta7
"
4
4
end
5
5
end
data/lib/schemata/helpers/hash_copy.rb
CHANGED
Viewed
@@ -20,6 +20,8 @@ module Schemata
20
20
return node.map { |v| deep_copy(v) }
21
21
when NilClass
22
22
return nil
23
+
when Time
24
+
return node.to_s
23
25
else
24
26
raise CopyError.new("Unexpected class: #{node.class}")
25
27
end
data/lib/schemata/helpers/stringify.rb
CHANGED
Viewed
@@ -17,6 +17,8 @@ module Schemata
17
17
return nil
18
18
when Symbol
19
19
return node.to_s
20
+
when Time
21
+
return node.to_s
20
22
else
21
23
raise CopyError.new("Unexpected class: #{node.class}")
22
24
end
metadata
CHANGED
Viewed
@@ -1,7 +1,7 @@
1
1
--- !ruby/object:Gem::Specification
2
2
name: schemata-dea
3
3
version: !ruby/object:Gem::Version
4
-
version: 0.0.1.
beta6
4
+
version: 0.0.1.
beta7
5
5
prerelease: 6
6
6
platform: ruby
7
7
authors: