zengin_code 0.0.2.20141218 → 0.0.3.20141218
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Rakefile +6 -1
- data/bower.json +1 -1
- data/lib/zengin_code/version.rb +2 -2
- data/package.json +1 -1
- data/zengin_code.gemspec +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8c65d6cb50eac2c62a79ab9a597d495fa941eebd
|
4
|
+
data.tar.gz: 1b7985a7bbda8409bf62b9b6cccdd3dd3b503e7a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 15cf6eceabce20285adcacbbfa1a508b6f5717c36796ccc8c32f0466e0a72583dd39c9665c2042eee538174dd3e2dc5bae229128f8baa13f2993e35c9009f274
|
7
|
+
data.tar.gz: a468fdd6be951631aad2f0e29fdef5c99e663641f1394e86c2777f815d05576d32cadc4f1c7990b2aabe74af8cdca720bc65787892d5ba0b8972d647f0828319
|
data/Rakefile
CHANGED
@@ -3,6 +3,11 @@ require 'tasks/zengin'
|
|
3
3
|
|
4
4
|
task default: ['zengin:update', 'zengin:js']
|
5
5
|
|
6
|
-
task publish: [:default, :
|
6
|
+
task publish: [:default, :build] do
|
7
|
+
require 'zengin_code'
|
8
|
+
sh "git commit -a -m 'v#{ZenginCode::VERSION}'"
|
9
|
+
sh "gem push pkg/zengin_code-#{ZenginCode::VERSION.sub('-p', '.')}.gem"
|
10
|
+
sh "git tag v#{ZenginCode::VERSION}"
|
11
|
+
sh 'git push --tags'
|
7
12
|
sh 'npm publish'
|
8
13
|
end
|
data/bower.json
CHANGED
data/lib/zengin_code/version.rb
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
module ZenginCode
|
2
2
|
ROOT_DIR = Pathname.new(File.expand_path(__FILE__)).join('../../..')
|
3
3
|
DATA_DIR = ROOT_DIR.join('data')
|
4
|
-
GEM_VERSION = '0.0.
|
4
|
+
GEM_VERSION = '0.0.3'
|
5
5
|
|
6
|
-
VERSION = "#{GEM_VERSION}
|
6
|
+
VERSION = "#{GEM_VERSION}-p#{File.read(DATA_DIR.join('updated_at')).strip}"
|
7
7
|
end
|
data/package.json
CHANGED
data/zengin_code.gemspec
CHANGED
@@ -5,7 +5,7 @@ require 'zengin_code/version'
|
|
5
5
|
|
6
6
|
Gem::Specification.new do |spec|
|
7
7
|
spec.name = "zengin_code"
|
8
|
-
spec.version = ZenginCode::VERSION
|
8
|
+
spec.version = ZenginCode::VERSION.sub('-p', '.')
|
9
9
|
spec.authors = ["Sho Kusano"]
|
10
10
|
spec.email = ["rosylilly@aduca.org"]
|
11
11
|
spec.summary = %q{bank codes and branch codes for japanese}
|