diff --git a/Gemfile b/Gemfile index e70ca81..3ce717f 100644 --- a/Gemfile +++ b/Gemfile @@ -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" diff --git a/Gemfile.lock b/Gemfile.lock index 2b59927..1226dc6 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -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 diff --git a/flake.nix b/flake.nix index b00a8bc..f1a7963 100644 --- a/flake.nix +++ b/flake.nix @@ -24,7 +24,7 @@ in { devShell = pkgs.mkShell { - buildInputs = [ pkgs.ruby pkgs.bundler env pkgs.bundix ]; + buildInputs = [ pkgs.ruby env pkgs.bundix ]; }; } ); diff --git a/gemset.nix b/gemset.nix index 9d49184..3abce74 100644 --- a/gemset.nix +++ b/gemset.nix @@ -14,10 +14,10 @@ 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"]; @@ -25,20 +25,20 @@ 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"]; @@ -57,10 +57,10 @@ 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"]; @@ -68,10 +68,10 @@ 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"]; @@ -79,19 +79,19 @@ 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"; }; } diff --git a/sqlint.gemspec b/sqlint.gemspec index a72e05d..681b43b 100644 --- a/sqlint.gemspec +++ b/sqlint.gemspec @@ -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')