Skip to content

Commit

Permalink
Drop upper version constraint on pg_query
Browse files Browse the repository at this point in the history
  • Loading branch information
purcell committed Nov 11, 2023
1 parent 92f1df1 commit 8a9ed69
Show file tree
Hide file tree
Showing 5 changed files with 27 additions and 29 deletions.
3 changes: 1 addition & 2 deletions Gemfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
source "https://rubygems.org"

gem "pg_query", ">= 1.0", "< 3"
gem "bundler", "2.3.20"
gem "pg_query", ">= 1.0"

group :development do
gem "rspec"
Expand Down
21 changes: 10 additions & 11 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -2,32 +2,31 @@ GEM
remote: https://rubygems.org/
specs:
diff-lcs (1.5.0)
google-protobuf (3.21.12)
pg_query (2.2.0)
google-protobuf (>= 3.19.2)
rake (13.0.6)
google-protobuf (3.25.0)
pg_query (4.2.3)
google-protobuf (>= 3.22.3)
rake (13.1.0)
rspec (3.12.0)
rspec-core (~> 3.12.0)
rspec-expectations (~> 3.12.0)
rspec-mocks (~> 3.12.0)
rspec-core (3.12.0)
rspec-core (3.12.2)
rspec-support (~> 3.12.0)
rspec-expectations (3.12.1)
rspec-expectations (3.12.3)
diff-lcs (>= 1.2.0, < 2.0)
rspec-support (~> 3.12.0)
rspec-mocks (3.12.1)
rspec-mocks (3.12.6)
diff-lcs (>= 1.2.0, < 2.0)
rspec-support (~> 3.12.0)
rspec-support (3.12.0)
rspec-support (3.12.1)

PLATFORMS
ruby

DEPENDENCIES
bundler (= 2.3.20)
pg_query (>= 1.0, < 3)
pg_query (>= 1.0)
rake
rspec

BUNDLED WITH
2.3.20
2.4.2
2 changes: 1 addition & 1 deletion flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
in
{
devShell = pkgs.mkShell {
buildInputs = [ pkgs.ruby pkgs.bundler env pkgs.bundix ];
buildInputs = [ pkgs.ruby env pkgs.bundix ];
};
}
);
Expand Down
28 changes: 14 additions & 14 deletions gemset.nix
Original file line number Diff line number Diff line change
Expand Up @@ -14,31 +14,31 @@
platforms = [];
source = {
remotes = ["https://rubygems.org"];
sha256 = "1dcgkhjiaxha3yznyxxzm8a4n4jf61rk7kgbxy4sdkb865zbn2ab";
sha256 = "18d1w5j7vjaza3v1ig9j7zyis04kxqdkb1272vbgncxn03ck45mm";
type = "gem";
};
version = "3.21.12";
version = "3.25.0";
};
pg_query = {
dependencies = ["google-protobuf"];
groups = ["default"];
platforms = [];
source = {
remotes = ["https://rubygems.org"];
sha256 = "0l79y41nwwacabj61jkbh4r7haajaf8y4bn5pihh0m1g8547b8w4";
sha256 = "15ynrzqsmmbmxib8ri8n9k6z3l6rwd91j7y1mghm33nfgdf9bj8w";
type = "gem";
};
version = "2.2.0";
version = "4.2.3";
};
rake = {
groups = ["development"];
platforms = [];
source = {
remotes = ["https://rubygems.org"];
sha256 = "15whn7p9nrkxangbs9hh75q585yfn66lv0v2mhj6q6dl6x8bzr2w";
sha256 = "1ilr853hawi09626axx0mps4rkkmxcs54mapz9jnqvpnlwd3wsmy";
type = "gem";
};
version = "13.0.6";
version = "13.1.0";
};
rspec = {
dependencies = ["rspec-core" "rspec-expectations" "rspec-mocks"];
Expand All @@ -57,41 +57,41 @@
platforms = [];
source = {
remotes = ["https://rubygems.org"];
sha256 = "1ibb81slc35q5yp276sixp3yrvj9q92wlmi1glbnwlk6g49z8rn4";
sha256 = "0l95bnjxdabrn79hwdhn2q1n7mn26pj7y1w5660v5qi81x458nqm";
type = "gem";
};
version = "3.12.0";
version = "3.12.2";
};
rspec-expectations = {
dependencies = ["diff-lcs" "rspec-support"];
groups = ["default" "development"];
platforms = [];
source = {
remotes = ["https://rubygems.org"];
sha256 = "17kcw2lb68w62mbfqvs0361bbdibcrdj643wi7y3aiggygvjk2w0";
sha256 = "05j44jfqlv7j2rpxb5vqzf9hfv7w8ba46wwgxwcwd8p0wzi1hg89";
type = "gem";
};
version = "3.12.1";
version = "3.12.3";
};
rspec-mocks = {
dependencies = ["diff-lcs" "rspec-support"];
groups = ["default" "development"];
platforms = [];
source = {
remotes = ["https://rubygems.org"];
sha256 = "008q63p78bg23jlyabavq2vgl961857cqp3il71if50wgmf75pg0";
sha256 = "1gq7gviwpck7fhp4y5ibljljvxgjklza18j62qf6zkm2icaa8lfy";
type = "gem";
};
version = "3.12.1";
version = "3.12.6";
};
rspec-support = {
groups = ["default" "development"];
platforms = [];
source = {
remotes = ["https://rubygems.org"];
sha256 = "12y52zwwb3xr7h91dy9k3ndmyyhr3mjcayk0nnarnrzz8yr48kfx";
sha256 = "1ky86j3ksi26ng9ybd7j0qsdf1lpr8mzrmn98yy9gzv801fvhsgr";
type = "gem";
};
version = "3.12.0";
version = "3.12.1";
};
}
2 changes: 1 addition & 1 deletion sqlint.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ Gem::Specification.new do |s|
s.rubygems_version = '1.8.23'
s.summary = 'Simple SQL linter.'

s.add_runtime_dependency('pg_query', '~> 2')
s.add_runtime_dependency('pg_query', '>= 1')
s.add_development_dependency('rake', '>= 12.3.3')
s.add_development_dependency('rspec', '~> 3.2')
s.add_development_dependency('bundler', '>= 2.2.33')
Expand Down

0 comments on commit 8a9ed69

Please sign in to comment.