File tree Expand file tree Collapse file tree 8 files changed +76
-25
lines changed
Expand file tree Collapse file tree 8 files changed +76
-25
lines changed Original file line number Diff line number Diff line change 1+ --color
2+ --require spec_helper
3+ --order random
4+ --warnings
Original file line number Diff line number Diff line change 1- # dry-operation
1+ # Changelog
22
3- Model your app’s business operations.
3+ All notable changes to this project will be documented in this file.
4+
5+ The format is based on [ Keep a Changelog] ( https://keepachangelog.com/en/1.0.0/ ) ,
6+ and this project adheres to [ Break Versioning] ( https://www.taoensso.com/break-versioning ) .
47
58## [ Unreleased]
69
@@ -21,5 +24,3 @@ Model your app’s business operations.
2124### Added
2225
2326- Initial release (@waiting-for-dev )
24-
25- [ 1.0.0 ] : https://github.com/dry-rb/dry-operation/releases/tag/v1.0.0
Original file line number Diff line number Diff line change 22
33source "https://rubygems.org"
44
5+ eval_gemfile "Gemfile.devtools"
6+
57gemspec
68
79group :tools do
@@ -14,15 +16,8 @@ group :docs do
1416 gem "yard-junk"
1517end
1618
17- group :development do
18- gem "rake"
19- gem "rubocop"
20- end
21-
2219group :test do
2320 gem "guard-rspec"
24- gem "rspec"
25- gem "simplecov"
2621end
2722
2823group :development , :test do
Original file line number Diff line number Diff line change 1+ # frozen_string_literal: true
2+
3+ # This file is synced from hanakai-rb/repo-sync
4+
5+ gem "rake", ">= 12.3.3"
6+
7+ group :test do
8+ gem "simplecov", require: false, platforms: :ruby
9+ gem "simplecov-cobertura", require: false, platforms: :ruby
10+ gem "rexml", require: false
11+
12+ gem "warning"
13+ end
14+
15+ group :tools do
16+ gem "rubocop", "~> 1.72.0"
17+ gem "byebug"
18+ end
Original file line number Diff line number Diff line change 1+ name :
2+ gem : dry-operation
3+ constant : Dry::Operation
4+ github_org : dry-rb
5+ gemspec :
6+ authors : ["Hanakai team"]
7+ 8+ summary : " A domain specific language for composable business transaction workflows."
9+ homepage : " https://dry-rb.org/gems/dry-operation"
10+ required_ruby_version : " >= 3.1.0"
11+ development_dependencies :
12+ - bundler
13+ - rake
14+ - rspec
15+ - yard
16+ runtime_dependencies :
17+ - [dry-monads, "~> 1.6"]
18+ - [zeitwerk, "~> 2.6"]
Original file line number Diff line number Diff line change 11# frozen_string_literal: true
22
3- require "simplecov"
4-
5- unless ENV [ "NO_COVERAGE" ]
6- SimpleCov . start do
7- add_filter %r{^/spec/}
8- enable_coverage :branch
9- enable_coverage_for_eval
10- end
11- end
3+ require_relative "support/coverage"
4+ require_relative "support/warnings"
125
136Bundler . require :tools
147
1912
2013SPEC_ROOT = Pathname ( __dir__ ) . realpath . freeze
2114
15+ Dir . glob ( SPEC_ROOT / "support" / "**" / "*.rb" ) . each { |f | require f }
16+
2217RSpec . configure do |config |
23- config . color = true
24- config . disable_monkey_patching!
2518 config . example_status_persistence_file_path = "./tmp/rspec-examples.txt"
26- config . filter_run_when_matching :focus
2719 config . formatter = :progress
28- config . order = :random
2920 config . shared_context_metadata_behavior = :apply_to_host_groups
30- config . warnings = true
3121
3222 config . expect_with :rspec do |expectations |
3323 expectations . syntax = :expect
Original file line number Diff line number Diff line change 1+ # frozen_string_literal: true
2+
3+ # This file is synced from hanakai-rb/repo-sync
4+
5+ if ENV [ "COVERAGE" ] == "true"
6+ require "simplecov"
7+ require "simplecov-cobertura"
8+
9+ SimpleCov . formatter = SimpleCov ::Formatter ::CoberturaFormatter
10+
11+ SimpleCov . start do
12+ add_filter "/spec/"
13+ enable_coverage :branch
14+ end
15+ end
Original file line number Diff line number Diff line change 1+ # frozen_string_literal: true
2+
3+ # This file is synced from hanakai-rb/repo-sync
4+
5+ require "warning"
6+
7+ Warning . ignore ( %r{rspec/core} )
8+ Warning . ignore ( %r{rspec/mocks} )
9+ Warning . ignore ( /codacy/ )
10+ Warning [ :experimental ] = false if Warning . respond_to? ( :[] )
You can’t perform that action at this time.
0 commit comments