zodiac 0.2.1 → 0.2.2

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,4 @@
1
+ rvm:
2
+ - 1.8.7
3
+ - 1.9.2
4
+ - 1.9.3
data/README.md CHANGED
@@ -1,4 +1,5 @@
1
- # zodiac
1
+ # zodiac [![Build Status](https://secure.travis-ci.org/7even/zodiac.png)](http://travis-ci.org/7even/zodiac)
2
+
2
3
  `zodiac` is a simple gem for getting a zodiac sign from a given date of birth. It extends `Time`, `Date` and `DateTime` objects with a `#zodiac_sign` method and can also extend `ActiveRecord::Base` with several instance (delegated to some date attribute of the model object) and class methods (allowing you to search for objects with a certain zodiac sign)
3
4
 
4
5
  ## Installation
@@ -10,7 +11,7 @@ gem install zodiac
10
11
  Or, if you want to extend your rails app, add the following to the `Gemfile`:
11
12
 
12
13
  ``` ruby
13
- gem 'zodiac', '>= 0.2'
14
+ gem 'zodiac'
14
15
  ```
15
16
 
16
17
  and run `bundle install`.
@@ -97,6 +98,7 @@ rails generate zodiac:migration Person custom_sign_id
97
98
  * ru (Russian)
98
99
  * pt-BR (Brazilian Portuguese) - thanks [jeffrydegrande](https://github.com/jeffrydegrande)
99
100
  * ja (Japanese) - thanks [hamakn](https://github.com/hamakn)
101
+ * it (Italian) - thanks [lucapette](https://github.com/lucapette)
100
102
 
101
103
  ## Changelog
102
104
 
@@ -104,6 +106,7 @@ rails generate zodiac:migration Person custom_sign_id
104
106
  * 0.1.1 Added Brazilian Portuguese locale (thanks [jeffrydegrande](https://github.com/jeffrydegrande))
105
107
  * 0.2 Added ActiveRecord support (scopes, predicate methods and delegating `#zodiac_sign` to date-of-birth attribute)
106
108
  * 0.2.1 Added Japanese locale (thanks [hamakn](https://github.com/hamakn))
109
+ * 0.2.2 Added Italian locale (thanks [lucapette](https://github.com/lucapette))
107
110
 
108
111
  ## Roadmap
109
112
 
@@ -111,6 +114,8 @@ rails generate zodiac:migration Person custom_sign_id
111
114
 
112
115
  2. Other ORMs support (DataMapper, Sequel, Mongoid)
113
116
 
117
+ 3. ActiveRecord 4.0 support (extending AR::Model instead of AR::Base)
118
+
114
119
  ## Contributing
115
120
 
116
121
  Fork the repository, push your changes to a topic branch and send me a pull request.
@@ -0,0 +1,15 @@
1
+ it:
2
+ zodiac:
3
+ aries: Ariete
4
+ taurus: Toro
5
+ gemini: Gemelli
6
+ cancer: Cancro
7
+ leo: Leone
8
+ virgo: Vergine
9
+ libra: Bilancia
10
+ scorpio: Scorpione
11
+ sagittarius: Sagittario
12
+ capricorn: Capricorno
13
+ aquarius: Acquario
14
+ pisces: Pesci
15
+
@@ -1,3 +1,3 @@
1
1
  module Zodiac
2
- VERSION = '0.2.1'
2
+ VERSION = '0.2.2'
3
3
  end
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.1
4
+ version: 0.2.2
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,11 +9,11 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2011-11-17 00:00:00.000000000 Z
12
+ date: 2012-01-12 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: funtimes
16
- requirement: &70313954155060 !ruby/object:Gem::Requirement
16
+ requirement: &70239179221800 !ruby/object:Gem::Requirement
17
17
  none: false
18
18
  requirements:
19
19
  - - ! '>='
@@ -21,10 +21,10 @@ dependencies:
21
21
  version: '0'
22
22
  type: :runtime
23
23
  prerelease: false
24
- version_requirements: *70313954155060
24
+ version_requirements: *70239179221800
25
25
  - !ruby/object:Gem::Dependency
26
26
  name: i18n
27
- requirement: &70313954153940 !ruby/object:Gem::Requirement
27
+ requirement: &70239179221380 !ruby/object:Gem::Requirement
28
28
  none: false
29
29
  requirements:
30
30
  - - ! '>='
@@ -32,10 +32,10 @@ dependencies:
32
32
  version: '0'
33
33
  type: :runtime
34
34
  prerelease: false
35
- version_requirements: *70313954153940
35
+ version_requirements: *70239179221380
36
36
  - !ruby/object:Gem::Dependency
37
37
  name: rake
38
- requirement: &70313954153340 !ruby/object:Gem::Requirement
38
+ requirement: &70239179220940 !ruby/object:Gem::Requirement
39
39
  none: false
40
40
  requirements:
41
41
  - - ! '>='
@@ -43,10 +43,10 @@ dependencies:
43
43
  version: '0'
44
44
  type: :development
45
45
  prerelease: false
46
- version_requirements: *70313954153340
46
+ version_requirements: *70239179220940
47
47
  - !ruby/object:Gem::Dependency
48
48
  name: rspec
49
- requirement: &70313954152860 !ruby/object:Gem::Requirement
49
+ requirement: &70239179220520 !ruby/object:Gem::Requirement
50
50
  none: false
51
51
  requirements:
52
52
  - - ! '>='
@@ -54,10 +54,10 @@ dependencies:
54
54
  version: '0'
55
55
  type: :development
56
56
  prerelease: false
57
- version_requirements: *70313954152860
57
+ version_requirements: *70239179220520
58
58
  - !ruby/object:Gem::Dependency
59
59
  name: activerecord
60
- requirement: &70313954152100 !ruby/object:Gem::Requirement
60
+ requirement: &70239179219980 !ruby/object:Gem::Requirement
61
61
  none: false
62
62
  requirements:
63
63
  - - ~>
@@ -65,10 +65,10 @@ dependencies:
65
65
  version: '3'
66
66
  type: :development
67
67
  prerelease: false
68
- version_requirements: *70313954152100
68
+ version_requirements: *70239179219980
69
69
  - !ruby/object:Gem::Dependency
70
70
  name: sqlite3
71
- requirement: &70313954151680 !ruby/object:Gem::Requirement
71
+ requirement: &70239179241880 !ruby/object:Gem::Requirement
72
72
  none: false
73
73
  requirements:
74
74
  - - ! '>='
@@ -76,10 +76,10 @@ dependencies:
76
76
  version: '0'
77
77
  type: :development
78
78
  prerelease: false
79
- version_requirements: *70313954151680
79
+ version_requirements: *70239179241880
80
80
  - !ruby/object:Gem::Dependency
81
81
  name: pry
82
- requirement: &70313954150940 !ruby/object:Gem::Requirement
82
+ requirement: &70239179240540 !ruby/object:Gem::Requirement
83
83
  none: false
84
84
  requirements:
85
85
  - - ! '>='
@@ -87,10 +87,10 @@ dependencies:
87
87
  version: '0'
88
88
  type: :development
89
89
  prerelease: false
90
- version_requirements: *70313954150940
90
+ version_requirements: *70239179240540
91
91
  - !ruby/object:Gem::Dependency
92
92
  name: awesome_print
93
- requirement: &70313954150320 !ruby/object:Gem::Requirement
93
+ requirement: &70239179239500 !ruby/object:Gem::Requirement
94
94
  none: false
95
95
  requirements:
96
96
  - - ! '>='
@@ -98,7 +98,7 @@ dependencies:
98
98
  version: '0'
99
99
  type: :development
100
100
  prerelease: false
101
- version_requirements: *70313954150320
101
+ version_requirements: *70239179239500
102
102
  description: Adds methods for getting a zodiac sign from any Date/Time object containing
103
103
  a date of birth, and can also extend ActiveRecord::Base adding some handy instance
104
104
  and class methods (for searching by a given zodiac sign and more).
@@ -109,6 +109,7 @@ extensions: []
109
109
  extra_rdoc_files: []
110
110
  files:
111
111
  - .gitignore
112
+ - .travis.yml
112
113
  - Gemfile
113
114
  - README.md
114
115
  - Rakefile
@@ -117,6 +118,7 @@ files:
117
118
  - lib/generators/zodiac/migration/templates/migration30.rb.erb
118
119
  - lib/generators/zodiac/migration/templates/migration31.rb.erb
119
120
  - lib/locales/en.yml
121
+ - lib/locales/it.yml
120
122
  - lib/locales/ja.yml
121
123
  - lib/locales/pt-BR.yml
122
124
  - lib/locales/ru.yml
@@ -148,7 +150,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
148
150
  version: '0'
149
151
  segments:
150
152
  - 0
151
- hash: 2762809061880016006
153
+ hash: 281833086433525402
152
154
  required_rubygems_version: !ruby/object:Gem::Requirement
153
155
  none: false
154
156
  requirements:
@@ -157,7 +159,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
157
159
  version: '0'
158
160
  segments:
159
161
  - 0
160
- hash: 2762809061880016006
162
+ hash: 281833086433525402
161
163
  requirements: []
162
164
  rubyforge_project:
163
165
  rubygems_version: 1.8.10