Skip to content

Commit

Permalink
use gemspec for dependencies (#68)
Browse files Browse the repository at this point in the history
  • Loading branch information
bedrock-adam authored May 21, 2024
1 parent 0a29624 commit 6df69b2
Show file tree
Hide file tree
Showing 3 changed files with 67 additions and 95 deletions.
24 changes: 0 additions & 24 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,29 +2,5 @@ source "https://rubygems.org"

gemspec

gem "pry-byebug", "~> 3.10"

gem "rake", "~> 13.0"
gem "rspec"
gem "rubocop", "~> 1.55"

gem "yard", "~> 0.9.34"

gem "pg", "~> 1.5"
gem 'mysql2', '~> 0.5.6'
gem "activerecord", "~> 7.1", ">= 7.1.2"

gem "sidekiq", "~> 7.2"

gem 'foreman', '~> 0.87.2'

# group :test do
# gem 'database_cleaner', '~> 2.0', '>= 2.0.2'
# end

# web
gem 'rackup', '~> 2.1'
gem 'sinatra', '~> 4.0'
gem 'sinatra-contrib'
gem 'puma', '~> 6.4', '>= 6.4.2'
gem 'kaminari', '~> 1.2', '>= 1.2.2'
127 changes: 58 additions & 69 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -2,26 +2,29 @@ PATH
remote: .
specs:
outboxer (0.1.11)
activerecord (~> 7.0)
activerecord (~> 7.1, >= 7.1.2)
kaminari (~> 1.2)
rack-flash3 (~> 1.0, >= 1.0.5)
rackup (~> 2.1)
sidekiq (~> 7.2)
sinatra (~> 4.0)

GEM
remote: https://rubygems.org/
specs:
actionview (7.1.2)
activesupport (= 7.1.2)
actionview (7.1.3.3)
activesupport (= 7.1.3.3)
builder (~> 3.1)
erubi (~> 1.11)
rails-dom-testing (~> 2.2)
rails-html-sanitizer (~> 1.6)
activemodel (7.1.2)
activesupport (= 7.1.2)
activerecord (7.1.2)
activemodel (= 7.1.2)
activesupport (= 7.1.2)
activemodel (7.1.3.3)
activesupport (= 7.1.3.3)
activerecord (7.1.3.3)
activemodel (= 7.1.3.3)
activesupport (= 7.1.3.3)
timeout (>= 0.4.0)
activesupport (7.1.2)
activesupport (7.1.3.3)
base64
bigdecimal
concurrent-ruby (~> 1.0, >= 1.0.2)
Expand All @@ -33,11 +36,11 @@ GEM
tzinfo (~> 2.0)
ast (2.4.2)
base64 (0.2.0)
bigdecimal (3.1.5)
bigdecimal (3.1.8)
builder (3.2.4)
byebug (11.1.3)
coderay (1.1.3)
concurrent-ruby (1.2.2)
concurrent-ruby (1.2.3)
connection_pool (2.4.1)
crass (1.0.6)
database_cleaner (2.0.2)
Expand All @@ -46,19 +49,18 @@ GEM
activerecord (>= 5.a)
database_cleaner-core (~> 2.0.0)
database_cleaner-core (2.0.1)
diff-lcs (1.5.0)
diff-lcs (1.5.1)
docile (1.4.0)
dotenv (3.1.2)
drb (2.2.0)
ruby2_keywords
drb (2.2.1)
erubi (1.12.0)
factory_bot (6.4.6)
activesupport (>= 5.0.0)
ffi (1.16.3)
foreman (0.87.2)
i18n (1.14.1)
i18n (1.14.5)
concurrent-ruby (~> 1.0)
json (2.6.3)
json (2.7.2)
kaminari (1.2.2)
activesupport (>= 4.1.0)
kaminari-actionview (= 1.2.2)
Expand All @@ -78,35 +80,31 @@ GEM
loofah (2.22.0)
crass (~> 1.0.2)
nokogiri (>= 1.12.0)
method_source (1.0.0)
minitest (5.20.0)
multi_json (1.15.0)
method_source (1.1.0)
minitest (5.23.0)
mustermann (3.0.0)
ruby2_keywords (~> 0.0.1)
mutex_m (0.2.0)
mysql2 (0.5.6)
nio4r (2.7.0)
nokogiri (1.16.0-arm64-darwin)
nokogiri (1.16.5-arm64-darwin)
racc (~> 1.4)
nokogiri (1.16.0-x86_64-darwin)
nokogiri (1.16.5-x86_64-darwin)
racc (~> 1.4)
nokogiri (1.16.0-x86_64-linux)
nokogiri (1.16.5-x86_64-linux)
racc (~> 1.4)
parallel (1.23.0)
parser (3.2.2.3)
parallel (1.24.0)
parser (3.3.1.0)
ast (~> 2.4.1)
racc
pg (1.5.3)
pg (1.5.6)
pry (0.14.2)
coderay (~> 1.1)
method_source (~> 1.0)
pry-byebug (3.10.1)
byebug (~> 11.0)
pry (>= 0.13, < 0.15)
puma (6.4.2)
nio4r (~> 2.0)
racc (1.7.1)
rack (3.0.10)
racc (1.8.0)
rack (3.0.11)
rack-flash3 (1.0.5)
rack
rack-protection (4.0.0)
Expand All @@ -125,49 +123,50 @@ GEM
loofah (~> 2.21)
nokogiri (~> 1.14)
rainbow (3.1.1)
rake (13.0.6)
rake (13.2.1)
rb-fsevent (0.11.2)
rb-inotify (0.10.1)
rb-inotify (0.11.1)
ffi (~> 1.0)
redis-client (0.19.1)
redis-client (0.22.1)
connection_pool
regexp_parser (2.8.1)
regexp_parser (2.9.2)
rerun (0.14.0)
listen (~> 3.0)
rexml (3.2.6)
rspec (3.12.0)
rspec-core (~> 3.12.0)
rspec-expectations (~> 3.12.0)
rspec-mocks (~> 3.12.0)
rspec-core (3.12.2)
rspec-support (~> 3.12.0)
rspec-expectations (3.12.3)
rexml (3.2.8)
strscan (>= 3.0.9)
rspec (3.13.0)
rspec-core (~> 3.13.0)
rspec-expectations (~> 3.13.0)
rspec-mocks (~> 3.13.0)
rspec-core (3.13.0)
rspec-support (~> 3.13.0)
rspec-expectations (3.13.0)
diff-lcs (>= 1.2.0, < 2.0)
rspec-support (~> 3.12.0)
rspec-mocks (3.12.6)
rspec-support (~> 3.13.0)
rspec-mocks (3.13.1)
diff-lcs (>= 1.2.0, < 2.0)
rspec-support (~> 3.12.0)
rspec-support (3.12.1)
rubocop (1.55.1)
rspec-support (~> 3.13.0)
rspec-support (3.13.1)
rubocop (1.63.5)
json (~> 2.3)
language_server-protocol (>= 3.17.0)
parallel (~> 1.10)
parser (>= 3.2.2.3)
parser (>= 3.3.0.2)
rainbow (>= 2.2.2, < 4.0)
regexp_parser (>= 1.8, < 3.0)
rexml (>= 3.2.5, < 4.0)
rubocop-ast (>= 1.28.1, < 2.0)
rubocop-ast (>= 1.31.1, < 2.0)
ruby-progressbar (~> 1.7)
unicode-display_width (>= 2.4.0, < 3.0)
rubocop-ast (1.29.0)
parser (>= 3.2.1.0)
rubocop-ast (1.31.3)
parser (>= 3.3.1.0)
ruby-progressbar (1.13.0)
ruby2_keywords (0.0.5)
sidekiq (7.2.0)
sidekiq (7.2.4)
concurrent-ruby (< 2)
connection_pool (>= 2.3.0)
rack (>= 2.2.4)
redis-client (>= 0.14.0)
redis-client (>= 0.19.0)
simplecov (0.22.0)
docile (~> 1.1)
simplecov-html (~> 0.11)
Expand All @@ -180,46 +179,36 @@ GEM
rack-protection (= 4.0.0)
rack-session (>= 2.0.0, < 3)
tilt (~> 2.0)
sinatra-contrib (4.0.0)
multi_json (>= 0.0.2)
mustermann (~> 3.0)
rack-protection (= 4.0.0)
sinatra (= 4.0.0)
tilt (~> 2.0)
strscan (3.1.0)
tilt (2.3.0)
timeout (0.4.1)
tzinfo (2.0.6)
concurrent-ruby (~> 1.0)
unicode-display_width (2.4.2)
unicode-display_width (2.5.0)
webrick (1.8.1)
yard (0.9.34)
yard (0.9.36)

PLATFORMS
arm64-darwin-22
x86_64-darwin-23
x86_64-linux

DEPENDENCIES
activerecord (~> 7.1, >= 7.1.2)
activerecord (~> 7.0)
database_cleaner (~> 2.0, >= 2.0.2)
dotenv (>= 3.1.2)
factory_bot (~> 6.4, >= 6.4.6)
foreman (~> 0.87.2)
kaminari (~> 1.2, >= 1.2.2)
mysql2 (~> 0.5.6)
outboxer!
pg (~> 1.5)
pry-byebug (~> 3.10)
puma (~> 6.4, >= 6.4.2)
rackup (~> 2.1)
pry-byebug (~> 3.10, >= 3.10.1)
rake (~> 13.0)
rerun (~> 0.14.0)
rspec
rubocop (~> 1.55)
sidekiq (~> 7.2)
sidekiq (~> 7.2, >= 7.2.1)
simplecov (~> 0.22.0)
sinatra (~> 4.0)
sinatra-contrib
yard (~> 0.9.34)

BUNDLED WITH
Expand Down
11 changes: 9 additions & 2 deletions outboxer.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -28,18 +28,25 @@ Gem::Specification.new do |spec|
spec.executables = spec.files.grep(%r{\Aexe/}) { |f| File.basename(f) }
spec.require_paths = ["lib"]

spec.add_dependency "activerecord", "~> 7.0"
spec.add_dependency "activerecord", "~> 7.1", ">= 7.1.2"
spec.add_dependency "sidekiq", "~> 7.2"
spec.add_dependency "rackup", "~> 2.1"
spec.add_dependency "sinatra", "~> 4.0"
spec.add_dependency 'kaminari', '~> 1.2'
spec.add_dependency 'rack-flash3', '~> 1.0', '>= 1.0.5'

spec.add_development_dependency 'dotenv', '>= 3.1.2'
spec.add_development_dependency 'foreman', '~> 0.87.2'
spec.add_development_dependency 'pry-byebug', '3.10'
spec.add_development_dependency 'pry-byebug', '~> 3.10', '>= 3.10.1'
spec.add_development_dependency 'activerecord', '~> 7.0'
spec.add_development_dependency 'database_cleaner', '~> 2.0', '>= 2.0.2'
spec.add_development_dependency 'sidekiq', '~> 7.2', '>= 7.2.1'
spec.add_development_dependency 'simplecov', '~> 0.22.0'
spec.add_development_dependency 'factory_bot', '~> 6.4', '>= 6.4.6'
spec.add_development_dependency 'rerun', '~> 0.14.0'
spec.add_development_dependency "yard", "~> 0.9.34"
spec.add_development_dependency "rubocop", "~> 1.55"
spec.add_development_dependency "rake", "~> 13.0"
spec.add_development_dependency "rspec"
end
# rubocop:enable Layout/LineLength

0 comments on commit 6df69b2

Please sign in to comment.