fxpotato 1.0.2 → 1.0.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +13 -3
- data/fxpotato.gemspec +1 -0
- data/lib/fxpotato/version.rb +1 -1
- metadata +4 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4002cca6fd0bbfa36251d56afd536f7810553dd7
|
4
|
+
data.tar.gz: c1f9033d228291f80ebd9d1d54d2f4c3a0c74039
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ad9099b8cec6142315b7e82c030d6f65e9daedffff362fd96578c8e67d8198a062f55bb4f2e64b82034e2875948c3f6712e353101010422b8dfd1729f2a18a20
|
7
|
+
data.tar.gz: ee4fc398cc0cf75678735128af6eeffa8cecbc7733af9efefa8fa7b2f1e939ab722b1e481ff029c8a02583910facb9a63e462e6c960b5e1f5bdfe1c40403f549
|
data/README.md
CHANGED
@@ -1,8 +1,8 @@
|
|
1
1
|
# FxPotato
|
2
2
|
|
3
|
-
|
3
|
+
The Foreign Exchange currency rates looker-upper. Potato style.
|
4
4
|
|
5
|
-
|
5
|
+
Uses last daily feed from European Central Bank website, and exposes a simple interface to get the conversion rates for one currency to another on a given day.
|
6
6
|
|
7
7
|
## Installation
|
8
8
|
|
@@ -22,7 +22,17 @@ Or install it yourself as:
|
|
22
22
|
|
23
23
|
## Usage
|
24
24
|
|
25
|
-
|
25
|
+
### CLI
|
26
|
+
Get foreign exchange rates on the command line with the following command:
|
27
|
+
|
28
|
+
```
|
29
|
+
fxpotato getrate <base_currency> <target_currency> -d <YYYY-MM-DD>
|
30
|
+
|
31
|
+
e.g.
|
32
|
+
fxpotato getrate GBP USD -d 2017-06-02
|
33
|
+
```
|
34
|
+
|
35
|
+
The `-d` option is not required, and will default to today if not specified.
|
26
36
|
|
27
37
|
## Development
|
28
38
|
|
data/fxpotato.gemspec
CHANGED
@@ -12,6 +12,7 @@ Gem::Specification.new do |spec|
|
|
12
12
|
spec.summary = %q{Foreign Exchange currency rates looker-upper.}
|
13
13
|
spec.description = %q{Uses last daily feed from European Central Bank website, and exposes a simple interface to get the conversion rates for one currency to another on a given day.}
|
14
14
|
spec.homepage = "https://github.com/Angry-Potato/fxpotato"
|
15
|
+
spec.metadata = { "source_code" => "https://github.com/Angry-Potato/fxpotato" }
|
15
16
|
spec.license = "MIT"
|
16
17
|
|
17
18
|
spec.files = `git ls-files -z`.split("\x0").reject do |f|
|
data/lib/fxpotato/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: fxpotato
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Liam Stupid Name Humphreys
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-06-
|
11
|
+
date: 2017-06-06 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -176,7 +176,8 @@ files:
|
|
176
176
|
homepage: https://github.com/Angry-Potato/fxpotato
|
177
177
|
licenses:
|
178
178
|
- MIT
|
179
|
-
metadata:
|
179
|
+
metadata:
|
180
|
+
source_code: https://github.com/Angry-Potato/fxpotato
|
180
181
|
post_install_message:
|
181
182
|
rdoc_options: []
|
182
183
|
require_paths:
|