yaccl 0.0.13 → 0.0.14
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
---
|
2
2
|
!binary "U0hBMQ==":
|
3
3
|
metadata.gz: !binary |-
|
4
|
-
|
4
|
+
MjE0M2U4YmJkNzUyYzM4MTNjODEyOTBhMjdjNGU2ZDljYzY0YjE0Zg==
|
5
5
|
data.tar.gz: !binary |-
|
6
|
-
|
6
|
+
ZTkxZTFiNjAzOTJmNjk0YTVmMDkxMjk3ZDBiZmRiZmFjODZkNmRjYw==
|
7
7
|
!binary "U0hBNTEy":
|
8
8
|
metadata.gz: !binary |-
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
ZDBkZjY5NDIzZDI2M2UxZjYwZTk5ODM5ZjAwMjJjOGNjODEzMzQ5MzQyODdl
|
10
|
+
ZjgyYThkNWUwOTk5YzU5Y2QwYTBjMTFmZGZlOGY3OWE3NmU3MmJkNGI3OTVl
|
11
|
+
MDc1YmFlYWRiMWMxN2M1YzkwMTkyZjJjMWFlY2VmMDM0OGNhMTg=
|
12
12
|
data.tar.gz: !binary |-
|
13
|
-
|
14
|
-
|
15
|
-
|
13
|
+
Y2QxMGIyMDdiYTM3ZTQ3YTEwNDk1ZjgzZGRmNWMzMGNjYzlmNmYwMzMxNGNl
|
14
|
+
YjFkYTFiMGQ2YzY0ODhiNDNhYjg1ZmZiY2E0ZjA1MWNmYjhhYmM4ZGZkMTEw
|
15
|
+
ODU0MWViMzg2OWE0MzQxODViNWFmM2I5MmFlZjU3YTg2M2RkOWU=
|
@@ -3,7 +3,7 @@ module YACCL
|
|
3
3
|
class PropertyDefinition
|
4
4
|
|
5
5
|
attr_accessor :id, :local_name, :query_name, :inherited,
|
6
|
-
:
|
6
|
+
:open_choice, :orderable, :property_type, :updatability,
|
7
7
|
:display_name, :required, :cardinality, :queryable
|
8
8
|
|
9
9
|
def initialize(hash={})
|
@@ -95,7 +95,9 @@ module YACCL
|
|
95
95
|
props = hash.delete(:properties)
|
96
96
|
if props.is_a?(Hash)
|
97
97
|
props.each_with_index do |(id, value), index|
|
98
|
-
|
98
|
+
if value.is_a?(Time) || value.is_a?(DateTime)
|
99
|
+
value = (value.to_f * 1000).to_i
|
100
|
+
end
|
99
101
|
hash.merge!("propertyId[#{index}]" => id,
|
100
102
|
"propertyValue[#{index}]" => value)
|
101
103
|
end
|
data/lib/yaccl/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: yaccl
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.14
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Kenneth Geerts
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2013-04-
|
12
|
+
date: 2013-04-23 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: httparty
|