apt-spy2 0.7.0 → 0.7.2

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: 17ff659bf0be2a1b11c72bba7712038a41da799eb56793daab45c6ca9397baf9
4
- data.tar.gz: 7a4dc4cb69daae9dee6eaa8a821e3ff721ca5a36164bcb3abdb562558ca05182
3
+ metadata.gz: 91d09bec4d6918e39405d38ee164b8215c6e04d778887c0e570bdab6cc39592e
4
+ data.tar.gz: d2f69bf166ca8bf79fff732e30184270dfbc0422a41dbe616afc9ddd56b21641
5
5
  SHA512:
6
- metadata.gz: 001d0fbdf45568d49923340ba1cc4652754b4e72b3b89ea0119102b6fc78a8fe91b8cb4dcc15b59325b00410261167f73729c9c61a2ebe4e105b48164094f1ab
7
- data.tar.gz: ddf3808e0e329fcdcf1bfadacafb4ecf70854ce5577d76d572a23dea0f889c3199d054e0f13ae49c7ebacdf74de77c5dee319483d7f2d59d857b1baed80a78c6
6
+ metadata.gz: 931ef089f949e870538b77887a7825a42647bcc8a4ef577118a12b51112bcba1b1a63c235d2bbe0e1fed348608d84954c6a44c7f16a578e42c29e198a4403619
7
+ data.tar.gz: 956aa4b5d89409a4366549b84846a42b95c46f7013197182fdfd22956ba07e60fddccf5f210a5eb85d0c09f3e8ff15cc730642ea1afb66b9fee81703cb172da3
@@ -0,0 +1,9 @@
1
+ version: 2
2
+ updates:
3
+ - package-ecosystem: bundler
4
+ directory: "/"
5
+ schedule:
6
+ interval: daily
7
+ open-pull-requests-limit: 10
8
+ assignees:
9
+ - till
@@ -0,0 +1,32 @@
1
+ ---
2
+ name: pr
3
+
4
+ on:
5
+ pull_request
6
+
7
+ jobs:
8
+ test:
9
+ name: "test-${{ matrix.ruby-version }}"
10
+ runs-on: ubuntu-latest
11
+ strategy:
12
+ matrix:
13
+ ruby-version:
14
+ - '3.0'
15
+ - 2.7
16
+ - 2.6
17
+ steps:
18
+ - uses: actions/checkout@v2
19
+ - uses: ruby/setup-ruby@v1
20
+ with:
21
+ ruby-version: ${{ matrix.ruby-version }}
22
+ - run: bundle install
23
+ - run: bundle exec rake test
24
+ - run: bundle exec rake build
25
+ - run: ls -lah ./pkg/apt-spy2*
26
+ - run: gem install pkg/apt-spy2*
27
+ - run: apt-spy2
28
+ - uses: coverallsapp/github-action@master
29
+ with:
30
+ github-token: ${{ secrets.GITHUB_TOKEN }}
31
+
32
+
data/Gemfile.lock CHANGED
@@ -1,38 +1,31 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- apt-spy2 (0.7.0)
4
+ apt-spy2 (0.7.2)
5
5
  colored (>= 1.2)
6
6
  json
7
- nokogiri (>= 1.6, < 1.11)
7
+ nokogiri (>= 1.6, < 1.13)
8
8
  thor (>= 0.18.1)
9
9
 
10
10
  GEM
11
11
  remote: https://rubygems.org/
12
12
  specs:
13
13
  colored (1.2)
14
- coveralls (0.8.23)
15
- json (>= 1.8, < 3)
16
- simplecov (~> 0.16.1)
17
- term-ansicolor (~> 1.3)
18
- thor (>= 0.19.4, < 2.0)
19
- tins (~> 1.6)
20
- docile (1.3.2)
21
- json (2.3.0)
22
- mini_portile2 (2.4.0)
23
- minitest (5.14.0)
24
- nokogiri (1.10.8)
25
- mini_portile2 (~> 2.4.0)
26
- rake (13.0.1)
27
- simplecov (0.16.1)
14
+ docile (1.4.0)
15
+ json (2.6.1)
16
+ minitest (5.15.0)
17
+ nokogiri (1.12.5-x86_64-darwin)
18
+ racc (~> 1.4)
19
+ racc (1.5.2)
20
+ rake (13.0.6)
21
+ simplecov (0.21.2)
28
22
  docile (~> 1.1)
29
- json (>= 1.8, < 3)
30
- simplecov-html (~> 0.10.0)
31
- simplecov-html (0.10.2)
32
- term-ansicolor (1.7.1)
33
- tins (~> 1.0)
34
- thor (1.0.1)
35
- tins (1.21.1)
23
+ simplecov-html (~> 0.11)
24
+ simplecov_json_formatter (~> 0.1)
25
+ simplecov-html (0.12.3)
26
+ simplecov-lcov (0.8.0)
27
+ simplecov_json_formatter (0.1.3)
28
+ thor (1.1.0)
36
29
 
37
30
  PLATFORMS
38
31
  ruby
@@ -40,9 +33,10 @@ PLATFORMS
40
33
  DEPENDENCIES
41
34
  apt-spy2!
42
35
  bundler (~> 2.0)
43
- coveralls
44
- minitest (~> 5.14.0)
36
+ minitest (~> 5.15.0)
45
37
  rake
38
+ simplecov (~> 0.18)
39
+ simplecov-lcov (~> 0.8.0)
46
40
 
47
41
  BUNDLED WITH
48
- 2.0.2
42
+ 2.2.32
data/README.md CHANGED
@@ -2,8 +2,8 @@
2
2
 
3
3
  … or: "apt-spy for Ubuntu"
4
4
 
5
- [![Build Status](https://travis-ci.org/lagged/apt-spy2.png?branch=master)](https://travis-ci.org/lagged/apt-spy2)
6
- [![Gem Version](https://badge.fury.io/rb/apt-spy2.png)](http://badge.fury.io/rb/apt-spy2)
5
+ [![pr](https://github.com/lagged/apt-spy2/actions/workflows/pr.yml/badge.svg)](https://github.com/lagged/apt-spy2/actions/workflows/pr.yml)
6
+ [![Gem Version](https://badge.fury.io/rb/apt-spy2.svg)](https://badge.fury.io/rb/apt-spy2)
7
7
  [![Code Climate](https://codeclimate.com/github/lagged/apt-spy2.png)](https://codeclimate.com/github/lagged/apt-spy2)
8
8
  [![Coverage Status](https://coveralls.io/repos/lagged/apt-spy2/badge.png)](https://coveralls.io/r/lagged/apt-spy2)
9
9
 
data/Rakefile CHANGED
@@ -1,13 +1,22 @@
1
- require "coveralls"
2
- Coveralls.wear!
3
-
4
1
  require "bundler/gem_tasks"
5
2
  require "minitest/autorun"
3
+ require "simplecov"
4
+ require "simplecov-lcov"
6
5
 
7
6
  Encoding.default_external = Encoding::UTF_8
8
7
  Encoding.default_internal = Encoding::UTF_8
9
8
 
10
9
  task :test do
10
+ ENV['COVERAGE'] = 'true'
11
+
12
+ SimpleCov.formatter = SimpleCov::Formatter::LcovFormatter
13
+ SimpleCov::Formatter::LcovFormatter.config do |c|
14
+ c.output_directory = './coverage'
15
+ c.report_with_single_file = true
16
+ c.single_report_path = './coverage/lcov.info'
17
+ end
18
+ SimpleCov.start
19
+
11
20
  $LOAD_PATH.unshift('lib', 'tests')
12
21
  Dir.glob('./tests/*_test.rb') do |f|
13
22
  require f
data/apt-spy2.gemspec CHANGED
@@ -21,10 +21,11 @@ Gem::Specification.new do |spec|
21
21
  spec.add_dependency 'thor', '>= 0.18.1'
22
22
  spec.add_dependency 'colored', '>= 1.2'
23
23
  spec.add_dependency 'json'
24
- spec.add_dependency 'nokogiri', '>= 1.6', '< 1.11'
24
+ spec.add_dependency 'nokogiri', '>= 1.6', '< 1.13'
25
25
 
26
26
  spec.add_development_dependency "bundler", "~> 2.0"
27
27
  spec.add_development_dependency "rake"
28
- spec.add_development_dependency "minitest", "~> 5.14.0"
29
- spec.add_development_dependency "coveralls"
28
+ spec.add_development_dependency "minitest", "~> 5.15.0"
29
+ spec.add_development_dependency "simplecov", "~> 0.18"
30
+ spec.add_development_dependency "simplecov-lcov", "~> 0.8.0"
30
31
  end
@@ -1,5 +1,5 @@
1
1
  module Apt
2
2
  module Spy2
3
- VERSION = "0.7.0"
3
+ VERSION = "0.7.2"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: apt-spy2
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.7.0
4
+ version: 0.7.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - till
8
- autorequire:
8
+ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-02-24 00:00:00.000000000 Z
11
+ date: 2021-12-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: thor
@@ -61,7 +61,7 @@ dependencies:
61
61
  version: '1.6'
62
62
  - - "<"
63
63
  - !ruby/object:Gem::Version
64
- version: '1.11'
64
+ version: '1.13'
65
65
  type: :runtime
66
66
  prerelease: false
67
67
  version_requirements: !ruby/object:Gem::Requirement
@@ -71,7 +71,7 @@ dependencies:
71
71
  version: '1.6'
72
72
  - - "<"
73
73
  - !ruby/object:Gem::Version
74
- version: '1.11'
74
+ version: '1.13'
75
75
  - !ruby/object:Gem::Dependency
76
76
  name: bundler
77
77
  requirement: !ruby/object:Gem::Requirement
@@ -106,28 +106,42 @@ dependencies:
106
106
  requirements:
107
107
  - - "~>"
108
108
  - !ruby/object:Gem::Version
109
- version: 5.14.0
109
+ version: 5.15.0
110
110
  type: :development
111
111
  prerelease: false
112
112
  version_requirements: !ruby/object:Gem::Requirement
113
113
  requirements:
114
114
  - - "~>"
115
115
  - !ruby/object:Gem::Version
116
- version: 5.14.0
116
+ version: 5.15.0
117
117
  - !ruby/object:Gem::Dependency
118
- name: coveralls
118
+ name: simplecov
119
119
  requirement: !ruby/object:Gem::Requirement
120
120
  requirements:
121
- - - ">="
121
+ - - "~>"
122
122
  - !ruby/object:Gem::Version
123
- version: '0'
123
+ version: '0.18'
124
124
  type: :development
125
125
  prerelease: false
126
126
  version_requirements: !ruby/object:Gem::Requirement
127
127
  requirements:
128
- - - ">="
128
+ - - "~>"
129
129
  - !ruby/object:Gem::Version
130
- version: '0'
130
+ version: '0.18'
131
+ - !ruby/object:Gem::Dependency
132
+ name: simplecov-lcov
133
+ requirement: !ruby/object:Gem::Requirement
134
+ requirements:
135
+ - - "~>"
136
+ - !ruby/object:Gem::Version
137
+ version: 0.8.0
138
+ type: :development
139
+ prerelease: false
140
+ version_requirements: !ruby/object:Gem::Requirement
141
+ requirements:
142
+ - - "~>"
143
+ - !ruby/object:Gem::Version
144
+ version: 0.8.0
131
145
  description: Keep your /etc/apt/sources.list up to date
132
146
  email:
133
147
  - till@php.net
@@ -137,9 +151,10 @@ extensions: []
137
151
  extra_rdoc_files: []
138
152
  files:
139
153
  - ".dockerignore"
154
+ - ".github/dependabot.yml"
155
+ - ".github/workflows/pr.yml"
140
156
  - ".gitignore"
141
157
  - ".ruby_version"
142
- - ".travis.yml"
143
158
  - CONTRIBUTING.md
144
159
  - Dockerfile
145
160
  - Gemfile
@@ -165,7 +180,7 @@ homepage: https://github.com/lagged/apt-spy2
165
180
  licenses:
166
181
  - BSD-2-Clause
167
182
  metadata: {}
168
- post_install_message:
183
+ post_install_message:
169
184
  rdoc_options: []
170
185
  require_paths:
171
186
  - lib
@@ -180,8 +195,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
180
195
  - !ruby/object:Gem::Version
181
196
  version: '0'
182
197
  requirements: []
183
- rubygems_version: 3.0.3
184
- signing_key:
198
+ rubygems_version: 3.2.32
199
+ signing_key:
185
200
  specification_version: 4
186
201
  summary: apt-spy2, or apt-spy for ubuntu
187
202
  test_files: []
data/.travis.yml DELETED
@@ -1,10 +0,0 @@
1
- dist: bionic
2
-
3
- language: ruby
4
-
5
- script:
6
- - bundle exec rake test
7
- - bundle exec rake build
8
- - ls -lah ./pkg/apt-spy2*
9
- - gem install pkg/apt-spy2*
10
- - apt-spy2