app_store_info 1.0.10 → 1.0.11

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: ab63f0c3b05557d15b92d7b57c6736b2ff64a3d2
4
- data.tar.gz: c8f4bf28594154eade3e89b6e5a180bd709cc283
3
+ metadata.gz: 96f4809e74126c21f97e2bdd8ec3677915f0cbb5
4
+ data.tar.gz: e6d3625fbb4dedebb1135e568e8d117830ef8bff
5
5
  SHA512:
6
- metadata.gz: cdc4deb7c36e665d5f85e16d23aae3b9689b290b66e766526160cd2e269e54056758d95077ce045a0055cbb54f5a205f2093cb37dc2e00835c091d4ca2a1ffd8
7
- data.tar.gz: b89e7035bf68b9393a69e1c3f240759e03f91c3c0abd190aa0fd57e8af60c39925de39479a8bb2f1f094056ab7bc6710e556cebe448613eeba181fe9f318bdee
6
+ metadata.gz: 9a3eb4e895fffff0941496d73e2bd35c7c1aa395c63636d4df054082626074c31bc1ad3baac64ea08e9669ac16cc2aff5ddd0f186e5f4c8777870ef133317188
7
+ data.tar.gz: 3896f60aa37838593e9c850a21fe7aabfd4f38b26d19fc97f560b90a86eb86ce9293c20adfdb5fe5c34c699d9d80cedeee7930c8570285e3d274e35d01a42b0d
@@ -6,6 +6,10 @@ Metrics/LineLength:
6
6
  Style/Documentation:
7
7
  Enabled: false
8
8
 
9
+ Metrics/BlockLength:
10
+ Exclude:
11
+ - 'spec/**/*_spec.rb'
12
+
9
13
  Style/NumericLiterals:
10
14
  Enabled: false
11
15
 
@@ -17,3 +21,15 @@ RSpec/MultipleExpectations:
17
21
 
18
22
  RSpec/ExampleLength:
19
23
  Enabled: false
24
+
25
+ # I hate this stupid rule, that makes tests hard to understand
26
+ RSpec/PredicateMatcher:
27
+ Enabled: false
28
+
29
+ # We still need the # coding utf-8 comment for older ruby versions
30
+ Style/Encoding:
31
+ Enabled: false
32
+
33
+ # Although using .match? makes sense for ruby 2.4+ in previous versions it doesn't work
34
+ Performance/RegexpMatch:
35
+ Enabled: false
@@ -1 +1 @@
1
- 2.3.3
1
+ 2.4.2
@@ -3,4 +3,5 @@ rvm:
3
3
  - 2.2.2
4
4
  - 2.3.0
5
5
  - 2.3.3
6
+ - 2.4.2
6
7
  before_install: gem install bundler -v 1.10.6
@@ -1,4 +1,3 @@
1
- # coding: utf-8
2
1
  lib = File.expand_path('../lib', __FILE__)
3
2
  $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
3
 
@@ -23,11 +22,11 @@ Gem::Specification.new do |spec|
23
22
  spec.add_dependency 'faraday', '~> 0.9'
24
23
 
25
24
  spec.add_development_dependency 'bundler', '~> 1.10'
25
+ spec.add_development_dependency 'pry', '~> 0.10'
26
26
  spec.add_development_dependency 'rake', '~> 10.0'
27
27
  spec.add_development_dependency 'rspec', '~> 3.3'
28
- spec.add_development_dependency 'rubocop', '~> 0.35'
28
+ spec.add_development_dependency 'rubocop', '~> 0.49'
29
29
  spec.add_development_dependency 'rubocop-rspec', '~> 1.3'
30
- spec.add_development_dependency 'pry', '~> 0.10'
31
30
  spec.add_development_dependency 'vcr', '~> 3.0'
32
31
  spec.add_development_dependency 'webmock', '~> 1.22'
33
32
  end
@@ -1,4 +1,3 @@
1
- # coding: utf-8
2
1
  module AppStoreInfo
3
2
  # Regions maps the App Store regions in different format.
4
3
  #
@@ -65,27 +64,27 @@ module AppStoreInfo
65
64
  }.freeze
66
65
 
67
66
  REGIONS = {
68
- 'Europe' => %w(
67
+ 'Europe' => %w[
69
68
  AL AT BY BE BG HR CY CZ DK EE FI FR DE GR HU IS IE IT LV LT LU MK MT MD NL NO PL PT RO RU
70
69
  SK SI ES SE CH TR UA GB
71
- ),
70
+ ],
72
71
 
73
- 'Africa, Middle East, and India' => %w(
72
+ 'Africa, Middle East, and India' => %w[
74
73
  DZ AO AM AZ BH BJ BW BF CM CV TD CG EG ET GM GH GW IN IL IQ JO KE KW LB LS LR MG MW ML MR MU
75
74
  MZ NA NE NG OM PS QA RW SA SN SC SS SL ZA SZ ST TZ TN UG AE YE ZM ZW
76
- ),
75
+ ],
77
76
 
78
- 'Latin America and the Caribbean' => %w(
77
+ 'Latin America and the Caribbean' => %w[
79
78
  AI AG AR BS BB BZ BM BO BR KY CL CO CR DM DO EC SV GD GT GY HN JM MX MS NI PA PY PE LC KN
80
79
  VC SR TT TC UY VE VG
81
- ),
80
+ ],
82
81
 
83
- 'Asia Pacific' => %w(
82
+ 'Asia Pacific' => %w[
84
83
  AU BT BN KH CN FJ HK ID JP KZ KR KG LA MO MY FM MM MN NP NZ PK PW PG PH SG SB LK TW TJ TH TM
85
84
  UZ VN
86
- ),
85
+ ],
87
86
 
88
- 'The United States and Canada' => %w(CA US)
87
+ 'The United States and Canada' => %w[CA US]
89
88
  }.freeze
90
89
 
91
90
  # Find a territory by code.
@@ -1,3 +1,3 @@
1
1
  module AppStoreInfo
2
- VERSION = '1.0.10'.freeze
2
+ VERSION = '1.0.11'.freeze
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: app_store_info
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.10
4
+ version: 1.0.11
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ricardo Otero
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2017-07-03 00:00:00.000000000 Z
11
+ date: 2017-12-01 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: faraday
@@ -39,75 +39,75 @@ dependencies:
39
39
  - !ruby/object:Gem::Version
40
40
  version: '1.10'
41
41
  - !ruby/object:Gem::Dependency
42
- name: rake
42
+ name: pry
43
43
  requirement: !ruby/object:Gem::Requirement
44
44
  requirements:
45
45
  - - "~>"
46
46
  - !ruby/object:Gem::Version
47
- version: '10.0'
47
+ version: '0.10'
48
48
  type: :development
49
49
  prerelease: false
50
50
  version_requirements: !ruby/object:Gem::Requirement
51
51
  requirements:
52
52
  - - "~>"
53
53
  - !ruby/object:Gem::Version
54
- version: '10.0'
54
+ version: '0.10'
55
55
  - !ruby/object:Gem::Dependency
56
- name: rspec
56
+ name: rake
57
57
  requirement: !ruby/object:Gem::Requirement
58
58
  requirements:
59
59
  - - "~>"
60
60
  - !ruby/object:Gem::Version
61
- version: '3.3'
61
+ version: '10.0'
62
62
  type: :development
63
63
  prerelease: false
64
64
  version_requirements: !ruby/object:Gem::Requirement
65
65
  requirements:
66
66
  - - "~>"
67
67
  - !ruby/object:Gem::Version
68
- version: '3.3'
68
+ version: '10.0'
69
69
  - !ruby/object:Gem::Dependency
70
- name: rubocop
70
+ name: rspec
71
71
  requirement: !ruby/object:Gem::Requirement
72
72
  requirements:
73
73
  - - "~>"
74
74
  - !ruby/object:Gem::Version
75
- version: '0.35'
75
+ version: '3.3'
76
76
  type: :development
77
77
  prerelease: false
78
78
  version_requirements: !ruby/object:Gem::Requirement
79
79
  requirements:
80
80
  - - "~>"
81
81
  - !ruby/object:Gem::Version
82
- version: '0.35'
82
+ version: '3.3'
83
83
  - !ruby/object:Gem::Dependency
84
- name: rubocop-rspec
84
+ name: rubocop
85
85
  requirement: !ruby/object:Gem::Requirement
86
86
  requirements:
87
87
  - - "~>"
88
88
  - !ruby/object:Gem::Version
89
- version: '1.3'
89
+ version: '0.49'
90
90
  type: :development
91
91
  prerelease: false
92
92
  version_requirements: !ruby/object:Gem::Requirement
93
93
  requirements:
94
94
  - - "~>"
95
95
  - !ruby/object:Gem::Version
96
- version: '1.3'
96
+ version: '0.49'
97
97
  - !ruby/object:Gem::Dependency
98
- name: pry
98
+ name: rubocop-rspec
99
99
  requirement: !ruby/object:Gem::Requirement
100
100
  requirements:
101
101
  - - "~>"
102
102
  - !ruby/object:Gem::Version
103
- version: '0.10'
103
+ version: '1.3'
104
104
  type: :development
105
105
  prerelease: false
106
106
  version_requirements: !ruby/object:Gem::Requirement
107
107
  requirements:
108
108
  - - "~>"
109
109
  - !ruby/object:Gem::Version
110
- version: '0.10'
110
+ version: '1.3'
111
111
  - !ruby/object:Gem::Dependency
112
112
  name: vcr
113
113
  requirement: !ruby/object:Gem::Requirement
@@ -182,7 +182,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
182
182
  version: '0'
183
183
  requirements: []
184
184
  rubyforge_project:
185
- rubygems_version: 2.6.11
185
+ rubygems_version: 2.6.13
186
186
  signing_key:
187
187
  specification_version: 4
188
188
  summary: App Store parser