Skip to content

Commit

Permalink
Merge pull request #61 from ioki-mobility/rails-7-compat
Browse files Browse the repository at this point in the history
Rails 7 compatibility
  • Loading branch information
tot-ioki authored Oct 10, 2023
2 parents 066de28 + 9f6e5c0 commit 1c37f83
Show file tree
Hide file tree
Showing 6 changed files with 15 additions and 146 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
/pkg/
/spec/reports/
/tmp/
Gemfile.lock

# rspec failure tracking
.rspec_status
Expand Down
2 changes: 1 addition & 1 deletion .ruby-version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
2.7.6
3.2.2
18 changes: 8 additions & 10 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,11 @@ source 'https://rubygems.org'

gemspec

gem 'activesupport'
gem 'faraday', '~> 2.7'
gem 'webmock'
gem 'rake', '~> 13.0'
gem 'rspec', '~> 3.0'
gem 'rubocop', '~> 1.35'
gem 'rubocop-rspec'

gem 'guard', '~> 2.18'
gem 'guard-rspec', require: false
group 'development' do
gem 'guard', '~> 2.18'
gem 'guard-rspec', require: false
gem 'rspec', '~> 3.0'
gem 'rubocop', '~> 1.35'
gem 'rubocop-rspec'
gem 'webmock'
end
131 changes: 0 additions & 131 deletions Gemfile.lock

This file was deleted.

6 changes: 2 additions & 4 deletions airship-ruby.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -39,11 +39,9 @@ Gem::Specification.new do |spec|
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
spec.require_paths = ['lib']

spec.add_dependency 'activesupport', '~> 6.1'
spec.add_dependency 'activesupport', '>= 6.1', '< 8.0'
spec.add_dependency 'faraday', '~> 2.7'
spec.add_dependency 'rake', '~> 13.0'

spec.add_development_dependency 'bundler', '~> 2.3'
spec.add_development_dependency 'rake', '~> 10.0'
spec.add_development_dependency 'rspec', '~> 3.0'
spec.metadata['rubygems_mfa_required'] = 'true'
end
3 changes: 3 additions & 0 deletions spec/spec_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@
require 'active_support/core_ext/hash/indifferent_access'
require 'active_support/core_ext/securerandom'
require 'active_support/core_ext/time/zones'
require 'active_support/version'
require 'active_support/deprecation' if ActiveSupport::VERSION::MAJOR > 6
require 'active_support/isolated_execution_state' if ActiveSupport::VERSION::MAJOR > 6
require 'webmock/rspec'

Dir['./spec/support/**/*.rb'].sort.each { |f| require f }
Expand Down

0 comments on commit 1c37f83

Please sign in to comment.