zodiac 0.2.7 → 0.2.8

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
2
  SHA1:
3
- metadata.gz: 164dfe801d088018440c262ddeb47e7468394f60
4
- data.tar.gz: bdf43d66fc4fa388cf1e5d6091c5cb4dd4133ab2
3
+ metadata.gz: 0b6b26ad5faca056d5172957d718dfe1a662895c
4
+ data.tar.gz: 08cc49094a39f0366472937bfa2db1f9714e0fad
5
5
  SHA512:
6
- metadata.gz: 2fab9c39c04aea506e35ab7a762ff92a42fb8744e2ed439bf611bd6103bc8995ea02a0d0a433648a3dd6b274d96c32fc9b7a05a3cfeddfa31756a06eb483a05c
7
- data.tar.gz: a47df25dc5b50ee0c1b6584b389f87a0757c8ceab52c4dd0567ef3d9d6bf28aed19707d0c2e4971f046dc21c41807491d613cd5a1ee88b91eb407fbd44c310bc
6
+ metadata.gz: 81e626c22ab4e911c588fe0c6c653bbe16b0ffb29ee321e62ff3850c8865d9ba0af62d6dcf963ebc4052e86c6bc0830e81ceeb1d44151ddd823af18a9b670f5d
7
+ data.tar.gz: 30b8ed125ca449bb50df3685e99eb84028d2b6b2efc085ea16ab596b6f1653185e503da457cfd9b54b669911e14a4259e8f7ccd79c373ec76f72c803ee7ef50a
data/README.md CHANGED
@@ -104,6 +104,7 @@ rails generate zodiac:migration Person custom_sign_id
104
104
  * zh-CN (Chinese) - thanks [lufeihaidao](https://github.com/lufeihaidao)
105
105
  * fr (French) - thanks [Belibaste](https://github.com/Belibaste)
106
106
  * lv (Latvian) - thanks [ExClouds](https://github.com/ExClouds)
107
+ * zh-TW (Traditional Chinese) - thanks [Dylan0203](https://github.com/Dylan0203)
107
108
 
108
109
  ## Changelog
109
110
 
@@ -117,6 +118,7 @@ rails generate zodiac:migration Person custom_sign_id
117
118
  * 0.2.5 Added German locale (thanks [contradictioned](https://github.com/contradictioned)).
118
119
  * 0.2.6 Added rails 4.0 support (thanks [travisp](https://github.com/travisp)).
119
120
  * 0.2.7 Added Chinese, French & Latvian locales, added `Zodiac::Date#zodiac_sign_symbol`.
121
+ * 0.2.8 Added Traditional Chinese locale (thanks [Dylan0203](https://github.com/Dylan0203)).
120
122
 
121
123
  ## Roadmap
122
124
 
@@ -4,7 +4,7 @@ class <%= migration_classname %> < ActiveRecord::Migration
4
4
  add_column :<%= table_name %>, :<%= sign_attribute.underscore %>, :integer
5
5
  add_index :<%= table_name %>, :<%= sign_attribute.underscore %>
6
6
 
7
- <%= model_classname %>.all.each do |<%= model_name.underscore.singularize %>|
7
+ <%= model_classname %>.find_each do |<%= model_name.underscore.singularize %>|
8
8
  <%= model_name.underscore.singularize %>.send(:update_sign_id)
9
9
  <%= model_name.underscore.singularize %>.save
10
10
  end
@@ -0,0 +1,14 @@
1
+ zh-TW:
2
+ zodiac:
3
+ aries: 牡羊座
4
+ taurus: 金牛座
5
+ gemini: 雙子座
6
+ cancer: 巨蠍座
7
+ leo: 獅子座
8
+ virgo: 處女座
9
+ libra: 天秤座
10
+ scorpio: 天蠍座
11
+ sagittarius: 射手座
12
+ capricorn: 魔羯座
13
+ aquarius: 水瓶座
14
+ pisces: 雙魚座
@@ -1,3 +1,3 @@
1
1
  module Zodiac
2
- VERSION = '0.2.7'
2
+ VERSION = '0.2.8'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: zodiac
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.7
4
+ version: 0.2.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - Vsevolod Romashov
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-12-27 00:00:00.000000000 Z
11
+ date: 2016-10-02 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: funtimes
@@ -150,6 +150,7 @@ files:
150
150
  - lib/locales/pt-BR.yml
151
151
  - lib/locales/ru.yml
152
152
  - lib/locales/zh-CN.yml
153
+ - lib/locales/zh-TW.yml
153
154
  - lib/zodiac.rb
154
155
  - lib/zodiac/activerecord.rb
155
156
  - lib/zodiac/date.rb
@@ -183,7 +184,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
183
184
  version: '0'
184
185
  requirements: []
185
186
  rubyforge_project:
186
- rubygems_version: 2.2.2
187
+ rubygems_version: 2.5.1
187
188
  signing_key:
188
189
  specification_version: 4
189
190
  summary: Zodiac sign calculator for any date
@@ -196,4 +197,3 @@ test_files:
196
197
  - spec/zodiac/activerecord_spec.rb
197
198
  - spec/zodiac/date_spec.rb
198
199
  - spec/zodiac/finder_spec.rb
199
- has_rdoc: