embulk-filter-hash 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,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 2e03d2e87c786822c72bd8f9b5b700dcf748e511
4
- data.tar.gz: e5dcc797763d6af0d199199398e8ca35bb48c712
3
+ metadata.gz: 8417b34528ba29a1f45b5504febb1f3d5d9dcfe2
4
+ data.tar.gz: ded22e2054f384eae9d87afdd7ff72260132576c
5
5
  SHA512:
6
- metadata.gz: 1cfcb1495dd8c882490a466435f787c165e619724344eaaf56b6f26d55f8129815597d9ce9689368e0a530f084dc18f13bd9abc016ca7c0534a604c2bd5c552a
7
- data.tar.gz: c967108d0b47aca9a55f5f8146c930ca4c4f7cd1b76c2db7e05dcdad16ca9a95772bbc4ab027da15cddcc54faccfd85d59f546b5db725bc54498bdcedb36cc2f
6
+ metadata.gz: 4ea229bac3414280c489e57363dc632e537ee79e23e53985e34263dd798a5b00293eacf48772ef366419c7d714554d8cfb8130bb0485e322d38064963f9d99a4
7
+ data.tar.gz: 0a2f6f872af45d354231ffa71ca0ff3953323e325f0125c628c772dca80e376eaa8bc5d8b959c8ac1e1a488d315d4f344f04a052adcef25e956c86bf51e6db06
data/README.md CHANGED
@@ -1,4 +1,4 @@
1
- [![Build Status](https://travis-ci.org/kamatama41/embulk-filter-hash.svg?branch=master)](https://travis-ci.org/kamatama41/embulk-filter-hash)
1
+ [![CircleCI](https://circleci.com/gh/kamatama41/embulk-filter-hash.svg?style=svg)](https://circleci.com/gh/kamatama41/embulk-filter-hash)
2
2
 
3
3
  # Hash filter plugin for Embulk
4
4
 
@@ -27,6 +27,7 @@ filters:
27
27
 
28
28
  ## Hash Algorithm
29
29
  <a name ="hash_algorithm">
30
+
30
31
  This plugin uses [MessageDigest](https://docs.oracle.com/javase/7/docs/api/java/security/MessageDigest.html) for hashing.
31
32
  Every implementation of the Java platform supports the following MessageDigest algorithms:
32
33
  - MD5
data/build.gradle CHANGED
@@ -7,12 +7,14 @@ buildscript {
7
7
  }
8
8
  dependencies {
9
9
  classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlinVersion"
10
- classpath "com.github.kamatama41:gradle-embulk-plugin:0.1.2"
10
+ classpath "com.github.kamatama41:gradle-embulk-plugin:0.1.4"
11
+ classpath "net.researchgate:gradle-release:2.5.0"
11
12
  }
12
13
  }
13
14
 
14
15
  apply plugin: "kotlin"
15
16
  apply plugin: "com.github.kamatama41.embulk"
17
+ apply plugin: 'net.researchgate.release'
16
18
 
17
19
  repositories {
18
20
  mavenCentral()
@@ -20,7 +22,6 @@ repositories {
20
22
  maven { url 'http://kamatama41.github.com/maven-repository/repository' }
21
23
  }
22
24
 
23
- version = "0.3.1"
24
25
  sourceCompatibility = 1.7
25
26
  targetCompatibility = 1.7
26
27
 
@@ -33,5 +34,14 @@ embulk {
33
34
  version = "0.8.18"
34
35
  category = "filter"
35
36
  name = "hash"
37
+ authors = ["Shinichi Ishimura"]
38
+ email = "shiketaudonko41@gmail.com"
39
+ description = "Embulk filter plugin to convert a input to hash."
40
+ licenses = ["MIT"]
36
41
  homepage = "https://github.com/kamatama41/embulk-filter-hash"
37
42
  }
43
+
44
+ release {
45
+ git { requireBranch = 'master' }
46
+ }
47
+ afterReleaseBuild.dependsOn gemPush
data/circle.yml ADDED
@@ -0,0 +1,23 @@
1
+ machine:
2
+ java:
3
+ version: oraclejdk8
4
+
5
+ dependencies:
6
+ pre:
7
+ - git config --global user.email "shiketaudonko41@gmail.com"
8
+ - git config --global user.name "kamatama41"
9
+ override:
10
+ - ./gradlew dependencies
11
+
12
+ test:
13
+ override:
14
+ - ./gradlew check --stacktrace
15
+
16
+ deployment:
17
+ release:
18
+ branch: release
19
+ commands:
20
+ - curl -f -u $RUBYGEMS_USER:$RUBYGEMS_PASSWORD https://rubygems.org/api/v1/api_key.yaml > ~/.gem/credentials; chmod 0600 ~/.gem/credentials
21
+ - git checkout master
22
+ - git reset --hard origin/master
23
+ - ./gradlew release -Prelease.useAutomaticVersion=true
data/gradle.properties ADDED
@@ -0,0 +1 @@
1
+ version=0.3.2
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: embulk-filter-hash
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
  - Shinichi Ishimura
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-03-18 00:00:00.000000000 Z
11
+ date: 2017-03-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  requirement: !ruby/object:Gem::Requirement
@@ -38,7 +38,7 @@ dependencies:
38
38
  - - '>='
39
39
  - !ruby/object:Gem::Version
40
40
  version: '10.0'
41
- description: hash
41
+ description: Embulk filter plugin to convert a input to hash.
42
42
  email:
43
43
  - shiketaudonko41@gmail.com
44
44
  executables: []
@@ -46,12 +46,11 @@ extensions: []
46
46
  extra_rdoc_files: []
47
47
  files:
48
48
  - .gitignore
49
- - .travis.yml
50
49
  - LICENSE.txt
51
50
  - README.md
52
51
  - build.gradle
53
- - config/checkstyle/checkstyle.xml
54
- - config/checkstyle/default.xml
52
+ - circle.yml
53
+ - gradle.properties
55
54
  - gradle/wrapper/gradle-wrapper.jar
56
55
  - gradle/wrapper/gradle-wrapper.properties
57
56
  - gradlew
@@ -63,9 +62,9 @@ files:
63
62
  - src/test/resources/yaml/input_basic.yml
64
63
  - src/test/resources/yaml/input_column_types.yml
65
64
  - src/test/resources/yaml/input_null_column.yml
66
- - classpath/annotations-13.0.jar
67
- - classpath/embulk-filter-hash-0.3.1.jar
68
65
  - classpath/kotlin-stdlib-1.1.1.jar
66
+ - classpath/annotations-13.0.jar
67
+ - classpath/embulk-filter-hash-0.3.2.jar
69
68
  homepage: https://github.com/kamatama41/embulk-filter-hash
70
69
  licenses:
71
70
  - MIT
data/.travis.yml DELETED
@@ -1,10 +0,0 @@
1
- sudo: required
2
-
3
- language: java
4
-
5
- jdk:
6
- - oraclejdk8
7
-
8
- script:
9
- - ./gradlew checkstyle
10
- - ./gradlew --info check
@@ -1,128 +0,0 @@
1
- <?xml version="1.0" encoding="UTF-8"?>
2
- <!DOCTYPE module PUBLIC
3
- "-//Puppy Crawl//DTD Check Configuration 1.3//EN"
4
- "http://www.puppycrawl.com/dtds/configuration_1_3.dtd">
5
- <module name="Checker">
6
- <!-- https://github.com/facebook/presto/blob/master/src/checkstyle/checks.xml -->
7
- <module name="FileTabCharacter"/>
8
- <module name="NewlineAtEndOfFile">
9
- <property name="lineSeparator" value="lf"/>
10
- </module>
11
- <module name="RegexpMultiline">
12
- <property name="format" value="\r"/>
13
- <property name="message" value="Line contains carriage return"/>
14
- </module>
15
- <module name="RegexpMultiline">
16
- <property name="format" value=" \n"/>
17
- <property name="message" value="Line has trailing whitespace"/>
18
- </module>
19
- <module name="RegexpMultiline">
20
- <property name="format" value="\{\n\n"/>
21
- <property name="message" value="Blank line after opening brace"/>
22
- </module>
23
- <module name="RegexpMultiline">
24
- <property name="format" value="\n\n\s*\}"/>
25
- <property name="message" value="Blank line before closing brace"/>
26
- </module>
27
- <module name="RegexpMultiline">
28
- <property name="format" value="\n\n\n"/>
29
- <property name="message" value="Multiple consecutive blank lines"/>
30
- </module>
31
- <module name="RegexpMultiline">
32
- <property name="format" value="\n\n\Z"/>
33
- <property name="message" value="Blank line before end of file"/>
34
- </module>
35
- <module name="RegexpMultiline">
36
- <property name="format" value="Preconditions\.checkNotNull"/>
37
- <property name="message" value="Use of checkNotNull"/>
38
- </module>
39
-
40
- <module name="TreeWalker">
41
- <module name="EmptyBlock">
42
- <property name="option" value="text"/>
43
- <property name="tokens" value="
44
- LITERAL_DO, LITERAL_ELSE, LITERAL_FINALLY, LITERAL_IF,
45
- LITERAL_FOR, LITERAL_TRY, LITERAL_WHILE, INSTANCE_INIT, STATIC_INIT"/>
46
- </module>
47
- <module name="EmptyStatement"/>
48
- <module name="EmptyForInitializerPad"/>
49
- <module name="EmptyForIteratorPad">
50
- <property name="option" value="space"/>
51
- </module>
52
- <module name="MethodParamPad">
53
- <property name="allowLineBreaks" value="true"/>
54
- <property name="option" value="nospace"/>
55
- </module>
56
- <module name="ParenPad"/>
57
- <module name="TypecastParenPad"/>
58
- <module name="NeedBraces"/>
59
- <module name="LeftCurly">
60
- <property name="option" value="nl"/>
61
- <property name="tokens" value="CLASS_DEF, CTOR_DEF, INTERFACE_DEF, METHOD_DEF"/>
62
- </module>
63
- <module name="LeftCurly">
64
- <property name="option" value="eol"/>
65
- <property name="tokens" value="
66
- LITERAL_CATCH, LITERAL_DO, LITERAL_ELSE, LITERAL_FINALLY, LITERAL_FOR,
67
- LITERAL_IF, LITERAL_SWITCH, LITERAL_SYNCHRONIZED, LITERAL_TRY, LITERAL_WHILE"/>
68
- </module>
69
- <module name="RightCurly">
70
- <property name="option" value="alone"/>
71
- </module>
72
- <module name="GenericWhitespace"/>
73
- <module name="WhitespaceAfter"/>
74
- <module name="NoWhitespaceBefore"/>
75
-
76
- <module name="UpperEll"/>
77
- <module name="DefaultComesLast"/>
78
- <module name="ArrayTypeStyle"/>
79
- <module name="MultipleVariableDeclarations"/>
80
- <module name="ModifierOrder"/>
81
- <module name="OneStatementPerLine"/>
82
- <module name="StringLiteralEquality"/>
83
- <module name="MutableException"/>
84
- <module name="EqualsHashCode"/>
85
- <module name="InnerAssignment"/>
86
- <module name="InterfaceIsType"/>
87
- <module name="HideUtilityClassConstructor"/>
88
-
89
- <module name="MemberName"/>
90
- <module name="LocalVariableName"/>
91
- <module name="LocalFinalVariableName"/>
92
- <module name="TypeName"/>
93
- <module name="PackageName"/>
94
- <module name="ParameterName"/>
95
- <module name="StaticVariableName"/>
96
- <module name="ClassTypeParameterName">
97
- <property name="format" value="^[A-Z][0-9]?$"/>
98
- </module>
99
- <module name="MethodTypeParameterName">
100
- <property name="format" value="^[A-Z][0-9]?$"/>
101
- </module>
102
-
103
- <module name="AvoidStarImport"/>
104
- <module name="RedundantImport"/>
105
- <module name="UnusedImports"/>
106
- <module name="ImportOrder">
107
- <property name="groups" value="*,javax,java"/>
108
- <property name="separated" value="true"/>
109
- <property name="option" value="bottom"/>
110
- <property name="sortStaticImportsAlphabetically" value="true"/>
111
- </module>
112
-
113
- <module name="WhitespaceAround">
114
- <property name="allowEmptyConstructors" value="true"/>
115
- <property name="allowEmptyMethods" value="true"/>
116
- <property name="ignoreEnhancedForColon" value="false"/>
117
- <property name="tokens" value="
118
- ASSIGN, BAND, BAND_ASSIGN, BOR, BOR_ASSIGN, BSR, BSR_ASSIGN,
119
- BXOR, BXOR_ASSIGN, COLON, DIV, DIV_ASSIGN, EQUAL, GE, GT, LAND, LE,
120
- LITERAL_ASSERT, LITERAL_CATCH, LITERAL_DO, LITERAL_ELSE,
121
- LITERAL_FINALLY, LITERAL_FOR, LITERAL_IF, LITERAL_RETURN,
122
- LITERAL_SYNCHRONIZED, LITERAL_TRY, LITERAL_WHILE,
123
- LOR, LT, MINUS, MINUS_ASSIGN, MOD, MOD_ASSIGN, NOT_EQUAL,
124
- PLUS, PLUS_ASSIGN, QUESTION, SL, SLIST, SL_ASSIGN, SR, SR_ASSIGN,
125
- STAR, STAR_ASSIGN, TYPE_EXTENSION_AND"/>
126
- </module>
127
- </module>
128
- </module>
@@ -1,108 +0,0 @@
1
- <?xml version="1.0" encoding="UTF-8"?>
2
- <!DOCTYPE module PUBLIC
3
- "-//Puppy Crawl//DTD Check Configuration 1.3//EN"
4
- "http://www.puppycrawl.com/dtds/configuration_1_3.dtd">
5
- <!--
6
- This is a subset of ./checkstyle.xml which allows some loose styles
7
- -->
8
- <module name="Checker">
9
- <module name="FileTabCharacter"/>
10
- <module name="NewlineAtEndOfFile">
11
- <property name="lineSeparator" value="lf"/>
12
- </module>
13
- <module name="RegexpMultiline">
14
- <property name="format" value="\r"/>
15
- <property name="message" value="Line contains carriage return"/>
16
- </module>
17
- <module name="RegexpMultiline">
18
- <property name="format" value=" \n"/>
19
- <property name="message" value="Line has trailing whitespace"/>
20
- </module>
21
- <module name="RegexpMultiline">
22
- <property name="format" value="\n\n\n"/>
23
- <property name="message" value="Multiple consecutive blank lines"/>
24
- </module>
25
- <module name="RegexpMultiline">
26
- <property name="format" value="\n\n\Z"/>
27
- <property name="message" value="Blank line before end of file"/>
28
- </module>
29
-
30
- <module name="TreeWalker">
31
- <module name="EmptyBlock">
32
- <property name="option" value="text"/>
33
- <property name="tokens" value="
34
- LITERAL_DO, LITERAL_ELSE, LITERAL_FINALLY, LITERAL_IF,
35
- LITERAL_FOR, LITERAL_TRY, LITERAL_WHILE, INSTANCE_INIT, STATIC_INIT"/>
36
- </module>
37
- <module name="EmptyStatement"/>
38
- <module name="EmptyForInitializerPad"/>
39
- <module name="EmptyForIteratorPad">
40
- <property name="option" value="space"/>
41
- </module>
42
- <module name="MethodParamPad">
43
- <property name="allowLineBreaks" value="true"/>
44
- <property name="option" value="nospace"/>
45
- </module>
46
- <module name="ParenPad"/>
47
- <module name="TypecastParenPad"/>
48
- <module name="NeedBraces"/>
49
- <module name="LeftCurly">
50
- <property name="option" value="nl"/>
51
- <property name="tokens" value="CLASS_DEF, CTOR_DEF, INTERFACE_DEF, METHOD_DEF"/>
52
- </module>
53
- <module name="LeftCurly">
54
- <property name="option" value="eol"/>
55
- <property name="tokens" value="
56
- LITERAL_CATCH, LITERAL_DO, LITERAL_ELSE, LITERAL_FINALLY, LITERAL_FOR,
57
- LITERAL_IF, LITERAL_SWITCH, LITERAL_SYNCHRONIZED, LITERAL_TRY, LITERAL_WHILE"/>
58
- </module>
59
- <module name="RightCurly">
60
- <property name="option" value="alone"/>
61
- </module>
62
- <module name="GenericWhitespace"/>
63
- <module name="WhitespaceAfter"/>
64
- <module name="NoWhitespaceBefore"/>
65
-
66
- <module name="UpperEll"/>
67
- <module name="DefaultComesLast"/>
68
- <module name="ArrayTypeStyle"/>
69
- <module name="MultipleVariableDeclarations"/>
70
- <module name="ModifierOrder"/>
71
- <module name="OneStatementPerLine"/>
72
- <module name="StringLiteralEquality"/>
73
- <module name="MutableException"/>
74
- <module name="EqualsHashCode"/>
75
- <module name="InnerAssignment"/>
76
- <module name="InterfaceIsType"/>
77
- <module name="HideUtilityClassConstructor"/>
78
-
79
- <module name="MemberName"/>
80
- <module name="LocalVariableName"/>
81
- <module name="LocalFinalVariableName"/>
82
- <module name="TypeName"/>
83
- <module name="PackageName"/>
84
- <module name="ParameterName"/>
85
- <module name="StaticVariableName"/>
86
- <module name="ClassTypeParameterName">
87
- <property name="format" value="^[A-Z][0-9]?$"/>
88
- </module>
89
- <module name="MethodTypeParameterName">
90
- <property name="format" value="^[A-Z][0-9]?$"/>
91
- </module>
92
-
93
- <module name="WhitespaceAround">
94
- <property name="allowEmptyConstructors" value="true"/>
95
- <property name="allowEmptyMethods" value="true"/>
96
- <property name="ignoreEnhancedForColon" value="false"/>
97
- <property name="tokens" value="
98
- ASSIGN, BAND, BAND_ASSIGN, BOR, BOR_ASSIGN, BSR, BSR_ASSIGN,
99
- BXOR, BXOR_ASSIGN, COLON, DIV, DIV_ASSIGN, EQUAL, GE, GT, LAND, LE,
100
- LITERAL_ASSERT, LITERAL_CATCH, LITERAL_DO, LITERAL_ELSE,
101
- LITERAL_FINALLY, LITERAL_FOR, LITERAL_IF, LITERAL_RETURN,
102
- LITERAL_SYNCHRONIZED, LITERAL_TRY, LITERAL_WHILE,
103
- LOR, LT, MINUS, MINUS_ASSIGN, MOD, MOD_ASSIGN, NOT_EQUAL,
104
- PLUS, PLUS_ASSIGN, QUESTION, SL, SLIST, SL_ASSIGN, SR, SR_ASSIGN,
105
- STAR, STAR_ASSIGN, TYPE_EXTENSION_AND"/>
106
- </module>
107
- </module>
108
- </module>