umbrellio-sequel-plugins 0.4.0.107 → 0.4.0.112
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.gitignore +0 -2
- data/.travis.yml +34 -6
- data/Gemfile.lock +117 -0
- data/lib/sequel/plugins/money_accessors.rb +2 -0
- data/lib/sequel/plugins/upsert.rb +1 -1
- data/umbrellio-sequel-plugins.gemspec +1 -1
- metadata +4 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a60c4a9f3ea7a1e632f44ba475c8523c65eb693e5b92f6d8f36825510af59e8c
|
4
|
+
data.tar.gz: aba42c9f420d1b042cb37b5410e76a9dc6eadcc2d8d38af1e97a8ae7b10f22a8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7ac48cc499a39b5f42fa9eb264ba2afe095a4aa5d367730db5843397f2f97a70ac37a7911a81f0c62bd5d8ba049361b3cb87678b91ed96fb7c3d0074f8787431
|
7
|
+
data.tar.gz: 8cc13c34e85496374c70b464f624cee2667d40c567c493f6261f9b6f4d60dfc28fb3e9df9fc5369e2bd3a73fdf45d9a4b96d8a0c88a2eed35595bb127b9e5bd8
|
data/.gitignore
CHANGED
data/.travis.yml
CHANGED
@@ -1,25 +1,52 @@
|
|
1
1
|
language: ruby
|
2
|
-
|
2
|
+
|
3
|
+
os: linux
|
4
|
+
dist: xenial
|
5
|
+
|
6
|
+
jobs:
|
3
7
|
fast_finish: true
|
4
8
|
include:
|
5
|
-
- rvm: 2.4
|
6
9
|
- rvm: 2.5
|
7
10
|
- rvm: 2.6
|
11
|
+
- rvm: 2.7
|
8
12
|
- rvm: ruby-head
|
9
13
|
allow_failures:
|
10
14
|
- rvm: ruby-head
|
11
|
-
|
12
|
-
cache: bundler
|
15
|
+
|
13
16
|
services:
|
14
17
|
- postgresql
|
18
|
+
|
15
19
|
addons:
|
16
|
-
postgresql:
|
17
|
-
|
20
|
+
postgresql: 12
|
21
|
+
apt:
|
22
|
+
packages:
|
23
|
+
- postgresql-12
|
24
|
+
- postgresql-client-12
|
25
|
+
- postgresql-server-dev-12
|
26
|
+
- postgresql-client-common
|
27
|
+
- postgresql-common
|
28
|
+
|
29
|
+
env:
|
30
|
+
global:
|
31
|
+
- PGPORT=5433
|
32
|
+
|
33
|
+
cache: bundler
|
34
|
+
|
35
|
+
before_install:
|
36
|
+
- gem install bundler
|
37
|
+
- sudo cp /etc/postgresql/9.6/main/pg_hba.conf /etc/postgresql/12/main/pg_hba.conf
|
38
|
+
- sudo service postgresql restart 12
|
39
|
+
- sleep 1
|
40
|
+
|
41
|
+
install: bundle install --jobs=3 --retry=3 --path=${BUNDLE_PATH:-vendor/bundle}
|
42
|
+
|
18
43
|
before_script:
|
19
44
|
- psql -c 'create database sequel_plugins;' -U postgres
|
45
|
+
|
20
46
|
script:
|
21
47
|
- bundle exec rspec
|
22
48
|
- bundle exec rubocop
|
49
|
+
|
23
50
|
deploy:
|
24
51
|
provider: rubygems
|
25
52
|
api_key:
|
@@ -28,3 +55,4 @@ deploy:
|
|
28
55
|
on:
|
29
56
|
repo: umbrellio/umbrellio-sequel-plugins
|
30
57
|
branch: master
|
58
|
+
rvm: 2.7
|
data/Gemfile.lock
ADDED
@@ -0,0 +1,117 @@
|
|
1
|
+
PATH
|
2
|
+
remote: .
|
3
|
+
specs:
|
4
|
+
umbrellio-sequel-plugins (0.4.0)
|
5
|
+
sequel
|
6
|
+
symbiont-ruby (>= 0.6)
|
7
|
+
|
8
|
+
GEM
|
9
|
+
remote: https://rubygems.org/
|
10
|
+
specs:
|
11
|
+
activesupport (6.0.2.2)
|
12
|
+
concurrent-ruby (~> 1.0, >= 1.0.2)
|
13
|
+
i18n (>= 0.7, < 2)
|
14
|
+
minitest (~> 5.1)
|
15
|
+
tzinfo (~> 1.1)
|
16
|
+
zeitwerk (~> 2.2)
|
17
|
+
ast (2.4.0)
|
18
|
+
coderay (1.1.2)
|
19
|
+
concurrent-ruby (1.1.6)
|
20
|
+
coveralls (0.8.23)
|
21
|
+
json (>= 1.8, < 3)
|
22
|
+
simplecov (~> 0.16.1)
|
23
|
+
term-ansicolor (~> 1.3)
|
24
|
+
thor (>= 0.19.4, < 2.0)
|
25
|
+
tins (~> 1.6)
|
26
|
+
diff-lcs (1.3)
|
27
|
+
docile (1.3.2)
|
28
|
+
i18n (1.8.2)
|
29
|
+
concurrent-ruby (~> 1.0)
|
30
|
+
jaro_winkler (1.5.4)
|
31
|
+
json (2.3.0)
|
32
|
+
method_source (1.0.0)
|
33
|
+
minitest (5.14.0)
|
34
|
+
money (6.13.7)
|
35
|
+
i18n (>= 0.6.4, <= 2)
|
36
|
+
parallel (1.19.1)
|
37
|
+
parser (2.7.1.0)
|
38
|
+
ast (~> 2.4.0)
|
39
|
+
pg (1.2.3)
|
40
|
+
pry (0.13.0)
|
41
|
+
coderay (~> 1.1)
|
42
|
+
method_source (~> 1.0)
|
43
|
+
rack (2.2.2)
|
44
|
+
rainbow (3.0.0)
|
45
|
+
rake (13.0.1)
|
46
|
+
rexml (3.2.4)
|
47
|
+
rspec (3.9.0)
|
48
|
+
rspec-core (~> 3.9.0)
|
49
|
+
rspec-expectations (~> 3.9.0)
|
50
|
+
rspec-mocks (~> 3.9.0)
|
51
|
+
rspec-core (3.9.1)
|
52
|
+
rspec-support (~> 3.9.1)
|
53
|
+
rspec-expectations (3.9.1)
|
54
|
+
diff-lcs (>= 1.2.0, < 2.0)
|
55
|
+
rspec-support (~> 3.9.0)
|
56
|
+
rspec-mocks (3.9.1)
|
57
|
+
diff-lcs (>= 1.2.0, < 2.0)
|
58
|
+
rspec-support (~> 3.9.0)
|
59
|
+
rspec-support (3.9.2)
|
60
|
+
rubocop (0.81.0)
|
61
|
+
jaro_winkler (~> 1.5.1)
|
62
|
+
parallel (~> 1.10)
|
63
|
+
parser (>= 2.7.0.1)
|
64
|
+
rainbow (>= 2.2.2, < 4.0)
|
65
|
+
rexml
|
66
|
+
ruby-progressbar (~> 1.7)
|
67
|
+
unicode-display_width (>= 1.4.0, < 2.0)
|
68
|
+
rubocop-config-umbrellio (0.81.0.78)
|
69
|
+
rubocop (= 0.81.0)
|
70
|
+
rubocop-performance (= 1.5.2)
|
71
|
+
rubocop-rails (= 2.5.0)
|
72
|
+
rubocop-rspec (= 1.38.1)
|
73
|
+
rubocop-performance (1.5.2)
|
74
|
+
rubocop (>= 0.71.0)
|
75
|
+
rubocop-rails (2.5.0)
|
76
|
+
activesupport
|
77
|
+
rack (>= 1.1)
|
78
|
+
rubocop (>= 0.72.0)
|
79
|
+
rubocop-rspec (1.38.1)
|
80
|
+
rubocop (>= 0.68.1)
|
81
|
+
ruby-progressbar (1.10.1)
|
82
|
+
sequel (5.31.0)
|
83
|
+
simplecov (0.16.1)
|
84
|
+
docile (~> 1.1)
|
85
|
+
json (>= 1.8, < 3)
|
86
|
+
simplecov-html (~> 0.10.0)
|
87
|
+
simplecov-html (0.10.2)
|
88
|
+
symbiont-ruby (0.6.0)
|
89
|
+
sync (0.5.0)
|
90
|
+
term-ansicolor (1.7.1)
|
91
|
+
tins (~> 1.0)
|
92
|
+
thor (1.0.1)
|
93
|
+
thread_safe (0.3.6)
|
94
|
+
tins (1.24.1)
|
95
|
+
sync
|
96
|
+
tzinfo (1.2.7)
|
97
|
+
thread_safe (~> 0.1)
|
98
|
+
unicode-display_width (1.7.0)
|
99
|
+
zeitwerk (2.3.0)
|
100
|
+
|
101
|
+
PLATFORMS
|
102
|
+
ruby
|
103
|
+
|
104
|
+
DEPENDENCIES
|
105
|
+
bundler
|
106
|
+
coveralls (>= 0.8)
|
107
|
+
money
|
108
|
+
pg
|
109
|
+
pry
|
110
|
+
rake
|
111
|
+
rspec
|
112
|
+
rubocop-config-umbrellio
|
113
|
+
simplecov
|
114
|
+
umbrellio-sequel-plugins!
|
115
|
+
|
116
|
+
BUNDLED WITH
|
117
|
+
2.1.4
|
@@ -39,7 +39,7 @@ module Sequel::Plugins::Upsert
|
|
39
39
|
# @see #upsert_dataset
|
40
40
|
def multi_upsert(rows, **options)
|
41
41
|
rows = rows.map { |row| sequel_values(row) }
|
42
|
-
upsert_dataset(options).multi_insert(rows)
|
42
|
+
upsert_dataset(**options).multi_insert(rows)
|
43
43
|
end
|
44
44
|
|
45
45
|
# Returns formatted row values
|
@@ -25,7 +25,7 @@ Gem::Specification.new do |spec|
|
|
25
25
|
spec.add_runtime_dependency "symbiont-ruby", ">= 0.6"
|
26
26
|
|
27
27
|
spec.add_development_dependency "bundler"
|
28
|
-
spec.add_development_dependency "coveralls"
|
28
|
+
spec.add_development_dependency "coveralls", ">= 0.8"
|
29
29
|
spec.add_development_dependency "money"
|
30
30
|
spec.add_development_dependency "pg"
|
31
31
|
spec.add_development_dependency "pry"
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: umbrellio-sequel-plugins
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.4.0.
|
4
|
+
version: 0.4.0.112
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- nulldef
|
@@ -58,14 +58,14 @@ dependencies:
|
|
58
58
|
requirements:
|
59
59
|
- - ">="
|
60
60
|
- !ruby/object:Gem::Version
|
61
|
-
version: '0'
|
61
|
+
version: '0.8'
|
62
62
|
type: :development
|
63
63
|
prerelease: false
|
64
64
|
version_requirements: !ruby/object:Gem::Requirement
|
65
65
|
requirements:
|
66
66
|
- - ">="
|
67
67
|
- !ruby/object:Gem::Version
|
68
|
-
version: '0'
|
68
|
+
version: '0.8'
|
69
69
|
- !ruby/object:Gem::Dependency
|
70
70
|
name: money
|
71
71
|
requirement: !ruby/object:Gem::Requirement
|
@@ -178,6 +178,7 @@ files:
|
|
178
178
|
- ".travis.yml"
|
179
179
|
- CHANGELOG.md
|
180
180
|
- Gemfile
|
181
|
+
- Gemfile.lock
|
181
182
|
- LICENSE
|
182
183
|
- README.md
|
183
184
|
- Rakefile
|