embulk 0.3.1 → 0.3.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,15 +1,15 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
3
  metadata.gz: !binary |-
4
- MjA1Mzc3ZGRhMDY2ZWI5N2NkZjM1ZDg4Yzc4MGE0MjljM2Q0ZjYxYw==
4
+ NzUyMzU0ODY2OWE5N2U4NTM3NjIwYjUzNTlmNjUwMGRkNWE4N2UxZg==
5
5
  data.tar.gz: !binary |-
6
- Y2JhZDM0MTk2YzliZGIzYmUwNzM1ZjFmNmU0OGRiYzNiM2IwYjUwMw==
6
+ NzkyM2I3NzI2YmY4M2EyNGI3MzA1ODYyYmIwMzgxZjdkMzYxODg3Yg==
7
7
  SHA512:
8
8
  metadata.gz: !binary |-
9
- MDEyYjU0YjM0OWNlZjA1NmMzMWI2NTZhMTFiMjM0MGU5M2VkZjA2ODQyNzBk
10
- M2NiNzJiYzJhMTcxYzFhZjQ3ZGRhM2IyZDI4NzVhYzU5MjBmMGFhNWQ2NGEw
11
- NmRhZTdkYWIzZGY3NmQ1Mzg0YWNkMzZkYjYzN2ZlMDU4NzYwZmY=
9
+ MWE0YjBiYzY4ZDc2MDc0ODFmY2QxZDY2ODljZTBhOTBmYjMwZjhhMWY5M2Q5
10
+ N2JjODJhOTE1M2EwYmQxMjBiNWEzNmNjNjJkZDRiOTUyMjMzMTBlMGNiMTYx
11
+ YzIxNGRjMTk2OTI5YzQwYjQ5NTcyODQ0ZGQzOTJhYzA2YTU3NmM=
12
12
  data.tar.gz: !binary |-
13
- MThhMzNlNjgxYjEwY2Q0NDA2MWMzOTlhZjEyZDA4OTM0ODQ3MzkwZWYzMjdh
14
- OTFlNGZjNGMzZTZhNDE1ZWI1MzFmMjBiZGUwODY1Yjc4YjNjNGU0ZmExMTA0
15
- ZDlkNzhiZDZiZTM3OWEyYmI4ODFlYjY2OWI1OTBkODgyNDZjZTk=
13
+ ZGUxMzk0ZjcyNWRmMTNhY2IwYzFlODg3NGMzOGMyMzlhNzM5YjllZjkyMWMy
14
+ ZTc5Yjk2YzY0MWE2MTBmODZhNmVjMWMzZjdjMDg0YWRkNDBmZGIwZWVjN2Rl
15
+ NzFiN2EwNmU2Y2M3MzdiMWVhMDUxZDRmZDE1YzBlYWVjYzk0YTU=
data/ChangeLog CHANGED
@@ -1,4 +1,13 @@
1
1
 
2
+ 2015-02-04 version 0.3.2:
3
+
4
+ * Fixed a problem where ruby input plugins can't use timestamp type (reported
5
+ by @shun0102)
6
+ * Embulk::Page includes Enumerable to include map, each_with_index, and other
7
+ a lot of convenient methods (@niku++)
8
+ * Fixed TimestampType::DEFAULT_FORMAT to use ':' as the separator of times
9
+
10
+
2
11
  2015-02-04 version 0.3.1:
3
12
 
4
13
  * Added -C, --classpath option to add java classpath
data/README.md CHANGED
@@ -24,7 +24,7 @@ You can release plugins to share your efforts of data cleaning, error handling,
24
24
  The single-file package is the simplest way to try Embulk. You can download the latest embulk-VERSION.jar from [the releases page](https://bintray.com/embulk/maven/embulk/view#files) and run it with java:
25
25
 
26
26
  ```
27
- wget https://bintray.com/artifact/download/embulk/maven/embulk-0.3.1.jar -O embulk.jar
27
+ wget https://bintray.com/artifact/download/embulk/maven/embulk-0.3.2.jar -O embulk.jar
28
28
  java -jar embulk.jar --help
29
29
  ```
30
30
 
@@ -28,7 +28,7 @@ allprojects {
28
28
  apply plugin: 'com.github.ben-manes.versions'
29
29
 
30
30
  group = 'org.embulk'
31
- version = '0.3.1'
31
+ version = '0.3.2'
32
32
 
33
33
  // to upload artifacts to Bintray by gradle-bintray-plugin
34
34
  // $ gradle bintrayUpload
@@ -5,7 +5,7 @@
5
5
  <parent>
6
6
  <groupId>org.embulk</groupId>
7
7
  <artifactId>embulk-parent</artifactId>
8
- <version>0.3.1-SNAPSHOT</version>
8
+ <version>0.3.2-SNAPSHOT</version>
9
9
  </parent>
10
10
 
11
11
  <artifactId>embulk-cli</artifactId>
@@ -5,7 +5,7 @@
5
5
  <parent>
6
6
  <groupId>org.embulk</groupId>
7
7
  <artifactId>embulk-parent</artifactId>
8
- <version>0.3.1-SNAPSHOT</version>
8
+ <version>0.3.2-SNAPSHOT</version>
9
9
  </parent>
10
10
 
11
11
  <artifactId>embulk-core</artifactId>
@@ -95,7 +95,7 @@ public class Timestamp
95
95
  return time;
96
96
  }
97
97
 
98
- public Timestamp fromRubyTime(RubyTime time)
98
+ public static Timestamp fromRubyTime(RubyTime time)
99
99
  {
100
100
  long msec = time.getDateTime().getMillis();
101
101
  long sec = msec / 1000;
@@ -7,7 +7,7 @@ public class TimestampType
7
7
  {
8
8
  static final TimestampType TIMESTAMP = new TimestampType();
9
9
 
10
- private static final String DEFAULT_FORMAT = "%Y-%m-%d %H-%M-%S,%N %z";
10
+ private static final String DEFAULT_FORMAT = "%Y-%m-%d %H:%M:%S.%6N %z";
11
11
 
12
12
  private final String format;
13
13
 
@@ -5,7 +5,7 @@
5
5
  <parent>
6
6
  <groupId>org.embulk</groupId>
7
7
  <artifactId>embulk-parent</artifactId>
8
- <version>0.3.1-SNAPSHOT</version>
8
+ <version>0.3.2-SNAPSHOT</version>
9
9
  </parent>
10
10
 
11
11
  <artifactId>embulk-standards</artifactId>
@@ -4,6 +4,8 @@ module Embulk
4
4
  # TODO pure-ruby page reader
5
5
 
6
6
  class Page
7
+ include Enumerable
8
+
7
9
  def initialize(java_page, schema)
8
10
  @java_page = java_page
9
11
  @schema = schema
@@ -1,3 +1,3 @@
1
1
  module Embulk
2
- VERSION = "0.3.1"
2
+ VERSION = "0.3.2"
3
3
  end
data/pom.xml CHANGED
@@ -4,7 +4,7 @@
4
4
 
5
5
  <groupId>org.embulk</groupId>
6
6
  <artifactId>embulk-parent</artifactId>
7
- <version>0.3.1-SNAPSHOT</version>
7
+ <version>0.3.2-SNAPSHOT</version>
8
8
  <packaging>pom</packaging>
9
9
 
10
10
  <name>Embulk</name>
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.3.1
4
+ version: 0.3.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sadayuki Furuhashi
@@ -122,9 +122,9 @@ files:
122
122
  - classpath/commons-codec-1.3.jar
123
123
  - classpath/commons-lang3-3.1.jar
124
124
  - classpath/commons-logging-1.2.jar
125
- - classpath/embulk-cli-0.3.1-SNAPSHOT.jar
126
- - classpath/embulk-core-0.3.1-SNAPSHOT.jar
127
- - classpath/embulk-standards-0.3.1-SNAPSHOT.jar
125
+ - classpath/embulk-cli-0.3.2-SNAPSHOT.jar
126
+ - classpath/embulk-core-0.3.2-SNAPSHOT.jar
127
+ - classpath/embulk-standards-0.3.2-SNAPSHOT.jar
128
128
  - classpath/guava-17.0.jar
129
129
  - classpath/guice-3.0.jar
130
130
  - classpath/guice-multibindings-3.0.jar