yaccl 0.0.23 → 0.0.24

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
- NTY1ZDVhM2UwMmFlMGQ2MWU2NTFkZmE4YTQ2YzVmNmZiZjE2Y2MyNg==
4
+ YTg0OTdhMWJlNmE3YzM4NWEzYzdmNzE1MWZlNzlkMjBkN2IxMzNkNw==
5
5
  data.tar.gz: !binary |-
6
- Zjc3NjgyNWZjZjVjZDIxMjI2ZjkxZjE4M2Q1M2QzN2E4ZDEwZmM0NA==
6
+ YmQ4NmJhYTNhYWE3ZWU2NmMxN2E3OGZjNzAwZWJhOTU1MjM3MmEwYg==
7
7
  !binary "U0hBNTEy":
8
8
  metadata.gz: !binary |-
9
- NTJhOWNiMDgzZWVkYzgwMjE5YTMzM2Y1YTE1NDg4NGI2ODVlMGVhYWYwMWFi
10
- NTNlNmZiZDM4ZmI5ODRlNWY1MTA5NGIyNmNhZDJiMWNiZTQ4MmY5ODFmOGZl
11
- NjUzNmE2Y2UxNjFjYTZlYzI3YjYwY2NhMTE1OTBiNGMwMjM1ZjM=
9
+ ZjM5NzE2NjM1NTY2ZWQzMTA5YmVkNWMwYWMzYjA2ZjYwYTQ5ZjQ2NzMxZTA5
10
+ YjhmNjE3YmVjNTk1YmY5NmM4ZGI2M2I1MTE3MzQ3M2NkMTkwMDIzYzYyNmE1
11
+ MzljZWNhMWUwMGI0MjJmMzUyOWM3OTUxMWExOTA4OWQ4NzM2ZDQ=
12
12
  data.tar.gz: !binary |-
13
- MDkzNGZjNDU5YTllODUyMTk0ZWIzYjQzNWNhMjc4MmQ4MTQ5MmFiNTBjZGRk
14
- ZDhjYmM3YWU1N2QxMjcxNzQwMjU2YWI5Y2U4NzZmNmM3NDMxY2Y0M2UzNGFi
15
- ZGEzZDc4ZTFhN2IwODQxYWNiZjJhOGViMzlmYWRmZmZiMjA5MWY=
13
+ MzNmZWI2MzcyMDVkZTk2ZDZiNGJlYzJkODI0MzRhZTY0OTczYTk1OTliZjJi
14
+ NzAzMjk0MmExNmY3YjI2NTY3ZDFkMDAzNDRiZWY5MWYxOWVmZmY4ZjFhYWFj
15
+ M2QwOTBkMWI1NjcwMWExMDMyZjgwZmExZGI0NWZhMDJlYjIwNzE=
@@ -59,7 +59,7 @@ module YACCL
59
59
  end
60
60
 
61
61
  def delete_tree
62
- Services.delete_tree(repository_id, object_id, true, false, false)
62
+ Services.delete_tree(repository_id, object_id, nil, nil, nil)
63
63
  end
64
64
 
65
65
  def add(object)
@@ -98,9 +98,8 @@ module YACCL
98
98
  props = hash.delete(:properties)
99
99
  if props.is_a?(Hash)
100
100
  props.each_with_index do |(id, value), index|
101
- if value.is_a?(Time) || value.is_a?(DateTime)
102
- value = (value.to_f * 1000).to_i
103
- end
101
+ value = value.to_time if value.is_a?(Date) or value.is_a?(DateTime)
102
+ value = (value.to_f * 1000).to_i if value.is_a?(Time)
104
103
  hash.merge!("propertyId[#{index}]" => id,
105
104
  "propertyValue[#{index}]" => value)
106
105
  end
@@ -1,3 +1,3 @@
1
1
  module YACCL
2
- VERSION = '0.0.23'
2
+ VERSION = '0.0.24'
3
3
  end
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.23
4
+ version: 0.0.24
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-05-03 00:00:00.000000000 Z
12
+ date: 2013-05-06 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: httparty