Skip to content

Commit

Permalink
#52 3.2
Browse files Browse the repository at this point in the history
  • Loading branch information
yegor256 committed May 24, 2024
1 parent cae9212 commit 7914a3c
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 9 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/codecov.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,12 +31,13 @@ jobs:
- uses: ruby/setup-ruby@v1
with:
ruby-version: 2.7
bundler-cache: true
- run: |
sudo apt-get update
sudo apt-get install -y postgresql-14
sudo ln -s /usr/lib/postgresql/14/bin/initdb /bin/initdb
sudo ln -s /usr/lib/postgresql/14/bin/postgres /bin/postgres
- run: bundle update
- run: bundle install
- run: bundle exec rake
- uses: codecov/codecov-action@v4
with:
Expand Down
2 changes: 1 addition & 1 deletion Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ gem 'minitest', '5.23.1', require: false
gem 'rack', '3.0.11', require: false
gem 'rake', '13.2.1', require: false
gem 'rspec-rails', '6.1.2', require: false
gem 'rubocop', '1.50.2', require: false
gem 'rubocop', '1.64.0', require: false
gem 'rubocop-rspec', '2.20.0', require: false
gem 'simplecov', '0.22.0', require: false
gem 'xcop', '0.7.1', require: false
13 changes: 9 additions & 4 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@ GEM
rdoc (>= 4.0.0)
reline (>= 0.4.2)
json (2.7.2)
language_server-protocol (3.17.0.3)
loofah (2.22.0)
crass (~> 1.0.2)
nokogiri (>= 1.12.0)
Expand All @@ -64,6 +65,8 @@ GEM
mutex_m (0.2.0)
nokogiri (1.16.5-arm64-darwin)
racc (~> 1.4)
nokogiri (1.16.5-x86_64-linux)
racc (~> 1.4)
parallel (1.24.0)
parser (3.3.1.0)
ast (~> 2.4.1)
Expand Down Expand Up @@ -122,14 +125,15 @@ GEM
rspec-mocks (~> 3.13)
rspec-support (~> 3.13)
rspec-support (3.13.1)
rubocop (1.50.2)
rubocop (1.64.0)
json (~> 2.3)
language_server-protocol (>= 3.17.0)
parallel (~> 1.10)
parser (>= 3.2.0.0)
parser (>= 3.3.0.2)
rainbow (>= 2.2.2, < 4.0)
regexp_parser (>= 1.8, < 3.0)
rexml (>= 3.2.5, < 4.0)
rubocop-ast (>= 1.28.0, < 2.0)
rubocop-ast (>= 1.31.1, < 2.0)
ruby-progressbar (~> 1.7)
unicode-display_width (>= 2.4.0, < 3.0)
rubocop-ast (1.31.3)
Expand Down Expand Up @@ -163,14 +167,15 @@ GEM

PLATFORMS
arm64-darwin-22
x86_64-linux

DEPENDENCIES
minitest (= 5.23.1)
pgtk!
rack (= 3.0.11)
rake (= 13.2.1)
rspec-rails (= 6.1.2)
rubocop (= 1.50.2)
rubocop (= 1.64.0)
rubocop-rspec (= 2.20.0)
simplecov (= 0.22.0)
xcop (= 0.7.1)
Expand Down
4 changes: 1 addition & 3 deletions lib/pgtk/pool.rb
Original file line number Diff line number Diff line change
Expand Up @@ -142,9 +142,7 @@ def exec(query, args = [], result = 0)
if block_given?
yield res
else
rows = []
res.each { |r| rows << r }
rows
res.each.to_a
end
end
rescue StandardError => e
Expand Down

0 comments on commit 7914a3c

Please sign in to comment.