currency_switcher 0.0.3 → 0.0.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Manifest +4 -9
- data/Rakefile +1 -1
- data/currency_switcher.gemspec +4 -4
- data/lib/currency_switcher.rb +1 -1
- data/spec/currency_switcher_spec.rb +2 -2
- 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: 973b736b83dbefcf5816cad2286796e38119bb17
|
4
|
+
data.tar.gz: 7e2c06341c920ef14d13b0326bf69edc6d0bc95d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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.
|
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"
|
data/currency_switcher.gemspec
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
# -*- encoding: utf-8 -*-
|
2
|
-
# stub: currency_switcher 0.0.
|
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.
|
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 = "
|
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.
|
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
|
data/lib/currency_switcher.rb
CHANGED
@@ -2,8 +2,8 @@ require 'spec_helper'
|
|
2
2
|
|
3
3
|
describe CurrencySwitcher do
|
4
4
|
before :all do
|
5
|
-
FakeWeb.register_uri(:get, '
|
6
|
-
FakeWeb.register_uri(:get, '
|
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.
|
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:
|
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.
|
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
|