itunes_api 2.3.2 → 2.4.0

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
  SHA256:
3
- metadata.gz: 9d619427a217649c40574e01b2318d7571561d836a8c1c2332746ee02689612e
4
- data.tar.gz: 26115cc1ac22837f4f5aeb431e53fa6f6b006c0795e32039c88974a6db73a11b
3
+ metadata.gz: 82cb07885683ceae90deae65c53e8fae99adce0e755099b3a33140c8088df0c6
4
+ data.tar.gz: 5c544f7038ee9719a9ae950226f166152f3bee182e552c68e11a7852fe8dd847
5
5
  SHA512:
6
- metadata.gz: 5b47579f3815b43410cc643d161105986d3498cfde0c7bf1187e9c37af52c50cff33c7d77f93e47e070a9e1c493143d99754cae3d0cd172cfde81dda00ffcd6d
7
- data.tar.gz: 7384875e00282e6024fa3f26e2c0bbbc5392926f0c0e83bcf2636a67bfa62693aa8e723e0c346c28e2757476070e8cc27fafca6f62e013ced1fac899134279ac
6
+ metadata.gz: bfe441db2ab3c631452220fcd7d2de67e9c0a863cfd660d7044b22429934ddc03a30cb3ce0fb6e362cdaad165cf94641e2b7379bb593673a2d7754fde4ebf452
7
+ data.tar.gz: '0388fcebcf36604f46d9e365253ffe2b43b392fd2103bcf9b0ecc201bdf7971f1734eb1c4565ea7c94428e01478c2674434ce169fa77d5c339ff8d856b85fc0d'
data/.circleci/config.yml CHANGED
@@ -1,42 +1,46 @@
1
- version: 2
2
- jobs:
3
- build:
4
- docker:
5
- - image: circleci/ruby:2.5.1-node-browsers
6
-
7
- working_directory: ~/repo
8
-
9
- steps:
10
- - checkout
11
-
12
- - restore_cache:
13
- keys:
14
- - v1-dependencies-{{ checksum "Gemfile.lock" }}
15
- - v1-dependencies-
16
-
17
- - run:
18
- name: install dependencies
19
- command: |
20
- bundle install --jobs=4 --retry=3 --path vendor/bundle
21
-
22
- - save_cache:
23
- paths:
24
- - ./vendor/bundle
25
- key: v1-dependencies-{{ checksum "Gemfile.lock" }}
26
-
27
- - run:
28
- name: run tests
29
- command: |
30
- mkdir /tmp/test-results
31
- TEST_FILES="$(circleci tests glob "spec/**/*_spec.rb" | circleci tests split --split-by=timings)"
32
-
33
- bundle exec rspec --format progress \
34
- --out /tmp/test-results/rspec.xml \
35
- --format progress \
36
- $TEST_FILES
37
-
38
- - store_test_results:
39
- path: /tmp/test-results
40
- - store_artifacts:
41
- path: /tmp/test-results
42
- destination: test-results
1
+ ---
2
+ version: 2
3
+ jobs:
4
+ build:
5
+ environment:
6
+ CC_TEST_REPORTER_ID: '259b37cf1fd88604007648fdd1a3df71a73ee30c4bc935f03d10a6d3e38ac964'
7
+ working_directory: ~/itunes-api
8
+ docker:
9
+ - image: circleci/ruby:2.5.1-node-browsers
10
+ 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
data/.gitignore CHANGED
@@ -1,7 +1,6 @@
1
- /.bundle/
2
- /.yardoc
3
- /_yardoc/
4
- /doc/
1
+ .DS_Store
2
+ /coverage/
5
3
  /pkg/
6
- /spec/reports/
7
4
  /tmp/
5
+ .ruby-version
6
+ *.lock
data/.rspec CHANGED
File without changes
data/.rubocop.yml CHANGED
File without changes
data/CODE_OF_CONDUCT.md CHANGED
File without changes
data/Gemfile CHANGED
@@ -2,6 +2,8 @@
2
2
 
3
3
  source 'https://rubygems.org'
4
4
 
5
+ ruby '>= 2.4.6'
6
+
5
7
  Encoding.default_external = Encoding::UTF_8
6
8
  Encoding.default_internal = Encoding::UTF_8
7
9
 
data/LICENSE.txt CHANGED
File without changes
data/README.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # ItunesApi
2
2
 
3
- [![Gem Version](https://badge.fury.io/rb/itunes_api.svg)](https://badge.fury.io/rb/itunes_api) [![CircleCI](https://circleci.com/gh/mariodarco/itunes-api/tree/master.svg?style=shield)](https://circleci.com/gh/mariodarco/itunes-api/tree/master) [![Maintainability](https://api.codeclimate.com/v1/badges/2f78e613782a1d0be4f0/maintainability)](https://codeclimate.com/github/mariodarco/itunes-api/maintainability)
3
+ [![Gem Version](https://badge.fury.io/rb/itunes_api.svg)](https://badge.fury.io/rb/itunes_api) [![CircleCI](https://circleci.com/gh/mariodarco/itunes-api.svg?style=svg)](https://circleci.com/gh/mariodarco/itunes-api) [![Maintainability](https://api.codeclimate.com/v1/badges/2f78e613782a1d0be4f0/maintainability)](https://codeclimate.com/github/mariodarco/itunes-api/maintainability) [![Test Coverage](https://api.codeclimate.com/v1/badges/2f78e613782a1d0be4f0/test_coverage)](https://codeclimate.com/github/mariodarco/itunes-api/test_coverage)
4
4
 
5
5
  A simple interface for the Itunes Api.
6
6
 
data/Rakefile CHANGED
File without changes
data/itunes_api.gemspec CHANGED
@@ -26,9 +26,9 @@ Gem::Specification.new do |spec|
26
26
  spec.add_dependency 'faraday'
27
27
  spec.add_dependency 'selfies'
28
28
 
29
- spec.add_development_dependency 'bundler'
30
29
  spec.add_development_dependency 'rake'
31
30
  spec.add_development_dependency 'rspec'
32
31
  spec.add_development_dependency 'rubocop'
32
+ spec.add_development_dependency 'simplecov'
33
33
  spec.add_development_dependency 'vcr'
34
34
  end
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module ItunesApi
4
- VERSION = '2.3.2'
4
+ VERSION = '2.4.0'
5
5
  end
data/lib/itunes_api.rb CHANGED
File without changes
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.3.2
4
+ version: 2.4.0
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: 2018-06-21 00:00:00.000000000 Z
11
+ date: 2019-06-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: faraday
@@ -39,7 +39,7 @@ dependencies:
39
39
  - !ruby/object:Gem::Version
40
40
  version: '0'
41
41
  - !ruby/object:Gem::Dependency
42
- name: bundler
42
+ name: rake
43
43
  requirement: !ruby/object:Gem::Requirement
44
44
  requirements:
45
45
  - - ">="
@@ -53,7 +53,7 @@ dependencies:
53
53
  - !ruby/object:Gem::Version
54
54
  version: '0'
55
55
  - !ruby/object:Gem::Dependency
56
- name: rake
56
+ name: rspec
57
57
  requirement: !ruby/object:Gem::Requirement
58
58
  requirements:
59
59
  - - ">="
@@ -67,7 +67,7 @@ dependencies:
67
67
  - !ruby/object:Gem::Version
68
68
  version: '0'
69
69
  - !ruby/object:Gem::Dependency
70
- name: rspec
70
+ name: rubocop
71
71
  requirement: !ruby/object:Gem::Requirement
72
72
  requirements:
73
73
  - - ">="
@@ -81,7 +81,7 @@ dependencies:
81
81
  - !ruby/object:Gem::Version
82
82
  version: '0'
83
83
  - !ruby/object:Gem::Dependency
84
- name: rubocop
84
+ name: simplecov
85
85
  requirement: !ruby/object:Gem::Requirement
86
86
  requirements:
87
87
  - - ">="
@@ -119,10 +119,8 @@ files:
119
119
  - ".gitignore"
120
120
  - ".rspec"
121
121
  - ".rubocop.yml"
122
- - ".ruby-version"
123
122
  - CODE_OF_CONDUCT.md
124
123
  - Gemfile
125
- - Gemfile.lock
126
124
  - LICENSE.txt
127
125
  - README.md
128
126
  - Rakefile
@@ -166,8 +164,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
166
164
  - !ruby/object:Gem::Version
167
165
  version: '0'
168
166
  requirements: []
169
- rubyforge_project:
170
- rubygems_version: 2.7.6
167
+ rubygems_version: 3.0.3
171
168
  signing_key:
172
169
  specification_version: 4
173
170
  summary: iTunes Api
data/.ruby-version DELETED
@@ -1 +0,0 @@
1
- 2.5.1
data/Gemfile.lock DELETED
@@ -1,61 +0,0 @@
1
- PATH
2
- remote: .
3
- specs:
4
- itunes_api (2.3.2)
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
- faraday (0.15.2)
14
- multipart-post (>= 1.2, < 3)
15
- jaro_winkler (1.5.1)
16
- multipart-post (2.0.0)
17
- parallel (1.12.1)
18
- parser (2.5.1.0)
19
- ast (~> 2.4.0)
20
- powerpack (0.1.2)
21
- rainbow (3.0.0)
22
- rake (12.3.1)
23
- rspec (3.7.0)
24
- rspec-core (~> 3.7.0)
25
- rspec-expectations (~> 3.7.0)
26
- rspec-mocks (~> 3.7.0)
27
- rspec-core (3.7.1)
28
- rspec-support (~> 3.7.0)
29
- rspec-expectations (3.7.0)
30
- diff-lcs (>= 1.2.0, < 2.0)
31
- rspec-support (~> 3.7.0)
32
- rspec-mocks (3.7.0)
33
- diff-lcs (>= 1.2.0, < 2.0)
34
- rspec-support (~> 3.7.0)
35
- rspec-support (3.7.1)
36
- rubocop (0.57.2)
37
- jaro_winkler (~> 1.5.1)
38
- parallel (~> 1.10)
39
- parser (>= 2.5)
40
- powerpack (~> 0.1)
41
- rainbow (>= 2.2.2, < 4.0)
42
- ruby-progressbar (~> 1.7)
43
- unicode-display_width (~> 1.0, >= 1.0.1)
44
- ruby-progressbar (1.9.0)
45
- selfies (1.4.2)
46
- unicode-display_width (1.4.0)
47
- vcr (4.0.0)
48
-
49
- PLATFORMS
50
- ruby
51
-
52
- DEPENDENCIES
53
- bundler
54
- itunes_api!
55
- rake
56
- rspec
57
- rubocop
58
- vcr
59
-
60
- BUNDLED WITH
61
- 1.16.2