japan_zipcode 0.1.0 → 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +12 -12
- data/app/models/japan_city.rb +1 -1
- data/lib/japan_zipcode/version.rb +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: 04ef7d7d232ee0b8f108fcad5893b36b86d3291a
|
4
|
+
data.tar.gz: 0ff2930f77c20d4ae6352920fc256b01ee895aab
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9e47c60d9522cfdcc02bbe45133b75d83bd22395cf04ed9ddb8a843aba3f6fdf29f7bb4246c8ef2e8b92ef5a0cc8d050f0ef76bffb7f476b4c5883d43c4c240c
|
7
|
+
data.tar.gz: 85b91b69e9e396a290e747c4878bdaf70e0dd82059c55d7faf6448a458572b113b600513f87361e4728acdc6a90dc46a8b651c05047a69b916683517338a0f54
|
data/README.md
CHANGED
@@ -1,28 +1,28 @@
|
|
1
1
|
# JapanZipcode
|
2
|
-
Short description and motivation.
|
3
2
|
|
4
|
-
|
5
|
-
How to use my plugin.
|
3
|
+
[![Gem Version](https://badge.fury.io/rb/japan_zipcode.svg)](https://badge.fury.io/rb/japan_zipcode)
|
6
4
|
|
7
|
-
##
|
8
|
-
Add this line to your application's Gemfile:
|
5
|
+
## Usage
|
9
6
|
|
10
7
|
```ruby
|
11
8
|
gem 'japan_zipcode'
|
12
9
|
```
|
13
10
|
|
14
|
-
|
11
|
+
and run `bundle install`
|
12
|
+
|
13
|
+
Generate Migrations:
|
14
|
+
|
15
15
|
```bash
|
16
|
-
$
|
16
|
+
$ rake japan_zipcode:install:migrations
|
17
17
|
```
|
18
18
|
|
19
|
-
|
19
|
+
and run `rails db:migrate`
|
20
|
+
|
21
|
+
Fill data:
|
22
|
+
|
20
23
|
```bash
|
21
|
-
$
|
24
|
+
$ rake japan_zipcode_data
|
22
25
|
```
|
23
26
|
|
24
|
-
## Contributing
|
25
|
-
Contribution directions go here.
|
26
|
-
|
27
27
|
## License
|
28
28
|
The gem is available as open source under the terms of the [MIT License](http://opensource.org/licenses/MIT).
|
data/app/models/japan_city.rb
CHANGED
@@ -1,2 +1,2 @@
|
|
1
|
-
class JapanCity <
|
1
|
+
class JapanCity < ActiveRecord::Base
|
2
2
|
end
|