horoscope 0.0.3 → 0.0.4
Sign up to get free protection for your applications and to get access to all the features.
- data/.travis.yml +4 -0
- data/README.md +18 -2
- data/lib/horoscope/version.rb +1 -1
- metadata +2 -1
data/.travis.yml
ADDED
data/README.md
CHANGED
@@ -1,13 +1,15 @@
|
|
1
1
|
# Horoscope
|
2
2
|
|
3
|
-
Calculate the accurate horoscope of a person using Vedic Horoscope technique given the birth time and birth place of the subject.
|
3
|
+
Calculate the accurate horoscope of a person using Vedic Horoscope technique given the birth time and birth place of the subject. The gem is available at https://rubygems.org/gems/horoscope
|
4
|
+
|
5
|
+
[![Code Climate](https://codeclimate.com/github/bragboy/horoscope.png)](https://codeclimate.com/github/bragboy/horoscope)
|
4
6
|
|
5
7
|
## Installation
|
6
8
|
|
7
9
|
Add this line to your application's Gemfile:
|
8
10
|
|
9
11
|
gem 'horoscope'
|
10
|
-
|
12
|
+
|
11
13
|
And then execute:
|
12
14
|
|
13
15
|
$ bundle
|
@@ -15,6 +17,15 @@ And then execute:
|
|
15
17
|
Or install it yourself as:
|
16
18
|
|
17
19
|
$ gem install horoscope
|
20
|
+
|
21
|
+
Then you can start using this by passing a Time object along with latitude and longitude
|
22
|
+
|
23
|
+
#To calculate Sachin Tendulkar's horoscope
|
24
|
+
h = Horoscope::Horo.new(
|
25
|
+
:datetime => Time.mktime(1973, 4, 24, 14, 25).getlocal("+05:30"),
|
26
|
+
:lat => 18.60, :lon => -72.50)
|
27
|
+
h.compute
|
28
|
+
=> {"As"=>4, "Su"=>0, "Mo"=>8, "Ma"=>9, "Me"=>11, "Ju"=>9, "Ve"=>0, "Sa"=>1, "Ra"=>8, "Ke"=>2}
|
18
29
|
|
19
30
|
|
20
31
|
## Contributing
|
@@ -24,3 +35,8 @@ Or install it yourself as:
|
|
24
35
|
3. Commit your changes (`git commit -am 'Add some feature'`)
|
25
36
|
4. Push to the branch (`git push origin my-new-feature`)
|
26
37
|
5. Create new Pull Request
|
38
|
+
|
39
|
+
|
40
|
+
## Future Development
|
41
|
+
|
42
|
+
I am currently adding features to generate charts (both South and North Indian). Also show more data like Birth Star, Dasha Directions etc., Follow this page for more updates
|
data/lib/horoscope/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: horoscope
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.4
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -36,6 +36,7 @@ extra_rdoc_files: []
|
|
36
36
|
files:
|
37
37
|
- .gitignore
|
38
38
|
- .rspec
|
39
|
+
- .travis.yml
|
39
40
|
- Gemfile
|
40
41
|
- LICENSE.txt
|
41
42
|
- README.md
|