ccy-rates 1.0.0 → 1.0.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 +2 -1
- data/ccy-rates.gemspec +1 -1
- data/index.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: 55fc2d117360bb97505c0ba16912ffae1e8b7996
|
4
|
+
data.tar.gz: bee933d40beb366d290dded3eb31eba1e6c56f01
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 056bedf74fefe8e2d1b56f2d7385dbb8f95790fe63bda179ab24587bfcf33b20ac1947d98ff0fc1872db0951b106695ed5a3636feccf74691c3e08552b6c828f
|
7
|
+
data.tar.gz: 5a2cc751e3068fabb07f2c3f4ec7c9e90b43633bb38c1e807adc8689429bed4997afaa4690100ba7d54117b76260bf747c554919c575ca0e5eeef9c0e0572297
|
data/README.md
CHANGED
@@ -1,4 +1,5 @@
|
|
1
|
-
## Currency exchange rates
|
1
|
+
## Currency exchange rates
|
2
|
+
[![Gem Version](https://badge.fury.io/rb/ccy-rates.svg)](https://badge.fury.io/rb/ccy-rates)
|
2
3
|
|
3
4
|
<p align="center"><img width="474" height="768" alt="ccy-rates" src="https://user-images.githubusercontent.com/7421323/30323901-accf38da-97c7-11e7-9264-d5540a1d1b40.png"></p>
|
4
5
|
|
data/ccy-rates.gemspec
CHANGED
data/index.rb
CHANGED
@@ -113,7 +113,7 @@ end
|
|
113
113
|
|
114
114
|
def finance_i_ua_black_market_rates
|
115
115
|
rates = {}
|
116
|
-
document = Nokogiri::HTML.fragment(Faraday.get("
|
116
|
+
document = Nokogiri::HTML.fragment(Faraday.get("https://finance.i.ua/").body) { |config| config.nonet.huge.nowarning.noerror }
|
117
117
|
document.at_css(".widget-currency_cash").css("tbody tr").each do |tr|
|
118
118
|
ccy = normalize_currency_name(tr.at_css("th").text)
|
119
119
|
tds = tr.css("td")
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ccy-rates
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Yaroslav Konoplov
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-09-
|
11
|
+
date: 2017-09-29 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: nokogiri
|
@@ -106,7 +106,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
106
106
|
version: '0'
|
107
107
|
requirements: []
|
108
108
|
rubyforge_project:
|
109
|
-
rubygems_version: 2.6.
|
109
|
+
rubygems_version: 2.6.13
|
110
110
|
signing_key:
|
111
111
|
specification_version: 4
|
112
112
|
summary: Currency exchange rates in your shell.
|