umbrellio-sequel-plugins 0.5.1.27 → 0.6.0

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: e58247ddbf507d68fb0513b4bd32093e59e31393d59d28799ae957f676794cf9
4
- data.tar.gz: eef62e57d43b7eb7999d644d025cf75384be1bf60c8e3f5d1439941fcee33322
3
+ metadata.gz: c686616e516ef87735aac3c4341178bc07014bae63ff0c5584bb4b95e3c2e3a6
4
+ data.tar.gz: 180bd3175c9289e2ec08e3997cb5a7cb6f5b603e7f4bac6db8c8eb4f3fe71e3a
5
5
  SHA512:
6
- metadata.gz: f0db20d4cbc645432075af0e03dd48a33eddf305a87b2f535b84c6237f44f417cfa35bb03efee9ec25ba15e96142ef144c2d8d2f1b925ba23ee8f4528fd4050c
7
- data.tar.gz: 46a6d75c690b1fcf1c2a3cca86b53311559f32ee375408250aa8698994c747f459a05bbfce842d495f70a5bdc39d931fbd7927e3d1e0c40d7aec5dd4bf7688f3
6
+ metadata.gz: d3cf4e80acd62f00de41830252fd607029f745f793a03eada477d9dddd1cbe53683a6b15476a6e7d96c7925b1437494f7188c823d8f58234dc9de434654a9993
7
+ data.tar.gz: d37815fa7e0abc01bf089417537dad7f2306442f7254a67dee200b497def403b259a46b1e8e79e81f8d6eaa30a2d1e4549b4edaef5973b163622d4fd1b45ed39
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- umbrellio-sequel-plugins (0.5.1)
4
+ umbrellio-sequel-plugins (0.6.0)
5
5
  sequel
6
6
  symbiont-ruby
7
7
 
@@ -83,7 +83,7 @@ GEM
83
83
  rubocop-sequel (0.2.0)
84
84
  rubocop (~> 1.0)
85
85
  ruby-progressbar (1.11.0)
86
- sequel (5.45.0)
86
+ sequel (5.57.0)
87
87
  simplecov (0.21.2)
88
88
  docile (~> 1.1)
89
89
  simplecov-html (~> 0.11)
@@ -5,13 +5,13 @@ module Sequel::Plugins::WithLock
5
5
  # Execute block with lock
6
6
  #
7
7
  # @yield
8
- def with_lock(savepoint: true)
8
+ def with_lock(mode = "FOR NO KEY UPDATE", savepoint: true)
9
9
  return yield if @__locked
10
10
  @__locked = true
11
11
 
12
12
  begin
13
13
  db.transaction(savepoint: savepoint) do
14
- lock!
14
+ lock!(mode)
15
15
  yield
16
16
  end
17
17
  ensure
@@ -4,7 +4,7 @@ lib = File.expand_path("lib", __dir__)
4
4
  $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
5
5
 
6
6
  Gem::Specification.new do |spec|
7
- gem_version = "0.5.1"
7
+ gem_version = "0.6.0"
8
8
  release_version = "#{gem_version}.#{ENV["GITHUB_RUN_NUMBER"]}" if ENV["PUBLISH_JOB"]
9
9
 
10
10
  spec.name = "umbrellio-sequel-plugins"
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: umbrellio-sequel-plugins
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.1.27
4
+ version: 0.6.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - nulldef
8
- autorequire:
8
+ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-06-04 00:00:00.000000000 Z
11
+ date: 2022-06-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: sequel
@@ -212,7 +212,7 @@ homepage: https://github.com/umbrellio/umbrellio-sequel-plugins
212
212
  licenses:
213
213
  - MIT
214
214
  metadata: {}
215
- post_install_message:
215
+ post_install_message:
216
216
  rdoc_options: []
217
217
  require_paths:
218
218
  - lib
@@ -227,8 +227,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
227
227
  - !ruby/object:Gem::Version
228
228
  version: '0'
229
229
  requirements: []
230
- rubygems_version: 3.1.2
231
- signing_key:
230
+ rubygems_version: 3.3.14
231
+ signing_key:
232
232
  specification_version: 4
233
233
  summary: Sequel plugins
234
234
  test_files: []