ductr 0.2.1 → 0.2.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: fa37b082cbb7246983b3aafc9fd6f9ea8436aa201dae3edc28e7ccff233a57f6
4
- data.tar.gz: 3e97dc981be10b8e94c2a7749af660808c876b327ba22f2878a63f3e90cccc29
3
+ metadata.gz: ba2628af4304a3b4dd13def10cbf8e9a8741c460cc2c480847b842bda94e985e
4
+ data.tar.gz: 93e537833c6ddf9e35405a85ce892e45fb03d91d8785a09ee632f403f7e0dc57
5
5
  SHA512:
6
- metadata.gz: 6eebfe6af89ab33b6a4b8ca12af531bd70fdd8676bfffe0592f8ddc0f5e10445dcc2b61060af3d9ad66877a7bd9353d13d6b3972eee1ad18f41a2f7f8399a12c
7
- data.tar.gz: 9ce1cd06dd2efb0bcfe02ef1d9188c619967c70f89f030040c473a4f6e904866ead1fc950275df836da8a03b6a7593230e153ce692446380aa69d4718a74e63d
6
+ metadata.gz: 1a0e4bd303aedbc2a4acb96a5a588a91a06b2700dc7ad27a34357db7f3de2ee0fbfe3bdaf140052c8871a5ba3552a9a8d0eebae2b2fff1ee0f7bb66252cfb646
7
+ data.tar.gz: 0b8caf0b8a0b764c9ba77bc51e27228316b767f1b4b0356e4b00bf06e57f314a1c6dfd72d4aa691ede9156095ac9927e1857b4363adf48f8665f03e68609b80c
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- ductr (0.2.1)
4
+ ductr (0.2.2)
5
5
  activejob (~> 7.0)
6
6
  annotable (~> 0.1)
7
7
  colorize (~> 0.8)
@@ -1,7 +1,7 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Ductr
4
- module Sequel
4
+ module SequelBase
5
5
  #
6
6
  # The base class of all sequel-based adapters.
7
7
  #
@@ -1,7 +1,7 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Ductr
4
- module Sequel
4
+ module SequelBase
5
5
  #
6
6
  # A destination control that write rows one by one.
7
7
  #
@@ -1,7 +1,7 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Ductr
4
- module Sequel
4
+ module SequelBase
5
5
  #
6
6
  # A lookup control that execute one query per row.
7
7
  #
@@ -1,7 +1,7 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Ductr
4
- module Sequel
4
+ module SequelBase
5
5
  #
6
6
  # A source control that yields rows one by one.
7
7
  #
@@ -1,7 +1,7 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Ductr
4
- module Sequel
4
+ module SequelBase
5
5
  #
6
6
  # A destination control that accumulates rows in a buffer to write them by batch.
7
7
  #
@@ -1,7 +1,7 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Ductr
4
- module Sequel
4
+ module SequelBase
5
5
  #
6
6
  # A lookup control that execute the query for a bunch of rows.
7
7
  #
@@ -1,7 +1,7 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Ductr
4
- module Sequel
4
+ module SequelBase
5
5
  #
6
6
  # A destination control that accumulates rows in a buffer to upsert them by batch.
7
7
  #
@@ -1,7 +1,7 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Ductr
4
- module Sequel
4
+ module SequelBase
5
5
  #
6
6
  # A lookup control that execute the query for a bunch of rows and merge them with the buffer's rows.
7
7
  #
@@ -1,7 +1,7 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Ductr
4
- module Sequel
4
+ module SequelBase
5
5
  #
6
6
  # A source control that allows to select a big number of rows by relying on pagination.
7
7
  #
@@ -1,7 +1,7 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Ductr
4
- module Sequel
4
+ module SequelBase
5
5
  #
6
6
  # The rufus-scheduler handler class.
7
7
  # @see https://github.com/jmettraux/rufus-scheduler#scheduling-handler-instances
@@ -1,7 +1,7 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Ductr
4
- module Sequel
4
+ module SequelBase
5
5
  #
6
6
  # A trigger based on the RufusTrigger, runs the PollingHandler at the given timing.
7
7
  #
data/lib/ductr/version.rb CHANGED
@@ -2,5 +2,5 @@
2
2
 
3
3
  module Ductr
4
4
  # @return [String] The ductr's version number
5
- VERSION = "0.2.1"
5
+ VERSION = "0.2.2"
6
6
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ductr
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.1
4
+ version: 0.2.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Mathieu Morel
@@ -252,17 +252,17 @@ files:
252
252
  - lib/ductr/registry.rb
253
253
  - lib/ductr/rufus_trigger.rb
254
254
  - lib/ductr/scheduler.rb
255
- - lib/ductr/sequel/adapter.rb
256
- - lib/ductr/sequel/basic_destination.rb
257
- - lib/ductr/sequel/basic_lookup.rb
258
- - lib/ductr/sequel/basic_source.rb
259
- - lib/ductr/sequel/buffered_destination.rb
260
- - lib/ductr/sequel/buffered_lookup.rb
261
- - lib/ductr/sequel/buffered_upsert_destination.rb
262
- - lib/ductr/sequel/match_lookup.rb
263
- - lib/ductr/sequel/paginated_source.rb
264
- - lib/ductr/sequel/polling_handler.rb
265
- - lib/ductr/sequel/polling_trigger.rb
255
+ - lib/ductr/sequel_base/adapter.rb
256
+ - lib/ductr/sequel_base/basic_destination.rb
257
+ - lib/ductr/sequel_base/basic_lookup.rb
258
+ - lib/ductr/sequel_base/basic_source.rb
259
+ - lib/ductr/sequel_base/buffered_destination.rb
260
+ - lib/ductr/sequel_base/buffered_lookup.rb
261
+ - lib/ductr/sequel_base/buffered_upsert_destination.rb
262
+ - lib/ductr/sequel_base/match_lookup.rb
263
+ - lib/ductr/sequel_base/paginated_source.rb
264
+ - lib/ductr/sequel_base/polling_handler.rb
265
+ - lib/ductr/sequel_base/polling_trigger.rb
266
266
  - lib/ductr/store.rb
267
267
  - lib/ductr/store/job_serializer.rb
268
268
  - lib/ductr/store/job_store.rb