-
-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #33 from laserlemon/v0-0-10
Prepare v0.0.10 release
- Loading branch information
Showing
19 changed files
with
123 additions
and
122 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
name: Rake | ||
on: | ||
push: | ||
branches: | ||
- v0 | ||
pull_request: | ||
branches: | ||
- v0 | ||
jobs: | ||
test: | ||
runs-on: ubuntu-latest | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
ruby-version: | ||
- "2.3" | ||
- "2.4" | ||
gemfile-path: | ||
- gemfiles/rspec_3_0.gemfile | ||
- gemfiles/rspec_3_1.gemfile | ||
- gemfiles/rspec_3_2.gemfile | ||
- gemfiles/rspec_3_3.gemfile | ||
- gemfiles/rspec_3_4.gemfile | ||
- gemfiles/rspec_3_5.gemfile | ||
- gemfiles/rspec_3_6.gemfile | ||
- gemfiles/rspec_3_7.gemfile | ||
env: | ||
BUNDLE_GEMFILE: ${{ github.workspace }}/${{ matrix.gemfile-path }} | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- name: Set up Ruby | ||
uses: ruby/setup-ruby@v1 | ||
with: | ||
ruby-version: ${{ matrix.ruby-version }} | ||
bundler-cache: true | ||
- name: Run tests | ||
run: bundle exec rake |
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,15 +1,14 @@ | ||
/.bundle/ | ||
/.yardoc | ||
/Gemfile.lock | ||
/gemfiles/*.lock | ||
/_yardoc/ | ||
/coverage/ | ||
/doc/ | ||
/pkg/ | ||
/spec/reports/ | ||
/tmp/ | ||
*.bundle | ||
*.so | ||
*.o | ||
*.a | ||
mkmf.log | ||
|
||
# rspec failure tracking | ||
.rspec_status | ||
|
||
/Gemfile.lock | ||
/gemfiles/*.lock |
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,23 +1,31 @@ | ||
# This should always correspond to the earliest non-EOL Ruby version. | ||
AllCops: | ||
NewCops: disable | ||
SuggestExtensions: false | ||
TargetRubyVersion: 2.2 | ||
|
||
# TODO: Re-enable this cop after TomDoc code deocumentation is added. | ||
Style/Documentation: | ||
Gemspec/DevelopmentDependencies: | ||
Enabled: false | ||
|
||
Layout/FirstArrayElementIndentation: | ||
EnforcedStyle: consistent | ||
Layout/LineEndStringConcatenationIndentation: | ||
EnforcedStyle: indented | ||
|
||
Metrics: | ||
Enabled: false | ||
|
||
Naming/RescuedExceptionsVariableName: | ||
Enabled: false | ||
|
||
Metrics/BlockLength: | ||
ExcludedMethods: | ||
- context | ||
- describe | ||
Metrics/LineLength: | ||
IgnoreCopDirectives: true | ||
Style/BlockDelimiters: | ||
EnforcedStyle: semantic | ||
FunctionalMethods: | ||
- expect | ||
- let | ||
EnforcedStyle: braces_for_chaining | ||
Style/Documentation: | ||
Enabled: false | ||
Style/StringLiterals: | ||
EnforcedStyle: double_quotes | ||
Style/SymbolArray: | ||
EnforcedStyle: brackets | ||
Style/TrailingCommaInArrayLiteral: | ||
EnforcedStyleForMultiline: comma | ||
Style/TrailingCommaInHashLiteral: | ||
EnforcedStyleForMultiline: comma |
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
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
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,24 +1,42 @@ | ||
lib = File.expand_path("../lib", __FILE__) | ||
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib) | ||
require "rspec/wait/version" | ||
# frozen_string_literal: true | ||
|
||
require_relative "lib/rspec/wait/version" | ||
|
||
Gem::Specification.new do |spec| | ||
spec.name = "rspec-wait" | ||
spec.version = RSpec::Wait.version | ||
spec.name = "rspec-wait" | ||
spec.summary = "Wait for conditions in RSpec" | ||
spec.description = "RSpec::Wait enables time-resilient expectations in your RSpec test suite." | ||
spec.version = RSpec::Wait::VERSION | ||
|
||
spec.author = "Steve Richert" | ||
spec.email = "[email protected]" | ||
|
||
spec.summary = "Wait for conditions in RSpec" | ||
spec.description = "RSpec::Wait enables time-resilient expectations in your RSpec test suite." # rubocop:disable Metrics/LineLength | ||
spec.homepage = "https://github.com/laserlemon/rspec-wait" | ||
spec.license = "MIT" | ||
|
||
spec.files = `git ls-files -z`.split("\x0") | ||
spec.test_files = spec.files.grep(/^spec/) | ||
spec.email = "[email protected]" | ||
spec.license = "MIT" | ||
spec.homepage = "https://github.com/laserlemon/rspec-wait" | ||
|
||
spec.add_dependency "rspec", ">= 3" | ||
spec.metadata = { | ||
"allowed_push_host" => "https://rubygems.org", | ||
"bug_tracker_uri" => "https://github.com/laserlemon/rspec-wait/issues", | ||
"funding_uri" => "https://github.com/sponsors/laserlemon", | ||
"homepage_uri" => "https://github.com/laserlemon/rspec-wait", | ||
"rubygems_mfa_required" => "true", | ||
"source_code_uri" => "https://github.com/laserlemon/rspec-wait", | ||
} | ||
|
||
spec.required_ruby_version = ">= 2.2" | ||
spec.add_dependency "rspec", ">= 3.0" | ||
spec.add_development_dependency "bundler" | ||
spec.add_development_dependency "rake" | ||
|
||
spec.files = Dir.glob([ | ||
"rspec-wait.gemspec", | ||
"lib/**/*.rb", | ||
"LICENSE.txt", | ||
]) | ||
|
||
spec.extra_rdoc_files = ["README.md"] | ||
|
||
spec.post_install_message = <<-MSG | ||
[rspec-wait] RSpec::Wait 1.0 has arrived! Please upgrade for the latest and greatest. | ||
[rspec-wait] See what's changed here: https://github.com/laserlemon/rspec-wait/blob/-/CHANGELOG.md | ||
MSG | ||
end |
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,6 +1,2 @@ | ||
if ENV["CODECLIMATE_REPO_TOKEN"] | ||
require "simplecov" | ||
SimpleCov.start | ||
end | ||
|
||
require "bundler/setup" | ||
require "rspec/wait" |