Skip to content

Commit

Permalink
Merge pull request #40 from DannyBen/remove/ruby30
Browse files Browse the repository at this point in the history
Drop support for Ruby <= 3.0
  • Loading branch information
DannyBen authored Feb 23, 2024
2 parents bc739f5 + b7e5330 commit ee50810
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 8 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,14 +10,14 @@ jobs:
runs-on: ubuntu-latest

strategy:
matrix: { ruby: ['2.7', '3.0', '3.1'] }
matrix: { ruby: ['3.1', '3.2', '3.3'] }

env:
NASDAQ_KEY: ${{ secrets.NASDAQ_KEY }}

steps:
- name: Checkout code
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Setup Ruby
uses: ruby/setup-ruby@v1
Expand Down
2 changes: 1 addition & 1 deletion .rubocop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ inherit_gem:
- rspec.yml

AllCops:
TargetRubyVersion: 2.7
TargetRubyVersion: 3.1
Exclude:
- dev/**/*

9 changes: 4 additions & 5 deletions nasdaq.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,11 @@ Gem::Specification.new do |s|
s.executables = ['nasdaq']
s.homepage = 'https://github.com/DannyBen/nasdaq'
s.license = 'MIT'
s.required_ruby_version = '>= 2.7'

s.add_runtime_dependency 'apicake', '~> 0.1'
s.add_runtime_dependency 'lp', '~> 0.2'
s.add_runtime_dependency 'super_docopt', '~> 0.2'
s.required_ruby_version = '>= 3.1'

s.add_dependency 'apicake', '~> 0.1', '>= 0.1.6'
s.add_dependency 'lp', '~> 0.2'
s.add_dependency 'super_docopt', '~> 0.2'

s.metadata = {
'bug_tracker_uri' => 'https://github.com/DannyBen/nasdaq/issues',
Expand Down

0 comments on commit ee50810

Please sign in to comment.