zodiac 0.2.7 → 0.2.8
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +2 -0
- data/lib/generators/zodiac/migration/templates/migration31.rb.erb +1 -1
- data/lib/locales/zh-TW.yml +14 -0
- data/lib/zodiac/version.rb +1 -1
- 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: 0b6b26ad5faca056d5172957d718dfe1a662895c
|
4
|
+
data.tar.gz: 08cc49094a39f0366472937bfa2db1f9714e0fad
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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 %>.
|
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
|
data/lib/zodiac/version.rb
CHANGED
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.
|
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:
|
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.
|
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:
|