embulk 0.10.32.3-java → 0.10.33-java

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 587eec41f3e152d8b880d68587cf357c75063172
4
- data.tar.gz: 599e7f0271a1f85373a072914173fdc3a7e10492
3
+ metadata.gz: 6934be0b068204485a51e8825b190237f530c08a
4
+ data.tar.gz: 000c26a43320e19105b54c41b88c246a9419c953
5
5
  SHA512:
6
- metadata.gz: 4ede6a70c51addb4e9124e1e9c6a5b75eb6dbaff2ee06220b6f59a85d655003b01084862eddbeebc48a401a0e5bc86237a8b3e3e46da4e81dc0e1a415bde509a
7
- data.tar.gz: db5ec1b52b043897d153ab8b8431681d584fbf79e08740d475bd6c26a1fe567327e4339735ef1affea73969dd9f80d30a0b8c83c8a7a71ff2c6b00c8a425b5e3
6
+ metadata.gz: ca5b91bd6b10768203845bf34ec5324ac04049d6aafba24f44f55ddc47bba000f602889a0a0333b3202db7b5e2e4df2d6d4498bebb5fa874e46497c6ed049498
7
+ data.tar.gz: 138997ef26adfaf9026ad0f5a49d5eb31c03f81d0ca7ff797e84e34ce705f6a46dd90faf5a50f127709dcc12b6ee24aeab134ceb38ed1c6db072e7d739f1be68
data/embulk.gemspec CHANGED
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |gem|
2
2
  gem.name = "embulk"
3
- gem.version = "0.10.32.3"
3
+ gem.version = "0.10.33"
4
4
  gem.license = "Apache-2.0"
5
5
 
6
6
  gem.summary = "Embulk's runtime library for Ruby."
@@ -33,7 +33,7 @@ Gem::Specification.new do |gem|
33
33
  "documentation_uri" => "https://www.embulk.org/",
34
34
  "homepage_uri" => gem.homepage,
35
35
  # "mailing_list_uri" => "",
36
- "source_code_uri" => "https://github.com/embulk/embulk/tree/v0.10.32.3",
36
+ "source_code_uri" => "https://github.com/embulk/embulk/tree/v0.10.33",
37
37
  # "wiki_uri" => "",
38
38
  }
39
39
  end
@@ -13,7 +13,7 @@ module Embulk
13
13
  module RubyAdapter
14
14
  module ClassMethods
15
15
  def new_java
16
- Java::FileInputRunner.new(Java.injector.getInstance(plugin_java_class))
16
+ Java::FileInputRunner.new(Java::org.embulk.plugin.PluginManager.newPluginInstance(plugin_java_class, Embulk::Java::EmbulkSystemProperties))
17
17
  end
18
18
  # TODO transaction, resume, cleanup
19
19
  end
@@ -13,7 +13,7 @@ module Embulk
13
13
  module RubyAdapter
14
14
  module ClassMethods
15
15
  def new_java
16
- Java::FileOutputRunner.new(Java.injector.getInstance(plugin_java_class))
16
+ Java::FileOutputRunner.new(Java::org.embulk.plugin.PluginManager.newPluginInstance(plugin_java_class, Embulk::Java::EmbulkSystemProperties))
17
17
  end
18
18
  # TODO transaction, resume, cleanup
19
19
  end
@@ -1,3 +1,3 @@
1
1
  module Embulk
2
- GEM_VERSION_EMBEDDED = "0.10.32.3"
2
+ GEM_VERSION_EMBEDDED = "0.10.33"
3
3
  end
@@ -4,7 +4,7 @@ module Embulk
4
4
  require 'time'
5
5
 
6
6
  module Injected
7
- # Following constats are set by org.embulk.jruby.JRubyScriptingModule:
7
+ # Following constats are set by org.embulk.jruby.JRubyInitializer:
8
8
  # Injector
9
9
  # ModelManager
10
10
  # BufferAllocator
@@ -89,7 +89,7 @@ module Embulk
89
89
  # ruby_module::ClassMethods includes other modules.
90
90
  unless ruby_module::ClassMethods.method_defined?(:new_java)
91
91
  def self.new_java
92
- Java.injector.getInstance(plugin_java_class)
92
+ Java::org.embulk.plugin.PluginManager.newPluginInstance(plugin_java_class, Embulk::Java::EmbulkSystemProperties)
93
93
  end
94
94
  end
95
95
  end
@@ -38,7 +38,7 @@ module Embulk
38
38
  # TODO get task as an argument
39
39
  task = Java::SPI::Exec.newConfigSource.load_config(Java::DynamicPageBuilder::BuilderTask.java_class)
40
40
  @page_builder = Java::DynamicPageBuilder.createWithTimestampMetadataFromBuilderTask(
41
- task, Java::Injected::BufferAllocator, schema.to_java, java_page_output)
41
+ task, Java::BufferAllocator, schema.to_java, java_page_output)
42
42
  else
43
43
  @page_builder = java_dynamic_page_builder
44
44
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: embulk
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.10.32.3
4
+ version: 0.10.33
5
5
  platform: java
6
6
  authors:
7
7
  - Sadayuki Furuhashi
@@ -10,7 +10,7 @@ authors:
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2022-05-18 00:00:00.000000000 Z
13
+ date: 2021-08-23 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  requirement: !ruby/object:Gem::Requirement
@@ -78,7 +78,7 @@ metadata:
78
78
  changelog_uri: https://github.com/embulk/embulk/releases
79
79
  documentation_uri: https://www.embulk.org/
80
80
  homepage_uri: https://www.embulk.org/
81
- source_code_uri: https://github.com/embulk/embulk/tree/v0.10.32.3
81
+ source_code_uri: https://github.com/embulk/embulk/tree/v0.10.33
82
82
  post_install_message:
83
83
  rdoc_options: []
84
84
  require_paths: