app_store_pricing_matrix 1.0.2 → 1.0.3

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.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.0.2
1
+ 1.0.3
@@ -5,7 +5,7 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{app_store_pricing_matrix}
8
- s.version = "1.0.2"
8
+ s.version = "1.0.3"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Kenn Ejima"]
@@ -20,13 +20,13 @@ module AppStorePricingMatrix
20
20
 
21
21
  CUSTOMER_PRICES = {}.tap do |hash|
22
22
  CUSTOMER_CURRENCIES.map do |currency|
23
- hash[currency] = File.read("#{File.dirname(__FILE__)}/prices/#{currency}").split("\n").freeze
23
+ hash[currency] = File.read("#{File.dirname(__FILE__)}/prices/#{currency.downcase}").split("\n").freeze
24
24
  end
25
25
  end.freeze
26
26
 
27
27
  DEVELOPER_PROCEEDS = {}.tap do |hash|
28
28
  DEVELOPER_CURRENCIES.each do |key|
29
- hash[key] = File.read("#{File.dirname(__FILE__)}/prices/#{key}_pro").split("\n").freeze
29
+ hash[key] = File.read("#{File.dirname(__FILE__)}/prices/#{key.downcase}_pro").split("\n").freeze
30
30
  end
31
31
  end.freeze
32
32
  end
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: app_store_pricing_matrix
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: 1.0.2
5
+ version: 1.0.3
6
6
  platform: ruby
7
7
  authors:
8
8
  - Kenn Ejima
@@ -111,7 +111,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
111
111
  requirements:
112
112
  - - ">="
113
113
  - !ruby/object:Gem::Version
114
- hash: 2595740095535349927
114
+ hash: 4272456732747442218
115
115
  segments:
116
116
  - 0
117
117
  version: "0"