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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 0a93b59424a5cf6866f1061785f41a0c49c1bcc707ce84a6652f481a283aab64
4
- data.tar.gz: 3b7a65c38a5cc24ee844412ef6cb1bc3b2bc2a33c9afd564196e1b1f739108b7
3
+ metadata.gz: d9598e6e179eea0d1ccf42b840ffe7e4e2f65a96a6ddb29325347fbc5e1505d6
4
+ data.tar.gz: aeffe818413543b6d8233eb8df7f7aabad901d0d1d20092dba5ec13be225a596
5
5
  SHA512:
6
- metadata.gz: f5bc7c2644584e1f8e0412e0215bef34b6431b085e18fba822723e94ab0baea9c7a97a25d4970dc9169a2adc23f7818d618f48f8ab2f9d7ddb9f5a5914ecd356
7
- data.tar.gz: 02d4f517420b8aa3331d99a69dadd39faa7b53382e89f153467eaea3d74a52141e75c000cba62c090e8e0aaa2fb2d293908160b016b242e35d483f396e37b542
6
+ metadata.gz: 7a7955d596ed663afb0fea4033bacb0dd21199a4793c7de4f81443a0d1327b613c1fa68bed544f32a411c4947baa41c1d700732afdecdd80b468bd884bc168d4
7
+ data.tar.gz: 39731b68e5e748c94d3792e3ac7f567410cfbfd7e3c3946e8de62e6748977af450c1cce41d4f6f1c404446ea885624d2ff4e1abf49d8dd11c638d576492fcb1f
@@ -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.2')
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')
@@ -26,8 +26,8 @@ module DbFuel
26
26
  :attribute_renderers_set
27
27
 
28
28
  def initialize(
29
- name:,
30
29
  table_name:,
30
+ name: '',
31
31
  attributes: [],
32
32
  debug: false,
33
33
  register: Burner::DEFAULT_REGISTER,
@@ -23,7 +23,7 @@ module DbFuel
23
23
  # attr_reader :unique_attribute_renderers
24
24
 
25
25
  # Arguments:
26
- # name [required]: name of the job within the Burner::Pipeline.
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 [required]: name of the job within the Burner::Pipeline.
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 [required]: name of the job within the Burner::Pipeline.
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 [required]: name of the job within the Burner::Pipeline.
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 [required]: name of the job within the Burner::Pipeline.
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,
@@ -23,7 +23,7 @@ module DbFuel
23
23
  # - register: Name of the register to use for gathering the IN clause values and where
24
24
  # to store the resulting recordset.
25
25
  def initialize(
26
- name:,
26
+ name: '',
27
27
  model: {},
28
28
  query: {},
29
29
  register: Burner::DEFAULT_REGISTER,
@@ -31,7 +31,7 @@ module DbFuel
31
31
  # debugging issues as it will fill
32
32
  # up the output with (potentially too much) data.
33
33
  def initialize(
34
- name:,
34
+ name: '',
35
35
  model: {},
36
36
  query: {},
37
37
  register: Burner::DEFAULT_REGISTER,
@@ -38,8 +38,8 @@ module DbFuel
38
38
  # debugging issues as it will fill
39
39
  # up the output with (potentially too much) data.
40
40
  def initialize(
41
- name:,
42
41
  key:,
42
+ name: '',
43
43
  key_path: '',
44
44
  model: {},
45
45
  query: {},
@@ -8,5 +8,5 @@
8
8
  #
9
9
 
10
10
  module DbFuel
11
- VERSION = '1.2.1-alpha.1'
11
+ VERSION = '1.2.1-alpha.2'
12
12
  end
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.1
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-15 00:00:00.000000000 Z
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.2'
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.2'
61
+ version: '1.7'
62
62
  - !ruby/object:Gem::Dependency
63
63
  name: dbee
64
64
  requirement: !ruby/object:Gem::Requirement