prefecture_jp 0.1.0 → 0.1.1
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 +4 -4
- data/README.md +5 -2
- data/data/prefectures.json +1 -1
- data/lib/prefecture_jp/version.rb +1 -1
- data/prefecture_jp.gemspec +2 -2
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 90481314e0cf730d68bedc9c5dca533df9cc81e9
|
4
|
+
data.tar.gz: 66577ddf1f153ba54b1dca86d241b0e440f96f90
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e762cb7ba95ec90282dc085a38c55ccafd55dab4a625348fbdcfdc96c4be68177e9d9e1fceada4a9f6aa7832f7858977277e7347dbbc1d64269cb6278533cca4
|
7
|
+
data.tar.gz: 800633b569ea392e420c46b619c30bd451a0a422ac7a0cc53bc64f69485daa0b4f542d5539e636a690bd3351ad6597395f0237d74ed8ef61321d2894ad5d186a
|
data/README.md
CHANGED
@@ -1,6 +1,8 @@
|
|
1
1
|
# PrefectureJp
|
2
2
|
|
3
|
-
|
3
|
+
[](https://badge.fury.io/rb/prefecture_jp)
|
4
|
+
|
5
|
+
A source for data about Japanese prefectures.
|
4
6
|
Area and population are from [here](http://www.e-stat.go.jp/SG1/estat/GL08020103.do?_toGL08020103_&tclassID=000001068779&cycleCode=0&requestSender=search).
|
5
7
|
|
6
8
|
## Installation
|
@@ -21,7 +23,7 @@ Or install it yourself as:
|
|
21
23
|
|
22
24
|
## Usage
|
23
25
|
|
24
|
-
####
|
26
|
+
#### Japanese prefectures
|
25
27
|
|
26
28
|
List all prefectures.
|
27
29
|
|
@@ -50,6 +52,7 @@ kyushu = PrefectureJp::Prefecture.kyushu
|
|
50
52
|
```
|
51
53
|
|
52
54
|
Find a specific prefecture.
|
55
|
+
|
53
56
|
```ruby
|
54
57
|
tokyo = PrefectureJp::Prefecture.find_by_prefecture_code(13)
|
55
58
|
|
data/data/prefectures.json
CHANGED
data/prefecture_jp.gemspec
CHANGED
@@ -9,8 +9,8 @@ Gem::Specification.new do |spec|
|
|
9
9
|
spec.authors = ["Ko Kumagai"]
|
10
10
|
spec.email = ["ko.kumagai.ko@gmail.com"]
|
11
11
|
|
12
|
-
spec.summary = %q{A source for data about Jpanese
|
13
|
-
spec.description = %q{A source for data about Jpanese
|
12
|
+
spec.summary = %q{A source for data about Jpanese prefectures.}
|
13
|
+
spec.description = %q{A source for data about Jpanese prefectures.}
|
14
14
|
spec.homepage = "https://github.com/KoKumagai/prefecture_jp"
|
15
15
|
spec.license = "MIT"
|
16
16
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: prefecture_jp
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ko Kumagai
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-
|
11
|
+
date: 2016-07-14 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -66,7 +66,7 @@ dependencies:
|
|
66
66
|
- - "~>"
|
67
67
|
- !ruby/object:Gem::Version
|
68
68
|
version: 1.8.3
|
69
|
-
description: A source for data about Jpanese
|
69
|
+
description: A source for data about Jpanese prefectures.
|
70
70
|
email:
|
71
71
|
- ko.kumagai.ko@gmail.com
|
72
72
|
executables: []
|
@@ -111,5 +111,5 @@ rubyforge_project:
|
|
111
111
|
rubygems_version: 2.5.1
|
112
112
|
signing_key:
|
113
113
|
specification_version: 4
|
114
|
-
summary: A source for data about Jpanese
|
114
|
+
summary: A source for data about Jpanese prefectures.
|
115
115
|
test_files: []
|