embulk 0.6.24 → 0.6.25

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: d0bf234b56a8cfe344e5ee6b898ad06bfce6ef5a
4
- data.tar.gz: 2f6f279d38f93e2e94f2a407004a2e7d74e6bc49
3
+ metadata.gz: 5b13b5952b7f5c81cb0f9568c89aa67d66348699
4
+ data.tar.gz: c620fbe5b71f700d616c69f560a20dabc37de225
5
5
  SHA512:
6
- metadata.gz: d78494fb67e48dff0d65ea9433e62cee8fcf5910cc325ce3cc90016050b1991e944dca138a9d1e1c05e19b145722cd0af20197afe61809d3f97b6c19518ca5af
7
- data.tar.gz: 6b5f707026626888cfd340c45ea1a0aa31ea136e585e9b72c83988fa927bcaae2c72fa7409d57fdc86af609aafe1cc65fc0cd58043d53d30fbd1cbc42465f08a
6
+ metadata.gz: 219495213f74635e2e0cb443fa0f070b5f94db4ca76826c99358c24c7d62447960de937c6654c139a0483fcb7c103e835fb5afcb9018ccef4050c739a63f5f0d
7
+ data.tar.gz: 3e3dafdf217da343592b766e6b2c986281d172f429afaf9d3ce0aee6ffb1d2a22aabb15f3a6bca93812c0149cd6291e31c74dd15befd88d51ca81b1beaf869c2
data/appveyor.yml ADDED
@@ -0,0 +1,20 @@
1
+ version: "{branch} {build}"
2
+
3
+ build:
4
+ verbosity: detailed
5
+
6
+ build_script:
7
+ - gradlew.bat --info --no-daemon check rubyTest
8
+
9
+ cache:
10
+ - C:\Users\appveyor\.gradle
11
+
12
+ environment:
13
+ matrix:
14
+ - JAVA_HOME: C:\Program Files\Java\jdk1.8.0
15
+ # - JAVA_HOME: C:\Program Files (x86)\Java\jdk1.8.0
16
+
17
+ test: off
18
+
19
+ matrix:
20
+ fast_finish: true
data/build.gradle CHANGED
@@ -16,7 +16,7 @@ def release_projects = [project(":embulk-core"), project(":embulk-standards")]
16
16
 
17
17
  allprojects {
18
18
  group = 'org.embulk'
19
- version = '0.6.24'
19
+ version = '0.6.25'
20
20
 
21
21
  ext {
22
22
  jrubyVersion = '1.7.21'
@@ -27,7 +27,7 @@ allprojects {
27
27
  apply plugin: 'com.jfrog.bintray'
28
28
 
29
29
  test {
30
- maxHeapSize = "1024m"
30
+ maxHeapSize = "1536m"
31
31
  }
32
32
 
33
33
  //
@@ -240,8 +240,7 @@ project(':embulk-cli') {
240
240
  }
241
241
 
242
242
  task rubyTest(type: JRubyExec) {
243
- jrubyArgs '-Ilib', '-Itest', '-rtest/unit', '--debug', '-eARGV.replace([]); Test::Unit::AutoRunner.run(true, "test")'
244
- script './lib/embulk/version.rb' // dummy
243
+ jrubyArgs '-Ilib', '-Itest', '-rtest/unit', '--debug', './test/run-test.rb'
245
244
  }
246
245
  rubyTest.dependsOn('classpath')
247
246
 
@@ -59,33 +59,34 @@ A configuration file consists of following sections:
59
59
  In many cases, what you need to write is **in:**, **out**: and **formatter** sections only because ``guess`` command guesses **parser** and **decoder** options for you. See also the `Quick Start <https://github.com/embulk/embulk#quick-start>`_.
60
60
 
61
61
 
62
- Using variables
63
- ~~~~~~~~~~~~~~~~~~
64
-
65
- You can embed environment variables in configuration file using `Liquid template engine <http://liquidmarkup.org/>`_ (This is experimental feature. Behavior might change or be removed in future releases).
66
-
67
- To use template engine, configuration file name must end with ``.yml.liquid``.
68
-
69
- Environment variables are set to ``env`` variable.
70
-
71
- .. code-block:: yaml
72
-
73
- in:
74
- type: file
75
- path_prefix: {{ env.path_prefix }}
76
- decoders:
77
- - {type: gzip}
78
- parser:
79
- ...
80
- out:
81
- type: postgresql
82
- host: {{ env.pg_host }}
83
- port: {{ env.pg_port }}
84
- user: {{ env.pg_user }}
85
- password: "{{ env.pg_password }}"
86
- database: embulk_load
87
- mode: insert
88
- table: {{ env.pg_table }}
62
+ ..
63
+ Using variables
64
+ ~~~~~~~~~~~~~~~~~~
65
+
66
+ You can embed environment variables in configuration file using `Liquid template engine <http://liquidmarkup.org/>`_ (This is experimental feature. Behavior might change or be removed in future releases).
67
+
68
+ To use template engine, configuration file name must end with ``.yml.liquid``.
69
+
70
+ Environment variables are set to ``env`` variable.
71
+
72
+ .. code-block:: yaml
73
+
74
+ in:
75
+ type: file
76
+ path_prefix: {{ env.path_prefix }}
77
+ decoders:
78
+ - {type: gzip}
79
+ parser:
80
+ ...
81
+ out:
82
+ type: postgresql
83
+ host: {{ env.pg_host }}
84
+ port: {{ env.pg_port }}
85
+ user: {{ env.pg_user }}
86
+ password: "{{ env.pg_password }}"
87
+ database: embulk_load
88
+ mode: insert
89
+ table: {{ env.pg_table }}
89
90
 
90
91
 
91
92
  Local file input plugin
@@ -4,6 +4,7 @@ Release Notes
4
4
  .. toctree::
5
5
  :maxdepth: 1
6
6
 
7
+ release/release-0.6.25
7
8
  release/release-0.6.24
8
9
  release/release-0.6.23
9
10
  release/release-0.6.22
@@ -0,0 +1,12 @@
1
+ Release 0.6.25
2
+ ==================================
3
+
4
+ General Changes
5
+ ------------------
6
+
7
+ * Disabled liquid template engine because -L option stopped working. Liquid will be reenamed after v0.7.0 which includes major packaging improvements.
8
+
9
+
10
+ Release Date
11
+ ------------------
12
+ 2015-08-16
@@ -206,8 +206,8 @@ examples:
206
206
  args = 0..0
207
207
 
208
208
  when :gem
209
- require 'embulk/gems'
210
- Embulk.add_embedded_gem_path
209
+ #require 'embulk/gems'
210
+ #Embulk.add_embedded_gem_path
211
211
  require 'rubygems/gem_runner'
212
212
  Gem::GemRunner.new.run argv
213
213
  exit 0
@@ -1,7 +1,7 @@
1
1
  module Embulk
2
2
  module Java
3
- require 'embulk/gems'
4
- Embulk.add_embedded_gem_path
3
+ #require 'embulk/gems'
4
+ #Embulk.add_embedded_gem_path
5
5
 
6
6
  require 'embulk/java/imports'
7
7
  require 'embulk/java/time_helper'
@@ -1,3 +1,3 @@
1
1
  module Embulk
2
- VERSION = '0.6.24'
2
+ VERSION = '0.6.25'
3
3
  end
data/test/run-test.rb ADDED
@@ -0,0 +1,14 @@
1
+ base_dir = File.expand_path(File.join(File.dirname(__FILE__), ".."))
2
+ lib_dir = File.join(base_dir, "lib")
3
+ test_dir = File.join(base_dir, "test")
4
+
5
+ $LOAD_PATH.unshift(lib_dir)
6
+ $LOAD_PATH.unshift(test_dir)
7
+
8
+ require "test/unit"
9
+
10
+ Dir.glob("#{base_dir}/test/**/test{_,-}*.rb") do |file|
11
+ require file.sub(/\.rb$/,"")
12
+ end
13
+
14
+ exit Test::Unit::AutoRunner.run
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.6.24
4
+ version: 0.6.25
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sadayuki Furuhashi
@@ -95,6 +95,7 @@ files:
95
95
  - Gemfile.lock
96
96
  - README.md
97
97
  - Rakefile
98
+ - appveyor.yml
98
99
  - bin/embulk
99
100
  - build.gradle
100
101
  - classpath/annotations-3.0.0.jar
@@ -103,8 +104,8 @@ files:
103
104
  - classpath/bval-jsr303-0.5.jar
104
105
  - classpath/commons-beanutils-core-1.8.3.jar
105
106
  - classpath/commons-lang3-3.1.jar
106
- - classpath/embulk-core-0.6.24.jar
107
- - classpath/embulk-standards-0.6.24.jar
107
+ - classpath/embulk-core-0.6.25.jar
108
+ - classpath/embulk-standards-0.6.25.jar
108
109
  - classpath/guava-18.0.jar
109
110
  - classpath/guice-4.0.jar
110
111
  - classpath/guice-multibindings-4.0.jar
@@ -384,6 +385,7 @@ files:
384
385
  - embulk-docs/src/release/release-0.6.22.rst
385
386
  - embulk-docs/src/release/release-0.6.23.rst
386
387
  - embulk-docs/src/release/release-0.6.24.rst
388
+ - embulk-docs/src/release/release-0.6.25.rst
387
389
  - embulk-docs/src/release/release-0.6.3.rst
388
390
  - embulk-docs/src/release/release-0.6.4.rst
389
391
  - embulk-docs/src/release/release-0.6.5.rst
@@ -497,6 +499,7 @@ files:
497
499
  - test/guess/test_schema_guess.rb
498
500
  - test/guess/test_time_format_guess.rb
499
501
  - test/helper.rb
502
+ - test/run-test.rb
500
503
  homepage: https://github.com/embulk/embulk
501
504
  licenses:
502
505
  - Apache 2.0
@@ -525,3 +528,4 @@ test_files:
525
528
  - test/guess/test_schema_guess.rb
526
529
  - test/guess/test_time_format_guess.rb
527
530
  - test/helper.rb
531
+ - test/run-test.rb