lunartic 0.1.0 → 0.2.0
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 +3 -1
- data/lib/lunartic.rb +2 -0
- data/lib/lunartic/version.rb +1 -1
- metadata +2 -2
data/README.md
CHANGED
|
@@ -1,4 +1,6 @@
|
|
|
1
1
|
# Lunartic
|
|
2
|
+
[](http://badge.fury.io/rb/lunartic)
|
|
3
|
+
[](https://codeclimate.com/github/brianokeefe/lunartic)
|
|
2
4
|
|
|
3
5
|
Calculate the approximate phase of the moon on a given date.
|
|
4
6
|
|
|
@@ -27,7 +29,7 @@ irb(main):001:0> require 'lunartic'
|
|
|
27
29
|
=> true
|
|
28
30
|
|
|
29
31
|
# get moon data for today
|
|
30
|
-
irb(main):002:0> moon = Lunartic.
|
|
32
|
+
irb(main):002:0> moon = Lunartic.today
|
|
31
33
|
=> #<Lunartic::Moon:0x007fa5028e4dc0 @date=#<Date: 2014-06-25 ((2456834j,0s,0n),+0s,2299161j)>>
|
|
32
34
|
irb(main):003:0> moon.day
|
|
33
35
|
=> 27
|
data/lib/lunartic.rb
CHANGED
data/lib/lunartic/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: lunartic
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.2.0
|
|
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: 2014-06-
|
|
12
|
+
date: 2014-06-28 00:00:00.000000000 Z
|
|
13
13
|
dependencies:
|
|
14
14
|
- !ruby/object:Gem::Dependency
|
|
15
15
|
name: rspec
|