app_store_pricing_matrix 1.0.0

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/lib/prices/mxn ADDED
@@ -0,0 +1,86 @@
1
+ 0
2
+ 10
3
+ 20
4
+ 30
5
+ 40
6
+ 50
7
+ 60
8
+ 70
9
+ 80
10
+ 90
11
+ 100
12
+ 120
13
+ 130
14
+ 140
15
+ 150
16
+ 160
17
+ 170
18
+ 180
19
+ 190
20
+ 200
21
+ 210
22
+ 220
23
+ 230
24
+ 240
25
+ 250
26
+ 260
27
+ 270
28
+ 280
29
+ 290
30
+ 300
31
+ 320
32
+ 330
33
+ 340
34
+ 350
35
+ 360
36
+ 370
37
+ 380
38
+ 390
39
+ 400
40
+ 410
41
+ 420
42
+ 430
43
+ 440
44
+ 450
45
+ 460
46
+ 470
47
+ 480
48
+ 490
49
+ 500
50
+ 520
51
+ 530
52
+ 580
53
+ 630
54
+ 680
55
+ 740
56
+ 790
57
+ 840
58
+ 900
59
+ 950
60
+ 1000
61
+ 1050
62
+ 1200
63
+ 1300
64
+ 1400
65
+ 1500
66
+ 1600
67
+ 1700
68
+ 1800
69
+ 1900
70
+ 2000
71
+ 2100
72
+ 2200
73
+ 2300
74
+ 2400
75
+ 2500
76
+ 2600
77
+ 3200
78
+ 3700
79
+ 4200
80
+ 4700
81
+ 5300
82
+ 6300
83
+ 7400
84
+ 8500
85
+ 9500
86
+ 10500
data/lib/prices/nok ADDED
@@ -0,0 +1,86 @@
1
+ 0
2
+ 6
3
+ 11
4
+ 17
5
+ 21
6
+ 29
7
+ 35
8
+ 39
9
+ 45
10
+ 49
11
+ 55
12
+ 59
13
+ 65
14
+ 69
15
+ 75
16
+ 85
17
+ 89
18
+ 95
19
+ 99
20
+ 105
21
+ 109
22
+ 119
23
+ 125
24
+ 129
25
+ 135
26
+ 139
27
+ 145
28
+ 149
29
+ 155
30
+ 159
31
+ 165
32
+ 169
33
+ 175
34
+ 179
35
+ 189
36
+ 195
37
+ 199
38
+ 205
39
+ 209
40
+ 215
41
+ 219
42
+ 225
43
+ 229
44
+ 235
45
+ 239
46
+ 249
47
+ 255
48
+ 259
49
+ 265
50
+ 269
51
+ 279
52
+ 299
53
+ 319
54
+ 349
55
+ 379
56
+ 419
57
+ 439
58
+ 459
59
+ 489
60
+ 519
61
+ 549
62
+ 599
63
+ 619
64
+ 659
65
+ 699
66
+ 769
67
+ 839
68
+ 869
69
+ 899
70
+ 999
71
+ 1049
72
+ 1099
73
+ 1199
74
+ 1249
75
+ 1299
76
+ 1399
77
+ 1699
78
+ 1999
79
+ 2299
80
+ 2499
81
+ 2799
82
+ 3299
83
+ 3899
84
+ 4399
85
+ 4999
86
+ 5499
data/lib/prices/nzd ADDED
@@ -0,0 +1,86 @@
1
+ 0.00
2
+ 1.29
3
+ 2.59
4
+ 4.19
5
+ 5.29
6
+ 6.49
7
+ 8.29
8
+ 9.99
9
+ 10.99
10
+ 12.99
11
+ 13.99
12
+ 14.99
13
+ 15.99
14
+ 16.99
15
+ 17.99
16
+ 18.99
17
+ 19.99
18
+ 20.99
19
+ 22.99
20
+ 23.99
21
+ 24.99
22
+ 25.99
23
+ 27.99
24
+ 28.99
25
+ 29.99
26
+ 30.99
27
+ 32.99
28
+ 34.99
29
+ 35.99
30
+ 36.99
31
+ 38.99
32
+ 39.99
33
+ 40.99
34
+ 41.99
35
+ 43.99
36
+ 44.99
37
+ 45.99
38
+ 46.99
39
+ 47.99
40
+ 48.99
41
+ 49.99
42
+ 50.99
43
+ 51.99
44
+ 53.99
45
+ 54.99
46
+ 55.99
47
+ 56.99
48
+ 58.99
49
+ 59.99
50
+ 60.99
51
+ 64.99
52
+ 74.99
53
+ 79.99
54
+ 84.99
55
+ 94.99
56
+ 99.99
57
+ 104.99
58
+ 109.99
59
+ 114.99
60
+ 119.99
61
+ 124.99
62
+ 149.99
63
+ 159.99
64
+ 169.99
65
+ 179.99
66
+ 199.99
67
+ 209.99
68
+ 229.99
69
+ 239.99
70
+ 249.99
71
+ 259.99
72
+ 269.99
73
+ 279.99
74
+ 289.99
75
+ 299.99
76
+ 319.99
77
+ 399.99
78
+ 449.99
79
+ 499.99
80
+ 549.99
81
+ 649.99
82
+ 749.99
83
+ 849.99
84
+ 949.99
85
+ 1049.99
86
+ 1249.99
data/lib/prices/sek ADDED
@@ -0,0 +1,86 @@
1
+ 0
2
+ 7
3
+ 15
4
+ 22
5
+ 28
6
+ 38
7
+ 45
8
+ 49
9
+ 55
10
+ 65
11
+ 75
12
+ 85
13
+ 95
14
+ 99
15
+ 105
16
+ 109
17
+ 119
18
+ 129
19
+ 135
20
+ 139
21
+ 149
22
+ 159
23
+ 169
24
+ 175
25
+ 179
26
+ 189
27
+ 195
28
+ 199
29
+ 209
30
+ 219
31
+ 229
32
+ 235
33
+ 239
34
+ 245
35
+ 249
36
+ 265
37
+ 269
38
+ 275
39
+ 285
40
+ 289
41
+ 299
42
+ 309
43
+ 315
44
+ 319
45
+ 329
46
+ 339
47
+ 345
48
+ 349
49
+ 359
50
+ 369
51
+ 379
52
+ 399
53
+ 419
54
+ 469
55
+ 519
56
+ 569
57
+ 599
58
+ 619
59
+ 659
60
+ 699
61
+ 749
62
+ 799
63
+ 849
64
+ 899
65
+ 949
66
+ 999
67
+ 1099
68
+ 1179
69
+ 1239
70
+ 1319
71
+ 1399
72
+ 1499
73
+ 1599
74
+ 1699
75
+ 1799
76
+ 1899
77
+ 2299
78
+ 2599
79
+ 2999
80
+ 3399
81
+ 3799
82
+ 4499
83
+ 5299
84
+ 5999
85
+ 6799
86
+ 7499
data/lib/prices/usd ADDED
@@ -0,0 +1,86 @@
1
+ 0.00
2
+ 0.99
3
+ 1.99
4
+ 2.99
5
+ 3.99
6
+ 4.99
7
+ 5.99
8
+ 6.99
9
+ 7.99
10
+ 8.99
11
+ 9.99
12
+ 10.99
13
+ 11.99
14
+ 12.99
15
+ 13.99
16
+ 14.99
17
+ 15.99
18
+ 16.99
19
+ 17.99
20
+ 18.99
21
+ 19.99
22
+ 20.99
23
+ 21.99
24
+ 22.99
25
+ 23.99
26
+ 24.99
27
+ 25.99
28
+ 26.99
29
+ 27.99
30
+ 28.99
31
+ 29.99
32
+ 30.99
33
+ 31.99
34
+ 32.99
35
+ 33.99
36
+ 34.99
37
+ 35.99
38
+ 36.99
39
+ 37.99
40
+ 38.99
41
+ 39.99
42
+ 40.99
43
+ 41.99
44
+ 42.99
45
+ 43.99
46
+ 44.99
47
+ 45.99
48
+ 46.99
49
+ 47.99
50
+ 48.99
51
+ 49.99
52
+ 54.99
53
+ 59.99
54
+ 64.99
55
+ 69.99
56
+ 74.99
57
+ 79.99
58
+ 84.99
59
+ 89.99
60
+ 94.99
61
+ 99.99
62
+ 109.99
63
+ 119.99
64
+ 129.99
65
+ 139.99
66
+ 149.99
67
+ 159.99
68
+ 169.99
69
+ 179.99
70
+ 189.99
71
+ 199.99
72
+ 209.99
73
+ 219.99
74
+ 229.99
75
+ 239.99
76
+ 249.99
77
+ 299.99
78
+ 349.99
79
+ 399.99
80
+ 449.99
81
+ 499.99
82
+ 599.99
83
+ 699.99
84
+ 799.99
85
+ 899.99
86
+ 999.99
@@ -0,0 +1,86 @@
1
+ 0.00
2
+ 0.70
3
+ 1.40
4
+ 2.10
5
+ 2.80
6
+ 3.50
7
+ 4.20
8
+ 4.90
9
+ 5.60
10
+ 6.30
11
+ 7.00
12
+ 7.70
13
+ 8.40
14
+ 9.10
15
+ 9.80
16
+ 10.50
17
+ 11.20
18
+ 11.90
19
+ 12.60
20
+ 13.30
21
+ 14.00
22
+ 14.70
23
+ 15.40
24
+ 16.10
25
+ 16.80
26
+ 17.50
27
+ 18.20
28
+ 18.90
29
+ 19.60
30
+ 20.30
31
+ 21.00
32
+ 21.70
33
+ 22.40
34
+ 23.10
35
+ 23.80
36
+ 24.50
37
+ 25.20
38
+ 25.90
39
+ 26.60
40
+ 27.30
41
+ 28.00
42
+ 28.70
43
+ 29.40
44
+ 30.10
45
+ 30.80
46
+ 31.50
47
+ 32.20
48
+ 32.90
49
+ 33.60
50
+ 34.30
51
+ 35.00
52
+ 38.50
53
+ 42.00
54
+ 45.50
55
+ 49.00
56
+ 52.50
57
+ 56.00
58
+ 59.50
59
+ 63.00
60
+ 66.50
61
+ 70.00
62
+ 77.00
63
+ 84.00
64
+ 91.00
65
+ 98.00
66
+ 105.00
67
+ 112.00
68
+ 119.00
69
+ 126.00
70
+ 133.00
71
+ 140.00
72
+ 147.00
73
+ 154.00
74
+ 161.00
75
+ 168.00
76
+ 175.00
77
+ 210.00
78
+ 245.00
79
+ 280.00
80
+ 315.00
81
+ 350.00
82
+ 420.00
83
+ 490.00
84
+ 560.00
85
+ 630.00
86
+ 700.00
@@ -0,0 +1,11 @@
1
+ require File.expand_path(File.dirname(__FILE__) + '/spec_helper')
2
+
3
+ describe "AppStorePricingMatrix" do
4
+ it "should have 0 to 85 tiers each" do
5
+ Dir.glob(File.dirname(__FILE__) + '/../lib/prices/*').each do |file|
6
+ File.open(file) do |text|
7
+ text.readlines.size.should == 86
8
+ end
9
+ end
10
+ end
11
+ end
@@ -0,0 +1,12 @@
1
+ $LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..', 'lib'))
2
+ $LOAD_PATH.unshift(File.dirname(__FILE__))
3
+ require 'rspec'
4
+ require 'app_store_pricing_matrix'
5
+
6
+ # Requires supporting files with custom matchers and macros, etc,
7
+ # in ./support/ and its subdirectories.
8
+ Dir["#{File.dirname(__FILE__)}/support/**/*.rb"].each {|f| require f}
9
+
10
+ RSpec.configure do |config|
11
+
12
+ end
metadata ADDED
@@ -0,0 +1,133 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: app_store_pricing_matrix
3
+ version: !ruby/object:Gem::Version
4
+ prerelease:
5
+ version: 1.0.0
6
+ platform: ruby
7
+ authors:
8
+ - Kenn Ejima
9
+ autorequire:
10
+ bindir: bin
11
+ cert_chain: []
12
+
13
+ date: 2011-02-27 00:00:00 -08:00
14
+ default_executable:
15
+ dependencies:
16
+ - !ruby/object:Gem::Dependency
17
+ name: rspec
18
+ requirement: &id001 !ruby/object:Gem::Requirement
19
+ none: false
20
+ requirements:
21
+ - - ~>
22
+ - !ruby/object:Gem::Version
23
+ version: 2.5.0
24
+ type: :development
25
+ prerelease: false
26
+ version_requirements: *id001
27
+ - !ruby/object:Gem::Dependency
28
+ name: bundler
29
+ requirement: &id002 !ruby/object:Gem::Requirement
30
+ none: false
31
+ requirements:
32
+ - - ~>
33
+ - !ruby/object:Gem::Version
34
+ version: 1.0.0
35
+ type: :development
36
+ prerelease: false
37
+ version_requirements: *id002
38
+ - !ruby/object:Gem::Dependency
39
+ name: jeweler
40
+ requirement: &id003 !ruby/object:Gem::Requirement
41
+ none: false
42
+ requirements:
43
+ - - ~>
44
+ - !ruby/object:Gem::Version
45
+ version: 1.5.2
46
+ type: :development
47
+ prerelease: false
48
+ version_requirements: *id003
49
+ - !ruby/object:Gem::Dependency
50
+ name: pdf-reader
51
+ requirement: &id004 !ruby/object:Gem::Requirement
52
+ none: false
53
+ requirements:
54
+ - - ">="
55
+ - !ruby/object:Gem::Version
56
+ version: 0.9.1
57
+ type: :development
58
+ prerelease: false
59
+ version_requirements: *id004
60
+ description: A simple module that holds currencies and prices from the Apple's iOS App Store.
61
+ email: kenn.ejima@gmail.com
62
+ executables: []
63
+
64
+ extensions: []
65
+
66
+ extra_rdoc_files:
67
+ - LICENSE.txt
68
+ - README.rdoc
69
+ files:
70
+ - .document
71
+ - .rspec
72
+ - Gemfile
73
+ - Gemfile.lock
74
+ - LICENSE.txt
75
+ - README.rdoc
76
+ - Rakefile
77
+ - VERSION
78
+ - app_store_pricing_matrix.gemspec
79
+ - lib/app_store_pricing_matrix.rb
80
+ - lib/prices/aud
81
+ - lib/prices/aud_pro
82
+ - lib/prices/cad
83
+ - lib/prices/cad_pro
84
+ - lib/prices/chf
85
+ - lib/prices/dkk
86
+ - lib/prices/eur
87
+ - lib/prices/eur_pro
88
+ - lib/prices/gbp
89
+ - lib/prices/gbp_pro
90
+ - lib/prices/jpy
91
+ - lib/prices/jpy_pro
92
+ - lib/prices/mxn
93
+ - lib/prices/nok
94
+ - lib/prices/nzd
95
+ - lib/prices/sek
96
+ - lib/prices/usd
97
+ - lib/prices/usd_pro
98
+ - spec/app_store_pricing_matrix_spec.rb
99
+ - spec/spec_helper.rb
100
+ has_rdoc: true
101
+ homepage: http://github.com/kenn/app_store_pricing_matrix
102
+ licenses:
103
+ - MIT
104
+ post_install_message:
105
+ rdoc_options: []
106
+
107
+ require_paths:
108
+ - lib
109
+ required_ruby_version: !ruby/object:Gem::Requirement
110
+ none: false
111
+ requirements:
112
+ - - ">="
113
+ - !ruby/object:Gem::Version
114
+ hash: -1418794269945295947
115
+ segments:
116
+ - 0
117
+ version: "0"
118
+ required_rubygems_version: !ruby/object:Gem::Requirement
119
+ none: false
120
+ requirements:
121
+ - - ">="
122
+ - !ruby/object:Gem::Version
123
+ version: "0"
124
+ requirements: []
125
+
126
+ rubyforge_project:
127
+ rubygems_version: 1.5.3
128
+ signing_key:
129
+ specification_version: 3
130
+ summary: Constants for App Store Pricing Matrix
131
+ test_files:
132
+ - spec/app_store_pricing_matrix_spec.rb
133
+ - spec/spec_helper.rb