occi-core 5.0.0.beta.12 → 5.0.0.beta.13
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.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 0ba70af71d28f630d26bd15b7d246c3538135281
|
4
|
+
data.tar.gz: c0b7a49461f31edede784d889f73b504bbce2ded
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4ec18abe34016c2008ff2363796dad9a52da376135c8494cf095211b8e279cd6794dcadc115b4345a6c4abf017062abf1e33d2a11992fe085cf4c697418b8ab3
|
7
|
+
data.tar.gz: 11927b07adb05e674c400cfd16bd2a72274447378de1e40c00b2c0447d6cffcb4e148b5667d3250f2f111b7c367de1e2340fb4e7a0d00961a057c4fee66f6370
|
@@ -25,7 +25,7 @@ module Occi
|
|
25
25
|
DEFAULT_LAMBDA = ->(val) { raise "#{self} -> Cannot typecast #{val.inspect} to an unknown type" }
|
26
26
|
|
27
27
|
FLOAT_LAMBDA = ->(val) { val.to_f }
|
28
|
-
JSON_LAMBDA = ->(val) { JSON.parse(val) }
|
28
|
+
JSON_LAMBDA = ->(val) { JSON.parse(val.gsub('\"', '"')) }
|
29
29
|
|
30
30
|
TYPECASTER_HASH = {
|
31
31
|
IPAddr => ->(val) { IPAddr.new val },
|
data/lib/occi/core/version.rb
CHANGED
@@ -3,7 +3,7 @@ module Occi
|
|
3
3
|
MAJOR_VERSION = 5 # Major update constant
|
4
4
|
MINOR_VERSION = 0 # Minor update constant
|
5
5
|
PATCH_VERSION = 0 # Patch/Fix version constant
|
6
|
-
STAGE_VERSION = 'beta.
|
6
|
+
STAGE_VERSION = 'beta.13'.freeze # use `nil` for production releases
|
7
7
|
|
8
8
|
unless defined?(::Occi::Core::VERSION)
|
9
9
|
VERSION = [
|