cyclone_lariat 0.3.10 → 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: db8b83a45f403749ab3ab2503f22e85af53cce8fc3267a63eb31df0246d30683
4
- data.tar.gz: 31ed6ee400d6778d90adf90ef997cc577df5564b78238cdc36b8067ff9fcaff9
3
+ metadata.gz: 6d5ece55091b9be0aad9d47a51e9d257457e7fec428b12568ba0ca35bc7e0e51
4
+ data.tar.gz: f7185503b206c8c48739d59128d7bd235eba36d5ee405dd8edfa8da94ddf86a4
5
5
  SHA512:
6
- metadata.gz: f73b11ffa6189231a1ebd71dcb7db455fbc092aaa00e740b4b1092006dd4db38550ddbb94ccc0266dc1bf4f467d481110a92061344fb1a6fa22e92ef48995b4b
7
- data.tar.gz: d06087c237bbc3946c7e91772a987edf47b787ccd0f8e1c6e0f341f32fa6c7965b1546dcc7e188967baafaac19dd140ddca0d1cdbafb82ce68ab736d965271ef
6
+ metadata.gz: bafa9a790fa194f3371fe077bfa3d270642df60788fa6956121750ae409aad9896fcdc4684af049534f5452815b54a961824a1bf5b35c600992285328fbf5fbc
7
+ data.tar.gz: 788dd1b52c75dec822308f71383fbee9310aed7f5cd85b55f7d8cac43593d36df88dceff7150ecfa353b9a870c088432636dfd753553b44a0e2cc47380e587d2
data/.gitignore CHANGED
@@ -20,3 +20,9 @@ config/db.rb
20
20
  # docker-compose
21
21
  /local/
22
22
  /privatekey
23
+
24
+ # lariat initializer
25
+ config/initializers/cyclone_lariat.rb
26
+
27
+ # lariat migrate
28
+ lariat/**/*
data/.rubocop.yml CHANGED
@@ -18,6 +18,8 @@ Metrics/LineLength:
18
18
  IgnoredPatterns: ['\s*\#\s.*$']
19
19
  Exclude:
20
20
  - 'spec/**/*'
21
+ - 'lib/cyclone_lariat/abstract/client.rb'
22
+ - 'lib/cyclone_lariat/migration.rb'
21
23
 
22
24
  Style/Documentation:
23
25
  Exclude:
@@ -27,17 +29,30 @@ Metrics/ParameterLists:
27
29
  Exclude:
28
30
  - '**/*'
29
31
 
32
+ Metrics/MethodLength:
33
+ Exclude:
34
+ - '**/*'
35
+
30
36
  Style/AccessorGrouping:
31
37
  Exclude:
32
38
  - 'lib/cyclone_lariat/event.rb'
39
+ - 'lib/cyclone_lariat/abstract/message.rb'
40
+
41
+ Layout/EmptyLinesAroundAttributeAccessor:
42
+ Exclude:
43
+ - 'lib/cyclone_lariat/abstract/message.rb'
33
44
 
34
45
  Metrics/CyclomaticComplexity:
35
46
  Exclude:
36
47
  - 'lib/cyclone_lariat/event.rb'
37
- -
48
+ - 'lib/cyclone_lariat/abstract/message.rb'
49
+ - 'lib/cyclone_lariat/migration.rb'
50
+
38
51
  Metrics/PerceivedComplexity:
39
52
  Exclude:
40
53
  - 'lib/cyclone_lariat/event.rb'
54
+ - 'lib/cyclone_lariat/abstract/message.rb'
55
+ - 'lib/cyclone_lariat/migration.rb'
41
56
 
42
57
  Metrics/AbcSize:
43
58
  Exclude:
@@ -46,3 +61,13 @@ Metrics/AbcSize:
46
61
  Metrics/BlockLength:
47
62
  Exclude:
48
63
  - '**/*'
64
+
65
+ Metrics/ClassLength:
66
+ Exclude:
67
+ - 'lib/cyclone_lariat/migration.rb'
68
+ - 'lib/cyclone_lariat/abstract/client.rb'
69
+ - 'lib/cyclone_lariat/sns_client.rb'
70
+
71
+ Lint/RescueException:
72
+ Exclude:
73
+ - 'lib/cyclone_lariat/middleware.rb'
data/CHANGELOG.md CHANGED
@@ -4,6 +4,17 @@ All notable changes to this project will be documented in this file.
4
4
  The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
5
5
  and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
6
6
 
7
+ ## [0.4.0]
8
+ Changed
9
+ - rename `topic` to `queue` for SQS operations, in fact it changed only in methods `publish_event`, `publish_command`
10
+ if you defined custom queue name
11
+ - rename client_id to account_id
12
+ - send_at no iso8601 format
13
+ - A lot of changes, see README.md
14
+ Added
15
+ - Migrations for create, delete and subscribe topics and queues
16
+ - request_id for Event and Command
17
+
7
18
  ## [0.3.10] - 2022-10-05
8
19
  Added
9
20
  - Added aws_client_od options
@@ -15,7 +26,6 @@ Added
15
26
  - Added configuration options see README.md
16
27
 
17
28
  ## [0.3.8] - 2022-09-05
18
- Added
19
29
  - Added configuration options see README.md
20
30
 
21
31
  ## [0.3.8] - 2022-09-05
data/Gemfile.lock CHANGED
@@ -1,29 +1,31 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- cyclone_lariat (0.3.10)
4
+ cyclone_lariat (0.4.0)
5
5
  aws-sdk-sns
6
6
  aws-sdk-sqs
7
+ dry-cli (~> 0.6)
7
8
  luna_park (~> 0.11)
9
+ terminal-table (~> 3.0)
8
10
 
9
11
  GEM
10
12
  remote: https://rubygems.org/
11
13
  specs:
12
- addressable (2.8.0)
13
- public_suffix (>= 2.0.2, < 5.0)
14
+ addressable (2.8.1)
15
+ public_suffix (>= 2.0.2, < 6.0)
14
16
  ast (2.4.2)
15
17
  aws-eventstream (1.2.0)
16
- aws-partitions (1.641.0)
17
- aws-sdk-core (3.158.0)
18
+ aws-partitions (1.654.0)
19
+ aws-sdk-core (3.166.0)
18
20
  aws-eventstream (~> 1, >= 1.0.2)
19
- aws-partitions (~> 1, >= 1.525.0)
20
- aws-sigv4 (~> 1.1)
21
+ aws-partitions (~> 1, >= 1.651.0)
22
+ aws-sigv4 (~> 1.5)
21
23
  jmespath (~> 1, >= 1.6.1)
22
- aws-sdk-sns (1.55.0)
23
- aws-sdk-core (~> 3, >= 3.127.0)
24
+ aws-sdk-sns (1.56.0)
25
+ aws-sdk-core (~> 3, >= 3.165.0)
24
26
  aws-sigv4 (~> 1.1)
25
- aws-sdk-sqs (1.51.1)
26
- aws-sdk-core (~> 3, >= 3.127.0)
27
+ aws-sdk-sqs (1.52.0)
28
+ aws-sdk-core (~> 3, >= 3.165.0)
27
29
  aws-sigv4 (~> 1.1)
28
30
  aws-sigv4 (1.5.2)
29
31
  aws-eventstream (~> 1, >= 1.0.2)
@@ -32,17 +34,18 @@ GEM
32
34
  crack (0.4.5)
33
35
  rexml
34
36
  database_cleaner-core (2.0.1)
35
- database_cleaner-sequel (2.0.0)
37
+ database_cleaner-sequel (2.0.2)
36
38
  database_cleaner-core (~> 2.0.0)
37
39
  sequel
38
40
  diff-lcs (1.5.0)
39
41
  docile (1.3.5)
42
+ dry-cli (0.7.0)
40
43
  hashdiff (1.0.1)
41
44
  jmespath (1.6.1)
42
45
  luna_park (0.11.1)
43
46
  method_source (1.0.0)
44
47
  parallel (1.20.1)
45
- parser (3.1.0.0)
48
+ parser (3.1.2.1)
46
49
  ast (~> 2.4.1)
47
50
  pg (1.2.3)
48
51
  pry (0.13.1)
@@ -51,10 +54,10 @@ GEM
51
54
  pry-byebug (3.9.0)
52
55
  byebug (~> 11.0)
53
56
  pry (~> 0.13.0)
54
- public_suffix (4.0.6)
57
+ public_suffix (4.0.7)
55
58
  rainbow (3.1.1)
56
59
  rake (13.0.6)
57
- regexp_parser (2.2.0)
60
+ regexp_parser (2.6.0)
58
61
  rexml (3.2.5)
59
62
  rspec (3.11.0)
60
63
  rspec-core (~> 3.11.0)
@@ -62,13 +65,13 @@ GEM
62
65
  rspec-mocks (~> 3.11.0)
63
66
  rspec-core (3.11.0)
64
67
  rspec-support (~> 3.11.0)
65
- rspec-expectations (3.11.0)
68
+ rspec-expectations (3.11.1)
66
69
  diff-lcs (>= 1.2.0, < 2.0)
67
70
  rspec-support (~> 3.11.0)
68
- rspec-mocks (3.11.0)
71
+ rspec-mocks (3.11.1)
69
72
  diff-lcs (>= 1.2.0, < 2.0)
70
73
  rspec-support (~> 3.11.0)
71
- rspec-support (3.11.0)
74
+ rspec-support (3.11.1)
72
75
  rubocop (0.93.1)
73
76
  parallel (~> 1.10)
74
77
  parser (>= 2.7.1.5)
@@ -81,19 +84,21 @@ GEM
81
84
  rubocop-ast (1.4.1)
82
85
  parser (>= 2.7.1.5)
83
86
  ruby-progressbar (1.11.0)
84
- sequel (5.53.0)
87
+ sequel (5.61.0)
85
88
  simplecov (0.18.5)
86
89
  docile (~> 1.1)
87
90
  simplecov-html (~> 0.11)
88
91
  simplecov-html (0.12.3)
89
- timecop (0.9.4)
92
+ terminal-table (3.0.2)
93
+ unicode-display_width (>= 1.1.1, < 3)
94
+ timecop (0.9.5)
90
95
  unicode-display_width (1.8.0)
91
96
  webmock (3.7.6)
92
97
  addressable (>= 2.3.6)
93
98
  crack (>= 0.3.2)
94
99
  hashdiff (>= 0.4.0, < 2.0.0)
95
100
  webrick (1.7.0)
96
- yard (0.9.27)
101
+ yard (0.9.28)
97
102
  webrick (~> 1.7.0)
98
103
 
99
104
  PLATFORMS