-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #19 from Shopify/centralize_ruby_version
Centralize Ruby Version to `.ruby-version`
- Loading branch information
Showing
11 changed files
with
136 additions
and
109 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
name: CI | ||
|
||
on: [push, pull_request] | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
name: Ruby ${{ matrix.ruby }} | ||
strategy: | ||
matrix: | ||
ruby: ["2.7", "3.0", "3.1", "3.2", "3.3"] | ||
steps: | ||
- name: Check out code | ||
uses: actions/checkout@v3 | ||
- name: Set up Ruby ${{ matrix.ruby }} | ||
uses: ruby/setup-ruby@v1 | ||
with: | ||
ruby-version: ${{ matrix.ruby }} | ||
bundler-cache: true | ||
bundler: latest | ||
- name: Ruby Tests | ||
run: bundle exec rake test |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,5 @@ | ||
/.bundle/ | ||
/.yardoc | ||
/Gemfile.lock | ||
/_yardoc/ | ||
/coverage/ | ||
/doc/ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
3.3.1 |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
PATH | ||
remote: . | ||
specs: | ||
graphql_schema (0.1.8) | ||
|
||
GEM | ||
remote: https://rubygems.org/ | ||
specs: | ||
base64 (0.2.0) | ||
graphql (2.3.4) | ||
base64 | ||
minitest (5.22.3) | ||
rake (13.2.1) | ||
|
||
PLATFORMS | ||
ruby | ||
|
||
DEPENDENCIES | ||
graphql (>= 2.0) | ||
graphql_schema! | ||
minitest (~> 5.0) | ||
rake (~> 13.0) | ||
|
||
BUNDLED WITH | ||
2.4.22 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,13 @@ | ||
# coding: utf-8 | ||
lib = File.expand_path('../lib', __FILE__) | ||
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib) | ||
require 'graphql_schema/version' | ||
require_relative 'lib/graphql_schema/version' | ||
|
||
Gem::Specification.new do |spec| | ||
spec.name = "graphql_schema" | ||
spec.version = GraphQLSchema::VERSION | ||
spec.authors = ["Dylan Thacker-Smith"] | ||
spec.email = ["[email protected]"] | ||
|
||
spec.required_ruby_version = ">= 2.7" | ||
|
||
spec.summary = "Classes for convenient use of GraphQL introspection result" | ||
spec.homepage = "https://github.com/Shopify/graphql_schema" | ||
spec.license = "MIT" | ||
|
@@ -21,8 +20,7 @@ Gem::Specification.new do |spec| | |
spec.require_paths = ["lib"] | ||
spec.metadata['allowed_push_host'] = "https://rubygems.org" | ||
|
||
spec.add_development_dependency "graphql", "~> 1.2" | ||
spec.add_development_dependency "byebug", '~> 9.0' if RUBY_ENGINE == 'ruby' | ||
spec.add_development_dependency "rake", "~> 10.0" | ||
spec.add_development_dependency "graphql", ">= 2.0" | ||
spec.add_development_dependency "rake", "~> 13.0" | ||
spec.add_development_dependency "minitest", "~> 5.0" | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.