currency_switcher 0.0.3 → 0.0.4

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 5a47ea06217ab261863b50b7c863a61134cd8a6c
4
- data.tar.gz: 0a86943cff1e33cea8f8e7e81912aba7837ad936
3
+ metadata.gz: 973b736b83dbefcf5816cad2286796e38119bb17
4
+ data.tar.gz: 7e2c06341c920ef14d13b0326bf69edc6d0bc95d
5
5
  SHA512:
6
- metadata.gz: 9a3f3ad66df51c619b7e8940f2eaa04ce0576f3d6d75b4bec23d03735c1f6cca0df4a47a1c7185eb4bc632ae804a9fdfd2f40fd780cc6e26e8287cfee3be58eb
7
- data.tar.gz: ca07d7128613604e2fc316f9f50fe39e3b294cd9961c428770bfb32c1cc0a8d4a289d9c7518b7300552cff19f1ccd0a05a909e2c5585e3f44bb68f70addda33f
6
+ metadata.gz: 674747942c15783212d655d822ceaeb8ebdd1ad4cc8c42542dc1a30ad378db159c3c68305e6356118405905873f6310b18334c066f22877cf98dd384792b2208
7
+ data.tar.gz: c4575e1c439cb79e32de553733b90ad9af9c94bdba7911d2fd0f25a98e0ba9b181b79d013a5f7f79cbc5910eb8dd82d30db5c0584faef6e05f6c3bd0d556c071
data/Manifest CHANGED
@@ -1,17 +1,12 @@
1
- .rspec
2
1
  Gemfile
3
2
  Gemfile.lock
4
- lib/currency_switcher
5
- lib/currency_switcher/currencies.rb
6
- lib/currency_switcher/ext
7
- lib/currency_switcher/ext/fixnum.rb
8
- lib/currency_switcher.rb
9
3
  Manifest
10
- Rakefile
11
4
  README.md
5
+ Rakefile
6
+ lib/currency_switcher.rb
7
+ lib/currency_switcher/currencies.rb
8
+ lib/currency_switcher/ext/fixnum.rb
12
9
  spec/currency_switcher_spec.rb
13
10
  spec/spec_helper.rb
14
- spec/support
15
- spec/support/html
16
11
  spec/support/html/eur_to_usd.html
17
12
  spec/support/html/usd_to_gbp.html
data/Rakefile CHANGED
@@ -2,7 +2,7 @@ require 'rubygems'
2
2
  require 'rake'
3
3
  require 'echoe'
4
4
 
5
- Echoe.new('currency_switcher', '0.0.3') do |p|
5
+ Echoe.new('currency_switcher', '0.0.4') do |p|
6
6
  p.description = "Convert currencies using exchange rates from http://exchange-rates.org"
7
7
  p.url = "http://github.com/staskie/currency_switcher"
8
8
  p.author = "Dominik Staskiewicz"
@@ -1,14 +1,14 @@
1
1
  # -*- encoding: utf-8 -*-
2
- # stub: currency_switcher 0.0.3 ruby lib
2
+ # stub: currency_switcher 0.0.4 ruby lib
3
3
 
4
4
  Gem::Specification.new do |s|
5
5
  s.name = "currency_switcher"
6
- s.version = "0.0.3"
6
+ s.version = "0.0.4"
7
7
 
8
8
  s.required_rubygems_version = Gem::Requirement.new(">= 1.2") if s.respond_to? :required_rubygems_version=
9
9
  s.require_paths = ["lib"]
10
10
  s.authors = ["Dominik Staskiewicz"]
11
- s.date = "2015-01-07"
11
+ s.date = "2017-11-19"
12
12
  s.description = "Convert currencies using exchange rates from http://exchange-rates.org"
13
13
  s.email = "stadominik@gmail.com"
14
14
  s.extra_rdoc_files = ["lib/currency_switcher", "lib/currency_switcher/currencies.rb", "lib/currency_switcher/ext", "lib/currency_switcher/ext/fixnum.rb", "lib/currency_switcher.rb", "README.md"]
@@ -16,7 +16,7 @@ Gem::Specification.new do |s|
16
16
  s.homepage = "http://github.com/staskie/currency_switcher"
17
17
  s.rdoc_options = ["--line-numbers", "--title", "Currency_switcher", "--main", "README.md"]
18
18
  s.rubyforge_project = "currency_switcher"
19
- s.rubygems_version = "2.2.2"
19
+ s.rubygems_version = "2.4.5.1"
20
20
  s.summary = "Convert currencies using exchange rates from http://exchange-rates.org"
21
21
 
22
22
  if s.respond_to? :specification_version then
@@ -10,7 +10,7 @@ require 'ext/fixnum'
10
10
  module CurrencySwitcher
11
11
 
12
12
  # URL for working out the exchange rate
13
- URL = "http://exchange-rates.org/converter"
13
+ URL = "https://exchange-rates.org/converter"
14
14
 
15
15
  class << self
16
16
  # Get 'from' currency
@@ -2,8 +2,8 @@ require 'spec_helper'
2
2
 
3
3
  describe CurrencySwitcher do
4
4
  before :all do
5
- FakeWeb.register_uri(:get, 'http://exchange-rates.org/converter/EUR/USD/1', :body => mock_eur_to_usd)
6
- FakeWeb.register_uri(:get, 'http://exchange-rates.org/converter/USD/GBP/1', :body => mock_usd_to_gbp)
5
+ FakeWeb.register_uri(:get, 'https://exchange-rates.org/converter/EUR/USD/1', :body => mock_eur_to_usd)
6
+ FakeWeb.register_uri(:get, 'https://exchange-rates.org/converter/USD/GBP/1', :body => mock_usd_to_gbp)
7
7
  end
8
8
 
9
9
  context 'when exchanging USD to GBP' do
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: currency_switcher
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.3
4
+ version: 0.0.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dominik Staskiewicz
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-01-07 00:00:00.000000000 Z
11
+ date: 2017-11-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: nokogiri
@@ -72,7 +72,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
72
72
  version: '1.2'
73
73
  requirements: []
74
74
  rubyforge_project: currency_switcher
75
- rubygems_version: 2.2.2
75
+ rubygems_version: 2.4.5.1
76
76
  signing_key:
77
77
  specification_version: 4
78
78
  summary: Convert currencies using exchange rates from http://exchange-rates.org