Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support fpm 1.16.0 #34

Merged
merged 1 commit into from
Dec 12, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion fpm-fry.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -27,5 +27,6 @@ Gem::Specification.new do |gem|
gem.files = Dir['lib/**/*'] & `git ls-files -z`.split("\0")

gem.add_dependency 'excon', '~> 0.71'
gem.add_dependency 'fpm', '~> 1.13'
gem.add_dependency 'fpm', '~> 1.16'
gem.add_dependency 'clamp', '> 1.1.0'
end
2 changes: 1 addition & 1 deletion lib/fpm/fry/command.rb
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ class Command < Clamp::Command
extend Forwardable
def_delegators :ui, :out, :err, :logger, :tmpdir

def initialize(invocation_path, ctx = {}, parent_attribute_values = {})
def initialize(invocation_path, ctx = {})
super
@ui = ctx.fetch(:ui){ UI.new(tmpdir: dir) }
@client = ctx[:client]
Expand Down
2 changes: 1 addition & 1 deletion lib/fpm/fry/command/cook.rb
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ class BuildFailed < StandardError
parameter 'image', 'Docker image to build from'
parameter '[recipe]', 'Recipe file to cook', default: 'recipe.rb'

def initialize(invocation_path, ctx = {}, parent_attribute_values = {})
def initialize(invocation_path, ctx = {})
@tls = nil
require 'digest'
require 'fileutils'
Expand Down
Loading