fixer-rb 0.1.0 → 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +6 -1
- data/fixer.gemspec +1 -1
- data/lib/fixer/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 065eb6e50203610856ddd30d898e87aa72a65e39
|
4
|
+
data.tar.gz: eed378c39a31922b725ebfc660af1a26707e3bed
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1da31d88fb91b3d0c860549b0cb4cd8a61dff6c1066a387e54294b44ba61f8c47157133d3d102792a6d17cca34c2ec3b9bfba82e8eaa0b4e09549533412d6c49
|
7
|
+
data.tar.gz: 95f71dd6520c9512f3b271c22a8988d0f5ac708a6304cb4d516023d510829f01743a8d90c7c08fe9eebd19d5f46e0b64c39fa409be3f7c87139c38f59683246b
|
data/README.md
CHANGED
@@ -2,6 +2,12 @@
|
|
2
2
|
|
3
3
|
Fixer is a simple API wrapper of [http://fixer.io/](http://fixer.io/) to provide a clean way of converting currency
|
4
4
|
|
5
|
+
# Install
|
6
|
+
|
7
|
+
```
|
8
|
+
gem install 'fixer-rb'
|
9
|
+
```
|
10
|
+
|
5
11
|
# Usage
|
6
12
|
|
7
13
|
To convert Chinese Yuan to US Dollars, simply do this
|
@@ -13,7 +19,6 @@ fixer = Fixer::Request.new 'CNY'
|
|
13
19
|
params = {target: 'USD', ammount: 200}
|
14
20
|
|
15
21
|
fixer.transfer(params)
|
16
|
-
|
17
22
|
```
|
18
23
|
|
19
24
|
```
|
data/fixer.gemspec
CHANGED
@@ -10,7 +10,7 @@ Gem::Specification.new do |spec|
|
|
10
10
|
spec.email = ["gaotongfei1995@gmail.com"]
|
11
11
|
|
12
12
|
spec.summary = "API wrapper of fixer.io"
|
13
|
-
spec.description = "API wrapper of fixer.io"
|
13
|
+
spec.description = "API wrapper of fixer.io, find usage on https://github.com/gaotongfei/fixer"
|
14
14
|
spec.homepage = "https://github.com/gaotongfei/fixer"
|
15
15
|
spec.license = "MIT"
|
16
16
|
|
data/lib/fixer/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: fixer-rb
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Taff Gao
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-08-
|
11
|
+
date: 2017-08-18 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -66,7 +66,7 @@ dependencies:
|
|
66
66
|
- - ">="
|
67
67
|
- !ruby/object:Gem::Version
|
68
68
|
version: '0'
|
69
|
-
description: API wrapper of fixer.io
|
69
|
+
description: API wrapper of fixer.io, find usage on https://github.com/gaotongfei/fixer
|
70
70
|
email:
|
71
71
|
- gaotongfei1995@gmail.com
|
72
72
|
executables: []
|