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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 43d8b93c7d45e513ec7cae873e5f731352141522230a2476191ddf3a774401dc
4
- data.tar.gz: 4bb97c63e9c245bc40922225584258be881f21b36efe48752c47bd230705d404
3
+ metadata.gz: 8d5a723480b1d057b852b863a76f8db6e38f77f1f797d417f714c6de50a6d763
4
+ data.tar.gz: 40788012de3470a3964c80ea170b98f34b9fbfcee037bf1c732b0214bfcc07a1
5
5
  SHA512:
6
- metadata.gz: d164d93c3665ab8d53ea70ee7864d15b71d2a31a5482c080c3f44799784c76400ab8e0580df05e566c2dc35b8a6f80b73f2b910db2f1a5d574a10e1791b3805e
7
- data.tar.gz: 9985545e3444a24983a3628ebd6478410c9fbe2d21fceaf71631089aca3579f83543cbc10895ce9baa3e740ef8fc005f609f7ce410af12d4ca3a7d249f4961c6
6
+ metadata.gz: 150ce6755a21ab8d76496ccc2184578b1e2643012d8a1fb959e3f1b1804e122cac4935f69c63219be485df1a62a43202aeab969e68a06e05cf9d7ec58bf0ada8
7
+ data.tar.gz: d147677d9932d76a85c6a8a25b35547aef3632a87f0c71af11522f144941e07acfceb36bbc179950098f34136e5442f03b40a0c96bb84c24c00d4ae55a14438f
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- fuelator (0.2.2)
4
+ fuelator (0.2.3)
5
5
 
6
6
  GEM
7
7
  remote: https://rubygems.org/
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.calculate(28801, [[:launch, 9.807], [:land, 1.62], [:launch, 1.62], [:land, 9.807]])
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, update the version number in `version.rb`, and then run `bundle exec rake release`, which will create a git tag for the version, push git commits and tags, and push the `.gem` file to [rubygems.org](https://rubygems.org).
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,
@@ -1,3 +1,3 @@
1
1
  module Fuelator
2
- VERSION = "0.2.2"
2
+ VERSION = "0.2.3"
3
3
  end
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.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: 2020-07-27 00:00:00.000000000 Z
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.0.8
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