zodiac 0.2.4 → 0.2.5
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.
- data/README.md +2 -0
- data/Rakefile +1 -1
- data/lib/locales/de.yml +14 -0
- data/lib/locales/en.yml +0 -1
- data/lib/locales/es.yml +0 -1
- data/lib/locales/it.yml +0 -1
- data/lib/locales/ja.yml +0 -1
- data/lib/locales/pt-BR.yml +0 -1
- data/lib/locales/ru.yml +0 -1
- data/lib/zodiac/version.rb +1 -1
- data/zodiac.gemspec +1 -1
- metadata +6 -10
data/README.md
CHANGED
|
@@ -100,6 +100,7 @@ rails generate zodiac:migration Person custom_sign_id
|
|
|
100
100
|
* ja (Japanese) - thanks [hamakn](https://github.com/hamakn)
|
|
101
101
|
* it (Italian) - thanks [lucapette](https://github.com/lucapette)
|
|
102
102
|
* es (Spanish) - thanks [jazminschroeder](https://github.com/jazminschroeder)
|
|
103
|
+
* de (German) - thanks [contradictioned](https://github.com/contradictioned)
|
|
103
104
|
|
|
104
105
|
## Changelog
|
|
105
106
|
|
|
@@ -110,6 +111,7 @@ rails generate zodiac:migration Person custom_sign_id
|
|
|
110
111
|
* 0.2.2 Added Italian locale (thanks [lucapette](https://github.com/lucapette))
|
|
111
112
|
* 0.2.3 Added Spanish locale (thanks [jazminschroeder](https://github.com/jazminschroeder))
|
|
112
113
|
* 0.2.4 Correct leap-year dates handling (thanks [BastienDuplessier](https://github.com/BastienDuplessier))
|
|
114
|
+
* 0.2.5 Added German locale (thanks [contradictioned](https://github.com/contradictioned))
|
|
113
115
|
|
|
114
116
|
## Roadmap
|
|
115
117
|
|
data/Rakefile
CHANGED
|
@@ -4,7 +4,7 @@ Bundler::GemHelper.install_tasks
|
|
|
4
4
|
|
|
5
5
|
desc 'Fires up the console with preloaded zodiac (and active_record)'
|
|
6
6
|
task :console do
|
|
7
|
-
sh 'pry -I ./lib
|
|
7
|
+
sh 'pry -I ./lib -r active_record -r ./lib/zodiac'
|
|
8
8
|
end
|
|
9
9
|
|
|
10
10
|
RSpec::Core::RakeTask.new do |t|
|
data/lib/locales/de.yml
ADDED
data/lib/locales/en.yml
CHANGED
data/lib/locales/es.yml
CHANGED
data/lib/locales/it.yml
CHANGED
data/lib/locales/ja.yml
CHANGED
data/lib/locales/pt-BR.yml
CHANGED
data/lib/locales/ru.yml
CHANGED
data/lib/zodiac/version.rb
CHANGED
data/zodiac.gemspec
CHANGED
|
@@ -8,7 +8,7 @@ Gem::Specification.new do |s|
|
|
|
8
8
|
s.platform = Gem::Platform::RUBY
|
|
9
9
|
s.authors = ['Vsevolod Romashov']
|
|
10
10
|
s.email = ['7@7vn.ru']
|
|
11
|
-
s.homepage = '
|
|
11
|
+
s.homepage = 'http://7even.github.com/zodiac'
|
|
12
12
|
s.summary = %q{Zodiac sign calculator for any date}
|
|
13
13
|
s.description = %q{Adds methods for getting a zodiac sign from any Date/Time object containing a date of birth, and can also extend ActiveRecord::Base adding some handy instance and class methods (for searching by a given zodiac sign and more).}
|
|
14
14
|
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
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.5
|
|
5
5
|
prerelease:
|
|
6
6
|
platform: ruby
|
|
7
7
|
authors:
|
|
@@ -9,7 +9,7 @@ authors:
|
|
|
9
9
|
autorequire:
|
|
10
10
|
bindir: bin
|
|
11
11
|
cert_chain: []
|
|
12
|
-
date: 2012-
|
|
12
|
+
date: 2012-10-27 00:00:00.000000000 Z
|
|
13
13
|
dependencies:
|
|
14
14
|
- !ruby/object:Gem::Dependency
|
|
15
15
|
name: funtimes
|
|
@@ -157,6 +157,7 @@ files:
|
|
|
157
157
|
- lib/generators/zodiac/migration/migration_generator.rb
|
|
158
158
|
- lib/generators/zodiac/migration/templates/migration30.rb.erb
|
|
159
159
|
- lib/generators/zodiac/migration/templates/migration31.rb.erb
|
|
160
|
+
- lib/locales/de.yml
|
|
160
161
|
- lib/locales/en.yml
|
|
161
162
|
- lib/locales/es.yml
|
|
162
163
|
- lib/locales/it.yml
|
|
@@ -177,7 +178,7 @@ files:
|
|
|
177
178
|
- spec/zodiac/date_spec.rb
|
|
178
179
|
- spec/zodiac/finder_spec.rb
|
|
179
180
|
- zodiac.gemspec
|
|
180
|
-
homepage:
|
|
181
|
+
homepage: http://7even.github.com/zodiac
|
|
181
182
|
licenses: []
|
|
182
183
|
post_install_message:
|
|
183
184
|
rdoc_options: []
|
|
@@ -189,21 +190,15 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
|
189
190
|
- - ! '>='
|
|
190
191
|
- !ruby/object:Gem::Version
|
|
191
192
|
version: '0'
|
|
192
|
-
segments:
|
|
193
|
-
- 0
|
|
194
|
-
hash: -4059519860960151760
|
|
195
193
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
196
194
|
none: false
|
|
197
195
|
requirements:
|
|
198
196
|
- - ! '>='
|
|
199
197
|
- !ruby/object:Gem::Version
|
|
200
198
|
version: '0'
|
|
201
|
-
segments:
|
|
202
|
-
- 0
|
|
203
|
-
hash: -4059519860960151760
|
|
204
199
|
requirements: []
|
|
205
200
|
rubyforge_project:
|
|
206
|
-
rubygems_version: 1.8.
|
|
201
|
+
rubygems_version: 1.8.23
|
|
207
202
|
signing_key:
|
|
208
203
|
specification_version: 3
|
|
209
204
|
summary: Zodiac sign calculator for any date
|
|
@@ -216,3 +211,4 @@ test_files:
|
|
|
216
211
|
- spec/zodiac/activerecord_spec.rb
|
|
217
212
|
- spec/zodiac/date_spec.rb
|
|
218
213
|
- spec/zodiac/finder_spec.rb
|
|
214
|
+
has_rdoc:
|