exchange-rates-generator 0.1.0 → 0.1.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -62,13 +62,13 @@ Available Sources:
62
62
  end
63
63
  end
64
64
 
65
- formatter = ::ExchangeRatesGenerator::Formatters.get(options[:format].to_sym)
65
+ formatter = ::ExchangeRatesGenerator::Formatters.get(options[:format].downcase)
66
66
  unless formatter
67
67
  stdout.puts "Sorry, I couldn't find a formatter for the format '#{options[:format]}', use the -l or --list flag to see the complete list of available formats."
68
68
  exit
69
69
  end
70
70
 
71
- source = ::ExchangeRatesGenerator::Sources.get(options[:source].to_sym)
71
+ source = ::ExchangeRatesGenerator::Sources.get(options[:source].downcase)
72
72
  unless source
73
73
  stdout.puts "Sorry, I couldn't find the source '#{options[:source]}', use the -l or --list flag to see the complete list of available sources."
74
74
  exit
@@ -1,7 +1,7 @@
1
1
  module Exchange
2
2
  module Rates
3
3
  module Generator
4
- VERSION = "0.1.0"
4
+ VERSION = "0.1.1"
5
5
  end
6
6
  end
7
7
  end
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 0
7
7
  - 1
8
- - 0
9
- version: 0.1.0
8
+ - 1
9
+ version: 0.1.1
10
10
  platform: ruby
11
11
  authors:
12
12
  - Rolly Fordham