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.
Files changed (5) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +2 -1
  3. data/ccy-rates.gemspec +1 -1
  4. data/index.rb +1 -1
  5. metadata +3 -3
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: e063e8d33db97c8c20a5386e712c9d194c481aac
4
- data.tar.gz: 7cbff776ee0c2cef7f4f5eb54b1b13f59eb89912
3
+ metadata.gz: 55fc2d117360bb97505c0ba16912ffae1e8b7996
4
+ data.tar.gz: bee933d40beb366d290dded3eb31eba1e6c56f01
5
5
  SHA512:
6
- metadata.gz: d1278aa33f16946cd8ab47f26e78f6ec738b5ffc496b784eb376a0af12846aa5439238f711bdcc7fba9ae5747ef52b6396c5a17e21196afa5b7def33553c63ed
7
- data.tar.gz: bf504c89f632c94e1f462d33bb752b57baec1a6e956755a60bc832048b963e5db53079cb15dee4e2b686502f153f5c7f6d4bd0ef6ea4106ce850ebb2ca0e682c
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
@@ -3,7 +3,7 @@
3
3
 
4
4
  Gem::Specification.new do |s|
5
5
  s.name = "ccy-rates"
6
- s.version = "1.0.0"
6
+ s.version = "1.0.1"
7
7
  s.author = "Yaroslav Konoplov"
8
8
  s.email = "eahome00@gmail.com"
9
9
  s.summary = "Currency exchange rates in your shell."
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("http://finance.i.ua/").body) { |config| config.nonet.huge.nowarning.noerror }
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.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-12 00:00:00.000000000 Z
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.12
109
+ rubygems_version: 2.6.13
110
110
  signing_key:
111
111
  specification_version: 4
112
112
  summary: Currency exchange rates in your shell.