horoscope 0.0.3a → 0.0.3
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 -18
- data/lib/horoscope/version.rb +1 -1
- metadata +4 -5
- data/.travis.yml +0 -4
data/README.md
CHANGED
@@ -1,15 +1,13 @@
|
|
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.
|
4
|
-
|
5
|
-
[](https://codeclimate.com/github/bragboy/horoscope)
|
3
|
+
Calculate the accurate horoscope of a person using Vedic Horoscope technique given the birth time and birth place of the subject.
|
6
4
|
|
7
5
|
## Installation
|
8
6
|
|
9
7
|
Add this line to your application's Gemfile:
|
10
8
|
|
11
9
|
gem 'horoscope'
|
12
|
-
|
10
|
+
|
13
11
|
And then execute:
|
14
12
|
|
15
13
|
$ bundle
|
@@ -17,15 +15,6 @@ And then execute:
|
|
17
15
|
Or install it yourself as:
|
18
16
|
|
19
17
|
$ 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}
|
29
18
|
|
30
19
|
|
31
20
|
## Contributing
|
@@ -35,8 +24,3 @@ Then you can start using this by passing a Time object along with latitude and l
|
|
35
24
|
3. Commit your changes (`git commit -am 'Add some feature'`)
|
36
25
|
4. Push to the branch (`git push origin my-new-feature`)
|
37
26
|
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,8 +1,8 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: horoscope
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
5
|
-
prerelease:
|
4
|
+
version: 0.0.3
|
5
|
+
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
8
8
|
- bragboy
|
@@ -36,7 +36,6 @@ extra_rdoc_files: []
|
|
36
36
|
files:
|
37
37
|
- .gitignore
|
38
38
|
- .rspec
|
39
|
-
- .travis.yml
|
40
39
|
- Gemfile
|
41
40
|
- LICENSE.txt
|
42
41
|
- README.md
|
@@ -71,9 +70,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
71
70
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
72
71
|
none: false
|
73
72
|
requirements:
|
74
|
-
- - ! '
|
73
|
+
- - ! '>='
|
75
74
|
- !ruby/object:Gem::Version
|
76
|
-
version:
|
75
|
+
version: '0'
|
77
76
|
requirements: []
|
78
77
|
rubyforge_project:
|
79
78
|
rubygems_version: 1.8.25
|
data/.travis.yml
DELETED