embulk 0.8.37-java → 0.8.38-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
  SHA256:
3
- metadata.gz: 21524bac0f5a7148329477cdc4e9fd2989afd0ca2aef6844e8a58edcf95299c1
4
- data.tar.gz: 8eb586244ac63524b85e72d25e6126935d36431d2a5775fcabe92ab7d5a2f0a5
3
+ metadata.gz: 26c4e1f7527d4fe85d833c5ca1a381206e241af4e916be3a1485ec722892d879
4
+ data.tar.gz: 1f57b5bb3efab313a372cb4dd3c7f94293fdfa07cf820df0142880f9fecf67d7
5
5
  SHA512:
6
- metadata.gz: f78664ea4c04560fb307dd8c68cb3cd25dfae6edd7ea832655b5bcff604b9a5de9f447fd49f3ada2373fdfbd6afc9ef2ddc9ba98c169c8fa4fa90324313f14da
7
- data.tar.gz: e39f5a6ea6d9baf2a7eb6fdc9eca6747fd208e3ff0813830ee4f28b6f548c6eb8a79ccf2b6b533a02092a738edadb9bdb52225ac92f858639e7503d2af945297
6
+ metadata.gz: 13b6ffefcbb71f95eca21f866c41236773ac30d2ab5abb33404d421a55d52941f5558f0abd0469224effef84437fbae66570ba32408448eece5fca2548931488
7
+ data.tar.gz: 8aa8b1dec4b29708227ba6301448460ea1416aa23fd64f44d81abc69dc25ef464befb70390b0e491ca6c579ba15b2e98e4194d0ad18ea7acbf9c72f442139c4a
data/README.md CHANGED
@@ -122,7 +122,7 @@ embulk run -b ./embulk_bundle ...
122
122
 
123
123
  ## Use cases
124
124
 
125
- * [Scheduled bulk data loading to Elasticsearch + Kibana 4 from CSV files](http://www.embulk.org/docs/recipe/scheduled-csv-load-to-elasticsearch-kibana4.html)
125
+ * [Scheduled bulk data loading to Elasticsearch + Kibana 5 from CSV files](http://www.embulk.org/docs/recipe/scheduled-csv-load-to-elasticsearch-kibana5.html)
126
126
 
127
127
  For further details, visit [Embulk documentation](http://www.embulk.org/docs/).
128
128
 
@@ -24,7 +24,7 @@ def release_projects = [project(":embulk-core"), project(":embulk-standards"), p
24
24
 
25
25
  allprojects {
26
26
  group = 'org.embulk'
27
- version = '0.8.37'
27
+ version = '0.8.38'
28
28
 
29
29
  ext {
30
30
  jrubyVersion = '9.1.13.0'
@@ -218,8 +218,6 @@ public class EmbulkRunner
218
218
  private void guessInternal(final ConfigSource configSource, final Path outputPath)
219
219
  throws IOException
220
220
  {
221
- initializeGlobalJRubyScriptingContainer();
222
-
223
221
  try {
224
222
  checkFileWritable(outputPath);
225
223
  }
@@ -242,8 +240,6 @@ public class EmbulkRunner
242
240
  private void previewInternal(final ConfigSource configSource, final String format)
243
241
  throws IOException
244
242
  {
245
- initializeGlobalJRubyScriptingContainer();
246
-
247
243
  final PreviewResult previewResult = this.embed.preview(configSource);
248
244
  final ModelManager modelManager = this.embed.getModelManager();
249
245
 
@@ -271,8 +267,6 @@ public class EmbulkRunner
271
267
  final Path resumeStatePath)
272
268
  throws IOException
273
269
  {
274
- initializeGlobalJRubyScriptingContainer();
275
-
276
270
  try {
277
271
  checkFileWritable(outputPath);
278
272
  }
@@ -527,51 +521,6 @@ public class EmbulkRunner
527
521
  // end
528
522
  // end
529
523
 
530
- // TODO: Check if it is required to process JRuby options.
531
- private void initializeGlobalJRubyScriptingContainer()
532
- {
533
- final ScriptingContainer globalJRubyContainer =
534
- new ScriptingContainer(LocalContextScope.SINGLETON, LocalVariableBehavior.PERSISTENT);
535
-
536
- // TODO: Remove the Embulk::Runner definition after confirming nobody uses Embulk::Runner from Java.
537
- globalJRubyContainer.put("__internal_runner_java__", this);
538
- globalJRubyContainer.runScriptlet(
539
- "class DummyEmbulkRunner\n" +
540
- " def initialize(runner_orig)\n" +
541
- " @runner_orig = runner_orig\n" +
542
- " end\n" +
543
- " def guess(config, options={})\n" +
544
- " STDERR.puts '################################################################################'\n" +
545
- " STDERR.puts '[WARN] Embulk::Runner will be no longer defined when Embulk runs from Java.'\n" +
546
- " STDERR.puts '[WARN] Comment at https://github.com/embulk/embulk/issues/766 if you see this.'\n" +
547
- " STDERR.puts '################################################################################'\n" +
548
- " STDERR.puts ''\n" +
549
- " @runner_orig.guess(config, options)\n" +
550
- " end\n" +
551
- " def preview(config, options={})\n" +
552
- " STDERR.puts '################################################################################'\n" +
553
- " STDERR.puts '[WARN] Embulk::Runner will be no longer defined when Embulk runs from Java.'\n" +
554
- " STDERR.puts '[WARN] Comment at https://github.com/embulk/embulk/issues/766 if you see this.'\n" +
555
- " STDERR.puts '################################################################################'\n" +
556
- " STDERR.puts ''\n" +
557
- " @runner_orig.preview(config, options)\n" +
558
- " end\n" +
559
- " def run(config, options={})\n" +
560
- " STDERR.puts '################################################################################'\n" +
561
- " STDERR.puts '[WARN] Embulk::Runner will be no longer defined when Embulk runs from Java.'\n" +
562
- " STDERR.puts '[WARN] Comment at https://github.com/embulk/embulk/issues/766 if you see this.'\n" +
563
- " STDERR.puts '################################################################################'\n" +
564
- " STDERR.puts ''\n" +
565
- " @runner_orig.run(config, options)\n" +
566
- " end\n" +
567
- "end\n" +
568
- "\n" +
569
- "unless Embulk.const_defined?(:Runner)\n" +
570
- " Embulk.const_set :Runner, DummyEmbulkRunner.new(Embulk::EmbulkRunner.new(__internal_runner_java__))\n" +
571
- "end\n");
572
- globalJRubyContainer.remove("__internal_runner_java__");
573
- }
574
-
575
524
  // NOTE: The root logger directly from |LoggerFactory|, not from |Exec.getLogger| as it's outside of |Exec.doWith|.
576
525
  private static final Logger rootLogger = LoggerFactory.getLogger(Logger.ROOT_LOGGER_NAME);
577
526
 
@@ -133,7 +133,7 @@ Options
133
133
  +==================+==========+================================================+=======================+
134
134
  | path\_prefix | string | Path prefix of input files | required |
135
135
  +------------------+----------+------------------------------------------------+-----------------------+
136
- | parsers | hash | Parsers configurations (see below) | required |
136
+ | parser | hash | Parser configuration (see below) | required |
137
137
  +------------------+----------+------------------------------------------------+-----------------------+
138
138
  | decoders | array | Decoder configuration (see below) | |
139
139
  +------------------+----------+------------------------------------------------+-----------------------+
@@ -181,7 +181,7 @@ Example
181
181
  parser:
182
182
  ...
183
183
 
184
- In most of cases, you'll use guess to configure the parsers and decoders. See also `Quick Start <https://github.com/embulk/embulk#quick-start>`_.
184
+ In most of cases, you'll use guess to configure the parser and decoders. See also `Quick Start <https://github.com/embulk/embulk#quick-start>`_.
185
185
 
186
186
  CSV parser plugin
187
187
  ------------------
@@ -4,6 +4,7 @@ Release Notes
4
4
  .. toctree::
5
5
  :maxdepth: 1
6
6
 
7
+ release/release-0.8.38
7
8
  release/release-0.8.37
8
9
  release/release-0.8.36
9
10
  release/release-0.8.35
@@ -0,0 +1,12 @@
1
+ Release 0.8.38
2
+ ==================================
3
+
4
+ General Changes
5
+ ----------------
6
+
7
+ * Remove any global JRuby instance from the bootstrap [#773]
8
+
9
+
10
+ Release Date
11
+ ------------------
12
+ 2017-11-22
@@ -3,7 +3,7 @@
3
3
  module Embulk
4
4
  @@warned = false
5
5
 
6
- VERSION_INTERNAL = '0.8.37'
6
+ VERSION_INTERNAL = '0.8.38'
7
7
 
8
8
  DEPRECATED_MESSAGE = 'Embulk::VERSION in (J)Ruby is deprecated. Use org.embulk.EmbulkVersion::VERSION instead. If this message is from a plugin, please tell this to the author of the plugin!'
9
9
  def self.const_missing(name)
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: embulk
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.8.37
4
+ version: 0.8.38
5
5
  platform: java
6
6
  authors:
7
7
  - Sadayuki Furuhashi
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-11-21 00:00:00.000000000 Z
11
+ date: 2017-11-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  requirement: !ruby/object:Gem::Requirement
@@ -157,10 +157,10 @@ files:
157
157
  - classpath/commons-compress-1.10.jar
158
158
  - classpath/commons-lang-2.4.jar
159
159
  - classpath/commons-lang3-3.4.jar
160
- - classpath/embulk-cli-0.8.37.jar
161
- - classpath/embulk-core-0.8.37.jar
162
- - classpath/embulk-jruby-strptime-0.8.37.jar
163
- - classpath/embulk-standards-0.8.37.jar
160
+ - classpath/embulk-cli-0.8.38.jar
161
+ - classpath/embulk-core-0.8.38.jar
162
+ - classpath/embulk-jruby-strptime-0.8.38.jar
163
+ - classpath/embulk-standards-0.8.38.jar
164
164
  - classpath/guava-18.0.jar
165
165
  - classpath/guice-4.0.jar
166
166
  - classpath/guice-bootstrap-0.1.1.jar
@@ -568,6 +568,7 @@ files:
568
568
  - embulk-docs/src/release/release-0.8.35.rst
569
569
  - embulk-docs/src/release/release-0.8.36.rst
570
570
  - embulk-docs/src/release/release-0.8.37.rst
571
+ - embulk-docs/src/release/release-0.8.38.rst
571
572
  - embulk-docs/src/release/release-0.8.4.rst
572
573
  - embulk-docs/src/release/release-0.8.5.rst
573
574
  - embulk-docs/src/release/release-0.8.6.rst