Skip to content

Commit

Permalink
feat: support Ruby 2.7
Browse files Browse the repository at this point in the history
  • Loading branch information
ninoseki committed Jun 12, 2021
1 parent c1d86ec commit 9136413
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
7 changes: 6 additions & 1 deletion .github/workflows/main.yml
Expand Up @@ -5,12 +5,17 @@ on: [push, pull_request]
jobs:
build:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
ruby: [2.7, "3.0"]

steps:
- uses: actions/checkout@v2
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: 3.0.0
ruby-version: ${{ matrix.ruby }}
bundler-cache: true

- name: Run the default task
Expand Down
2 changes: 1 addition & 1 deletion censysx.gemspec
Expand Up @@ -11,7 +11,7 @@ Gem::Specification.new do |spec|
spec.summary = "Censys Search v2 API wrapper for Ruby"
spec.homepage = "https://github.com/ninoseki/censysx"
spec.license = "MIT"
spec.required_ruby_version = Gem::Requirement.new(">= 3.0.0")
spec.required_ruby_version = Gem::Requirement.new(">= 2.7")

spec.metadata["homepage_uri"] = spec.homepage
spec.metadata["source_code_uri"] = "https://github.com/ninoseki/censysx"
Expand Down

0 comments on commit 9136413

Please sign in to comment.