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 +4 -4
- data/README.md +1 -2
- data/lib/kaal/roda/version.rb +1 -1
- data/lib/kaal/roda.rb +4 -4
- metadata +5 -19
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 63b98e312b2cb03226a195c6dffe239cabdd5e380d57801b0b2348d4f0c752cd
|
|
4
|
+
data.tar.gz: 19d47df4d5ba23d17c25e82ae5524a118245a295d9affc54d7805a37330d2c61
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
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
|
|
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`
|
data/lib/kaal/roda/version.rb
CHANGED
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
|
|
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::
|
|
108
|
+
Kaal::Backend::SQLite.new(database:)
|
|
109
109
|
when 'postgres'
|
|
110
|
-
Kaal::Backend::
|
|
110
|
+
Kaal::Backend::Postgres.new(database:)
|
|
111
111
|
when 'mysql'
|
|
112
|
-
Kaal::Backend::
|
|
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.
|
|
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.
|
|
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.
|
|
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
|
|
76
|
-
|
|
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
|