pg_exec_array_params 0.1.1 → 0.1.3

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 1fdcb04ffde2b46c124f9165cfb0a383e15583d01ae52c830211e51894c44a78
4
- data.tar.gz: 410af6e18d74d9feab49848f1796831ac79aefadfccd40614b40743abbacf727
3
+ metadata.gz: 17a696f8db46ab9e23ca573977f9445e993c7c15c0533573a226436f3a6dfe09
4
+ data.tar.gz: 8cde7d84dcf36ad2794982d1012df280ded14360dfc1c6f244830fbc7a06df95
5
5
  SHA512:
6
- metadata.gz: d7f4877366134724817ff915786446d622657d40c820d2b3f1fb31dd3237862366b840c6c0ab483760ad91918b4c238d41db0c89db3301ac981381b032849867
7
- data.tar.gz: ccf1a880c9442b5447cd43a43b262e507503b126d0854e21539ec79927a5fb17c5257f6f5d2995d9ac5cde74e3119c45fc8a9dfd1890d6825c7d368bffb02b97
6
+ metadata.gz: bddfd06328bd94c9ba88bd2de9f9aa2bee16a04c54028cb59b03b137f303ea83ac72c28ff23fc7975490e0ba0377de27b1ad2a23cf02a8738f01e2ca4b30ad0f
7
+ data.tar.gz: 9bcad8ad4d28786f2d926af9ff29b08331d502c6b8824e8477347571c9561142692d82823e41511937c00ef34e0b1bbf8c10c98337d174b5797bd15392da55ce
@@ -21,20 +21,14 @@ jobs:
21
21
  --health-retries 5
22
22
  strategy:
23
23
  matrix:
24
- ruby: [ '2.7' ]
24
+ ruby: [ '3.0' ]
25
25
  pg: [ '>= 1' ]
26
26
  name: Ruby ${{ matrix.ruby }}, pg ${{ matrix.pg }}
27
27
  steps:
28
28
  - uses: actions/checkout@v2
29
- - uses: actions/setup-ruby@v1
29
+ - uses: ruby/setup-ruby@v1
30
30
  with:
31
31
  ruby-version: ${{ matrix.ruby }}
32
- - uses: actions/cache@v2
33
- with:
34
- path: vendor/bundle
35
- key: ${{ runner.os }}-gems-${{ matrix.ruby }}-${{ matrix.pg }}-${{ hashFiles('**/Gemfile') }}
36
- restore-keys: |
37
- ${{ runner.os }}-gems-${{ matrix.ruby }}-${{ matrix.pg }}
38
32
  - name: Test
39
33
  env:
40
34
  POSTGRES_USER: postgres
@@ -45,6 +39,5 @@ jobs:
45
39
  CI: true
46
40
  CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
47
41
  run: |
48
- bundle config path vendor/bundle
49
- bundle install --jobs 4 --retry 3 --without benchmark
42
+ bundle install
50
43
  bundle exec rake ci
@@ -26,20 +26,14 @@ jobs:
26
26
  --health-retries 5
27
27
  strategy:
28
28
  matrix:
29
- ruby: [ '2.5', '2.6', '2.7' ]
29
+ ruby: [ '2.5', '2.6', '2.7', '3.0' ]
30
30
  pg: [ '< 1', '>= 1' ]
31
31
  name: Ruby ${{ matrix.ruby }}, pg ${{ matrix.pg }}
32
32
  steps:
33
33
  - uses: actions/checkout@v2
34
- - uses: actions/setup-ruby@v1
34
+ - uses: ruby/setup-ruby@v1
35
35
  with:
36
36
  ruby-version: ${{ matrix.ruby }}
37
- - uses: actions/cache@v2
38
- with:
39
- path: vendor/bundle
40
- key: ${{ runner.os }}-gems-${{ matrix.ruby }}-${{ matrix.pg }}-${{ hashFiles('**/Gemfile') }}
41
- restore-keys: |
42
- ${{ runner.os }}-gems-${{ matrix.ruby }}-${{ matrix.pg }}
43
37
  - name: Test
44
38
  env:
45
39
  POSTGRES_USER: postgres
@@ -50,6 +44,5 @@ jobs:
50
44
  CI: true
51
45
  CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
52
46
  run: |
53
- bundle config path vendor/bundle
54
- bundle install --jobs 4 --retry 3 --without benchmark
47
+ bundle install
55
48
  bundle exec rake ci
@@ -20,8 +20,6 @@ module PgExecArrayParams
20
20
  EQ_KIND = 0
21
21
  IN_KIND = 7
22
22
 
23
- class Optional; end
24
-
25
23
  module_function
26
24
 
27
25
  def exec_array_params(conn, sql, params, *args)
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module PgExecArrayParams
4
- VERSION = '0.1.1'
4
+ VERSION = '0.1.3'
5
5
  end
Binary file
@@ -22,7 +22,7 @@ Gem::Specification.new do |spec|
22
22
  end
23
23
  spec.require_paths = ['lib']
24
24
 
25
- spec.add_dependency('pg_query', '~> 1.2')
25
+ spec.add_dependency('pg_query', '~> 1')
26
26
 
27
27
  spec.add_development_dependency('pg', ENV.fetch('PG_GEM_VERSION', '~> 0'))
28
28
  spec.add_development_dependency('rspec', '~> 3.0')
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pg_exec_array_params
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.1.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Vlad Bokov
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-11-04 00:00:00.000000000 Z
11
+ date: 2021-02-09 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: pg_query
@@ -16,14 +16,14 @@ dependencies:
16
16
  requirements:
17
17
  - - "~>"
18
18
  - !ruby/object:Gem::Version
19
- version: '1.2'
19
+ version: '1'
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - "~>"
25
25
  - !ruby/object:Gem::Version
26
- version: '1.2'
26
+ version: '1'
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: pg
29
29
  requirement: !ruby/object:Gem::Requirement
@@ -79,6 +79,7 @@ files:
79
79
  - lib/pg_exec_array_params/sql_ref_index.rb
80
80
  - lib/pg_exec_array_params/version.rb
81
81
  - pg_exec_array_params-0.1.0.gem
82
+ - pg_exec_array_params-0.1.1.gem
82
83
  - pg_exec_array_params.gemspec
83
84
  homepage: https://github.com/lunatic-cat/pg_exec_array_params
84
85
  licenses: