itunes_api 2.4.0 → 2.4.1

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 82cb07885683ceae90deae65c53e8fae99adce0e755099b3a33140c8088df0c6
4
- data.tar.gz: 5c544f7038ee9719a9ae950226f166152f3bee182e552c68e11a7852fe8dd847
3
+ metadata.gz: c5c692aaf7cc88db72aed80a68b4ae65707b4f8d6880cf0af054cd221af43692
4
+ data.tar.gz: d254225e7cc3595e60ae3b9a345c873fc4ab9a09a40f7ad456d5e30a54282204
5
5
  SHA512:
6
- metadata.gz: bfe441db2ab3c631452220fcd7d2de67e9c0a863cfd660d7044b22429934ddc03a30cb3ce0fb6e362cdaad165cf94641e2b7379bb593673a2d7754fde4ebf452
7
- data.tar.gz: '0388fcebcf36604f46d9e365253ffe2b43b392fd2103bcf9b0ecc201bdf7971f1734eb1c4565ea7c94428e01478c2674434ce169fa77d5c339ff8d856b85fc0d'
6
+ metadata.gz: 1002af50b319769dc2c50b5cf5ac15afa35e12b05c1acd6cc304a3343a206a3b59e1bf5c25d3f342ed9f066e032917986aeac87c723d265e08465f5a775bb03a
7
+ data.tar.gz: '048c1768a282db7ea5f539e3e7bf91d5a41c072fc77f247b17c876db503a22163a7fcdfed7a4d9c8aaf0c5c96b3030cfe9d4f4933b0b5270c6a465863d9158af'
@@ -1,46 +1,33 @@
1
- ---
2
1
  version: 2
3
2
  jobs:
4
3
  build:
5
4
  environment:
6
- CC_TEST_REPORTER_ID: '259b37cf1fd88604007648fdd1a3df71a73ee30c4bc935f03d10a6d3e38ac964'
5
+ CC_TEST_REPORTER_ID: 259b37cf1fd88604007648fdd1a3df71a73ee30c4bc935f03d10a6d3e38ac964
7
6
  working_directory: ~/itunes-api
8
7
  docker:
9
- - image: circleci/ruby:2.5.1-node-browsers
8
+ - image: circleci/ruby:2.7-rc
10
9
  steps:
11
- - checkout
12
-
13
- # Restore Cached Dependencies
14
- - type: cache-restore
15
- name: Restore bundle cache
16
- key: itunes-api-{{ checksum "Gemfile.lock" }}
17
-
18
- # Bundle install dependencies
19
- - run: bundle install --path vendor/bundle
20
-
21
- # Cache Dependencies
22
- - type: cache-save
23
- name: Store bundle cache
24
- key: itunes-api-{{ checksum "Gemfile.lock" }}
25
- paths:
26
- - vendor/bundle
27
-
28
- - run:
29
- name: Setup Code Climate test-reporter
30
- command: |
31
- curl -L https://codeclimate.com/downloads/test-reporter/test-reporter-latest-linux-amd64 > ./cc-test-reporter
32
- chmod +x ./cc-test-reporter
33
-
34
- # Run the tests
35
- - run:
36
- name: Run tests
37
- command: |
38
- ./cc-test-reporter before-build
39
- bundle exec rspec
40
- ./cc-test-reporter after-build --exit-code $?
41
-
42
- # Enforce better practices
43
- - run: bundle exec rubocop
44
-
45
- - store_test_results:
46
- path: coverage
10
+ - checkout
11
+ - type: cache-restore
12
+ name: Restore bundle cache
13
+ key: itunes-api-{{ checksum "Gemfile.lock" }}
14
+ - run: bundle install --path vendor/bundle
15
+ - type: cache-save
16
+ name: Store bundle cache
17
+ key: itunes-api-{{ checksum "Gemfile.lock" }}
18
+ paths:
19
+ - vendor/bundle
20
+ - run:
21
+ name: Setup Code Climate test-reporter
22
+ command: |
23
+ curl -L https://codeclimate.com/downloads/test-reporter/test-reporter-latest-linux-amd64 > ./cc-test-reporter
24
+ chmod +x ./cc-test-reporter
25
+ - run:
26
+ name: Run tests
27
+ command: |
28
+ ./cc-test-reporter before-build
29
+ bundle exec rspec
30
+ ./cc-test-reporter after-build --exit-code $?
31
+ - run: bundle exec rubocop
32
+ - store_test_results:
33
+ path: coverage
data/.gitignore CHANGED
@@ -3,4 +3,3 @@
3
3
  /pkg/
4
4
  /tmp/
5
5
  .ruby-version
6
- *.lock
@@ -3,7 +3,10 @@ AllCops:
3
3
  Exclude:
4
4
  - bin/**/*
5
5
  - vendor/**/*
6
- TargetRubyVersion: 2.5.1
6
+ TargetRubyVersion: 2.7
7
+
8
+ Layout/LineLength:
9
+ Max: 100
7
10
 
8
11
  Metrics/BlockLength:
9
12
  Exclude:
@@ -11,14 +14,3 @@ Metrics/BlockLength:
11
14
 
12
15
  Metrics/MethodLength:
13
16
  Max: 15
14
-
15
- Metrics/LineLength:
16
- Max: 100
17
-
18
- Metrics/ModuleLength:
19
- Exclude:
20
- - '**/*_spec.rb'
21
-
22
- Style/FrozenStringLiteralComment:
23
- Exclude:
24
- - '**/*_spec.rb'
data/Gemfile CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  source 'https://rubygems.org'
4
4
 
5
- ruby '>= 2.4.6'
5
+ ruby '>= 2.5'
6
6
 
7
7
  Encoding.default_external = Encoding::UTF_8
8
8
  Encoding.default_internal = Encoding::UTF_8
@@ -0,0 +1,69 @@
1
+ PATH
2
+ remote: .
3
+ specs:
4
+ itunes_api (2.4.1)
5
+ faraday
6
+ selfies
7
+
8
+ GEM
9
+ remote: https://rubygems.org/
10
+ specs:
11
+ ast (2.4.0)
12
+ diff-lcs (1.3)
13
+ docile (1.3.2)
14
+ faraday (0.17.1)
15
+ multipart-post (>= 1.2, < 3)
16
+ jaro_winkler (1.5.4)
17
+ json (2.3.0)
18
+ multipart-post (2.1.1)
19
+ parallel (1.19.1)
20
+ parser (2.7.0.0)
21
+ ast (~> 2.4.0)
22
+ rainbow (3.0.0)
23
+ rake (13.0.1)
24
+ rspec (3.9.0)
25
+ rspec-core (~> 3.9.0)
26
+ rspec-expectations (~> 3.9.0)
27
+ rspec-mocks (~> 3.9.0)
28
+ rspec-core (3.9.0)
29
+ rspec-support (~> 3.9.0)
30
+ rspec-expectations (3.9.0)
31
+ diff-lcs (>= 1.2.0, < 2.0)
32
+ rspec-support (~> 3.9.0)
33
+ rspec-mocks (3.9.0)
34
+ diff-lcs (>= 1.2.0, < 2.0)
35
+ rspec-support (~> 3.9.0)
36
+ rspec-support (3.9.0)
37
+ rubocop (0.78.0)
38
+ jaro_winkler (~> 1.5.1)
39
+ parallel (~> 1.10)
40
+ parser (>= 2.6)
41
+ rainbow (>= 2.2.2, < 4.0)
42
+ ruby-progressbar (~> 1.7)
43
+ unicode-display_width (>= 1.4.0, < 1.7)
44
+ ruby-progressbar (1.10.1)
45
+ selfies (1.5.1)
46
+ simplecov (0.17.1)
47
+ docile (~> 1.1)
48
+ json (>= 1.8, < 3)
49
+ simplecov-html (~> 0.10.0)
50
+ simplecov-html (0.10.2)
51
+ unicode-display_width (1.6.0)
52
+ vcr (5.0.0)
53
+
54
+ PLATFORMS
55
+ ruby
56
+
57
+ DEPENDENCIES
58
+ itunes_api!
59
+ rake
60
+ rspec
61
+ rubocop
62
+ simplecov
63
+ vcr
64
+
65
+ RUBY VERSION
66
+ ruby 2.7.0p0
67
+
68
+ BUNDLED WITH
69
+ 2.1.2
data/README.md CHANGED
@@ -94,7 +94,7 @@ ItunesApi::Music.find_albums_by_apple_id(265766061, :es)
94
94
  Ruby version:
95
95
 
96
96
  ```text
97
- 2.5.1
97
+ >= 2.5
98
98
  ```
99
99
 
100
100
  Fork the project, clone the repository and bundle:
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module ItunesApi
4
- VERSION = '2.4.0'
4
+ VERSION = '2.4.1'
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: itunes_api
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.4.0
4
+ version: 2.4.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Mario D’Arco
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2019-06-12 00:00:00.000000000 Z
11
+ date: 2019-12-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: faraday
@@ -121,6 +121,7 @@ files:
121
121
  - ".rubocop.yml"
122
122
  - CODE_OF_CONDUCT.md
123
123
  - Gemfile
124
+ - Gemfile.lock
124
125
  - LICENSE.txt
125
126
  - README.md
126
127
  - Rakefile
@@ -164,7 +165,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
164
165
  - !ruby/object:Gem::Version
165
166
  version: '0'
166
167
  requirements: []
167
- rubygems_version: 3.0.3
168
+ rubygems_version: 3.1.2
168
169
  signing_key:
169
170
  specification_version: 4
170
171
  summary: iTunes Api