embulk-output-td 0.3.9 → 0.3.10

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: bafffe3329257454d4b7d41593bd6b7cb3c2c61f
4
- data.tar.gz: 1ce0414e864669fcffc7b4c46c56ed2f3ab937d4
3
+ metadata.gz: 6dca2ba87c0d5e8ab816f0ffb035fdf9ee169178
4
+ data.tar.gz: 038410038ad54325b47e7c112cfb150c9a117639
5
5
  SHA512:
6
- metadata.gz: fd565fe11e81cd25bdf17de7da522f88bf0a2dd80cfbe4c2fa7c5f1f48d964545c114f52f61d5c6b2aa52f812b2eb8c1917ef19e0e017ef59489b6ed8e9fd780
7
- data.tar.gz: 00408ba371cbda77388e742111c3e8890d7476951c1c92b55d9936dfbdc5f081fee12c637b0f9a5761c5c3fcf2c90a618064028b67438dd6c8c2d43b0e0f1adf
6
+ metadata.gz: a7c77498336cb6843b6b93e58e31b1cd277cbb485f113c31942a521a672f4ed681165bd1c1be6d5e82ed9ccdd2c278383a3da37ef4d7da6fc7be83e714e60c49
7
+ data.tar.gz: 1cea8f9b475f1e6d6a57b67b66fcaa92a59146352420df2de0f09009f8b9cefdc76303fb8775b7b30fca4ced0c68cdabd0ca21f3ec107721eb2fa382e38a85f9
@@ -1,3 +1,7 @@
1
+ ## 0.3.10 - 2016-11-16
2
+
3
+ * [maintenance] Setup bintray repo [#55](https://github.com/treasure-data/embulk-output-td/pull/55)
4
+
1
5
  ## 0.3.9 - 2016-10-26
2
6
 
3
7
  * [maintenance] Add retry limit and interval configurations [#51](https://github.com/treasure-data/embulk-output-td/pull/51)
data/README.md CHANGED
@@ -32,6 +32,9 @@ TODO: Write short description here
32
32
  - **column_options**: advanced: a key-value pairs where key is a column name and value is options for the column.
33
33
  - **timezone**: If input column type (embulk type) is timestamp, this plugin needs to format the timestamp value into a SQL string. In this cases, this timezone option is used to control the timezone. (string, value of default_timezone option is used by default)
34
34
  - **format**: If input column type (embulk type) is timestamp, this plugin needs to format the timestamp value into a string. This timestamp_format option is used to control the format of the timestamp. (string, value of default_timestamp_format option is used by default)
35
+ - **retry_limit**: indicates how many retries are allowed (int, default: 20)
36
+ - **retry_initial_interval_millis**: the initial intervals (int, default: 1000)
37
+ - **retry_max_interval_millis**: the maximum intervals. The interval doubles every retry until retry_max_interval_millis is reached. (int, default: 90000)
35
38
 
36
39
  ## Modes
37
40
  * **append**:
@@ -1,7 +1,9 @@
1
1
  plugins {
2
- id "com.jfrog.bintray" version "1.1"
2
+ id "com.jfrog.bintray" version "1.7"
3
3
  id "com.github.jruby-gradle.base" version "0.1.5"
4
4
  id "java"
5
+ id "maven" // install jar files to the local repo: $ gradle install
6
+ id "maven-publish"
5
7
  }
6
8
 
7
9
  apply from: 'gradle/check.gradle'
@@ -16,7 +18,8 @@ configurations {
16
18
  provided
17
19
  }
18
20
 
19
- version = "0.3.9"
21
+ group = "org.embulk.output.td"
22
+ version = "0.3.10"
20
23
 
21
24
  compileJava.options.encoding = 'UTF-8' // source encoding
22
25
  sourceCompatibility = 1.7
@@ -37,6 +40,50 @@ dependencies {
37
40
  testCompile "org.mockito:mockito-core:1.9.5"
38
41
  }
39
42
 
43
+ javadoc {
44
+ options {
45
+ locale = 'en_US'
46
+ encoding = 'UTF-8'
47
+ }
48
+ }
49
+
50
+ // bintray and publishing
51
+ bintray {
52
+ // write at your bintray user name and api key to ~/.gradle/gradle.properties file:
53
+ user = project.hasProperty('bintray_user') ? bintray_user : ''
54
+ key = project.hasProperty('bintray_api_key') ? bintray_api_key : ''
55
+
56
+ publications = ['bintrayMavenRelease']
57
+ publish = true
58
+
59
+ pkg {
60
+ userOrg = 'embulk-output-td'
61
+ repo = 'maven'
62
+ name = project.name
63
+ desc = 'Embulk output plugin for Treasure Data'
64
+ websiteUrl = 'https://github.com/treasure-data/embulk-output-td'
65
+ issueTrackerUrl = 'https://github.com/treasure-data/embulk-output-td/issues'
66
+ vcsUrl = 'https://github.com/treasure-data/embulk-output-td.git'
67
+ licenses = ['Apache-2.0']
68
+ labels = ['embulk', 'java']
69
+ publicDownloadNumbers = true
70
+
71
+ version {
72
+ name = project.version
73
+ }
74
+ }
75
+ }
76
+ publishing {
77
+ publications {
78
+ bintrayMavenRelease(MavenPublication) {
79
+ from components.java
80
+ artifact testsJar
81
+ artifact sourcesJar
82
+ artifact javadocJar
83
+ }
84
+ }
85
+ }
86
+
40
87
  task classpath(type: Copy, dependsOn: ["jar"]) {
41
88
  doFirst { file("classpath").deleteDir() }
42
89
  from (configurations.runtime - configurations.provided + files(jar.archivePath))
@@ -44,6 +91,20 @@ task classpath(type: Copy, dependsOn: ["jar"]) {
44
91
  }
45
92
  clean { delete 'classpath' }
46
93
 
94
+ // add tests/javadoc/source jar tasks as artifacts to be released
95
+ task testsJar(type: Jar, dependsOn: classes) {
96
+ classifier = 'tests'
97
+ from sourceSets.test.output
98
+ }
99
+ task sourcesJar(type: Jar, dependsOn: classes) {
100
+ classifier = 'sources'
101
+ from sourceSets.main.allSource
102
+ }
103
+ task javadocJar(type: Jar, dependsOn: javadoc) {
104
+ classifier = 'javadoc'
105
+ from javadoc.destinationDir
106
+ }
107
+
47
108
  task gem(type: JRubyExec, dependsOn: ["gemspec", "classpath"]) {
48
109
  jrubyArgs "-rrubygems/gem_runner", "-eGem::GemRunner.new.run(ARGV)", "build"
49
110
  script "${project.name}.gemspec"
@@ -1,7 +1,7 @@
1
1
 
2
2
  Gem::Specification.new do |spec|
3
3
  spec.name = "embulk-output-td"
4
- spec.version = "0.3.9"
4
+ spec.version = "0.3.10"
5
5
  spec.authors = ["Muga Nishizawa"]
6
6
  spec.summary = %[TreasureData output plugin for Embulk]
7
7
  spec.description = %[TreasureData output plugin is an Embulk plugin that loads records to TreasureData read by any input plugins. Search the input plugins by 'embulk-output' keyword.]
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: embulk-output-td
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.9
4
+ version: 0.3.10
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-10-26 00:00:00.000000000 Z
11
+ date: 2016-11-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  requirement: !ruby/object:Gem::Requirement
@@ -82,7 +82,7 @@ files:
82
82
  - src/test/java/org/embulk/output/td/TestTdOutputPlugin.java
83
83
  - src/test/java/org/embulk/output/td/TestTimeValueGenerator.java
84
84
  - src/test/java/org/embulk/output/td/writer/TestFieldWriterSet.java
85
- - classpath/embulk-output-td-0.3.9.jar
85
+ - classpath/embulk-output-td-0.3.10.jar
86
86
  - classpath/hamcrest-core-1.1.jar
87
87
  - classpath/jackson-annotations-2.6.7.jar
88
88
  - classpath/jackson-core-2.6.7.jar