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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: e7441c9573452bfd6d59ce909c736eedd64c2252
4
- data.tar.gz: cbb8f8838ba0cee14db09cdf76e194cf8f134f13
3
+ metadata.gz: 8c65d6cb50eac2c62a79ab9a597d495fa941eebd
4
+ data.tar.gz: 1b7985a7bbda8409bf62b9b6cccdd3dd3b503e7a
5
5
  SHA512:
6
- metadata.gz: 4ed10cc33db39fded83378ef4a4962c415a961e4b0dcf8eee0cc8bc3ff7860b91dd40382b35e3bd385365fa64f4482fd8c42a2f1d76f4166ee2ee6770b8c4773
7
- data.tar.gz: 24212adefc584e8ce8e60d1eaa158c8ffb68cc831bccae3485ce401d617a43dc817a6dfa94513f0d0f5dd8bc8bd6ed49777cbb768076eb167ad58f8635294ea7
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, :release] do
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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "zengin-code",
3
- "version": "0.0.2.20141218",
3
+ "version": "0.0.3-p20141218",
4
4
  "main": "zengin-code.js",
5
5
  "description": "bank codes and branch codes for japanese",
6
6
  "ignore": [
@@ -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.2'
4
+ GEM_VERSION = '0.0.3'
5
5
 
6
- VERSION = "#{GEM_VERSION}.#{File.read(DATA_DIR.join('updated_at')).strip}"
6
+ VERSION = "#{GEM_VERSION}-p#{File.read(DATA_DIR.join('updated_at')).strip}"
7
7
  end
data/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "zengin-code",
3
- "version": "0.0.2.20141218",
3
+ "version": "0.0.3-p20141218",
4
4
  "main": "zengin-code.js",
5
5
  "description": "bank codes and branch codes for japanese",
6
6
  "files": [
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}
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: zengin_code
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2.20141218
4
+ version: 0.0.3.20141218
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sho Kusano