rubyfox-sfsobject 0.4.0-java → 0.5.0-java

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.
@@ -27,6 +27,11 @@ module Rubyfox
27
27
  ary = Java::SFSArray.new
28
28
  v.each { |e| ary.addSFSObject(to_sfs(e)) }
29
29
  o.putSFSArray(k, ary)
30
+ end,
31
+ [Java::SFSObject] => proc do |o, k, v|
32
+ ary = Java::SFSArray.new
33
+ v.each { |e| ary.addSFSObject(e) }
34
+ o.putSFSArray(k, ary)
30
35
  end
31
36
  }
32
37
 
@@ -1,5 +1,5 @@
1
1
  module Rubyfox
2
2
  module SFSObject
3
- VERSION = "0.4.0"
3
+ VERSION = "0.5.0"
4
4
  end
5
5
  end
@@ -83,6 +83,10 @@ class RubyfoxSFSObjectBulkTest < RubyfoxCase
83
83
  assert_conversion :sub => [{ :key => "value" }]
84
84
  assert_conversion :sub => [{ :deep => [{ :key => "value" }] }]
85
85
  end
86
+
87
+ test "sfsobject" do
88
+ assert_conversion({ :sfsobject => [Rubyfox::SFSObject.new]}, { :sfsobject => [{}] })
89
+ end
86
90
  end
87
91
 
88
92
  private
metadata CHANGED
@@ -2,14 +2,14 @@
2
2
  name: rubyfox-sfsobject
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: 0.4.0
5
+ version: 0.5.0
6
6
  platform: java
7
7
  authors:
8
8
  - Peter Suschlik
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-11-16 00:00:00.000000000 Z
12
+ date: 2012-11-22 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rake