Skip to content
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
3 changes: 2 additions & 1 deletion .rubocop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,8 @@ Style/ClassAndModuleChildren:
- 'spec/**/*'
Metrics/BlockLength:
Exclude:
- 'spec/**/*'
- 'spec/**/*_spec.rb'
- 'lib/**/*_spec.rb'
- '*.gemspec'
Metrics/MethodLength:
Enabled: false
Expand Down
2 changes: 1 addition & 1 deletion .ruby-version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
3.1.4
3.4.1
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
## [Unreleased]
## [0.6.0] - 2025-03-06
- Add support for `Interactify.with(queue: 'within_30_seconds', retry: 3)`
- Fix issue with anonymous classes not being able to be used in chains

Expand Down
5 changes: 4 additions & 1 deletion Gemfile.lock
Original file line number Diff line number Diff line change
@@ -1,10 +1,13 @@
PATH
remote: .
specs:
interactify (0.6.0.pre.alpha.1)
interactify (0.6.0)
activesupport (>= 6.0.0)
base64
bigdecimal
interactor
interactor-contracts
mutex_m

GEM
remote: https://rubygems.org/
Expand Down
2 changes: 1 addition & 1 deletion Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@ require "rspec/core/rake_task"

RSpec::Core::RakeTask.new(:spec)

task default: :spec
task default: :spec
5 changes: 4 additions & 1 deletion gemfiles/no_railties_no_sidekiq.gemfile.lock
Original file line number Diff line number Diff line change
@@ -1,10 +1,13 @@
PATH
remote: ..
specs:
interactify (0.6.0.pre.alpha.1)
interactify (0.6.0)
activesupport (>= 6.0.0)
base64
bigdecimal
interactor
interactor-contracts
mutex_m

GEM
remote: https://rubygems.org/
Expand Down
8 changes: 7 additions & 1 deletion gemfiles/railties_6_no_sidekiq.gemfile.lock
Original file line number Diff line number Diff line change
@@ -1,10 +1,13 @@
PATH
remote: ..
specs:
interactify (0.6.0.pre.alpha.1)
interactify (0.6.0)
activesupport (>= 6.0.0)
base64
bigdecimal
interactor
interactor-contracts
mutex_m

GEM
remote: https://rubygems.org/
Expand Down Expand Up @@ -32,6 +35,8 @@ GEM
bundler
rake
thor (>= 0.14.0)
base64 (0.2.0)
bigdecimal (3.1.8)
builder (3.2.4)
concurrent-ruby (1.2.2)
crass (1.0.6)
Expand Down Expand Up @@ -90,6 +95,7 @@ GEM
method_source (1.0.0)
mini_portile2 (2.8.5)
minitest (5.20.0)
mutex_m (0.3.0)
nokogiri (1.15.5)
mini_portile2 (~> 2.8.2)
racc (~> 1.4)
Expand Down
8 changes: 7 additions & 1 deletion gemfiles/railties_6_sidekiq.gemfile.lock
Original file line number Diff line number Diff line change
@@ -1,10 +1,13 @@
PATH
remote: ..
specs:
interactify (0.6.0.pre.alpha.1)
interactify (0.6.0)
activesupport (>= 6.0.0)
base64
bigdecimal
interactor
interactor-contracts
mutex_m

GEM
remote: https://rubygems.org/
Expand Down Expand Up @@ -32,6 +35,8 @@ GEM
bundler
rake
thor (>= 0.14.0)
base64 (0.2.0)
bigdecimal (3.1.8)
builder (3.2.4)
concurrent-ruby (1.2.2)
connection_pool (2.4.1)
Expand Down Expand Up @@ -91,6 +96,7 @@ GEM
method_source (1.0.0)
mini_portile2 (2.8.5)
minitest (5.20.0)
mutex_m (0.3.0)
nokogiri (1.15.5)
mini_portile2 (~> 2.8.2)
racc (~> 1.4)
Expand Down
8 changes: 7 additions & 1 deletion gemfiles/railties_7_no_sidekiq.gemfile.lock
Original file line number Diff line number Diff line change
@@ -1,10 +1,13 @@
PATH
remote: ..
specs:
interactify (0.6.0.pre.alpha.1)
interactify (0.6.0)
activesupport (>= 6.0.0)
base64
bigdecimal
interactor
interactor-contracts
mutex_m

GEM
remote: https://rubygems.org/
Expand All @@ -31,6 +34,8 @@ GEM
bundler
rake
thor (>= 0.14.0)
base64 (0.2.0)
bigdecimal (3.1.8)
builder (3.2.4)
concurrent-ruby (1.2.2)
crass (1.0.6)
Expand Down Expand Up @@ -89,6 +94,7 @@ GEM
method_source (1.0.0)
mini_portile2 (2.8.5)
minitest (5.20.0)
mutex_m (0.3.0)
nokogiri (1.15.5)
mini_portile2 (~> 2.8.2)
racc (~> 1.4)
Expand Down
8 changes: 7 additions & 1 deletion gemfiles/railties_7_sidekiq.gemfile.lock
Original file line number Diff line number Diff line change
@@ -1,10 +1,13 @@
PATH
remote: ..
specs:
interactify (0.6.0.pre.alpha.1)
interactify (0.6.0)
activesupport (>= 6.0.0)
base64
bigdecimal
interactor
interactor-contracts
mutex_m

GEM
remote: https://rubygems.org/
Expand All @@ -31,6 +34,8 @@ GEM
bundler
rake
thor (>= 0.14.0)
base64 (0.2.0)
bigdecimal (3.1.8)
builder (3.2.4)
concurrent-ruby (1.2.2)
connection_pool (2.4.1)
Expand Down Expand Up @@ -90,6 +95,7 @@ GEM
method_source (1.0.0)
mini_portile2 (2.8.5)
minitest (5.20.0)
mutex_m (0.3.0)
nokogiri (1.15.5)
mini_portile2 (~> 2.8.2)
racc (~> 1.4)
Expand Down
18 changes: 13 additions & 5 deletions interactify.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -30,11 +30,16 @@ Gem::Specification.new do |spec|
spec.metadata["source_code_uri"] = "https://github.com/markburns/interactify"
spec.metadata["changelog_uri"] = "https://github.com/markburns/interactify/blob/main/CHANGELOG.md"

spec.files = Dir.chdir(__dir__) do
`git ls-files -z`.split("\x0").reject do |f|
(File.expand_path(f) == __FILE__) ||
f.start_with?(*%w[bin/ test/ spec/ features/ .git .circleci appveyor Gemfile])
end
spec.files = [
"lib/**/*.rb",
"LICENSE.txt",
"README.md",
"CHANGELOG.md"
].map { |glob| Dir[glob] }.flatten.reject do |f|
File.directory?(f) ||
f.end_with?("_spec.rb") ||
f.start_with?(*%w[bin/ test/ spec/ features/ .git .circleci appveyor Gemfile]) ||
File.expand_path(f) == __FILE__
end

spec.bindir = "exe"
Expand All @@ -44,5 +49,8 @@ Gem::Specification.new do |spec|
spec.add_dependency "activesupport", ">= 6.0.0"
spec.add_dependency "interactor"
spec.add_dependency "interactor-contracts"
spec.add_dependency "bigdecimal"
spec.add_dependency "base64"
spec.add_dependency "mutex_m"
spec.metadata["rubygems_mfa_required"] = "true"
end
1 change: 1 addition & 0 deletions lib/interactify.rb
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
# frozen_string_literal: true

require "interactor"
require "bigdecimal"
require "interactor-contracts"
require "active_support/all"

Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion lib/interactify/version.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# frozen_string_literal: true

module Interactify
VERSION = "0.6.0-alpha.1"
VERSION = "0.6.0"
end
File renamed without changes.
1 change: 1 addition & 0 deletions spec/spec_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
end

Dir.glob("spec/support/**/*.rb").each { |f| require "./#{f}" }
Dir.glob("lib/**/*_spec.rb").each { |f| require "./#{f}" }

RSpec.configure do |config|
config.before do
Expand Down
Loading