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 +4 -4
- data/README.md +1 -1
- data/build.gradle +1 -1
- data/embulk-core/src/main/java/org/embulk/EmbulkRunner.java +0 -51
- data/embulk-docs/src/built-in.rst +2 -2
- data/embulk-docs/src/release.rst +1 -0
- data/embulk-docs/src/release/release-0.8.38.rst +12 -0
- data/lib/embulk/version.rb +1 -1
- metadata +7 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 26c4e1f7527d4fe85d833c5ca1a381206e241af4e916be3a1485ec722892d879
|
4
|
+
data.tar.gz: 1f57b5bb3efab313a372cb4dd3c7f94293fdfa07cf820df0142880f9fecf67d7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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
|
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
|
|
data/build.gradle
CHANGED
@@ -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
|
-
|
|
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
|
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
|
------------------
|
data/embulk-docs/src/release.rst
CHANGED
data/lib/embulk/version.rb
CHANGED
@@ -3,7 +3,7 @@
|
|
3
3
|
module Embulk
|
4
4
|
@@warned = false
|
5
5
|
|
6
|
-
VERSION_INTERNAL = '0.8.
|
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.
|
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-
|
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.
|
161
|
-
- classpath/embulk-core-0.8.
|
162
|
-
- classpath/embulk-jruby-strptime-0.8.
|
163
|
-
- classpath/embulk-standards-0.8.
|
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
|