db_fuel 1.2.1.pre.alpha.1 → 1.2.1.pre.alpha.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/db_fuel.gemspec +1 -1
- data/lib/db_fuel/library/active_record/base.rb +1 -1
- data/lib/db_fuel/library/active_record/find_or_insert.rb +2 -2
- data/lib/db_fuel/library/active_record/insert.rb +2 -2
- data/lib/db_fuel/library/active_record/update.rb +2 -2
- data/lib/db_fuel/library/active_record/update_all.rb +2 -2
- data/lib/db_fuel/library/active_record/upsert.rb +2 -2
- data/lib/db_fuel/library/dbee/base.rb +1 -1
- data/lib/db_fuel/library/dbee/query.rb +1 -1
- data/lib/db_fuel/library/dbee/range.rb +1 -1
- data/lib/db_fuel/version.rb +1 -1
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d9598e6e179eea0d1ccf42b840ffe7e4e2f65a96a6ddb29325347fbc5e1505d6
|
4
|
+
data.tar.gz: aeffe818413543b6d8233eb8df7f7aabad901d0d1d20092dba5ec13be225a596
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7a7955d596ed663afb0fea4033bacb0dd21199a4793c7de4f81443a0d1327b613c1fa68bed544f32a411c4947baa41c1d700732afdecdd80b468bd884bc168d4
|
7
|
+
data.tar.gz: 39731b68e5e748c94d3792e3ac7f567410cfbfd7e3c3946e8de62e6748977af450c1cce41d4f6f1c404446ea885624d2ff4e1abf49d8dd11c638d576492fcb1f
|
data/db_fuel.gemspec
CHANGED
@@ -42,7 +42,7 @@ Gem::Specification.new do |s|
|
|
42
42
|
|
43
43
|
s.add_dependency('activerecord', activerecord_version)
|
44
44
|
s.add_dependency('acts_as_hashable', '~>1.2')
|
45
|
-
s.add_dependency('burner', '~>1.
|
45
|
+
s.add_dependency('burner', '~>1.7')
|
46
46
|
s.add_dependency('dbee', '~>2.1')
|
47
47
|
s.add_dependency('dbee-active_record', '~>2.1')
|
48
48
|
s.add_dependency('objectable', '~>1.0')
|
@@ -23,7 +23,7 @@ module DbFuel
|
|
23
23
|
# attr_reader :unique_attribute_renderers
|
24
24
|
|
25
25
|
# Arguments:
|
26
|
-
# name
|
26
|
+
# name: name of the job within the Burner::Pipeline.
|
27
27
|
#
|
28
28
|
# table_name [required]: name of the table to use for the INSERT statements.
|
29
29
|
#
|
@@ -51,8 +51,8 @@ module DbFuel
|
|
51
51
|
# unique_attributes: Each key will become a WHERE clause in order check for record
|
52
52
|
# existence before insertion attempt.
|
53
53
|
def initialize(
|
54
|
-
name:,
|
55
54
|
table_name:,
|
55
|
+
name: '',
|
56
56
|
attributes: [],
|
57
57
|
debug: false,
|
58
58
|
primary_key: nil,
|
@@ -20,7 +20,7 @@ module DbFuel
|
|
20
20
|
# attr_reader :primary_key
|
21
21
|
|
22
22
|
# Arguments:
|
23
|
-
# name
|
23
|
+
# name: name of the job within the Burner::Pipeline.
|
24
24
|
#
|
25
25
|
# table_name [required]: name of the table to use for the INSERT statements.
|
26
26
|
#
|
@@ -45,8 +45,8 @@ module DbFuel
|
|
45
45
|
# and updated_at columns will automatically have their values set
|
46
46
|
# to the current UTC timestamp.
|
47
47
|
def initialize(
|
48
|
-
name:,
|
49
48
|
table_name:,
|
49
|
+
name: '',
|
50
50
|
attributes: [],
|
51
51
|
debug: false,
|
52
52
|
primary_key: nil,
|
@@ -22,7 +22,7 @@ module DbFuel
|
|
22
22
|
# Payload[register] output: array of objects.
|
23
23
|
class Update < Upsert
|
24
24
|
# Arguments:
|
25
|
-
# name
|
25
|
+
# name: name of the job within the Burner::Pipeline.
|
26
26
|
#
|
27
27
|
# table_name [required]: name of the table to use for the INSERT statements.
|
28
28
|
#
|
@@ -52,8 +52,8 @@ module DbFuel
|
|
52
52
|
# records. The UPDATE statement's WHERE
|
53
53
|
# clause will use the primary key specified.
|
54
54
|
def initialize(
|
55
|
-
name:,
|
56
55
|
table_name:,
|
56
|
+
name: '',
|
57
57
|
attributes: [],
|
58
58
|
debug: false,
|
59
59
|
primary_key: nil,
|
@@ -21,7 +21,7 @@ module DbFuel
|
|
21
21
|
# Payload[register] output: array of objects.
|
22
22
|
class UpdateAll < Upsert
|
23
23
|
# Arguments:
|
24
|
-
# name
|
24
|
+
# name: name of the job within the Burner::Pipeline.
|
25
25
|
#
|
26
26
|
# table_name [required]: name of the table to use for the INSERT statements.
|
27
27
|
#
|
@@ -45,8 +45,8 @@ module DbFuel
|
|
45
45
|
# unique_attributes: Each key will become a WHERE clause in order to only update specific
|
46
46
|
# records.
|
47
47
|
def initialize(
|
48
|
-
name:,
|
49
48
|
table_name:,
|
49
|
+
name: '',
|
50
50
|
attributes: [],
|
51
51
|
debug: false,
|
52
52
|
register: Burner::DEFAULT_REGISTER,
|
@@ -24,7 +24,7 @@ module DbFuel
|
|
24
24
|
attr_reader :primary_key, :timestamps, :unique_attribute_renderers
|
25
25
|
|
26
26
|
# Arguments:
|
27
|
-
# name
|
27
|
+
# name: name of the job within the Burner::Pipeline.
|
28
28
|
#
|
29
29
|
# table_name [required]: name of the table to use for the INSERT OR UPDATE statements.
|
30
30
|
#
|
@@ -56,9 +56,9 @@ module DbFuel
|
|
56
56
|
# unique_attributes: Each key will become a WHERE clause in
|
57
57
|
# order to check for the existence of a specific record.
|
58
58
|
def initialize(
|
59
|
-
name:,
|
60
59
|
table_name:,
|
61
60
|
primary_key:,
|
61
|
+
name: '',
|
62
62
|
attributes: [],
|
63
63
|
debug: false,
|
64
64
|
register: Burner::DEFAULT_REGISTER,
|
data/lib/db_fuel/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: db_fuel
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.2.1.pre.alpha.
|
4
|
+
version: 1.2.1.pre.alpha.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Matthew Ruggio
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: exe
|
11
11
|
cert_chain: []
|
12
|
-
date: 2021-01-
|
12
|
+
date: 2021-01-25 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: activerecord
|
@@ -51,14 +51,14 @@ dependencies:
|
|
51
51
|
requirements:
|
52
52
|
- - "~>"
|
53
53
|
- !ruby/object:Gem::Version
|
54
|
-
version: '1.
|
54
|
+
version: '1.7'
|
55
55
|
type: :runtime
|
56
56
|
prerelease: false
|
57
57
|
version_requirements: !ruby/object:Gem::Requirement
|
58
58
|
requirements:
|
59
59
|
- - "~>"
|
60
60
|
- !ruby/object:Gem::Version
|
61
|
-
version: '1.
|
61
|
+
version: '1.7'
|
62
62
|
- !ruby/object:Gem::Dependency
|
63
63
|
name: dbee
|
64
64
|
requirement: !ruby/object:Gem::Requirement
|