fxkeb 0.1.1 → 0.1.2
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/README.md +18 -10
- data/fxkeb.gemspec +1 -1
- data/lib/fxkeb.rb +1 -1
- data/lib/fxkeb/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: 2791730ffb6944b2b501a65929f632632b24f22b
|
|
4
|
+
data.tar.gz: 113b1319d842e2a7e3a0d956fc274978ea7c70a0
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 701e7069e7d23a4407a7afd9d119d680b44d8bf0c86227653353dfb745da4a4a80c39dd355a615f2c8fd42771b0e22a7530b3a27f98789a79b333b45fbb0c913
|
|
7
|
+
data.tar.gz: d463a62d6053bcd2cdb5f29fadf32e9190eda567d88244ae45c3c768f1788dab396e50959fc3e1b0acf489e7e7cc2471fe8b6560af32af238bc3903527adabb6
|
data/README.md
CHANGED
|
@@ -1,14 +1,16 @@
|
|
|
1
1
|
# Fxkeb
|
|
2
2
|
|
|
3
|
-
Get USD from KRW based on fx rate infomation from fxkeb.
|
|
3
|
+
Get USD from KRW based on fx rate infomation from fxkeb.
|
|
4
|
+
|
|
5
|
+
외환은행 사이트에서 환율정보를 구해서, 지정한 원화에 대한 USD를 구합니다.
|
|
4
6
|
|
|
5
7
|
## Installation
|
|
6
8
|
|
|
7
9
|
Add this line to your application's Gemfile:
|
|
8
10
|
|
|
9
11
|
```ruby
|
|
10
|
-
|
|
11
|
-
gem 'fxkeb', git: 'git://github.com/jinto/fxkeb.git'
|
|
12
|
+
gem 'fxkeb'
|
|
13
|
+
gem 'fxkeb', git: 'git://github.com/jinto/fxkeb.git' # lastest version
|
|
12
14
|
```
|
|
13
15
|
|
|
14
16
|
And then execute:
|
|
@@ -19,18 +21,24 @@ Or install it yourself as:
|
|
|
19
21
|
|
|
20
22
|
$ gem install fxkeb
|
|
21
23
|
|
|
22
|
-
## Usage
|
|
23
24
|
|
|
24
|
-
|
|
25
|
+
# fxkeb
|
|
25
26
|
|
|
26
|
-
##
|
|
27
|
+
## Get USD from KRW
|
|
28
|
+
```
|
|
29
|
+
Fxkeb.fx_krw2usd(krw)
|
|
30
|
+
```
|
|
31
|
+
|
|
32
|
+
* 만일 fxkeb.com 사이트가 동작하지 않으면, "usd=krw/1000"으로 동작합니다.
|
|
33
|
+
* If fxkeb.com is not up, fixed rate "krw/1000" is applied.
|
|
27
34
|
|
|
28
|
-
The gem is available as open source under the terms of the [MIT License](http://opensource.org/licenses/MIT).
|
|
29
35
|
|
|
30
|
-
# fxkeb
|
|
31
36
|
|
|
32
|
-
Fxkeb.to_usd(krw)
|
|
33
37
|
|
|
34
38
|
# 참고
|
|
35
39
|
http://blog.remotty.com/blog/2015/12/14/rubygem-create-guide/
|
|
36
|
-
|
|
40
|
+
|
|
41
|
+
## License
|
|
42
|
+
|
|
43
|
+
The gem is available as open source under the terms of the [MIT License](http://opensource.org/licenses/MIT).
|
|
44
|
+
|
data/fxkeb.gemspec
CHANGED
|
@@ -9,7 +9,7 @@ Gem::Specification.new do |spec|
|
|
|
9
9
|
spec.authors = ["jay park"]
|
|
10
10
|
spec.email = ["jaypark@gmail.com"]
|
|
11
11
|
|
|
12
|
-
spec.summary = '
|
|
12
|
+
spec.summary = 'Currency conversion from krw to usd'
|
|
13
13
|
spec.description = 'currency conversion from krw to usd'
|
|
14
14
|
spec.homepage = "http://github.com/jinto/fxkeb"
|
|
15
15
|
spec.license = "MIT"
|
data/lib/fxkeb.rb
CHANGED
data/lib/fxkeb/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: fxkeb
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.1.
|
|
4
|
+
version: 0.1.2
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- jay park
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: exe
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2015-12-
|
|
11
|
+
date: 2015-12-18 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: bundler
|
|
@@ -108,5 +108,5 @@ rubyforge_project:
|
|
|
108
108
|
rubygems_version: 2.4.5.1
|
|
109
109
|
signing_key:
|
|
110
110
|
specification_version: 4
|
|
111
|
-
summary:
|
|
111
|
+
summary: Currency conversion from krw to usd
|
|
112
112
|
test_files: []
|