embulk-input-td 0.1.0 → 0.2.0

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: b9b763d44eea4aa1460ac0f28deae6d2ed95584c
4
- data.tar.gz: 7352dff4bc3e25d1bcb3bf0f7efed976d000df1a
3
+ metadata.gz: 442655b898530c0f42ae16007c1b0a1aad9e4c5d
4
+ data.tar.gz: 20bef1c0ad54fe3b3abf02b0314a2d442b17ac33
5
5
  SHA512:
6
- metadata.gz: 09e4c779792591a5f70b67207cfc1d763a62bf3cc6555361456e5d83bf0b349cf230efef659fe9c8b79d58c4b269583b16cc900c268ebe1484b4518f04cfeac0
7
- data.tar.gz: 8cb5243287927669b2b100f1b26488d81725a281569a60abeff07b0f94fe938533099750be294b2449baa31adbae473fbb5c625b8281a2d2e1313a7bc6431859
6
+ metadata.gz: c96dbea20796ef5354a7b9b197f6e60c4f101487d8d836bef2e338709aa148a39cb41426c63a25bc4ca4745b437c9cacb7c5c11c3eb353cb939b98e732a436fd
7
+ data.tar.gz: 2d81760ce2794e2ef37dc21f964b7c188155b3981ba241cf726c594a4c3da014928b08dd57f5d583beedc8eaf674d028a9a9a7104f260300314eb0203aa99e8f
data/.gitignore CHANGED
@@ -1,7 +1,6 @@
1
1
  *~
2
2
  /pkg/
3
3
  /tmp/
4
- *.gemspec
5
4
  .gradle/
6
5
  /classpath/
7
6
  build/
data/CHANGELOG.md CHANGED
@@ -1,3 +1,10 @@
1
+ ## 0.2.0 - 2017-08-24
2
+
3
+ * [maintenance] Modify README.md to show version of Embulk that the plugin supports [#5]
4
+ * [maintenance] Upgrade gradle 3.2.1 [#4]
5
+ * [maintenance] Upgrade td-client 0.7.41 from 0.7.24 [#3]
6
+ * [maintenance] Upgrade Embulk 0.8.29 from 0.8.11 [#2]
7
+
1
8
  ## 0.1.0 - 2016-07-29
2
9
 
3
10
  The first release!!
data/README.md CHANGED
@@ -1,5 +1,7 @@
1
1
  # Treasure Data Input Plugin for Embulk
2
2
 
3
+ **NOTICE**: embulk-input-td v0.2.0+ only supports **Embulk v0.8.22+**.
4
+
3
5
  ## Overview
4
6
 
5
7
  * **Plugin type**: input
data/build.gradle CHANGED
@@ -13,17 +13,17 @@ configurations {
13
13
  provided
14
14
  }
15
15
 
16
- version = "0.1.0"
16
+ version = "0.2.0"
17
17
 
18
18
  sourceCompatibility = 1.7
19
19
  targetCompatibility = 1.7
20
20
 
21
21
  dependencies {
22
- compile "org.embulk:embulk-core:0.8.11"
23
- provided "org.embulk:embulk-core:0.8.11"
24
- compile "org.embulk:embulk-standards:0.8.11"
25
- provided "org.embulk:embulk-standards:0.8.11"
26
- compile "com.treasuredata.client:td-client:0.7.24"
22
+ compile "org.embulk:embulk-core:0.8.29"
23
+ provided "org.embulk:embulk-core:0.8.29"
24
+ compile "org.embulk:embulk-standards:0.8.29"
25
+ provided "org.embulk:embulk-standards:0.8.29"
26
+ compile "com.treasuredata.client:td-client:0.7.41"
27
27
 
28
28
  testCompile "junit:junit:4.+"
29
29
  }
@@ -63,9 +63,11 @@ task gemPush(type: JRubyExec, dependsOn: ["gem"]) {
63
63
  script "pkg/${project.name}-${project.version}.gem"
64
64
  }
65
65
 
66
- task "package"(dependsOn: ["gemspec", "classpath"]) << {
67
- println "> Build succeeded."
68
- println "> You can run embulk with '-L ${file(".").absolutePath}' argument."
66
+ task "package"(dependsOn: ["gemspec", "classpath"]) {
67
+ doLast {
68
+ println "> Build succeeded."
69
+ println "> You can run embulk with '-L ${file(".").absolutePath}' argument."
70
+ }
69
71
  }
70
72
 
71
73
  task gemspec {
@@ -0,0 +1,18 @@
1
+
2
+ Gem::Specification.new do |spec|
3
+ spec.name = "embulk-input-td"
4
+ spec.version = "0.2.0"
5
+ spec.authors = ["Muga Nishizawa"]
6
+ spec.summary = %[Td input plugin for Embulk]
7
+ spec.description = %[Loads records from Td.]
8
+ spec.email = ["muga.nishizawa@gmail.com"]
9
+ spec.licenses = ["Apache 2.0"]
10
+ spec.homepage = "https://github.com/muga/embulk-input-td"
11
+
12
+ spec.files = `git ls-files`.split("\n") + Dir["classpath/*.jar"]
13
+ spec.test_files = spec.files.grep(%r"^(test|spec)/")
14
+ spec.require_paths = ["lib"]
15
+
16
+ spec.add_development_dependency 'bundler', ['~> 1.0']
17
+ spec.add_development_dependency 'rake', ['>= 10.0']
18
+ end
Binary file
@@ -1,6 +1,6 @@
1
- #Wed Jan 13 12:41:02 JST 2016
1
+ #Sun Jan 08 00:35:58 PST 2017
2
2
  distributionBase=GRADLE_USER_HOME
3
3
  distributionPath=wrapper/dists
4
4
  zipStoreBase=GRADLE_USER_HOME
5
5
  zipStorePath=wrapper/dists
6
- distributionUrl=https\://services.gradle.org/distributions/gradle-2.10-bin.zip
6
+ distributionUrl=https\://services.gradle.org/distributions/gradle-3.2.1-bin.zip
data/gradlew CHANGED
@@ -6,12 +6,30 @@
6
6
  ##
7
7
  ##############################################################################
8
8
 
9
- # Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script.
10
- DEFAULT_JVM_OPTS=""
9
+ # Attempt to set APP_HOME
10
+ # Resolve links: $0 may be a link
11
+ PRG="$0"
12
+ # Need this for relative symlinks.
13
+ while [ -h "$PRG" ] ; do
14
+ ls=`ls -ld "$PRG"`
15
+ link=`expr "$ls" : '.*-> \(.*\)$'`
16
+ if expr "$link" : '/.*' > /dev/null; then
17
+ PRG="$link"
18
+ else
19
+ PRG=`dirname "$PRG"`"/$link"
20
+ fi
21
+ done
22
+ SAVED="`pwd`"
23
+ cd "`dirname \"$PRG\"`/" >/dev/null
24
+ APP_HOME="`pwd -P`"
25
+ cd "$SAVED" >/dev/null
11
26
 
12
27
  APP_NAME="Gradle"
13
28
  APP_BASE_NAME=`basename "$0"`
14
29
 
30
+ # Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script.
31
+ DEFAULT_JVM_OPTS=""
32
+
15
33
  # Use the maximum available, or set MAX_FD != -1 to use that value.
16
34
  MAX_FD="maximum"
17
35
 
@@ -30,6 +48,7 @@ die ( ) {
30
48
  cygwin=false
31
49
  msys=false
32
50
  darwin=false
51
+ nonstop=false
33
52
  case "`uname`" in
34
53
  CYGWIN* )
35
54
  cygwin=true
@@ -40,26 +59,11 @@ case "`uname`" in
40
59
  MINGW* )
41
60
  msys=true
42
61
  ;;
62
+ NONSTOP* )
63
+ nonstop=true
64
+ ;;
43
65
  esac
44
66
 
45
- # Attempt to set APP_HOME
46
- # Resolve links: $0 may be a link
47
- PRG="$0"
48
- # Need this for relative symlinks.
49
- while [ -h "$PRG" ] ; do
50
- ls=`ls -ld "$PRG"`
51
- link=`expr "$ls" : '.*-> \(.*\)$'`
52
- if expr "$link" : '/.*' > /dev/null; then
53
- PRG="$link"
54
- else
55
- PRG=`dirname "$PRG"`"/$link"
56
- fi
57
- done
58
- SAVED="`pwd`"
59
- cd "`dirname \"$PRG\"`/" >/dev/null
60
- APP_HOME="`pwd -P`"
61
- cd "$SAVED" >/dev/null
62
-
63
67
  CLASSPATH=$APP_HOME/gradle/wrapper/gradle-wrapper.jar
64
68
 
65
69
  # Determine the Java command to use to start the JVM.
@@ -85,7 +89,7 @@ location of your Java installation."
85
89
  fi
86
90
 
87
91
  # Increase the maximum file descriptors if we can.
88
- if [ "$cygwin" = "false" -a "$darwin" = "false" ] ; then
92
+ if [ "$cygwin" = "false" -a "$darwin" = "false" -a "$nonstop" = "false" ] ; then
89
93
  MAX_FD_LIMIT=`ulimit -H -n`
90
94
  if [ $? -eq 0 ] ; then
91
95
  if [ "$MAX_FD" = "maximum" -o "$MAX_FD" = "max" ] ; then
@@ -157,4 +161,9 @@ function splitJvmOpts() {
157
161
  eval splitJvmOpts $DEFAULT_JVM_OPTS $JAVA_OPTS $GRADLE_OPTS
158
162
  JVM_OPTS[${#JVM_OPTS[*]}]="-Dorg.gradle.appname=$APP_BASE_NAME"
159
163
 
164
+ # by default we should be in the correct project dir, but when run from Finder on Mac, the cwd is wrong
165
+ if [[ "$(uname)" == "Darwin" ]] && [[ "$HOME" == "$PWD" ]]; then
166
+ cd "$(dirname "$0")"
167
+ fi
168
+
160
169
  exec "$JAVACMD" "${JVM_OPTS[@]}" -classpath "$CLASSPATH" org.gradle.wrapper.GradleWrapperMain "$@"
data/gradlew.bat CHANGED
@@ -8,14 +8,14 @@
8
8
  @rem Set local scope for the variables with windows NT shell
9
9
  if "%OS%"=="Windows_NT" setlocal
10
10
 
11
- @rem Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script.
12
- set DEFAULT_JVM_OPTS=
13
-
14
11
  set DIRNAME=%~dp0
15
12
  if "%DIRNAME%" == "" set DIRNAME=.
16
13
  set APP_BASE_NAME=%~n0
17
14
  set APP_HOME=%DIRNAME%
18
15
 
16
+ @rem Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script.
17
+ set DEFAULT_JVM_OPTS=
18
+
19
19
  @rem Find java.exe
20
20
  if defined JAVA_HOME goto findJavaFromJavaHome
21
21
 
@@ -46,10 +46,9 @@ echo location of your Java installation.
46
46
  goto fail
47
47
 
48
48
  :init
49
- @rem Get command-line arguments, handling Windowz variants
49
+ @rem Get command-line arguments, handling Windows variants
50
50
 
51
51
  if not "%OS%" == "Windows_NT" goto win9xME_args
52
- if "%@eval[2+2]" == "4" goto 4NT_args
53
52
 
54
53
  :win9xME_args
55
54
  @rem Slurp the command line arguments.
@@ -60,11 +59,6 @@ set _SKIP=2
60
59
  if "x%~1" == "x" goto execute
61
60
 
62
61
  set CMD_LINE_ARGS=%*
63
- goto execute
64
-
65
- :4NT_args
66
- @rem Get arguments from the 4NT Shell from JP Software
67
- set CMD_LINE_ARGS=%$
68
62
 
69
63
  :execute
70
64
  @rem Setup the command line
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: embulk-input-td
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Muga Nishizawa
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-07-30 00:00:00.000000000 Z
11
+ date: 2017-08-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  requirement: !ruby/object:Gem::Requirement
@@ -51,6 +51,7 @@ files:
51
51
  - build.gradle
52
52
  - config/checkstyle/checkstyle.xml
53
53
  - config/checkstyle/default.xml
54
+ - embulk-input-td.gemspec
54
55
  - gradle/wrapper/gradle-wrapper.jar
55
56
  - gradle/wrapper/gradle-wrapper.properties
56
57
  - gradlew
@@ -65,21 +66,17 @@ files:
65
66
  - src/main/java/org/embulk/input/td/writer/StringValueWriter.java
66
67
  - src/main/java/org/embulk/input/td/writer/ValueWriter.java
67
68
  - src/test/java/org/embulk/input/td/TestTdInputPlugin.java
68
- - classpath/embulk-input-td-0.1.0.jar
69
+ - classpath/embulk-input-td-0.2.0.jar
69
70
  - classpath/hamcrest-core-1.1.jar
70
- - classpath/jackson-annotations-2.6.7.jar
71
- - classpath/jackson-core-2.6.7.jar
72
- - classpath/jackson-databind-2.6.7.jar
73
- - classpath/jackson-datatype-guava-2.6.7.jar
74
71
  - classpath/jackson-datatype-json-org-2.6.7.jar
75
- - classpath/jetty-client-9.2.2.v20140723.jar
76
- - classpath/jetty-http-9.2.2.v20140723.jar
77
- - classpath/jetty-io-9.2.2.v20140723.jar
78
- - classpath/jetty-util-9.2.2.v20140723.jar
72
+ - classpath/jetty-client-9.2.22.v20170606.jar
73
+ - classpath/jetty-http-9.2.22.v20170606.jar
74
+ - classpath/jetty-io-9.2.22.v20170606.jar
75
+ - classpath/jetty-util-9.2.22.v20170606.jar
79
76
  - classpath/json-20090211_1.jar
80
77
  - classpath/json-simple-1.1.1.jar
81
78
  - classpath/junit-4.10.jar
82
- - classpath/td-client-0.7.24.jar
79
+ - classpath/td-client-0.7.41.jar
83
80
  homepage: https://github.com/muga/embulk-input-td
84
81
  licenses:
85
82
  - Apache 2.0