zillabyte 0.9.10 → 0.9.20

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,15 +1,7 @@
1
1
  ---
2
- !binary "U0hBMQ==":
3
- metadata.gz: !binary |-
4
- NGUxNzIxMjQyMmFmY2Y1YjNhYTg2YWJmNjcwN2U5MTIwYzM3MjJhMw==
5
- data.tar.gz: !binary |-
6
- ZTkwYTI4NDcyMTJjNDQxMmM5Y2UzODM5ZmZiYzFmNDAxZDg0NGY4Mg==
7
- !binary "U0hBNTEy":
8
- metadata.gz: !binary |-
9
- YTM3YWE0MWNhNzI5ZDkyY2Y5YTI3ODk1M2MzZmE5MTY0OWE1ZDU5ODgwOWI0
10
- MDhiMmY5OTNmMWJlNzQwN2RiZGM4YmE0NTEwMzdmNTBjNTRhYWM4MDA3MmYx
11
- ZmY0ODU4NjBhOTEyNWJlY2E4MzI5ZTI3MzM4YTkxMTllYmY4YjM=
12
- data.tar.gz: !binary |-
13
- NDQzMjQ4OTk0YTVkYzVhZGU2NDk5YzM1ZWE5ZWJiN2YxMGZiOWQ4NjRkNDVl
14
- NTNjMjIwMjhkMTdlYTdkYmY3NDQzMzQwYTczZDI3Njc0YThhNjkzYzE3MTA5
15
- NzRkZDY0YzY0YjJiNjU5ZjNlYWI3NGUzNDUwYTNiMzMxYWRkYTY=
2
+ SHA1:
3
+ metadata.gz: a5cc65adf7498aa824a2af86907f29a96c49967b
4
+ data.tar.gz: cbfe862f3e50371c17af9c6302b0e53f8c439a9a
5
+ SHA512:
6
+ metadata.gz: 223b5293a3c54720a9cb388723b21896d562af41ff46e043792cd827302ceb10e317d3362028116ddfe0f37a8b6eda51a3c2d106f7265a271b73647157aef49c
7
+ data.tar.gz: 0e1c148e48d2df5f0f2fead512565d00c84ae9ff13fb0e956d2114457f53588db66638d7c8210fa128bcd7ac31f781f57cc642113f7d2cc51a4ed3e592988a8c
@@ -66,6 +66,11 @@ class Zillabyte::Harness::OperationHandler
66
66
  self
67
67
  end
68
68
 
69
+ def add_property_to_info(key, value)
70
+ @_node_hash_elements[key] = value
71
+ self
72
+ end
73
+
69
74
  def create_arc_info_from_stream(stream, direction = nil)
70
75
  @_arc_hash_streams[stream] = direction
71
76
  self
@@ -192,10 +192,14 @@ class Zillabyte::Harness::Stream
192
192
  end
193
193
 
194
194
  # Renames fields..
195
- def rename(rename_map = {})
196
- options = {}
197
- options[:rename] = rename_map
198
- Zillabyte::Harness::OperationHandler.build(self, "rename", options)
195
+ def rename(rename_map={})
196
+ op = Zillabyte::Harness::OperationHandler.new(@_app, self.class)
197
+ op.build_jvm_operation("rename")
198
+ .add_operation_properties_to_info(:name, :type)
199
+ .add_property_to_info(:rename, rename_map)
200
+ .create_arc_info_from_stream(self)
201
+ .handle_operation
202
+ .get_output_streams
199
203
  end
200
204
 
201
205
  end
@@ -1,3 +1,3 @@
1
1
  module Zillabyte
2
- VERSION = "0.9.10" unless defined?(VERSION)
2
+ VERSION = "0.9.20" unless defined?(VERSION)
3
3
  end
metadata CHANGED
@@ -1,43 +1,43 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: zillabyte
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.9.10
4
+ version: 0.9.20
5
5
  platform: ruby
6
6
  authors:
7
7
  - zillabyte
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-10-08 00:00:00.000000000 Z
11
+ date: 2014-10-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rake
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - ! '>='
17
+ - - ">="
18
18
  - !ruby/object:Gem::Version
19
19
  version: '0'
20
20
  type: :development
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
- - - ! '>='
24
+ - - ">="
25
25
  - !ruby/object:Gem::Version
26
26
  version: '0'
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: zillabyte-cli
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
- - - ~>
31
+ - - "~>"
32
32
  - !ruby/object:Gem::Version
33
- version: 0.9.10
33
+ version: 0.9.20
34
34
  type: :runtime
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
- - - ~>
38
+ - - "~>"
39
39
  - !ruby/object:Gem::Version
40
- version: 0.9.10
40
+ version: 0.9.20
41
41
  description: The Official Zillabyte Gem
42
42
  email:
43
43
  - gem@zillabyte.com
@@ -45,7 +45,9 @@ executables: []
45
45
  extensions: []
46
46
  extra_rdoc_files: []
47
47
  files:
48
+ - ruby/lib/zillabyte.rb
48
49
  - ruby/lib/zillabyte/common/progress.rb
50
+ - ruby/lib/zillabyte/harness.rb
49
51
  - ruby/lib/zillabyte/harness/app.rb
50
52
  - ruby/lib/zillabyte/harness/base.rb
51
53
  - ruby/lib/zillabyte/harness/clump.rb
@@ -69,9 +71,7 @@ files:
69
71
  - ruby/lib/zillabyte/harness/stream.rb
70
72
  - ruby/lib/zillabyte/harness/stream_builder.rb
71
73
  - ruby/lib/zillabyte/harness/tuple.rb
72
- - ruby/lib/zillabyte/harness.rb
73
74
  - ruby/lib/zillabyte/version.rb
74
- - ruby/lib/zillabyte.rb
75
75
  homepage: http://www.zillabyte.com
76
76
  licenses:
77
77
  - MIT
@@ -82,17 +82,17 @@ require_paths:
82
82
  - ruby/lib
83
83
  required_ruby_version: !ruby/object:Gem::Requirement
84
84
  requirements:
85
- - - ! '>='
85
+ - - ">="
86
86
  - !ruby/object:Gem::Version
87
87
  version: '0'
88
88
  required_rubygems_version: !ruby/object:Gem::Requirement
89
89
  requirements:
90
- - - ! '>='
90
+ - - ">="
91
91
  - !ruby/object:Gem::Version
92
92
  version: '0'
93
93
  requirements: []
94
94
  rubyforge_project:
95
- rubygems_version: 2.0.6
95
+ rubygems_version: 2.2.2
96
96
  signing_key:
97
97
  specification_version: 4
98
98
  summary: The Official Zillabyte Gem