nasa-neo 1.1.0 → 1.1.1

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.
Files changed (5) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile.lock +1 -1
  3. data/README.md +12 -12
  4. data/nasa-neo.gemspec +1 -1
  5. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 1b00b7d123383775849d5299daaa45135b5bc4d10549395d766571084f1ee4fd
4
- data.tar.gz: 3884a5fc6becc14b07b4ef1236db36f46f6233e3fca8c44ad328198fc6bf71f5
3
+ metadata.gz: 4d6749856c50b68a044437d7856bd9208a14cee2fbdd4ed2f805717717398c77
4
+ data.tar.gz: b6dcaf6cfa8d676f82819312083042666797b9220317349dcc128a27c055d6e2
5
5
  SHA512:
6
- metadata.gz: 07d8facfdd037b5db0946e12f24963b864dbc2b133543311785beed414558ae133f2805cf1404042acfded74740c4d6db3f2703c81ceea85c9253389d2c0dc39
7
- data.tar.gz: 1592efceec7dab63da270ae678e601ff911fc6afada30b87e613753d3ee660fc29d4c14eacea51fbb295c3b5a09650dcfe12b4ec3ed0fac18e7c728bba6d720d
6
+ metadata.gz: 6038ebd2484f65899ab304af80e7c3b0ace6055b682a6ee4041859211c27ea643d79bbd5904d17bbda8ac1beed4b10856cf9115e1bb39b97e88c1539b1d68520
7
+ data.tar.gz: 182729b529790cda7bb3e9e017f171459ac384ec2c9b018f055bca515800dc1de11917e26a87ecdb76e3c1c93c989d60ad283c8513c11cacb91617385ea0d4a1
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- nasa-neo (1.1.0)
4
+ nasa-neo (1.1.1)
5
5
 
6
6
  GEM
7
7
  remote: https://rubygems.org/
data/README.md CHANGED
@@ -44,66 +44,66 @@ Please Note: The first request for information results in an API call, unless th
44
44
 
45
45
  ### Retrieving Information
46
46
 
47
- ##### Given name
47
+ #### Given name
48
48
 
49
49
  ```
50
50
  client.neo_name
51
51
  ```
52
- Returns:
52
+ Example return:
53
53
  ```
54
54
  "(2004 VB)"
55
55
  ```
56
56
 
57
57
 
58
- ##### Potential hazardousness boolean
58
+ #### Potential hazardousness boolean
59
59
  ```
60
60
  client.hazardous?
61
61
  ```
62
- Returns (hopefully):
62
+ Example return (hopefully):
63
63
  ```
64
64
  false
65
65
  ```
66
66
 
67
- ##### Estimated diameter
67
+ #### Estimated diameter
68
68
 
69
69
  ```
70
70
  client.estimated_diameter
71
71
  ```
72
- Returns:
72
+ Example return:
73
73
  ```
74
74
  {"kilometers"=>{"estimated_diameter_min"=>0.1838886721, "estimated_diameter_max"=>0.411187571}, "meters"=>{"estimated_diameter_min"=>183.8886720703, "estimated_diameter_max"=>411.1875710413}, "miles"=>{"estimated_diameter_min"=>0.1142630881, "estimated_diameter_max"=>0.2555000322}, "feet"=>{"estimated_diameter_min"=>603.309310875, "estimated_diameter_max"=>1349.040630575}}
75
75
  ```
76
76
 
77
77
 
78
- ##### Miss distance to earth
78
+ #### Miss distance to earth
79
79
 
80
80
  ```
81
81
  client.miss_distance
82
82
  ```
83
- Returns:
83
+ Example return:
84
84
  ```
85
85
  {"astronomical"=>"0.1915058335", "lunar"=>"74.4957733154", "kilometers"=>"28648866", "miles"=>"17801580"}
86
86
  ```
87
87
 
88
88
 
89
- ##### Velocity
89
+ #### Velocity
90
90
 
91
91
  ```
92
92
  client.velocity
93
93
  ```
94
- Returns:
94
+ Example return:
95
95
  ```
96
96
  {"kilometers_per_second"=>"14.488889894", "kilometers_per_hour"=>"52160.0036184644", "miles_per_hour"=>"32410.1978039286"}
97
97
  ```
98
98
 
99
99
 
100
- ##### All data on closest object
100
+ #### All data on closest object
101
101
 
102
102
  ```
103
103
  client.neo_data
104
104
  ```
105
105
 
106
- Returns:
106
+ Example return:
107
107
  ```
108
108
  {"links"=>{"self"=>"https://api.nasa.gov/neo/rest/v1/neo/3840869?api_key=DEMO_KEY"}, "id"=>"3840869", "neo_reference_id"=>"3840869", "name"=>"(2019 GK4)", "nasa_jpl_url"=>"http://ssd.jpl.nasa.gov/sbdb.cgi?sstr=3840869", "absolute_magnitude_h"=>23.83, "estimated_diameter"=>{"kilometers"=>{"estimated_diameter_min"=>0.0455569852, "estimated_diameter_max"=>0.1018685158}, "meters"=>{"estimated_diameter_min"=>45.5569852336, "estimated_diameter_max"=>101.8685158322}, "miles"=>{"estimated_diameter_min"=>0.0283077895, "estimated_diameter_max"=>0.0632981416}, "feet"=>{"estimated_diameter_min"=>149.4651794337, "estimated_diameter_max"=>334.214301483}}, "is_potentially_hazardous_asteroid"=>false, "close_approach_data"=>[{"close_approach_date"=>"2019-04-10", "epoch_date_close_approach"=>1554879600000, "relative_velocity"=>{"kilometers_per_second"=>"14.9701946153", "kilometers_per_hour"=>"53892.7006150984", "miles_per_hour"=>"33486.828334976"}, "miss_distance"=>{"astronomical"=>"0.089370038", "lunar"=>"34.7649421692", "kilometers"=>"13369567", "miles"=>"8307464"}, "orbiting_body"=>"Earth"}], "is_sentry_object"=>false}
109
109
  ```
@@ -4,7 +4,7 @@ require "nasa-neo/version"
4
4
 
5
5
  Gem::Specification.new do |s|
6
6
  s.name = 'nasa-neo'
7
- s.version = '1.1.0'
7
+ s.version = '1.1.1'
8
8
  s.date = '2019-04-09'
9
9
  s.summary = "This gem provides a simple wrapper for https://api.nasa.gov/api.html#NeoWS API"
10
10
  s.description = "Retrieve information about the closest near earth object on any given day using the NASA NEO API. "
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: nasa-neo
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.0
4
+ version: 1.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - James Sutherland