-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into dependabot-bundler-distrib-core-rubocop-rspe…
…c-3.0.1
- Loading branch information
Showing
37 changed files
with
271 additions
and
139 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,16 @@ | ||
# distrib-core | ||
|
||
Is a common core module for [rspec-distrib](../rspec-distrib). | ||
This is a common core module for *-distrib runners. | ||
At this point for [rspec-distrib](../rspec-distrib). | ||
|
||
## Installation | ||
|
||
Add the gem to the application's Gemfile: | ||
|
||
```ruby | ||
gem 'distrib-core', git: '[email protected]:toptal/test-distrib.git', | ||
glob: 'distrib-core/*.gemspec' | ||
git '[email protected]:toptal/test-distrib.git', branch: 'main' do | ||
gem 'distrib-core', require: false, group: [:test] | ||
end | ||
``` | ||
|
||
## Getting started | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,17 @@ | ||
# So we can require it as 'distrib-core'. | ||
require 'distrib_core' | ||
require 'distrib_core/core_ext/drb_tcp_socket' | ||
require 'distrib_core/logger_broadcaster' | ||
require 'distrib_core/leader' | ||
require 'distrib_core/configuration' | ||
require 'distrib_core/distrib' | ||
require 'distrib_core/drb_helper' | ||
require 'distrib_core/metrics' | ||
require 'distrib_core/received_signals' | ||
require 'distrib_core/worker' | ||
|
||
# A core module. Has a quick alias to configuration. | ||
module DistribCore | ||
# Alias to {DistribCore::Configuration.current} | ||
def self.configuration | ||
Configuration.current | ||
end | ||
end |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1 change: 1 addition & 0 deletions
1
distrib-core/lib/distrib_core/leader/retry_on_different_error_handler.rb
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.