fuelator 0.2.2 → 0.2.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.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/README.md +5 -2
- data/lib/fuelator/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8d5a723480b1d057b852b863a76f8db6e38f77f1f797d417f714c6de50a6d763
|
4
|
+
data.tar.gz: 40788012de3470a3964c80ea170b98f34b9fbfcee037bf1c732b0214bfcc07a1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 150ce6755a21ab8d76496ccc2184578b1e2643012d8a1fb959e3f1b1804e122cac4935f69c63219be485df1a62a43202aeab969e68a06e05cf9d7ec58bf0ada8
|
7
|
+
data.tar.gz: d147677d9932d76a85c6a8a25b35547aef3632a87f0c71af11522f144941e07acfceb36bbc179950098f34136e5442f03b40a0c96bb84c24c00d4ae55a14438f
|
data/Gemfile.lock
CHANGED
data/README.md
CHANGED
@@ -23,12 +23,15 @@ Or install it yourself as:
|
|
23
23
|
If you plan a trip to Moon, once you are at fuel station, run:
|
24
24
|
|
25
25
|
$ fuelator -m 28801 -p launch,9.807 -p land,1.62 -p launch,1.62 -p land,9.807
|
26
|
+
To get help:
|
27
|
+
|
28
|
+
$ fuelator -h
|
26
29
|
|
27
30
|
Or use API provided:
|
28
31
|
```ruby
|
29
32
|
require 'fuelator'
|
30
33
|
|
31
|
-
Fuelator.
|
34
|
+
Fuelator::Calc.run(28801, [[:launch, 9.807], [:land, 1.62], [:launch, 1.62], [:land, 9.807]])
|
32
35
|
# => 51898
|
33
36
|
```
|
34
37
|
Be ready do handle errors:
|
@@ -40,4 +43,4 @@ Fuelator::Parameters::Error
|
|
40
43
|
|
41
44
|
After checking out the repo, run `bin/setup` to install dependencies. Then, run `rake spec` to run the tests. You can also run `bin/console` for an interactive prompt that will allow you to experiment.
|
42
45
|
|
43
|
-
To install this gem onto your local machine, run `bundle exec rake install`. To release a new version,
|
46
|
+
To install this gem onto your local machine, run `bundle exec rake install`. To release a new version, push new tag to github and travis will take care,
|
data/lib/fuelator/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: fuelator
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Sergii Brytiuk
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2021-04-16 00:00:00.000000000 Z
|
12
12
|
dependencies: []
|
13
13
|
description: |-
|
14
14
|
The goal of this application is to calculate fuel
|
@@ -61,7 +61,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
61
61
|
- !ruby/object:Gem::Version
|
62
62
|
version: '0'
|
63
63
|
requirements: []
|
64
|
-
rubygems_version: 3.
|
64
|
+
rubygems_version: 3.1.2
|
65
65
|
signing_key:
|
66
66
|
specification_version: 4
|
67
67
|
summary: They do not trust Elon Musk any more
|