apt-spy2 0.5.0 → 0.7.3

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA256:
3
+ metadata.gz: 89ef6a24eb7eafd20007b54eadeeeea4ffa0c10114dca7efd62d4a8b7adff3c7
4
+ data.tar.gz: e129a99d18c3e17262f7b3e0c04aafef66041861bf6fd5d144fd7d139e254f0c
5
+ SHA512:
6
+ metadata.gz: 33df33456da6b923723eb9253ca7c774b35bb42306d27ab00fddaf861f758fe6fe6e7d9f0993d5c4481cc0b818b859589cb3c85a8e199ee79f4da12275fb8ece
7
+ data.tar.gz: bcffd1814b734650587939c66c6c545b76c171920db3558b5551b1ddd7b657e0b5a9429842403aff1a4b976ea16c77c462f191c444a7c58414d59ef6b87a2bbd
data/.dockerignore ADDED
@@ -0,0 +1 @@
1
+ vendor/bundle
@@ -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,33 @@
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.1'
15
+ - '3.0'
16
+ - 2.7
17
+ - 2.6
18
+ steps:
19
+ - uses: actions/checkout@v2
20
+ - uses: ruby/setup-ruby@v1
21
+ with:
22
+ ruby-version: ${{ matrix.ruby-version }}
23
+ - run: bundle install
24
+ - run: bundle exec rake test
25
+ - run: bundle exec rake build
26
+ - run: ls -lah ./pkg/apt-spy2*
27
+ - run: gem install pkg/apt-spy2*
28
+ - run: apt-spy2 check
29
+ - uses: coverallsapp/github-action@master
30
+ with:
31
+ github-token: ${{ secrets.GITHUB_TOKEN }}
32
+
33
+
@@ -0,0 +1,22 @@
1
+ ---
2
+ name: release
3
+
4
+ on:
5
+ push:
6
+ tags:
7
+ - 'v*'
8
+
9
+ jobs:
10
+ publish:
11
+ runs-on: ubuntu-latest
12
+ steps:
13
+ - uses: actions/checkout@v2
14
+ - uses: ruby/setup-ruby@v1
15
+ with:
16
+ ruby-version: 3.0
17
+ - run: bundle install
18
+ - uses: cadwallion/publish-rubygems-action@master
19
+ env:
20
+ GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
21
+ RUBYGEMS_API_KEY: ${{ secrets.RUBYGEMS_API_KEY }}
22
+ RELEASE_COMMAND: bundle exec rake release
data/.gitignore CHANGED
@@ -1,2 +1,5 @@
1
1
  .vagrant
2
2
  pkg
3
+ vendor
4
+ coverage
5
+ .bundle
data/.ruby_version ADDED
@@ -0,0 +1 @@
1
+ 2.6.3-p62
data/CONTRIBUTING.md ADDED
@@ -0,0 +1,22 @@
1
+ # Contribute!
2
+
3
+ First off: all contributions are welcome and thanks for taking the time!
4
+
5
+ ## Setup
6
+
7
+ Clone the repository and install the dependencies:
8
+
9
+ ```
10
+ gem install bundler
11
+ bundle install --dev
12
+ ```
13
+
14
+ ## Submit
15
+
16
+ 1. Make a feature branch (`topics/foo` or `bugfix/foo`).
17
+ 2. Run `bundle exec rake test`.
18
+ 3. Send a pull-request.
19
+
20
+ ## Testing
21
+
22
+ If applicable, please add a new test. :)
data/Dockerfile ADDED
@@ -0,0 +1,6 @@
1
+ FROM ruby:2.6-slim
2
+
3
+ WORKDIR /work
4
+ COPY . /work
5
+
6
+ CMD ["ruby", "-v"]
data/Gemfile.lock CHANGED
@@ -1,29 +1,44 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- apt-spy2 (0.5.0)
4
+ apt-spy2 (0.7.3)
5
5
  colored (>= 1.2)
6
6
  json
7
- nokogiri (~> 1.6.0)
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
- json (1.8.0)
15
- mini_portile (0.5.1)
16
- minitest (5.0.8)
17
- nokogiri (1.6.0)
18
- mini_portile (~> 0.5.0)
19
- rake (10.1.0)
20
- thor (0.18.1)
14
+ docile (1.4.0)
15
+ json (2.6.1)
16
+ mini_portile2 (2.6.1)
17
+ minitest (5.15.0)
18
+ nokogiri (1.12.5)
19
+ mini_portile2 (~> 2.6.1)
20
+ racc (~> 1.4)
21
+ racc (1.6.0)
22
+ rake (13.0.6)
23
+ simplecov (0.21.2)
24
+ docile (~> 1.1)
25
+ simplecov-html (~> 0.11)
26
+ simplecov_json_formatter (~> 0.1)
27
+ simplecov-html (0.12.3)
28
+ simplecov-lcov (0.8.0)
29
+ simplecov_json_formatter (0.1.3)
30
+ thor (1.1.0)
21
31
 
22
32
  PLATFORMS
23
33
  ruby
24
34
 
25
35
  DEPENDENCIES
26
36
  apt-spy2!
27
- bundler (~> 1.3)
28
- minitest (~> 5.0.8)
37
+ bundler (~> 2.0)
38
+ minitest (~> 5.15.0)
29
39
  rake
40
+ simplecov (~> 0.18)
41
+ simplecov-lcov (~> 0.8.0)
42
+
43
+ BUNDLED WITH
44
+ 2.2.32
data/LICENSE ADDED
@@ -0,0 +1,25 @@
1
+ BSD 2-Clause License
2
+
3
+ Copyright (c) 2013-2019, Till Klampaeckel
4
+ All rights reserved.
5
+
6
+ Redistribution and use in source and binary forms, with or without
7
+ modification, are permitted provided that the following conditions are met:
8
+
9
+ 1. Redistributions of source code must retain the above copyright notice, this
10
+ list of conditions and the following disclaimer.
11
+
12
+ 2. Redistributions in binary form must reproduce the above copyright notice,
13
+ this list of conditions and the following disclaimer in the documentation
14
+ and/or other materials provided with the distribution.
15
+
16
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
17
+ AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
18
+ IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
19
+ DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
20
+ FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
21
+ DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
22
+ SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
23
+ CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
24
+ OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
25
+ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
data/Makefile ADDED
@@ -0,0 +1,11 @@
1
+ install:
2
+ bundle install --path ./vendor/bundle
3
+
4
+ release:
5
+ bundle exec rake release
6
+
7
+ docker-build:
8
+ docker build -t lagged/apt-spy2:dev .
9
+
10
+ docker-run: docker-build
11
+ docker run -it lagged/apt-spy2:dev bash
data/README.md CHANGED
@@ -2,9 +2,10 @@
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
+ [![Coverage Status](https://coveralls.io/repos/lagged/apt-spy2/badge.png)](https://coveralls.io/r/lagged/apt-spy2)
8
9
 
9
10
 
10
11
  ## Installation
@@ -81,13 +82,8 @@ Generally, `apt-spy2` plays especially nice in a non-interactive environment and
81
82
 
82
83
  [New BSD License](http://opensource.org/licenses/BSD-2-Clause)
83
84
 
84
- ## Contributions are welcome
85
+ ### Release (procedure)
85
86
 
86
- Clone the repository and install the dependencies:
87
-
88
- ```
89
- gem install bundler
90
- bundle install --dev
91
- ```
92
-
93
- Make a feature branch (`topics/foo` or `bugfix/foo`) and send a pull-request.
87
+ - update version in `lib/apt/spy2/version.rb`
88
+ - `bundle install`
89
+ - `git commit -a -m 'New release' && git tag -a vVERSION && git push --tags`
data/Rakefile CHANGED
@@ -1,10 +1,22 @@
1
1
  require "bundler/gem_tasks"
2
- require 'minitest/autorun'
2
+ require "minitest/autorun"
3
+ require "simplecov"
4
+ require "simplecov-lcov"
3
5
 
4
6
  Encoding.default_external = Encoding::UTF_8
5
7
  Encoding.default_internal = Encoding::UTF_8
6
8
 
7
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
+
8
20
  $LOAD_PATH.unshift('lib', 'tests')
9
21
  Dir.glob('./tests/*_test.rb') do |f|
10
22
  require f
data/apt-spy2.gemspec CHANGED
@@ -11,7 +11,9 @@ Gem::Specification.new do |spec|
11
11
  spec.description = "Keep your /etc/apt/sources.list up to date"
12
12
  spec.summary = "apt-spy2, or apt-spy for ubuntu"
13
13
  spec.homepage = "https://github.com/lagged/apt-spy2"
14
- spec.license = "BSD"
14
+ spec.license = 'BSD-2-Clause'
15
+
16
+ spec.required_ruby_version = '>= 2.6', '< 3.2'
15
17
 
16
18
  spec.files = `git ls-files`.split($/)
17
19
  spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
@@ -21,9 +23,11 @@ Gem::Specification.new do |spec|
21
23
  spec.add_dependency 'thor', '>= 0.18.1'
22
24
  spec.add_dependency 'colored', '>= 1.2'
23
25
  spec.add_dependency 'json'
24
- spec.add_dependency 'nokogiri', '~> 1.6.0'
26
+ spec.add_dependency 'nokogiri', '>= 1.6', '< 1.13'
25
27
 
26
- spec.add_development_dependency "bundler", "~> 1.3"
28
+ spec.add_development_dependency "bundler", "~> 2.0"
27
29
  spec.add_development_dependency "rake"
28
- spec.add_development_dependency "minitest", "~> 5.0.8"
30
+ spec.add_development_dependency "minitest", "~> 5.15.0"
31
+ spec.add_development_dependency "simplecov", "~> 0.18"
32
+ spec.add_development_dependency "simplecov-lcov", "~> 0.8.0"
29
33
  end
@@ -14,7 +14,7 @@ module Apt
14
14
  raise "Please supply a url." if url.nil?
15
15
 
16
16
  begin
17
- return open(@url).read
17
+ return URI.open(@url, :read_timeout => 10).read
18
18
  rescue OpenURI::HTTPError => the_error
19
19
  case the_error.io.status[0]
20
20
  when "404"
@@ -1,5 +1,5 @@
1
1
  module Apt
2
2
  module Spy2
3
- VERSION = "0.5.0"
3
+ VERSION = "0.7.3"
4
4
  end
5
5
  end
data/lib/apt/spy2.rb CHANGED
@@ -18,7 +18,7 @@ class AptSpy2 < Thor
18
18
  def fix
19
19
  working = filter(retrieve(options[:country], use_launchpad?(options)), false)
20
20
  print "The closest mirror is: "
21
- puts "#{working[0]}".white_on_green
21
+ puts "#{working[0]}".bold.magenta
22
22
  if !options[:commit]
23
23
  puts "Run with --commit to adjust /etc/apt/sources.list".yellow
24
24
  else
@@ -57,6 +57,12 @@ class AptSpy2 < Thor
57
57
  puts mirrors if !@writer.json?
58
58
  end
59
59
 
60
+ desc "version", "Show which version of apt-spy2 is installed"
61
+ def version
62
+ puts Apt::Spy2::VERSION
63
+ exit
64
+ end
65
+
60
66
  private
61
67
  def retrieve(country = "mirrors", launchpad = false)
62
68
 
@@ -88,12 +94,13 @@ class AptSpy2 < Thor
88
94
  mirrors.each do |mirror|
89
95
  data = {"mirror" => mirror }
90
96
  begin
91
- mirror_status = open(mirror)
97
+ URI.open(mirror)
92
98
  data["status"] = "up"
93
99
  working_mirrors << mirror
94
- rescue OpenURI::HTTPError => the_error
100
+ rescue OpenURI::HTTPError
95
101
  data["status"] = "broken"
96
- rescue Errno::ECONNREFUSED
102
+ rescue
103
+ # this is a catch-all for everything else
97
104
  data["status"] = "down"
98
105
  end
99
106
 
@@ -129,7 +136,7 @@ class AptSpy2 < Thor
129
136
  end
130
137
 
131
138
  puts "Updated '#{apt_sources}' with #{mirror}".green
132
- puts "Run `apt-get update` to update".red_on_yellow
139
+ puts "Run `apt-get update` to update".black_on_yellow
133
140
  end
134
141
 
135
142
  private
@@ -138,9 +145,8 @@ class AptSpy2 < Thor
138
145
  return false
139
146
  end
140
147
 
141
-
142
148
  if options[:country] && options[:country] == 'mirrors'
143
- raise "Please supply a --country. Launchpad cannot guess!"
149
+ raise "Please supply a `--country=foo`. Launchpad cannot guess!"
144
150
  end
145
151
 
146
152
  return true
@@ -0,0 +1,15 @@
1
+ require 'apt/spy2/downloader'
2
+
3
+ class DownloaderTest < Minitest::Test
4
+ # this is an integration test (needs interwebs)
5
+ def test_do()
6
+ downloader = Apt::Spy2::Downloader.new
7
+ data = downloader.do_download("http://mirrors.ubuntu.com/DE.txt")
8
+ assert(!data.empty?, "There should have been a response, unless the mirrors are down.")
9
+ end
10
+
11
+ def test_do_wrong_countrys()
12
+ downloader = Apt::Spy2::Downloader.new
13
+ assert_raises(RuntimeError) { downloader.do_download("http://mirrors.ubuntu.com/de.txt") }
14
+ end
15
+ end
metadata CHANGED
@@ -1,128 +1,147 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: apt-spy2
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.0
5
- prerelease:
4
+ version: 0.7.3
6
5
  platform: ruby
7
6
  authors:
8
7
  - till
9
8
  autorequire:
10
9
  bindir: bin
11
10
  cert_chain: []
12
- date: 2013-09-28 00:00:00.000000000 Z
11
+ date: 2021-12-24 00:00:00.000000000 Z
13
12
  dependencies:
14
13
  - !ruby/object:Gem::Dependency
15
14
  name: thor
16
15
  requirement: !ruby/object:Gem::Requirement
17
- none: false
18
16
  requirements:
19
- - - ! '>='
17
+ - - ">="
20
18
  - !ruby/object:Gem::Version
21
19
  version: 0.18.1
22
20
  type: :runtime
23
21
  prerelease: false
24
22
  version_requirements: !ruby/object:Gem::Requirement
25
- none: false
26
23
  requirements:
27
- - - ! '>='
24
+ - - ">="
28
25
  - !ruby/object:Gem::Version
29
26
  version: 0.18.1
30
27
  - !ruby/object:Gem::Dependency
31
28
  name: colored
32
29
  requirement: !ruby/object:Gem::Requirement
33
- none: false
34
30
  requirements:
35
- - - ! '>='
31
+ - - ">="
36
32
  - !ruby/object:Gem::Version
37
33
  version: '1.2'
38
34
  type: :runtime
39
35
  prerelease: false
40
36
  version_requirements: !ruby/object:Gem::Requirement
41
- none: false
42
37
  requirements:
43
- - - ! '>='
38
+ - - ">="
44
39
  - !ruby/object:Gem::Version
45
40
  version: '1.2'
46
41
  - !ruby/object:Gem::Dependency
47
42
  name: json
48
43
  requirement: !ruby/object:Gem::Requirement
49
- none: false
50
44
  requirements:
51
- - - ! '>='
45
+ - - ">="
52
46
  - !ruby/object:Gem::Version
53
47
  version: '0'
54
48
  type: :runtime
55
49
  prerelease: false
56
50
  version_requirements: !ruby/object:Gem::Requirement
57
- none: false
58
51
  requirements:
59
- - - ! '>='
52
+ - - ">="
60
53
  - !ruby/object:Gem::Version
61
54
  version: '0'
62
55
  - !ruby/object:Gem::Dependency
63
56
  name: nokogiri
64
57
  requirement: !ruby/object:Gem::Requirement
65
- none: false
66
58
  requirements:
67
- - - ~>
59
+ - - ">="
68
60
  - !ruby/object:Gem::Version
69
- version: 1.6.0
61
+ version: '1.6'
62
+ - - "<"
63
+ - !ruby/object:Gem::Version
64
+ version: '1.13'
70
65
  type: :runtime
71
66
  prerelease: false
72
67
  version_requirements: !ruby/object:Gem::Requirement
73
- none: false
74
68
  requirements:
75
- - - ~>
69
+ - - ">="
70
+ - !ruby/object:Gem::Version
71
+ version: '1.6'
72
+ - - "<"
76
73
  - !ruby/object:Gem::Version
77
- version: 1.6.0
74
+ version: '1.13'
78
75
  - !ruby/object:Gem::Dependency
79
76
  name: bundler
80
77
  requirement: !ruby/object:Gem::Requirement
81
- none: false
82
78
  requirements:
83
- - - ~>
79
+ - - "~>"
84
80
  - !ruby/object:Gem::Version
85
- version: '1.3'
81
+ version: '2.0'
86
82
  type: :development
87
83
  prerelease: false
88
84
  version_requirements: !ruby/object:Gem::Requirement
89
- none: false
90
85
  requirements:
91
- - - ~>
86
+ - - "~>"
92
87
  - !ruby/object:Gem::Version
93
- version: '1.3'
88
+ version: '2.0'
94
89
  - !ruby/object:Gem::Dependency
95
90
  name: rake
96
91
  requirement: !ruby/object:Gem::Requirement
97
- none: false
98
92
  requirements:
99
- - - ! '>='
93
+ - - ">="
100
94
  - !ruby/object:Gem::Version
101
95
  version: '0'
102
96
  type: :development
103
97
  prerelease: false
104
98
  version_requirements: !ruby/object:Gem::Requirement
105
- none: false
106
99
  requirements:
107
- - - ! '>='
100
+ - - ">="
108
101
  - !ruby/object:Gem::Version
109
102
  version: '0'
110
103
  - !ruby/object:Gem::Dependency
111
104
  name: minitest
112
105
  requirement: !ruby/object:Gem::Requirement
113
- none: false
114
106
  requirements:
115
- - - ~>
107
+ - - "~>"
108
+ - !ruby/object:Gem::Version
109
+ version: 5.15.0
110
+ type: :development
111
+ prerelease: false
112
+ version_requirements: !ruby/object:Gem::Requirement
113
+ requirements:
114
+ - - "~>"
115
+ - !ruby/object:Gem::Version
116
+ version: 5.15.0
117
+ - !ruby/object:Gem::Dependency
118
+ name: simplecov
119
+ requirement: !ruby/object:Gem::Requirement
120
+ requirements:
121
+ - - "~>"
116
122
  - !ruby/object:Gem::Version
117
- version: 5.0.8
123
+ version: '0.18'
118
124
  type: :development
119
125
  prerelease: false
120
126
  version_requirements: !ruby/object:Gem::Requirement
121
- none: false
122
127
  requirements:
123
- - - ~>
128
+ - - "~>"
124
129
  - !ruby/object:Gem::Version
125
- version: 5.0.8
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
126
145
  description: Keep your /etc/apt/sources.list up to date
127
146
  email:
128
147
  - till@php.net
@@ -131,13 +150,20 @@ executables:
131
150
  extensions: []
132
151
  extra_rdoc_files: []
133
152
  files:
134
- - .gitignore
135
- - .travis.yml
153
+ - ".dockerignore"
154
+ - ".github/dependabot.yml"
155
+ - ".github/workflows/pr.yml"
156
+ - ".github/workflows/release.yml"
157
+ - ".gitignore"
158
+ - ".ruby_version"
159
+ - CONTRIBUTING.md
160
+ - Dockerfile
136
161
  - Gemfile
137
162
  - Gemfile.lock
163
+ - LICENSE
164
+ - Makefile
138
165
  - README.md
139
166
  - Rakefile
140
- - Vagrantfile
141
167
  - apt-spy2.gemspec
142
168
  - bin/apt-spy2
143
169
  - lib/apt/spy2.rb
@@ -148,32 +174,34 @@ files:
148
174
  - lib/apt/spy2/version.rb
149
175
  - lib/apt/spy2/writer.rb
150
176
  - tests/country_test.rb
177
+ - tests/downloader_test.rb
151
178
  - tests/fixtures/launchpad.html
152
179
  - tests/launchpad_test.rb
153
180
  - var/country-names.txt
154
181
  homepage: https://github.com/lagged/apt-spy2
155
182
  licenses:
156
- - BSD
183
+ - BSD-2-Clause
184
+ metadata: {}
157
185
  post_install_message:
158
186
  rdoc_options: []
159
187
  require_paths:
160
188
  - lib
161
189
  required_ruby_version: !ruby/object:Gem::Requirement
162
- none: false
163
190
  requirements:
164
- - - ! '>='
191
+ - - ">="
165
192
  - !ruby/object:Gem::Version
166
- version: '0'
193
+ version: '2.6'
194
+ - - "<"
195
+ - !ruby/object:Gem::Version
196
+ version: '3.2'
167
197
  required_rubygems_version: !ruby/object:Gem::Requirement
168
- none: false
169
198
  requirements:
170
- - - ! '>='
199
+ - - ">="
171
200
  - !ruby/object:Gem::Version
172
201
  version: '0'
173
202
  requirements: []
174
- rubyforge_project:
175
- rubygems_version: 1.8.23
203
+ rubygems_version: 3.2.32
176
204
  signing_key:
177
- specification_version: 3
205
+ specification_version: 4
178
206
  summary: apt-spy2, or apt-spy for ubuntu
179
207
  test_files: []
data/.travis.yml DELETED
@@ -1,6 +0,0 @@
1
- language: ruby
2
- rvm:
3
- - 1.9.3
4
-
5
- script:
6
- - bundle exec rake test
data/Vagrantfile DELETED
@@ -1,11 +0,0 @@
1
- Vagrant::Config.run do |config|
2
-
3
- config.vm.box = "precise64"
4
- config.vm.box_url = "http://dl.dropbox.com/u/1537815/precise64.box"
5
-
6
- config.vm.customize [
7
- "modifyvm", :id,
8
- "--name", "apt-spy2 testbox",
9
- "--memory", "128"
10
- ]
11
- end