fpm-cookery 0.35.1 → 0.37.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
- SHA1:
3
- metadata.gz: a7f311c220910c26ded28d35577a469f17940542
4
- data.tar.gz: ef041b28f7b56ddfe19ce483e276cb7a3a88e7c4
2
+ SHA256:
3
+ metadata.gz: b95014d3c9e85da55e6ba1e46ff1d8b6fddd05ff100afff7d3f26c1440c56845
4
+ data.tar.gz: e2c6c2e73c6816ba2f34e20fa9ad9d25c9a255caf0b2c6fe9b5ba37cc2cd6308
5
5
  SHA512:
6
- metadata.gz: 40be51fb1f5a8fe25e69443ec138a227ce8f015aed97e93b38265d9601d3f5547710475d09a674ac8541b8433c707ac674cbce047ecd0e6d6ea540389251c311
7
- data.tar.gz: d1e9d2422cb4bc45f5d72ef90e8df360165bdf3183f1c88b6046ff51963959f5eccfc15b3fb73980c88e215a98bfe0f7f5b5e7231cf32759efd72218dc702a34
6
+ metadata.gz: 0c0eaf01306f288ac13a2c0766c1366a6dd79ec3eb5ada9928dbef287232d0f7b5108a0bdd1ff9005b53e1320100c9b70224126e3cebe1ae9dc7d3775de04324
7
+ data.tar.gz: ca59959ebd72f3b8eedbbba3b341a951f0ce816ccf5b383ab3b6013541befccf1da5e8d35f0cdda9bae5c86a8b1434cd4bd336fe8eec2692235ef37d69f0ee25
@@ -8,16 +8,19 @@ jobs:
8
8
  runs-on: ubuntu-latest
9
9
  strategy:
10
10
  matrix:
11
- ruby: [2.4, 2.5, 2.6]
11
+ ruby: ["2.7", "3.0", "3.1", "3.2"]
12
12
 
13
13
  steps:
14
14
  - uses: actions/checkout@v1
15
15
  - name: Set up Ruby ${{ matrix.ruby }}
16
- uses: actions/setup-ruby@v1
16
+ uses: ruby/setup-ruby@v1
17
17
  with:
18
- ruby-version: ${{ matrix.ruby }}.x
18
+ ruby-version: ${{ matrix.ruby }}
19
+ bundler-cache: true
19
20
  - name: Build and test with Rake
20
21
  run: |
22
+ sudo apt-get update -qq
23
+ sudo apt-get install -yqq python3-sphinx
21
24
  gem install bundler
22
25
  bundle install --jobs 4 --retry 3
23
26
  bundle exec rake
data/CHANGELOG.md CHANGED
@@ -1,3 +1,15 @@
1
+ # v0.37.0 (2023-04-04)
2
+ * Add `osfamily` fact and choose package target based on it. (FooBarQuaxx / #216)
3
+ * Install Sphinx toolchain for GitHub Action workflow. (FooBarQuaxx / #217)
4
+ * Add support for Ruby 3.2. (FooBarQuaxx / #218, bernd / #219)
5
+
6
+ # v0.36.0 (2022-07-13)
7
+ * Add Dockerfile for Ubuntu 18.04.
8
+ * Allow newer versions of Puppet (gmathes / #211)
9
+ * Fix compatibility issues with newer Ruby and newer dependencies. (#214)
10
+ * Add Ruby versions up to 3.1 to GitHub Action workflow.
11
+ * Switch default branch to `main`.
12
+
1
13
  # v0.35.1 (2019-12-18)
2
14
  * Fix default Docker image name
3
15
 
data/README.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # fpm-cookery - For building software
2
2
 
3
- [![Build Status](https://travis-ci.org/bernd/fpm-cookery.svg)](https://travis-ci.org/bernd/fpm-cookery)
3
+ ![Build Status](https://github.com/bernd/fpm-cookery/actions/workflows/ruby.yml/badge.svg)
4
4
 
5
5
  A tool for building software packages with
6
6
  [fpm](https://github.com/jordansissel/fpm).
@@ -1,14 +1,14 @@
1
1
  FROM ubuntu:16.04
2
2
 
3
- RUN apt-get update
4
- RUN \
5
- apt-get install --no-install-recommends -y \
3
+ RUN apt-get update \
4
+ && apt-get install --no-install-recommends -y \
6
5
  curl \
7
6
  wget \
8
7
  git \
9
8
  ruby2.3-dev \
10
9
  build-essential \
11
10
  man-db \
11
+ unzip \
12
12
  && gem install --no-ri --no-rdoc fpm-cookery \
13
13
  && apt-get clean \
14
14
  && rm -rf \
@@ -0,0 +1,27 @@
1
+ FROM ubuntu:18.04
2
+
3
+ RUN apt-get update \
4
+ && apt-get install --no-install-recommends -y \
5
+ curl \
6
+ wget \
7
+ git \
8
+ ruby2.5-dev \
9
+ build-essential \
10
+ man-db \
11
+ unzip \
12
+ && gem install --no-ri --no-rdoc fpm-cookery \
13
+ && apt-get clean \
14
+ && rm -rf \
15
+ /tmp/* \
16
+ /root/.gem \
17
+ /var/cache/debconf/* \
18
+ /var/lib/gems/*/cache/* \
19
+ /var/lib/apt/lists/* \
20
+ /var/log/* \
21
+ /usr/share/X11 \
22
+ /usr/share/doc/*
23
+
24
+ COPY docker-entrypoint.sh /
25
+
26
+ ENTRYPOINT ["/docker-entrypoint.sh"]
27
+ CMD ["fpm-cook"]
data/docs/index.rst CHANGED
@@ -1,4 +1,4 @@
1
- .. fpm-cookery documentation master file, created by
1
+ .. fpm-cookery documentation main file, created by
2
2
  sphinx-quickstart on Sat Jul 25 11:02:45 2015.
3
3
  You can adapt this file completely to your liking, but it should at least
4
4
  contain the root `toctree` directive.
@@ -281,5 +281,5 @@ Examples
281
281
  --------
282
282
 
283
283
  See the `Redis recipe
284
- <https://github.com/bernd/fpm-cookery/tree/master/recipes/redis>`_ for an
284
+ <https://github.com/bernd/fpm-cookery/tree/main/recipes/redis>`_ for an
285
285
  example of fpm-cookery and Hiera in action.
data/fpm-cookery.gemspec CHANGED
@@ -24,10 +24,11 @@ Gem::Specification.new do |s|
24
24
  s.add_development_dependency "simplecov", "~> 0.11"
25
25
  s.add_runtime_dependency "fpm", "~> 1.1"
26
26
  s.add_runtime_dependency "facter"
27
- s.add_runtime_dependency "puppet", ">= 3.4", "< 6.0"
28
- s.add_runtime_dependency "addressable", "~> 2.3.8"
27
+ s.add_runtime_dependency "puppet", ">= 3.4", "< 8.0"
28
+ s.add_runtime_dependency "addressable", "~> 2.8"
29
29
  s.add_runtime_dependency "systemu"
30
- s.add_runtime_dependency "json", ">= 1.7.7", "< 2.0"
31
- s.add_runtime_dependency "json_pure", ">= 1.7.7", "< 2.0"
30
+ s.add_runtime_dependency "json", "~> 2.6"
31
+ s.add_runtime_dependency "json_pure", "~> 2.6"
32
32
  s.add_runtime_dependency "safe_yaml", "~> 1.0.4"
33
+ s.add_runtime_dependency "uri-ssh_git", "~> 2.0"
33
34
  end
@@ -20,7 +20,7 @@ module FPM
20
20
  DependencyInspector.verify!([], recipe.build_depends)
21
21
  recipe.chain_recipes.each do |name|
22
22
  recipe_file = build_recipe_file_path(name)
23
- unless File.exists?(recipe_file)
23
+ unless File.exist?(recipe_file)
24
24
  error_message = "Cannot find a recipe for #{name} at #{recipe_file}"
25
25
  Log.fatal error_message
26
26
  raise Error::ExecutionFailure, error_message
@@ -49,7 +49,7 @@ module FPM
49
49
  recipe.chain_recipes.each do |name|
50
50
  recipe_file = build_recipe_file_path(name)
51
51
 
52
- unless File.exists?(recipe_file)
52
+ unless File.exist?(recipe_file)
53
53
  Log.fatal "Cannot find a recipe for #{name} at #{recipe_file}"
54
54
  exit 1
55
55
  end
@@ -60,7 +60,7 @@ module FPM
60
60
  file = File.expand_path(recipe)
61
61
 
62
62
  # Allow giving the directory containing a recipe.rb
63
- if File.directory?(file) && File.exists?(File.join(file, 'recipe.rb'))
63
+ if File.directory?(file) && File.exist?(File.join(file, 'recipe.rb'))
64
64
  file = File.join(file, 'recipe.rb')
65
65
  end
66
66
 
@@ -68,7 +68,7 @@ module FPM
68
68
  end
69
69
 
70
70
  def validate
71
- unless File.exists?(recipe_file)
71
+ unless File.exist?(recipe_file)
72
72
  Log.error 'No recipe.rb found in the current directory, abort.'
73
73
  exit 1
74
74
  end
@@ -68,7 +68,7 @@ module FPM
68
68
  ].compact.flatten.join(' ')
69
69
 
70
70
 
71
- Log.info "Running: #{cmd}"
71
+ Log.debug "Running: #{cmd}"
72
72
  begin
73
73
  sh cmd
74
74
  rescue => e
@@ -24,11 +24,11 @@ module FPM
24
24
  end
25
25
  end
26
26
 
27
- def merge(other)
27
+ def merge(other = {})
28
28
  super(self.class[other])
29
29
  end
30
30
 
31
- def merge!(other)
31
+ def merge!(other = {})
32
32
  super(self.class[other])
33
33
  end
34
34
 
@@ -28,13 +28,20 @@ module FPM
28
28
  @osmajorrelease ||= value(:operatingsystemmajrelease, false)
29
29
  end
30
30
 
31
+ def osfamily
32
+ @osfamily ||= value(:osfamily)
33
+ end
34
+
35
+ def osfamily=(value)
36
+ @osfamily = value.downcase.to_sym
37
+ end
38
+
31
39
  def target
32
- @target ||= case platform
33
- when :centos, :redhat, :fedora, :amazon,
34
- :scientific, :oraclelinux, :sles then :rpm
35
- when :debian, :ubuntu then :deb
36
- when :darwin then :osxpkg
37
- when :alpine then :apk
40
+ @target ||= case osfamily
41
+ when :redhat, :suse then :rpm
42
+ when :debian then :deb
43
+ when :darwin then :osxpkg
44
+ when :alpine then :apk
38
45
  end
39
46
  end
40
47
 
@@ -27,9 +27,6 @@ module FPM
27
27
  # Provides a default scope, and attempts to look up the key both as a
28
28
  # string and as a symbol.
29
29
  def lookup(key, default = nil, scope = self.scope, *rest)
30
-
31
- (Gem::Version.new(::Hiera.version) < Gem::Version.new('2.0.0') &&
32
- super(key.to_sym, default, scope, *rest)) ||
33
30
  super(key.to_s, default, scope, *rest)
34
31
  end
35
32
  alias_method :[], :lookup
@@ -21,7 +21,7 @@ module FPM
21
21
  _recipe.omnibus_recipes.each do |name|
22
22
  recipe_file = build_recipe_file_path(name)
23
23
  Log.info "Loading dependency recipe #{name} from #{recipe_file}"
24
- unless File.exists?(recipe_file)
24
+ unless File.exist?(recipe_file)
25
25
  error_message = "Cannot find a recipe for #{name} at #{recipe_file}"
26
26
  Log.fatal error_message
27
27
  raise Error::ExecutionFailure, error_message
@@ -119,7 +119,7 @@ module FPM
119
119
 
120
120
  # Do not extract source again because it might destroy changes
121
121
  # that have been made to the source. (like patches)
122
- if File.exists?(extract_cookie)
122
+ if File.exist?(extract_cookie)
123
123
  extracted_source = File.read(extract_cookie).chomp
124
124
  Log.debug "Extract cookie exists, using existing source directory: #{extracted_source}"
125
125
  else
@@ -149,7 +149,7 @@ module FPM
149
149
 
150
150
  build_cookie = build_cookie_name(package_name)
151
151
 
152
- if File.exists?(build_cookie)
152
+ if File.exist?(build_cookie)
153
153
  Log.warn "Skipping build of #{recipe.name} because build cookie found (#{build_cookie})," \
154
154
  " use \"fpm-cook clean\" to rebuild!"
155
155
  else
@@ -161,7 +161,7 @@ module FPM
161
161
  end
162
162
 
163
163
  FileUtils.rm_rf(recipe.destdir) unless keep_destdir?
164
- recipe.destdir.mkdir unless File.exists?(recipe.destdir)
164
+ recipe.destdir.mkdir unless File.exist?(recipe.destdir)
165
165
 
166
166
  begin
167
167
  recipe.installing = true
@@ -243,7 +243,7 @@ module FPM
243
243
  script_file = File.expand_path("../#{script_file.to_s}", recipe.filename)
244
244
  end
245
245
 
246
- if File.exists?(script_file)
246
+ if File.exist?(script_file)
247
247
  input.add_script(script, File.read(script_file.to_s))
248
248
  else
249
249
  Log.error "#{script} script '#{script_file}' is missing"
@@ -237,14 +237,14 @@ module FPM
237
237
  }
238
238
  end
239
239
 
240
- def applicator(method)
240
+ def applicator(method, &block)
241
241
  if (result = lookup(method)).nil?
242
242
  Log.debug("No result for `#{method}'")
243
243
  return
244
244
  end
245
245
 
246
246
  Log.debug("Setting `#{method}' to `#{result}'")
247
- Proc.new.call(result)
247
+ block.call(result)
248
248
  end
249
249
  end
250
250
 
@@ -1,4 +1,5 @@
1
1
  require 'addressable/uri'
2
+ require 'uri/ssh_git'
2
3
 
3
4
  module FPM
4
5
  module Cookery
@@ -7,7 +8,11 @@ module FPM
7
8
 
8
9
  def initialize(url, options = nil)
9
10
  options ||= {}
10
- @url = Addressable::URI.parse(url.to_s)
11
+ begin
12
+ @url = Addressable::URI.parse(url.to_s)
13
+ rescue Addressable::URI::InvalidURIError
14
+ @url = URI::SshGit.parse(url.to_s)
15
+ end
11
16
  @provider = options[:with]
12
17
  @options = options
13
18
  end
@@ -22,7 +27,7 @@ module FPM
22
27
 
23
28
  # If the Addressable::URI is empty, there's nothing to fetch
24
29
  def fetchable?
25
- !@url.empty?
30
+ !@url.to_s.empty?
26
31
  end
27
32
 
28
33
  def url
@@ -1,5 +1,5 @@
1
1
  module FPM
2
2
  module Cookery
3
- VERSION = '0.35.1'
3
+ VERSION = '0.37.0'
4
4
  end
5
5
  end
data/spec/facts_spec.rb CHANGED
@@ -69,81 +69,59 @@ describe "Facts" do
69
69
  end
70
70
  end
71
71
 
72
- describe "target" do
73
-
74
- describe "with platform Scientific" do
75
- it "returns rpm" do
76
- FPM::Cookery::Facts.platform = 'Scientific'
77
- expect(FPM::Cookery::Facts.target).to eq(:rpm)
78
- end
79
- end
72
+ describe "osfamily" do
73
+ include_context "mock facts", { :osfamily => 'RedHat' }
80
74
 
81
- describe "with platform CentOS" do
82
- it "returns rpm" do
83
- FPM::Cookery::Facts.platform = 'CentOS'
84
- expect(FPM::Cookery::Facts.target).to eq(:rpm)
85
- end
75
+ it "is using Facter to autodetect the osfamily" do
76
+ expect(FPM::Cookery::Facts.osfamily).to eq(:redhat)
86
77
  end
87
78
 
88
- describe "with platform RedHat" do
89
- it "returns rpm" do
90
- FPM::Cookery::Facts.platform = 'RedHat'
91
- expect(FPM::Cookery::Facts.target).to eq(:rpm)
92
- end
79
+ it "can be set" do
80
+ FPM::Cookery::Facts.platform = 'RedHat'
81
+ expect(FPM::Cookery::Facts.osfamily).to eq(:redhat)
93
82
  end
83
+ end
94
84
 
95
- describe "with platform Fedora" do
96
- it "returns rpm" do
97
- FPM::Cookery::Facts.platform = 'Fedora'
98
- expect(FPM::Cookery::Facts.target).to eq(:rpm)
99
- end
100
- end
85
+ describe "target" do
101
86
 
102
- describe "with platform Amazon" do
87
+ describe "with os family RedHat" do
103
88
  it "returns rpm" do
104
- FPM::Cookery::Facts.platform = 'Amazon'
89
+ FPM::Cookery::Facts.osfamily = 'RedHat'
105
90
  expect(FPM::Cookery::Facts.target).to eq(:rpm)
106
91
  end
107
92
  end
108
93
 
109
- describe "with platform OracleLinux" do
94
+ describe "with os family Suse" do
110
95
  it "returns rpm" do
111
- FPM::Cookery::Facts.platform = 'OracleLinux'
96
+ FPM::Cookery::Facts.osfamily = 'Suse'
112
97
  expect(FPM::Cookery::Facts.target).to eq(:rpm)
113
98
  end
114
99
  end
115
100
 
116
- describe "with platform Debian" do
117
- it "returns deb" do
118
- FPM::Cookery::Facts.platform = 'Debian'
119
- expect(FPM::Cookery::Facts.target).to eq(:deb)
120
- end
121
- end
122
-
123
- describe "with platform Ubuntu" do
101
+ describe "with os family Debian" do
124
102
  it "returns deb" do
125
- FPM::Cookery::Facts.platform = 'Ubuntu'
103
+ FPM::Cookery::Facts.osfamily = 'Debian'
126
104
  expect(FPM::Cookery::Facts.target).to eq(:deb)
127
105
  end
128
106
  end
129
107
 
130
- describe "with platform Darwin" do
108
+ describe "with os family Darwin" do
131
109
  it "returns osxpkg" do
132
- FPM::Cookery::Facts.platform = 'Darwin'
110
+ FPM::Cookery::Facts.osfamily = 'Darwin'
133
111
  expect(FPM::Cookery::Facts.target).to eq(:osxpkg)
134
112
  end
135
113
  end
136
114
 
137
- describe "with platform Alpine" do
115
+ describe "with os family Alpine" do
138
116
  it "returns apk" do
139
- FPM::Cookery::Facts.platform = 'Alpine'
117
+ FPM::Cookery::Facts.osfamily = 'Alpine'
140
118
  expect(FPM::Cookery::Facts.target).to eq(:apk)
141
119
  end
142
120
  end
143
121
 
144
- describe "with an unknown platform" do
122
+ describe "with an unknown os family" do
145
123
  it "returns nil" do
146
- FPM::Cookery::Facts.platform = '___X___'
124
+ FPM::Cookery::Facts.osfamily = '___X___'
147
125
  expect(FPM::Cookery::Facts.target).to eq(nil)
148
126
  end
149
127
  end
@@ -3,7 +3,7 @@ description: >
3
3
  For testing purposes on %{scope("platform")} only - you've been warned ;)
4
4
  version: 1.0.2
5
5
  source:
6
- - http://www.dummy-url.com/archive/%{hiera("name")}-%{hiera("version")}.tar.gz
6
+ - http://www.example.com/archive/%{hiera("name")}-%{hiera("version")}.tar.gz
7
7
  - :with: :git
8
8
 
9
9
  environment:
@@ -15,12 +15,12 @@ shared_examples 'attribute registration' do |attr_method, registry_method|
15
15
  extend FPM::Cookery::InheritableAttr
16
16
 
17
17
  instance_eval %Q{
18
- #{attr_method} :dummy_attr
18
+ #{attr_method} :example_attr
19
19
  }
20
20
  end
21
21
 
22
22
  expect(klass).to respond_to(registry_method)
23
- expect(klass.send(registry_method)).to include(:dummy_attr)
23
+ expect(klass.send(registry_method)).to include(:example_attr)
24
24
  end
25
25
  end
26
26
  end
@@ -30,7 +30,7 @@ shared_context 'class inheritance' do
30
30
  let(:subklass) { Class.new(superklass) }
31
31
  end
32
32
 
33
- shared_examples 'attribute inheritance' do |attr_method, default_value, attr_name = :dummy_attr|
33
+ shared_examples 'attribute inheritance' do |attr_method, default_value, attr_name = :example_attr|
34
34
  # A default implementation. Useful for +.attr_rw+, but should probably be
35
35
  # overridden for the other DSL methods.
36
36
  let(:attr_setter) {
@@ -74,7 +74,7 @@ shared_examples 'attribute inheritance' do |attr_method, default_value, attr_nam
74
74
  end
75
75
  end
76
76
 
77
- shared_context 'inheritable attributes' do |attr_method, default_value, attr_name = :dummy_attr|
77
+ shared_context 'inheritable attributes' do |attr_method, default_value, attr_name = :example_attr|
78
78
  include_context 'class inheritance'
79
79
  include_examples 'attribute inheritance', attr_method, default_value
80
80
 
data/spec/path_spec.rb CHANGED
@@ -91,10 +91,10 @@ describe "Path" do
91
91
  it "creates the directory" do
92
92
  dir = Dir.mktmpdir
93
93
  FileUtils.rm_rf(dir)
94
- expect(File.exists?(dir)).to eq(false)
94
+ expect(File.exist?(dir)).to eq(false)
95
95
 
96
96
  FPM::Cookery::Path.new(dir).mkdir
97
- expect(File.exists?(dir)).to eq(true)
97
+ expect(File.exist?(dir)).to eq(true)
98
98
 
99
99
  FileUtils.rm_rf(dir)
100
100
  end
@@ -102,7 +102,7 @@ describe "Path" do
102
102
  describe "directory exists" do
103
103
  it "does not throw an error" do
104
104
  dir = Dir.mktmpdir
105
- expect(File.exists?(dir)).to eq(true)
105
+ expect(File.exist?(dir)).to eq(true)
106
106
 
107
107
  expect(FPM::Cookery::Path.new(dir).mkdir).to eq([dir])
108
108
 
data/spec/source_spec.rb CHANGED
@@ -52,6 +52,8 @@ describe "Source" do
52
52
 
53
53
  expect(source.url).to eq('git@github.com:foo/bar.git')
54
54
  expect(source.path).to eq('foo/bar.git')
55
+ expect(source.local?).to eq(false)
56
+ expect(source.fetchable?).to eq(true)
55
57
  end
56
58
  end
57
59
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fpm-cookery
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.35.1
4
+ version: 0.37.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Bernd Ahlers
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-12-18 00:00:00.000000000 Z
11
+ date: 2023-04-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rspec
@@ -103,7 +103,7 @@ dependencies:
103
103
  version: '3.4'
104
104
  - - "<"
105
105
  - !ruby/object:Gem::Version
106
- version: '6.0'
106
+ version: '8.0'
107
107
  type: :runtime
108
108
  prerelease: false
109
109
  version_requirements: !ruby/object:Gem::Requirement
@@ -113,21 +113,21 @@ dependencies:
113
113
  version: '3.4'
114
114
  - - "<"
115
115
  - !ruby/object:Gem::Version
116
- version: '6.0'
116
+ version: '8.0'
117
117
  - !ruby/object:Gem::Dependency
118
118
  name: addressable
119
119
  requirement: !ruby/object:Gem::Requirement
120
120
  requirements:
121
121
  - - "~>"
122
122
  - !ruby/object:Gem::Version
123
- version: 2.3.8
123
+ version: '2.8'
124
124
  type: :runtime
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: 2.3.8
130
+ version: '2.8'
131
131
  - !ruby/object:Gem::Dependency
132
132
  name: systemu
133
133
  requirement: !ruby/object:Gem::Requirement
@@ -146,42 +146,30 @@ dependencies:
146
146
  name: json
147
147
  requirement: !ruby/object:Gem::Requirement
148
148
  requirements:
149
- - - ">="
150
- - !ruby/object:Gem::Version
151
- version: 1.7.7
152
- - - "<"
149
+ - - "~>"
153
150
  - !ruby/object:Gem::Version
154
- version: '2.0'
151
+ version: '2.6'
155
152
  type: :runtime
156
153
  prerelease: false
157
154
  version_requirements: !ruby/object:Gem::Requirement
158
155
  requirements:
159
- - - ">="
160
- - !ruby/object:Gem::Version
161
- version: 1.7.7
162
- - - "<"
156
+ - - "~>"
163
157
  - !ruby/object:Gem::Version
164
- version: '2.0'
158
+ version: '2.6'
165
159
  - !ruby/object:Gem::Dependency
166
160
  name: json_pure
167
161
  requirement: !ruby/object:Gem::Requirement
168
162
  requirements:
169
- - - ">="
170
- - !ruby/object:Gem::Version
171
- version: 1.7.7
172
- - - "<"
163
+ - - "~>"
173
164
  - !ruby/object:Gem::Version
174
- version: '2.0'
165
+ version: '2.6'
175
166
  type: :runtime
176
167
  prerelease: false
177
168
  version_requirements: !ruby/object:Gem::Requirement
178
169
  requirements:
179
- - - ">="
180
- - !ruby/object:Gem::Version
181
- version: 1.7.7
182
- - - "<"
170
+ - - "~>"
183
171
  - !ruby/object:Gem::Version
184
- version: '2.0'
172
+ version: '2.6'
185
173
  - !ruby/object:Gem::Dependency
186
174
  name: safe_yaml
187
175
  requirement: !ruby/object:Gem::Requirement
@@ -196,6 +184,20 @@ dependencies:
196
184
  - - "~>"
197
185
  - !ruby/object:Gem::Version
198
186
  version: 1.0.4
187
+ - !ruby/object:Gem::Dependency
188
+ name: uri-ssh_git
189
+ requirement: !ruby/object:Gem::Requirement
190
+ requirements:
191
+ - - "~>"
192
+ - !ruby/object:Gem::Version
193
+ version: '2.0'
194
+ type: :runtime
195
+ prerelease: false
196
+ version_requirements: !ruby/object:Gem::Requirement
197
+ requirements:
198
+ - - "~>"
199
+ - !ruby/object:Gem::Version
200
+ version: '2.0'
199
201
  description: A tool for building software packages with fpm.
200
202
  email:
201
203
  - bernd@tuneafish.de
@@ -206,7 +208,6 @@ extra_rdoc_files: []
206
208
  files:
207
209
  - ".github/workflows/ruby.yml"
208
210
  - ".gitignore"
209
- - ".travis.yml"
210
211
  - CHANGELOG.md
211
212
  - Gemfile
212
213
  - LICENSE
@@ -214,6 +215,7 @@ files:
214
215
  - Rakefile
215
216
  - bin/fpm-cook
216
217
  - docker/Dockerfile.ubuntu-16.04
218
+ - docker/Dockerfile.ubuntu-18.04
217
219
  - docker/docker-entrypoint.sh
218
220
  - docs/.gitignore
219
221
  - docs/Makefile
@@ -360,8 +362,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
360
362
  - !ruby/object:Gem::Version
361
363
  version: '0'
362
364
  requirements: []
363
- rubyforge_project: fpm-cookery
364
- rubygems_version: 2.5.2.1
365
+ rubygems_version: 3.3.5
365
366
  signing_key:
366
367
  specification_version: 4
367
368
  summary: A tool for building software packages with fpm.
data/.travis.yml DELETED
@@ -1,15 +0,0 @@
1
- sudo: false
2
- cache: bundler
3
- script: bundle exec rake spec
4
- rvm:
5
- - 1.9.3
6
- - 2.0.0
7
- - 2.1.10
8
- - 2.2.5
9
- - 2.3.1
10
- - 2.4.1
11
- - ruby-head
12
-
13
- matrix:
14
- allow_failures:
15
- - rvm: ruby-head