Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
artyomb committed Jul 31, 2024
1 parent 54cd6bb commit 120cf67
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion Gemfile.lock
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
PATH
remote: .
specs:
dry-stack (0.1.8)
dry-stack (0.1.9)

GEM
remote: https://rubygems.org/
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ This gem allows ...
cat simple_stack.drs | dry-stack -e to_compose | docker stack deploy -c - simple_stack
$ dry-stack
Version: 0.1.8
Version: 0.1.9
Usage:
dry-stack -s stackfile [options] COMMAND
cat stackfile | dry-stack COMMAND
Expand Down
4 changes: 2 additions & 2 deletions lib/dry-stack/stack.rb
Original file line number Diff line number Diff line change
Expand Up @@ -335,10 +335,10 @@ def After(&block)
# TODO: latter
# def ServicesEach(names, &)
# def ServicesEach(names, opts, &)
def ServicesEach(&)
def ServicesEach(&block)
After do
@services.values.each do |svc|
ServiceFunction.new(svc,&) if block_given?
ServiceFunction.new(svc, &block) if block_given?
end
end
end
Expand Down
2 changes: 1 addition & 1 deletion lib/version.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
module Dry
class Stack
VERSION = '0.1.8'
VERSION = '0.1.9'
end
end

0 comments on commit 120cf67

Please sign in to comment.