kaal-roda 0.3.0 → 0.4.0

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: 877e7b001a2749328e275dbf9ed9c2293e83bf49db746733319936e82c0ce57e
4
- data.tar.gz: fc14cad8e2f00b0283c085d198dd4d46629f957c42311ca4d046c55b8002905d
3
+ metadata.gz: 63b98e312b2cb03226a195c6dffe239cabdd5e380d57801b0b2348d4f0c752cd
4
+ data.tar.gz: 19d47df4d5ba23d17c25e82ae5524a118245a295d9affc54d7805a37330d2c61
5
5
  SHA512:
6
- metadata.gz: 03aeef8421ff4eeb01f7c71c0940b48a21cfa5ba55a977a9b6c91ce68003c8ec5bce0d2198c8279c59c5620e00c459e4d3fac83b7782a914d67c6337463d28d7
7
- data.tar.gz: '078d579977b00c9cebb16bd553cdf1732be38249ea9863b2016b4aefa3f6015ca8437ef63ec4a9b15f4c6c6965be11630d981c64712f12cc0d0a15dfad238e63'
6
+ metadata.gz: '0988b21d2d825cebb420c16289db800dfa82cec6c8b8cd35fb824fe9dc813c7852577cd88761fdcb3f5ee850278449351fc75cafb48f088c597161e0ea1d58fa'
7
+ data.tar.gz: cb5e89ba9f906e8570aa91acb207a800857ef7d2cbb0b0f03af923dcaf3baacb6f24d964d74c44625012048df591c4dc77cd00dc9a88401aaed40764f99b8001
data/README.md CHANGED
@@ -5,7 +5,6 @@ Roda integration gem for Kaal.
5
5
  `kaal-roda` depends on:
6
6
 
7
7
  - `kaal`
8
- - `kaal-sequel`
9
8
  - `roda`
10
9
 
11
10
  It owns the Roda integration surface:
@@ -24,7 +23,7 @@ gem 'redis' # for redis
24
23
  gem 'sqlite3' # or pg / mysql2 for SQL
25
24
  ```
26
25
 
27
- If you use SQL persistence, create the Kaal tables using Sequel migrations. `kaal-sequel` exposes templates for:
26
+ If you use SQL persistence, create the Kaal tables using Sequel migrations. `kaal` exposes the Sequel migration templates for:
28
27
 
29
28
  - SQLite: `kaal_dispatches`, `kaal_locks`, `kaal_definitions`
30
29
  - PostgreSQL: `kaal_dispatches`, `kaal_definitions`
@@ -6,6 +6,6 @@
6
6
  # LICENSE file in the root directory of this source tree.
7
7
  module Kaal
8
8
  module Roda
9
- VERSION = '0.3.0'
9
+ VERSION = '0.4.0'
10
10
  end
11
11
  end
data/lib/kaal/roda.rb CHANGED
@@ -5,7 +5,7 @@
5
5
  # This source code is licensed under the MIT license found in the
6
6
  # LICENSE file in the root directory of this source tree.
7
7
  require 'pathname'
8
- require 'kaal/sequel'
8
+ require 'kaal'
9
9
  require 'roda'
10
10
  require 'kaal/roda/version'
11
11
 
@@ -105,11 +105,11 @@ module Kaal
105
105
  def build_backend(backend_name, database)
106
106
  case backend_name
107
107
  when 'sqlite'
108
- Kaal::Backend::DatabaseAdapter.new(database)
108
+ Kaal::Backend::SQLite.new(database:)
109
109
  when 'postgres'
110
- Kaal::Backend::PostgresAdapter.new(database)
110
+ Kaal::Backend::Postgres.new(database:)
111
111
  when 'mysql'
112
- Kaal::Backend::MySQLAdapter.new(database)
112
+ Kaal::Backend::MySQL.new(database:)
113
113
  end
114
114
  end
115
115
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: kaal-roda
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.0
4
+ version: 0.4.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Nitesh Purohit
@@ -16,28 +16,14 @@ dependencies:
16
16
  requirements:
17
17
  - - '='
18
18
  - !ruby/object:Gem::Version
19
- version: 0.3.0
19
+ version: 0.4.0
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: 0.3.0
27
- - !ruby/object:Gem::Dependency
28
- name: kaal-sequel
29
- requirement: !ruby/object:Gem::Requirement
30
- requirements:
31
- - - '='
32
- - !ruby/object:Gem::Version
33
- version: 0.3.0
34
- type: :runtime
35
- prerelease: false
36
- version_requirements: !ruby/object:Gem::Requirement
37
- requirements:
38
- - - '='
39
- - !ruby/object:Gem::Version
40
- version: 0.3.0
26
+ version: 0.4.0
41
27
  - !ruby/object:Gem::Dependency
42
28
  name: rack
43
29
  requirement: !ruby/object:Gem::Requirement
@@ -72,8 +58,8 @@ dependencies:
72
58
  - - "<"
73
59
  - !ruby/object:Gem::Version
74
60
  version: '5.0'
75
- description: " Kaal-Roda provides a thin integration layer that wires Kaal and
76
- Kaal-Sequel into Roda applications with explicit lifecycle control.\n"
61
+ description: " Kaal-Roda provides a thin integration layer that wires Kaal into
62
+ Roda applications with explicit lifecycle control.\n"
77
63
  email:
78
64
  - nitesh.purohit.it@gmail.com
79
65
  - team@codevedas.com