fuelator 0.1.3 → 0.1.4

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
  SHA1:
3
- metadata.gz: d77c1686b54d71b05bf14019a0836fdb1792153f
4
- data.tar.gz: 8ef9a1116108e0e74f02fbc0a32d879982c32008
3
+ metadata.gz: ca8f288aaca9783d8bae901f60d407142f4132e0
4
+ data.tar.gz: 4bd994d1b88bf000b2d41ff915abbb32e65c15a5
5
5
  SHA512:
6
- metadata.gz: 58090a226ecd35fc4e9e44a75d6e2a970ba037abc4007a635067a8ff6733c56aa23dba796a4091e01007afec4d7b05589c286be6fdb6d6eb656c08cdd90e61b7
7
- data.tar.gz: 12f7ea9902bb986c56ceb814a1925afec374d6ac654789c78d07cc18c1fcafe7b80939425e9daddeb2e02a42d86f614ecfefe2de11b4abd2ee4370939d44f27c
6
+ metadata.gz: 516dff6979b493648379ced6cb27b82b6aaf9569bf63350d99277bbb32cdb1ed2b0379b818bd5195ab3f75db7b17b0c2c048ad0f7441a99b8573fd8ce11de3f0
7
+ data.tar.gz: cd9347c040138684336e99bb551a64ca69e9befc3a87eb5c9722ddc4cc3b656c673ff5729d3677ecfc2f8d04052a6d55a2f8eec84fca1c2dd10efcfe528a2434
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- fuelator (0.1.3)
4
+ fuelator (0.1.4)
5
5
 
6
6
  GEM
7
7
  remote: https://rubygems.org/
data/README.md CHANGED
@@ -24,6 +24,13 @@ If you plan a trip to Moon, once you are at fuel station, run:
24
24
 
25
25
  $ fuelator 28801, [[:launch, 9.807], [:land, 1.62], [:launch, 1.62], [:land, 9.807]]
26
26
 
27
+ Or use API provided:
28
+ ```ruby
29
+ require 'fuelator'
30
+
31
+ Fuelator.calculate(28801, [[:launch, 9.807], [:land, 1.62], [:launch, 1.62], [:land, 9.807]])
32
+ # => 51898
33
+ ```
27
34
  ## Development
28
35
 
29
36
  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.
@@ -1,3 +1,3 @@
1
1
  module Fuelator
2
- VERSION = "0.1.3"
2
+ VERSION = "0.1.4"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fuelator
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
  - Sergii Brytiuk