Skip to content

Commit

Permalink
Merge branch 'update-dependencies'
Browse files Browse the repository at this point in the history
  • Loading branch information
danielsilva committed Feb 10, 2022
2 parents 7966653 + bd52935 commit 068246a
Show file tree
Hide file tree
Showing 7 changed files with 24 additions and 11 deletions.
8 changes: 6 additions & 2 deletions .rubocop.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,14 @@
require: rubocop-rspec
require:
- rubocop-performance
- rubocop-rake
- rubocop-rspec

inherit_from:
- .rubocop.directories.yml

AllCops:
TargetRubyVersion: 2.6
NewCops: enable
TargetRubyVersion: 2.7

Gemspec/DateAssignment:
Enabled: true
Expand Down
2 changes: 1 addition & 1 deletion .ruby-version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
2.7.3
2.7.4
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,11 @@

_none_

## 2.1.0 (2022-02-10)

**Changes**
* Support graphql 2.0.x

## 2.0.1 (2022-01-04)

**Changes**
Expand Down
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -275,6 +275,8 @@ expect(response).to have_graphql_error("Error message")

After checking out the repo, run `bin/setup` to install dependencies. Then, run `rake` to run rubocop and tests. You can also run `bin/console` for an interactive prompt that will allow you to experiment.

To test against all supported versions of rails run `bundle exec appraisal install` and then run `bundle exec appraisal rake`.

To install this gem onto your local machine, run `bundle exec rake install`. To release a new version, update the version number in `version.rb`, and then run `bundle exec rake release`, which will create a git tag for the version, push git commits and tags, and push the `.gem` file to [rubygems.org](https://rubygems.org).

## Contributing
Expand Down
2 changes: 1 addition & 1 deletion lib/nulogy_graphql_api/tasks/schema_changes_checker.rb
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ def accept_breaking_changes?(compare_result)

puts "\n\nDo you want to update the schema anyway? [Y/n]"

$stdin.gets.chomp.downcase != "n"
$stdin.gets.chomp.casecmp("n").zero?
end
end
end
Expand Down
2 changes: 1 addition & 1 deletion lib/nulogy_graphql_api/version.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
module NulogyGraphqlApi
VERSION = "2.0.1"
VERSION = "2.1.0"
end
14 changes: 8 additions & 6 deletions nulogy_graphql_api.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -28,15 +28,17 @@ Gem::Specification.new do |spec|
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
spec.require_paths = ["lib"]

spec.add_dependency "graphql", "~> 1.13"
spec.add_dependency "graphql", "~> 2.0"
spec.add_dependency "graphql-schema_comparator", "~> 1.0"
spec.add_dependency "rails", ">= 5.2.4", "< 7.0"
spec.add_dependency "rails", ">= 6.0", "< 7.0"
spec.add_dependency "rainbow", "~> 3.0"

spec.add_development_dependency "appraisal", "~> 2.4"
spec.add_development_dependency "rspec-rails", "~> 5.0"
spec.add_development_dependency "rubocop", "~> 1.18"
spec.add_development_dependency "rubocop-performance", "~> 1.11"
spec.add_development_dependency "rubocop-rspec", "~> 2.4"
spec.add_development_dependency "rake", "~> 13.0"
spec.add_development_dependency "rspec-rails", "~> 5.1"
spec.add_development_dependency "rubocop", "~> 1.25"
spec.add_development_dependency "rubocop-performance", "~> 1.13"
spec.add_development_dependency "rubocop-rake", "~> 0.6"
spec.add_development_dependency "rubocop-rspec", "~> 2.8"
spec.add_development_dependency "sqlite3", "~> 1.4"
end

0 comments on commit 068246a

Please sign in to comment.