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 +4 -4
- data/appveyor.yml +20 -0
- data/build.gradle +3 -4
- data/embulk-docs/src/built-in.rst +28 -27
- data/embulk-docs/src/release.rst +1 -0
- data/embulk-docs/src/release/release-0.6.25.rst +12 -0
- data/lib/embulk/command/embulk_run.rb +2 -2
- data/lib/embulk/java/bootstrap.rb +2 -2
- data/lib/embulk/version.rb +1 -1
- data/test/run-test.rb +14 -0
- metadata +7 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5b13b5952b7f5c81cb0f9568c89aa67d66348699
|
4
|
+
data.tar.gz: c620fbe5b71f700d616c69f560a20dabc37de225
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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.
|
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 = "
|
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', '-
|
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
|
-
|
63
|
-
|
64
|
-
|
65
|
-
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
|
70
|
-
|
71
|
-
|
72
|
-
|
73
|
-
|
74
|
-
|
75
|
-
|
76
|
-
|
77
|
-
|
78
|
-
|
79
|
-
|
80
|
-
|
81
|
-
|
82
|
-
|
83
|
-
|
84
|
-
|
85
|
-
|
86
|
-
|
87
|
-
|
88
|
-
|
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
|
data/embulk-docs/src/release.rst
CHANGED
@@ -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
|
data/lib/embulk/version.rb
CHANGED
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.
|
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.
|
107
|
-
- classpath/embulk-standards-0.6.
|
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
|