sunriseset 0.9.0 → 0.9.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. data/lib/sunriseset.rb +3 -3
  2. data/test/manualtest.rb +1 -0
  3. metadata +1 -1
data/lib/sunriseset.rb CHANGED
@@ -7,7 +7,7 @@ require 'date'
7
7
  #and .vb versions too.
8
8
  #All had the same comments, so are of a common origin.
9
9
  class SunRiseSet
10
- VERSION = '0.9.0'
10
+ VERSION = '0.9.1'
11
11
 
12
12
  #because I live here
13
13
  LATITUDE_DEFAULT= -(36.0 + 59.0/60.0 + 27.60/3600)
@@ -148,7 +148,7 @@ class SunRiseSet
148
148
  newjd = findNextSunrise(@julian_day, @latitude, @longitude)
149
149
  @sunrise = calcSunriseUTC(newjd) + @zone
150
150
  else
151
- raise("Cannot Find Sunrise!")
151
+ raise "Cannot Find Sunrise!"
152
152
  end
153
153
 
154
154
  end
@@ -169,7 +169,7 @@ class SunRiseSet
169
169
  newjd = findRecentSunset(@julian_day, @latitude, @longitude)
170
170
  @sunset = calcSunsetUTC(newjd) + @zone
171
171
  else
172
- raise ("Cannot Find Sunset!")
172
+ raise "Cannot Find Sunset!"
173
173
  end
174
174
  end
175
175
  end
data/test/manualtest.rb CHANGED
@@ -1,6 +1,7 @@
1
1
  #!/usr/local/bin/ruby
2
2
 
3
3
  require '../lib/sunriseset.rb'
4
+ #require 'sunriseset'
4
5
 
5
6
  puts SunRiseSet.now
6
7
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sunriseset
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.9.0
4
+ version: 0.9.1
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: