jp_prefecture 0.9.0 → 0.10.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
- SHA1:
3
- metadata.gz: 2969a6cc0162ae5a97f2bd4205ae05ce500a2124
4
- data.tar.gz: 347d5c47c228762af40e5804d476dc94d8f6e2ea
2
+ SHA256:
3
+ metadata.gz: 1c9d14abd08ed90e760046dfb048b316feb4d3fc7b279f144c4ac268482f3735
4
+ data.tar.gz: 1da155603c489f8a24c5ccc39d26ad1e63f474b770c90187fabddfe760a92d66
5
5
  SHA512:
6
- metadata.gz: 5856a351b31f85dd6691f3b0494867023c2d60ccd099d165f5f511a06edc628f67227dd3bc96fd5029a2a8cacc70e21a3d8a3aa3209204fcf8f01f14d885edee
7
- data.tar.gz: fd18d884336e9b812daa06b1ad4b9af27838bdacf1daf0367030ff5ad981297a2a48f9523279b8b3244cd29ccfa340a2285c1af290e2a6b1905a13fe222c894c
6
+ metadata.gz: 66e17d9086eeff007a4e4b906db1611b51592df4614f78b92df6256575dd6f5fbacbe914020a75033541f17edbb9db7ff63666333fb9bcbc9364a8499ad9c0fe
7
+ data.tar.gz: c14485be7054c0536dc962257c52f0b9ca9fba1a77a41ce9b9d4a821992274a1809f96e7ca47718dbae3ec71f9383de119e146c9f86e237945d39d94357accc3
@@ -1,32 +1,33 @@
1
1
  language: ruby
2
2
  sudo: false
3
3
  cache: bundler
4
+
5
+ branches:
6
+ only:
7
+ - master
8
+
4
9
  rvm:
5
- - 1.9.3
6
- - 2.0.0
7
- - 2.1.8
8
- - 2.2.4
9
- - 2.3.3
10
- - 2.4.0
11
- - ruby-head
10
+ - 2.3
11
+ - 2.4
12
+ - 2.5
13
+ - 2.6
14
+
12
15
  gemfile:
13
- - gemfiles/rails32.gemfile
14
- - gemfiles/rails40.gemfile
15
- - gemfiles/rails41.gemfile
16
16
  - gemfiles/rails42.gemfile
17
17
  - gemfiles/rails50.gemfile
18
+ - gemfiles/rails51.gemfile
19
+ - gemfiles/rails52.gemfile
20
+ - gemfiles/rails60.gemfile
21
+
18
22
  matrix:
19
- allow_failures:
20
- - rvm: 1.9.3
21
- - rvm: ruby-head
22
23
  fast_finish: true
23
24
  exclude:
24
- - rvm: 1.9.3
25
- gemfile: gemfiles/rails50.gemfile
26
- - rvm: 2.0.0
27
- gemfile: gemfiles/rails50.gemfile
28
- - rvm: 2.1.8
29
- gemfile: gemfiles/rails50.gemfile
25
+ - gemfile: gemfiles/rails60.gemfile
26
+ rvm: 2.3
27
+ - gemfile: gemfiles/rails60.gemfile
28
+ rvm: 2.4
29
+ - gemfile: gemfiles/rails60.gemfile
30
+ rvm: 2.5
31
+
30
32
  notifications:
31
- email:
32
- - false
33
+ email: false
data/Appraisals CHANGED
@@ -1,21 +1,42 @@
1
1
  appraise 'rails32' do
2
2
  gem 'activerecord', '~> 3.2.0'
3
+ gem 'sqlite3', '< 1.4'
3
4
  end
4
5
 
5
6
  appraise 'rails40' do
6
7
  gem 'activerecord', '~> 4.0.0'
8
+ gem 'sqlite3', '< 1.4'
7
9
  end
8
10
 
9
11
  appraise 'rails41' do
10
12
  gem 'activerecord', '~> 4.1.0'
13
+ gem 'sqlite3', '< 1.4'
11
14
  end
12
15
 
13
16
  appraise 'rails42' do
14
17
  gem 'activerecord', '~> 4.2.0'
18
+ gem 'sqlite3', '< 1.4'
15
19
  end
16
20
 
17
21
  if RUBY_VERSION >= '2.2.2'
18
22
  appraise 'rails50' do
19
23
  gem 'activerecord', '~> 5.0.0'
24
+ gem 'sqlite3', '< 1.4'
25
+ end
26
+
27
+ appraise 'rails51' do
28
+ gem 'activerecord', '~> 5.1.0'
29
+ gem 'sqlite3', '< 1.4'
30
+ end
31
+
32
+ appraise 'rails52' do
33
+ gem 'activerecord', '~> 5.2.0'
34
+ gem 'sqlite3', '< 1.4'
35
+ end
36
+ end
37
+
38
+ if RUBY_VERSION >= '2.6.0'
39
+ appraise 'rails60' do
40
+ gem 'activerecord', '~> 6.0.0'
20
41
  end
21
42
  end
@@ -1,5 +1,9 @@
1
1
  ## Unreleased
2
2
 
3
+ ## 0.10.0 (Aug 19, 2019)
4
+
5
+ * Rails 6.0 をサポート (PR [#33](https://github.com/chocoby/jp_prefecture/pull/33)/[@chocoby](https://github.com/chocoby))
6
+
3
7
  ## 0.9.0 (Jan 15, 2017)
4
8
 
5
9
  * Add English Readme (Issue [#21](https://github.com/chocoby/jp_prefecture/issues/21)/PR [#22](https://github.com/chocoby/jp_prefecture/pull/22)/[@PeterTeng](https://github.com/PeterTeng))
data/README.md CHANGED
@@ -5,8 +5,6 @@
5
5
  [![Gem Version](http://img.shields.io/gem/v/jp_prefecture.svg?style=flat)](https://rubygems.org/gems/jp_prefecture)
6
6
  [![Build Status](http://img.shields.io/travis/chocoby/jp_prefecture/master.svg?style=flat)](https://travis-ci.org/chocoby/jp_prefecture)
7
7
  [![Coveralls](https://img.shields.io/coveralls/chocoby/jp_prefecture.svg)](https://coveralls.io/r/chocoby/jp_prefecture)
8
- [![Code Climate](https://img.shields.io/codeclimate/github/chocoby/jp_prefecture.svg)](https://codeclimate.com/github/chocoby/jp_prefecture)
9
- [![Dependency Status](http://img.shields.io/gemnasium/chocoby/jp_prefecture.svg?style=flat)](https://gemnasium.com/chocoby/jp_prefecture)
10
8
 
11
9
  https://rubygems.org/gems/jp_prefecture
12
10
 
@@ -185,8 +183,8 @@ $ gem install jp_prefecture
185
183
 
186
184
  ## サポートしているバージョン
187
185
 
188
- * Ruby: 1.9.3 / 2.0.0 / 2.1 / 2.2 / 2.3 / 2.4
189
- * Rails: 3.2 / 4.0 / 4.1 / 4.2 / 5.0
186
+ * Ruby: 1.9.3 / 2.0 / 2.1 / 2.2 / 2.3 / 2.4 / 2.5 / 2.6
187
+ * Rails: 3.2 / 4.0 / 4.1 / 4.2 / 5.0 / 5.1 / 5.2 / 6.0
190
188
 
191
189
 
192
190
  ## Contributing
@@ -3,8 +3,6 @@
3
3
  [![Gem Version](http://img.shields.io/gem/v/jp_prefecture.svg?style=flat)](https://rubygems.org/gems/jp_prefecture)
4
4
  [![Build Status](http://img.shields.io/travis/chocoby/jp_prefecture/master.svg?style=flat)](https://travis-ci.org/chocoby/jp_prefecture)
5
5
  [![Coveralls](https://img.shields.io/coveralls/chocoby/jp_prefecture.svg)](https://coveralls.io/r/chocoby/jp_prefecture)
6
- [![Code Climate](https://img.shields.io/codeclimate/github/chocoby/jp_prefecture.svg)](https://codeclimate.com/github/chocoby/jp_prefecture)
7
- [![Dependency Status](http://img.shields.io/gemnasium/chocoby/jp_prefecture.svg?style=flat)](https://gemnasium.com/chocoby/jp_prefecture)
8
6
 
9
7
  https://rubygems.org/gems/jp_prefecture
10
8
 
@@ -184,8 +182,8 @@ $ gem install jp_prefecture
184
182
 
185
183
  ## Supports
186
184
 
187
- * Ruby: 1.9.3 / 2.0.0 / 2.1 / 2.2 / 2.3
188
- * Rails: 3.2 / 4.0 / 4.1 / 4.2 / 5.0
185
+ * Ruby: 1.9.3 / 2.0 / 2.1 / 2.2 / 2.3 / 2.4 / 2.5 / 2.6
186
+ * Rails: 3.2 / 4.0 / 4.1 / 4.2 / 5.0 / 5.1 / 5.2 / 6.0
189
187
 
190
188
 
191
189
  ## Contributing
@@ -3,5 +3,6 @@
3
3
  source "https://rubygems.org"
4
4
 
5
5
  gem "activerecord", "~> 3.2.0"
6
+ gem "sqlite3", "< 1.4"
6
7
 
7
- gemspec :path => "../"
8
+ gemspec path: "../"
@@ -3,5 +3,6 @@
3
3
  source "https://rubygems.org"
4
4
 
5
5
  gem "activerecord", "~> 4.0.0"
6
+ gem "sqlite3", "< 1.4"
6
7
 
7
- gemspec :path => "../"
8
+ gemspec path: "../"
@@ -3,5 +3,6 @@
3
3
  source "https://rubygems.org"
4
4
 
5
5
  gem "activerecord", "~> 4.1.0"
6
+ gem "sqlite3", "< 1.4"
6
7
 
7
- gemspec :path => "../"
8
+ gemspec path: "../"
@@ -3,5 +3,6 @@
3
3
  source "https://rubygems.org"
4
4
 
5
5
  gem "activerecord", "~> 4.2.0"
6
+ gem "sqlite3", "< 1.4"
6
7
 
7
- gemspec :path => "../"
8
+ gemspec path: "../"
@@ -3,5 +3,6 @@
3
3
  source "https://rubygems.org"
4
4
 
5
5
  gem "activerecord", "~> 5.0.0"
6
+ gem "sqlite3", "< 1.4"
6
7
 
7
- gemspec :path => "../"
8
+ gemspec path: "../"
@@ -0,0 +1,8 @@
1
+ # This file was generated by Appraisal
2
+
3
+ source "https://rubygems.org"
4
+
5
+ gem "activerecord", "~> 5.1.0"
6
+ gem "sqlite3", "< 1.4"
7
+
8
+ gemspec path: "../"
@@ -0,0 +1,8 @@
1
+ # This file was generated by Appraisal
2
+
3
+ source "https://rubygems.org"
4
+
5
+ gem "activerecord", "~> 5.2.0"
6
+ gem "sqlite3", "< 1.4"
7
+
8
+ gemspec path: "../"
@@ -0,0 +1,7 @@
1
+ # This file was generated by Appraisal
2
+
3
+ source "https://rubygems.org"
4
+
5
+ gem "activerecord", "~> 6.0.0"
6
+
7
+ gemspec path: "../"
@@ -16,7 +16,7 @@ Gem::Specification.new do |gem|
16
16
  gem.version = JpPrefecture::VERSION
17
17
 
18
18
  gem.add_development_dependency 'rake'
19
- gem.add_development_dependency 'rspec', '~> 3.1'
19
+ gem.add_development_dependency 'rspec'
20
20
  gem.add_development_dependency 'activerecord', '>= 3.2.0'
21
21
  gem.add_development_dependency 'sqlite3'
22
22
  gem.add_development_dependency 'coveralls'
@@ -1,3 +1,3 @@
1
1
  module JpPrefecture
2
- VERSION = '0.9.0'
2
+ VERSION = '0.10.0'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jp_prefecture
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.9.0
4
+ version: 0.10.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - chocoby
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-01-15 00:00:00.000000000 Z
11
+ date: 2019-08-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rake
@@ -28,16 +28,16 @@ dependencies:
28
28
  name: rspec
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
- - - "~>"
31
+ - - ">="
32
32
  - !ruby/object:Gem::Version
33
- version: '3.1'
33
+ version: '0'
34
34
  type: :development
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
- - - "~>"
38
+ - - ">="
39
39
  - !ruby/object:Gem::Version
40
- version: '3.1'
40
+ version: '0'
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: activerecord
43
43
  requirement: !ruby/object:Gem::Requirement
@@ -119,6 +119,9 @@ files:
119
119
  - gemfiles/rails41.gemfile
120
120
  - gemfiles/rails42.gemfile
121
121
  - gemfiles/rails50.gemfile
122
+ - gemfiles/rails51.gemfile
123
+ - gemfiles/rails52.gemfile
124
+ - gemfiles/rails60.gemfile
122
125
  - jp_prefecture.gemspec
123
126
  - lib/jp_prefecture.rb
124
127
  - lib/jp_prefecture/base.rb
@@ -153,8 +156,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
153
156
  - !ruby/object:Gem::Version
154
157
  version: '0'
155
158
  requirements: []
156
- rubyforge_project:
157
- rubygems_version: 2.6.8
159
+ rubygems_version: 3.0.1
158
160
  signing_key:
159
161
  specification_version: 4
160
162
  summary: Convert japan prefecture code into prefecture name