Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update base skeleton #7

Merged
merged 5 commits into from
Oct 3, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ jobs:
- name: Setup Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: "3.2"
bundler-cache: true

- name: Rake
Expand Down
7 changes: 0 additions & 7 deletions .reek.yml

This file was deleted.

1 change: 0 additions & 1 deletion .ruby-version

This file was deleted.

28 changes: 13 additions & 15 deletions Gemfile
Original file line number Diff line number Diff line change
@@ -1,28 +1,26 @@
# frozen_string_literal: true

ruby File.read(".ruby-version").strip

source "https://rubygems.org"

gemspec

group :code_quality do
gem "git-lint", "~> 6.0"
gem "reek", "~> 6.1", require: false
gem "rubocop", "~> 1.56"
gem "simplecov", "~> 0.22", require: false
group :tools do
gem "debug"
end

group :development do
gem "rake", "~> 13.0"
group :docs do
gem "redcarpet", platform: :mri
gem "yard"
gem "yard-junk"
end

group :test do
gem "guard-rspec", "~> 4.7", require: false
gem "rspec", "~> 3.12"
group :development do
gem "rake"
gem "rubocop"
end

group :tools do
gem "amazing_print", "~> 1.4"
gem "debug", "~> 1.8"
group :test do
gem "guard-rspec"
gem "rspec"
gem "simplecov"
end
8 changes: 2 additions & 6 deletions Rakefile
Original file line number Diff line number Diff line change
@@ -1,17 +1,13 @@
# frozen_string_literal: true

require "bundler/setup"
require "git/lint/rake/register"
require "reek/rake/task"
require "rspec/core/rake_task"
require "rubocop/rake_task"

Git::Lint::Rake::Register.call
Reek::Rake::Task.new
RSpec::Core::RakeTask.new { |task| task.verbose = false }
RuboCop::RakeTask.new

desc "Run code quality checks"
task code_quality: %i[git_lint reek rubocop]
task lint: %i[rubocop]

task default: %i[code_quality spec]
task default: %i[lint spec]
2 changes: 1 addition & 1 deletion bin/console
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#! /usr/bin/env ruby
#!/usr/bin/env ruby
# frozen_string_literal: true

require "bundler/setup"
Expand Down
6 changes: 0 additions & 6 deletions bin/guard

This file was deleted.

6 changes: 0 additions & 6 deletions bin/rake

This file was deleted.

6 changes: 0 additions & 6 deletions bin/rspec

This file was deleted.

6 changes: 0 additions & 6 deletions bin/rubocop

This file was deleted.

2 changes: 1 addition & 1 deletion bin/setup
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#! /usr/bin/env bash
#!/usr/bin/env bash

set -euxo pipefail
IFS=$'\n\t'
Expand Down
4 changes: 2 additions & 2 deletions dry-operation.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
Gem::Specification.new do |spec|
spec.name = "dry-operation"
spec.version = "0.0.0"
spec.authors = ["Tim Riley", "Marc Busque", "Brooke Kuhlmann"]
spec.email = ["tim@riley.id.au", "marc@lamarciana.com", "brooke@alchemists.io"]
spec.authors = ["dry-rb team"]
spec.email = ["gems@dry-rb.org"]
spec.homepage = "https://dry-rb.org/gems/dry-operation"
spec.summary = "A domain specific language for composable business transaction workflows."
spec.license = "MIT"
Expand Down
1 change: 0 additions & 1 deletion spec/spec_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
add_filter %r{^/spec/}
enable_coverage :branch
enable_coverage_for_eval
minimum_coverage_by_file line: 95, branch: 95
end
end

Expand Down
Loading