embulk 0.8.37 → 0.8.38

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: b48d88dbd34d7791315fabde49b264dab335024b
4
- data.tar.gz: 08b8a533ac632ec41afc94dbe7106891a1ae854f
3
+ metadata.gz: 55af3711ab3a9806eaff42dfba41acdc5f21f389
4
+ data.tar.gz: 97daabaa7947559ee3028717c3fb36d2cf35b5a7
5
5
  SHA512:
6
- metadata.gz: 612667193d1ef43cfd11ae9c87faad0aeb1db3dc51d81834e97cafef48a8b4333dd57b28f982f3a0e91b8499c5fd454500b483a6fade6ce3ff18b2c276b5a55d
7
- data.tar.gz: 84aa864147d51d67626a52917d63b99ab70e2a9c85b7e04ea735789073ad598681263544ac204893a026721011cbbe9f74b6c3a1b056a64d9e6b7c5cf79d6ee3
6
+ metadata.gz: 7cb6005c6604e3e940f2139aeebb7a9e9e1e5fc3660ca160eb4e90c13edba63f75537ae508f78f79ec81846d438373366bf5848c0f12425f3cc1539d13a844db
7
+ data.tar.gz: 23dbeb33d2a3de6bea2a672ba8f4da05d02d8d13104efdffb2a2c086408216766b80dea360b1d793ea74c7d771b7ef70efb54b9e950e2c0c03000943289ee19b
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: ruby
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
  name: jruby-jars
@@ -115,10 +115,10 @@ files:
115
115
  - classpath/commons-compress-1.10.jar
116
116
  - classpath/commons-lang-2.4.jar
117
117
  - classpath/commons-lang3-3.4.jar
118
- - classpath/embulk-cli-0.8.37.jar
119
- - classpath/embulk-core-0.8.37.jar
120
- - classpath/embulk-jruby-strptime-0.8.37.jar
121
- - classpath/embulk-standards-0.8.37.jar
118
+ - classpath/embulk-cli-0.8.38.jar
119
+ - classpath/embulk-core-0.8.38.jar
120
+ - classpath/embulk-jruby-strptime-0.8.38.jar
121
+ - classpath/embulk-standards-0.8.38.jar
122
122
  - classpath/guava-18.0.jar
123
123
  - classpath/guice-4.0.jar
124
124
  - classpath/guice-bootstrap-0.1.1.jar
@@ -526,6 +526,7 @@ files:
526
526
  - embulk-docs/src/release/release-0.8.35.rst
527
527
  - embulk-docs/src/release/release-0.8.36.rst
528
528
  - embulk-docs/src/release/release-0.8.37.rst
529
+ - embulk-docs/src/release/release-0.8.38.rst
529
530
  - embulk-docs/src/release/release-0.8.4.rst
530
531
  - embulk-docs/src/release/release-0.8.5.rst
531
532
  - embulk-docs/src/release/release-0.8.6.rst