usno-imagery 0.1.3 → 0.1.4

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 2f654cefba23e4a353a4c83f41334f0e0e59ed4c
4
- data.tar.gz: 18e3bc626eb939f31c4533b74f119825d7d80a89
3
+ metadata.gz: 5f7121f3460f626be9bc6a4f4f0af0cd8649305f
4
+ data.tar.gz: 9e49d1eacf646f313138f33935ebb45360ba2269
5
5
  SHA512:
6
- metadata.gz: 41617555b39d85c5cea44a75db1d6b10ef922c2d060ba81344b332e9d3c0240711df8d15934282161112372ed4cfb66b6e44c3027204a05a51514f653ddcfa43
7
- data.tar.gz: 968a73b0db6d2df7b7bfa87dfa2bb6f9e9fecd23ed0ca7169450b8acca9a9d239474a05fc25e4a1255dbd7c3a8f5a784a0cddfa17023acf5ddb59eb772b61b04
6
+ metadata.gz: 000bd91a14c801b6beb7673882df81e45980baf5bc6cdda05ff2d197cbb77f3d806195c89ae2d464c7cde6f79e919b653eb4f4f442ccc68764fcc339bf896a34
7
+ data.tar.gz: c2eddd42502022549d3e8ea7ea500c8569bd3ad15bd3596b6c639748c8919edd52bb26c5d7012946704258e5f26d0caef1b966c198d22185bdad4e0e91f3aa82
data/README.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # USNO::Imagery [![Code Climate](https://codeclimate.com/github/rthbound/usno-imagery.png)](https://codeclimate.com/github/rthbound/usno-imagery)[![Coverage Status](https://coveralls.io/repos/rthbound/usno-imagery/badge.png?branch=master)](https://coveralls.io/r/rthbound/usno-imagery?branch=master)[![Build Status](https://travis-ci.org/rthbound/usno-imagery.png?branch=master)](https://travis-ci.org/rthbound/usno-imagery)
2
2
 
3
- Builds URLs for consuming USNO's imagery data services. Example:
3
+ Builds URLs for consuming USNO's imagery data services. These services provide synthetic views of earth and other selected solar system bodies, e.g.
4
4
 
5
5
  ![Earth at sunrise](https://github.com/rthbound/usno-imagery/blob/master/samples/rise?raw=true)
6
6
 
@@ -25,71 +25,77 @@ Or install it yourself as:
25
25
  The earth namespace will contain classes for viewing USNO's earth images.
26
26
 
27
27
  ```ruby
28
- # For an image of the entire earth (Mercator projection) with day / night
28
+ # Mercator projection showing day / night (at any given time)
29
29
  USNO::Imagery::Earth::Map.new(time: Time.now).call.data
30
30
  #=> "http://api.usno.navy.mil/imagery/earth.png?view=full&date=11/17/2013&time=1:11"
31
31
 
32
- # For an image of the earth as seen from the sun
32
+ # A spherical view of Earth as seen from the sun (at any given time)
33
33
  USNO::Imagery::Earth::Sun.new(time: Time.now).call.data
34
34
  #=> "http://api.usno.navy.mil/imagery/earth.png?view=sun&date=11/17/2013&time=1:13"
35
35
 
36
- # For an image of the earth as seen from the moon
36
+ # A spherical view of Earth as seen from the moon (at any given time)
37
37
  USNO::Imagery::Earth::Moon.new(time: Time.now).call.data
38
38
  #=> "http://api.usno.navy.mil/imagery/earth.png?view=moon&date=11/17/2013&time=1:12"
39
39
 
40
- # For an image of the entire earth at sunrise
40
+ # Earth at sunrise
41
41
  USNO::Imagery::Earth::Rise.new.call.data
42
42
  #=> "http://api.usno.navy.mil/imagery/earth.png?view=rise"
43
43
 
44
- # For an image of the entire earth at sunset
44
+ # Earth at sunset
45
45
  USNO::Imagery::Earth::Set.new.call.data
46
46
  #=> "http://api.usno.navy.mil/imagery/earth.png?view=set"
47
47
  ```
48
48
 
49
- #### Other USNO::Imagery libraries
49
+ #### Other celestial bodies
50
+
51
+ Synthetic views of all celestial bodies can be fetched for any time between 1700 & 2100 A.D.
50
52
 
51
53
  ```ruby
52
- # For an image of our Moon at any time between 1700 & 2100 A.D.
54
+ # Our Moon
53
55
  USNO::Imagery::Moon.new(time: Time.now).call.data
54
56
  #=> "http://api.usno.navy.mil/imagery/moon.png?date=11/17/2013&time=1:13"
55
57
 
56
- # For an image of Mercury at any time between 1700 & 2100 A.D.
58
+ # Mercury
57
59
  USNO::Imagery::Mercury.new(time: Time.now).call.data
58
60
  #=> "http://api.usno.navy.mil/imagery/mercury.png?date=11/17/2013&time=1:13"
59
61
 
60
- # For an image of Venus at any time between 1700 & 2100 A.D.
62
+ # Venus
61
63
  USNO::Imagery::Venus.new(time: Time.now).call.data
62
64
  #=> "http://api.usno.navy.mil/imagery/venus.png?date=11/17/2013&time=1:13"
63
65
 
64
- # For a radar image of Venus at any time between 1700 & 2100 A.D.
66
+ # For a radar image of Venus
65
67
  USNO::Imagery::Venus.new(time: Time.now, radar: true).call.data
66
68
  #=> "http://api.usno.navy.mil/imagery/venus-radar.png?date=11/17/2013&time=1:13"
67
69
 
68
- # For an image of Mars at any time between 1700 & 2100 A.D.
70
+ # Mars
69
71
  USNO::Imagery::Mars.new(time: Time.now).call.data
70
72
  #=> "http://api.usno.navy.mil/imagery/mars.png?date=11/17/2013&time=1:13"
71
73
 
72
- # For an image of Jupiter at any time between 1700 & 2100 A.D.
74
+ # Jupiter
73
75
  USNO::Imagery::Jupiter.new(time: Time.now).call.data
74
76
  #=> "http://api.usno.navy.mil/imagery/jupiter.png?date=11/17/2013&time=1:13"
75
77
 
76
- # For an image of Jupiter's moon Io at any time between 1700 & 2100 A.D.
78
+ # Jupiter's moon Io
77
79
  USNO::Imagery::Io.new(time: Time.now).call.data
78
80
  #=> "http://api.usno.navy.mil/imagery/io.png?date=11/17/2013&time=1:13"
79
81
 
80
- # For an image of Jupiter's moon Europa at any time between 1700 & 2100 A.D.
82
+ # Jupiter's moon Europa
81
83
  USNO::Imagery::Europa.new(time: Time.now).call.data
82
84
  #=> "http://api.usno.navy.mil/imagery/europa.png?date=11/17/2013&time=1:13"
83
85
 
84
- # For an image of Jupiter's moon Ganymede at any time between 1700 & 2100 A.D.
86
+ # Jupiter's moon Ganymede
85
87
  USNO::Imagery::Ganymede.new(time: Time.now).call.data
86
88
  #=> "http://api.usno.navy.mil/imagery/ganymede.png?date=11/17/2013&time=1:13"
87
89
 
88
- # For an image of Jupiter's moon Callisto at any time between 1700 & 2100 A.D.
90
+ # Jupiter's moon Callisto
89
91
  USNO::Imagery::Callisto.new(time: Time.now).call.data
90
92
  #=> "http://api.usno.navy.mil/imagery/callisto.png?date=11/17/2013&time=1:13"
91
93
  ```
92
94
 
95
+ ## Other USNO libraries
96
+
97
+ [usno-transit](http://github.com/rthbound/usno-transit) provides times of rise, set, and transit for major solar system bodies and selected bright stars. The output table also includes azimuth at rise and set as well as altitude at transit.
98
+
93
99
  ## Contributing
94
100
 
95
101
  1. Fork it
@@ -97,3 +103,5 @@ USNO::Imagery::Callisto.new(time: Time.now).call.data
97
103
  3. Commit your changes (`git commit -am 'Add some feature'`)
98
104
  4. Push to the branch (`git push origin my-new-feature`)
99
105
  5. Create new Pull Request
106
+
107
+ [![Bitdeli Badge](https://d2weczhvl823v0.cloudfront.net/rthbound/usno-imagery/trend.png)](https://bitdeli.com/free "Bitdeli Badge")
@@ -1,5 +1,5 @@
1
1
  module USNO
2
2
  module Imagery
3
- VERSION = "0.1.3"
3
+ VERSION = "0.1.4"
4
4
  end
5
5
  end
@@ -11,7 +11,7 @@ Gem::Specification.new do |spec|
11
11
  spec.description = %q{Consumes USNO's imagery data services}
12
12
 
13
13
  spec.summary = %q{Consumes USNO's imagery data services}
14
- spec.homepage = ""
14
+ spec.homepage = "http://github.com/rthbound/usno-imagery"
15
15
  spec.license = "MIT"
16
16
 
17
17
  spec.files = `git ls-files`.split($/)
@@ -21,9 +21,7 @@ Gem::Specification.new do |spec|
21
21
 
22
22
  spec.add_development_dependency "bundler", "~> 1.3"
23
23
  spec.add_development_dependency "rake"
24
- spec.add_development_dependency "pry"
25
24
  spec.add_development_dependency "coveralls"
26
- spec.add_development_dependency "simplecov"
27
25
  spec.add_development_dependency "minitest"
28
- spec.add_runtime_dependency "pay_dirt"
26
+ spec.add_runtime_dependency "pay_dirt"
29
27
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: usno-imagery
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.3
4
+ version: 0.1.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ryan T. Hosford
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2013-11-17 00:00:00.000000000 Z
11
+ date: 2013-11-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -38,20 +38,6 @@ dependencies:
38
38
  - - '>='
39
39
  - !ruby/object:Gem::Version
40
40
  version: '0'
41
- - !ruby/object:Gem::Dependency
42
- name: pry
43
- requirement: !ruby/object:Gem::Requirement
44
- requirements:
45
- - - '>='
46
- - !ruby/object:Gem::Version
47
- version: '0'
48
- type: :development
49
- prerelease: false
50
- version_requirements: !ruby/object:Gem::Requirement
51
- requirements:
52
- - - '>='
53
- - !ruby/object:Gem::Version
54
- version: '0'
55
41
  - !ruby/object:Gem::Dependency
56
42
  name: coveralls
57
43
  requirement: !ruby/object:Gem::Requirement
@@ -66,20 +52,6 @@ dependencies:
66
52
  - - '>='
67
53
  - !ruby/object:Gem::Version
68
54
  version: '0'
69
- - !ruby/object:Gem::Dependency
70
- name: simplecov
71
- requirement: !ruby/object:Gem::Requirement
72
- requirements:
73
- - - '>='
74
- - !ruby/object:Gem::Version
75
- version: '0'
76
- type: :development
77
- prerelease: false
78
- version_requirements: !ruby/object:Gem::Requirement
79
- requirements:
80
- - - '>='
81
- - !ruby/object:Gem::Version
82
- version: '0'
83
55
  - !ruby/object:Gem::Dependency
84
56
  name: minitest
85
57
  requirement: !ruby/object:Gem::Requirement
@@ -159,7 +131,7 @@ files:
159
131
  - test/unit/usno/imagery/moon_test.rb
160
132
  - test/unit/usno/imagery/venus_test.rb
161
133
  - usno-imagery.gemspec
162
- homepage: ''
134
+ homepage: http://github.com/rthbound/usno-imagery
163
135
  licenses:
164
136
  - MIT
165
137
  metadata: {}