Skip to content

Commit 2da8167

Browse files
committed
Run on whatever is the current release.
1 parent 8b5e272 commit 2da8167

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

gems.rb

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,6 @@
77

88
gemspec
99

10-
gem "faraday", git: "https://github.com/lostisland/faraday.git", branch: "mg/parallel-manager-execute"
11-
1210
group :maintenance, optional: true do
1311
gem "bake-modernize"
1412
gem "bake-gem"

lib/async/http/faraday/adapter.rb

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,11 @@ def run
6363
end
6464

6565
def async(&block)
66-
@barrier.async(&block)
66+
if @barrier
67+
@barrier.async(&block)
68+
else
69+
Sync(&block)
70+
end
6771
end
6872

6973
def execute(&block)

0 commit comments

Comments
 (0)