RubyGems
npm
Organizations
Log in
Sign up
RubyGems
schemata-router
Versions diffs
0.0.1.beta2 → 0.0.1.beta3
schemata-router 0.0.1.beta2 → 0.0.1.beta3
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/helpers/hash_copy.rb
+2
-0
data/lib/schemata/helpers/stringify.rb
+2
-0
data/lib/schemata/router/version.rb
+1
-1
metadata
+1
-1
data/lib/schemata/helpers/hash_copy.rb
CHANGED
@@ -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
@@ -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
data/lib/schemata/router/version.rb
CHANGED
@@ -1,5 +1,5 @@
1
1
module Schemata
2
2
module Router
3
-
VERSION = "0.0.1.
beta2
"
3
+
VERSION = "0.0.1.
beta3
"
4
4
end
5
5
end
metadata
CHANGED
@@ -1,7 +1,7 @@
1
1
--- !ruby/object:Gem::Specification
2
2
name: schemata-router
3
3
version: !ruby/object:Gem::Version
4
-
version: 0.0.1.
beta2
4
+
version: 0.0.1.
beta3
5
5
prerelease: 6
6
6
platform: ruby
7
7
authors: