zaikio-loom 1.0.1 → 1.1.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: a73006847e32a2ba98ff3c5cc9dfd1639b9d0e198d1886f59eabf699f6872a11
4
- data.tar.gz: 1706ee24ba6b90be47c15fa00ce8e889892fc6457c1a86267dcad091567b2654
3
+ metadata.gz: f5c0f9cb5244311b411a7024d1214aa0b885bb642a5b4c116aaf18e6642dc4d4
4
+ data.tar.gz: 95d524d358afba55493c097b4fe2c48096b7f089ed8f151e71592ba1b79af1e9
5
5
  SHA512:
6
- metadata.gz: 57bc16d2760ae45ea9518f5485226d0a3de33e41d71b1865acad56bd7728ef18ecd237ed84f716c3acbdf8867a2523bb907753fa5cab17cb0657cc85445d5c1c
7
- data.tar.gz: 348db1e985341b8ce6faf351490ff3532add06bea87db825881f3806c1b0aa5cf719cc10594070eee1892ca0f85a0be208aabe874d3d9195420e8c5f428b96fa
6
+ metadata.gz: a14d784c822c8ecb98a783aec551aa13fe2e1a59b453f249711d121935f139fda3bf5114d480ca2b8516794e63b33c7e91e3cb6450f67a9de45456029c7f5c5f
7
+ data.tar.gz: 8c8c28cc2d2a7203d21067be3b2c17fd1005492fde9ab8704d6d952bd63e2bc3d5cb908d87e884c61edd3ebf81e1d62cb0a0e6398875f13526c1b8ed7d360f49
@@ -2,7 +2,7 @@ version: 2
2
2
  jobs:
3
3
  build:
4
4
  docker:
5
- - image: circleci/ruby:2.6.5
5
+ - image: circleci/ruby:3.0.0
6
6
  - image: circleci/redis:3.2-alpine
7
7
 
8
8
  working_directory: ~/repo
@@ -1,11 +1,13 @@
1
1
  AllCops:
2
- TargetRubyVersion: 2.6
2
+ TargetRubyVersion: 2.7
3
3
  Exclude:
4
4
  - test/**/*.rb
5
5
  NewCops: enable
6
6
 
7
7
  require:
8
+ - rubocop-minitest
8
9
  - rubocop-performance
10
+ - rubocop-rake
9
11
 
10
12
  Layout/HashAlignment:
11
13
  EnforcedColonStyle: table
@@ -1,6 +1,12 @@
1
1
  # Zaikio Loom Ruby Gem Changelog
2
2
 
3
- ## 1.0.0 - 2020-06-03
3
+ ## master
4
+
5
+ ## 1.1.0 - 2021-01-05
6
+
7
+ - Ensure compability with Ruby 3.0 and Ruby on Rails 6.1
8
+
9
+ ## 1.0.1 - 2020-06-03
4
10
 
5
11
  - Fix a bug in the event serializer
6
12
 
@@ -1,83 +1,88 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- zaikio-loom (1.0.1)
4
+ zaikio-loom (1.1.0)
5
+ nokogiri (>= 1.11.0)
5
6
  oj
6
- rails (~> 6.0, >= 6.0.2.2)
7
+ rails (~> 6.0, >= 6.0.2.3)
7
8
 
8
9
  GEM
9
10
  remote: https://rubygems.org/
10
11
  specs:
11
- actioncable (6.0.3.1)
12
- actionpack (= 6.0.3.1)
12
+ actioncable (6.1.0)
13
+ actionpack (= 6.1.0)
14
+ activesupport (= 6.1.0)
13
15
  nio4r (~> 2.0)
14
16
  websocket-driver (>= 0.6.1)
15
- actionmailbox (6.0.3.1)
16
- actionpack (= 6.0.3.1)
17
- activejob (= 6.0.3.1)
18
- activerecord (= 6.0.3.1)
19
- activestorage (= 6.0.3.1)
20
- activesupport (= 6.0.3.1)
17
+ actionmailbox (6.1.0)
18
+ actionpack (= 6.1.0)
19
+ activejob (= 6.1.0)
20
+ activerecord (= 6.1.0)
21
+ activestorage (= 6.1.0)
22
+ activesupport (= 6.1.0)
21
23
  mail (>= 2.7.1)
22
- actionmailer (6.0.3.1)
23
- actionpack (= 6.0.3.1)
24
- actionview (= 6.0.3.1)
25
- activejob (= 6.0.3.1)
24
+ actionmailer (6.1.0)
25
+ actionpack (= 6.1.0)
26
+ actionview (= 6.1.0)
27
+ activejob (= 6.1.0)
28
+ activesupport (= 6.1.0)
26
29
  mail (~> 2.5, >= 2.5.4)
27
30
  rails-dom-testing (~> 2.0)
28
- actionpack (6.0.3.1)
29
- actionview (= 6.0.3.1)
30
- activesupport (= 6.0.3.1)
31
- rack (~> 2.0, >= 2.0.8)
31
+ actionpack (6.1.0)
32
+ actionview (= 6.1.0)
33
+ activesupport (= 6.1.0)
34
+ rack (~> 2.0, >= 2.0.9)
32
35
  rack-test (>= 0.6.3)
33
36
  rails-dom-testing (~> 2.0)
34
37
  rails-html-sanitizer (~> 1.0, >= 1.2.0)
35
- actiontext (6.0.3.1)
36
- actionpack (= 6.0.3.1)
37
- activerecord (= 6.0.3.1)
38
- activestorage (= 6.0.3.1)
39
- activesupport (= 6.0.3.1)
38
+ actiontext (6.1.0)
39
+ actionpack (= 6.1.0)
40
+ activerecord (= 6.1.0)
41
+ activestorage (= 6.1.0)
42
+ activesupport (= 6.1.0)
40
43
  nokogiri (>= 1.8.5)
41
- actionview (6.0.3.1)
42
- activesupport (= 6.0.3.1)
44
+ actionview (6.1.0)
45
+ activesupport (= 6.1.0)
43
46
  builder (~> 3.1)
44
47
  erubi (~> 1.4)
45
48
  rails-dom-testing (~> 2.0)
46
49
  rails-html-sanitizer (~> 1.1, >= 1.2.0)
47
- activejob (6.0.3.1)
48
- activesupport (= 6.0.3.1)
50
+ activejob (6.1.0)
51
+ activesupport (= 6.1.0)
49
52
  globalid (>= 0.3.6)
50
- activemodel (6.0.3.1)
51
- activesupport (= 6.0.3.1)
52
- activerecord (6.0.3.1)
53
- activemodel (= 6.0.3.1)
54
- activesupport (= 6.0.3.1)
55
- activestorage (6.0.3.1)
56
- actionpack (= 6.0.3.1)
57
- activejob (= 6.0.3.1)
58
- activerecord (= 6.0.3.1)
53
+ activemodel (6.1.0)
54
+ activesupport (= 6.1.0)
55
+ activerecord (6.1.0)
56
+ activemodel (= 6.1.0)
57
+ activesupport (= 6.1.0)
58
+ activestorage (6.1.0)
59
+ actionpack (= 6.1.0)
60
+ activejob (= 6.1.0)
61
+ activerecord (= 6.1.0)
62
+ activesupport (= 6.1.0)
59
63
  marcel (~> 0.3.1)
60
- activesupport (6.0.3.1)
64
+ mimemagic (~> 0.3.2)
65
+ activesupport (6.1.0)
61
66
  concurrent-ruby (~> 1.0, >= 1.0.2)
62
- i18n (>= 0.7, < 2)
63
- minitest (~> 5.1)
64
- tzinfo (~> 1.1)
65
- zeitwerk (~> 2.2, >= 2.2.2)
67
+ i18n (>= 1.6, < 2)
68
+ minitest (>= 5.1)
69
+ tzinfo (~> 2.0)
70
+ zeitwerk (~> 2.3)
66
71
  addressable (2.7.0)
67
72
  public_suffix (>= 2.0.2, < 5.0)
68
- ast (2.4.0)
73
+ ast (2.4.1)
69
74
  builder (3.2.4)
70
- concurrent-ruby (1.1.6)
71
- crack (0.4.3)
72
- safe_yaml (~> 1.0.0)
75
+ concurrent-ruby (1.1.7)
76
+ crack (0.4.5)
77
+ rexml
73
78
  crass (1.0.6)
74
- erubi (1.9.0)
79
+ erubi (1.10.0)
75
80
  globalid (0.4.2)
76
81
  activesupport (>= 4.2.0)
77
82
  hashdiff (1.0.1)
78
- i18n (1.8.2)
83
+ i18n (1.8.7)
79
84
  concurrent-ruby (~> 1.0)
80
- loofah (2.5.0)
85
+ loofah (2.8.0)
81
86
  crass (~> 1.0.2)
82
87
  nokogiri (>= 1.5.9)
83
88
  mail (2.7.1)
@@ -87,85 +92,90 @@ GEM
87
92
  method_source (1.0.0)
88
93
  mimemagic (0.3.5)
89
94
  mini_mime (1.0.2)
90
- mini_portile2 (2.4.0)
91
- minitest (5.14.1)
92
- mocha (1.11.2)
93
- nio4r (2.5.2)
94
- nokogiri (1.10.9)
95
- mini_portile2 (~> 2.4.0)
96
- oj (3.10.6)
97
- parallel (1.19.1)
98
- parser (2.7.1.3)
99
- ast (~> 2.4.0)
100
- public_suffix (4.0.4)
101
- rack (2.2.2)
95
+ mini_portile2 (2.5.0)
96
+ minitest (5.14.2)
97
+ mocha (1.12.0)
98
+ nio4r (2.5.4)
99
+ nokogiri (1.11.0)
100
+ mini_portile2 (~> 2.5.0)
101
+ racc (~> 1.4)
102
+ oj (3.10.18)
103
+ parallel (1.20.1)
104
+ parser (3.0.0.0)
105
+ ast (~> 2.4.1)
106
+ public_suffix (4.0.6)
107
+ racc (1.5.2)
108
+ rack (2.2.3)
102
109
  rack-test (1.1.0)
103
110
  rack (>= 1.0, < 3)
104
- rails (6.0.3.1)
105
- actioncable (= 6.0.3.1)
106
- actionmailbox (= 6.0.3.1)
107
- actionmailer (= 6.0.3.1)
108
- actionpack (= 6.0.3.1)
109
- actiontext (= 6.0.3.1)
110
- actionview (= 6.0.3.1)
111
- activejob (= 6.0.3.1)
112
- activemodel (= 6.0.3.1)
113
- activerecord (= 6.0.3.1)
114
- activestorage (= 6.0.3.1)
115
- activesupport (= 6.0.3.1)
116
- bundler (>= 1.3.0)
117
- railties (= 6.0.3.1)
111
+ rails (6.1.0)
112
+ actioncable (= 6.1.0)
113
+ actionmailbox (= 6.1.0)
114
+ actionmailer (= 6.1.0)
115
+ actionpack (= 6.1.0)
116
+ actiontext (= 6.1.0)
117
+ actionview (= 6.1.0)
118
+ activejob (= 6.1.0)
119
+ activemodel (= 6.1.0)
120
+ activerecord (= 6.1.0)
121
+ activestorage (= 6.1.0)
122
+ activesupport (= 6.1.0)
123
+ bundler (>= 1.15.0)
124
+ railties (= 6.1.0)
118
125
  sprockets-rails (>= 2.0.0)
119
126
  rails-dom-testing (2.0.3)
120
127
  activesupport (>= 4.2.0)
121
128
  nokogiri (>= 1.6)
122
129
  rails-html-sanitizer (1.3.0)
123
130
  loofah (~> 2.3)
124
- railties (6.0.3.1)
125
- actionpack (= 6.0.3.1)
126
- activesupport (= 6.0.3.1)
131
+ railties (6.1.0)
132
+ actionpack (= 6.1.0)
133
+ activesupport (= 6.1.0)
127
134
  method_source
128
135
  rake (>= 0.8.7)
129
- thor (>= 0.20.3, < 2.0)
136
+ thor (~> 1.0)
130
137
  rainbow (3.0.0)
131
- rake (13.0.1)
132
- regexp_parser (1.7.0)
138
+ rake (13.0.3)
139
+ regexp_parser (2.0.3)
133
140
  rexml (3.2.4)
134
- rubocop (0.85.0)
141
+ rubocop (1.7.0)
135
142
  parallel (~> 1.10)
136
- parser (>= 2.7.0.1)
143
+ parser (>= 2.7.1.5)
137
144
  rainbow (>= 2.2.2, < 4.0)
138
- regexp_parser (>= 1.7)
145
+ regexp_parser (>= 1.8, < 3.0)
139
146
  rexml
140
- rubocop-ast (>= 0.0.3)
147
+ rubocop-ast (>= 1.2.0, < 2.0)
141
148
  ruby-progressbar (~> 1.7)
142
149
  unicode-display_width (>= 1.4.0, < 2.0)
143
- rubocop-ast (0.0.3)
144
- parser (>= 2.7.0.1)
145
- rubocop-performance (1.6.0)
146
- rubocop (>= 0.71.0)
147
- ruby-progressbar (1.10.1)
148
- safe_yaml (1.0.5)
149
- sprockets (4.0.0)
150
+ rubocop-ast (1.4.0)
151
+ parser (>= 2.7.1.5)
152
+ rubocop-minitest (0.10.2)
153
+ rubocop (>= 0.87, < 2.0)
154
+ rubocop-performance (1.9.2)
155
+ rubocop (>= 0.90.0, < 2.0)
156
+ rubocop-ast (>= 0.4.0)
157
+ rubocop-rake (0.5.1)
158
+ rubocop
159
+ ruby-progressbar (1.11.0)
160
+ sprockets (4.0.2)
150
161
  concurrent-ruby (~> 1.0)
151
162
  rack (> 1, < 3)
152
- sprockets-rails (3.2.1)
163
+ sprockets-rails (3.2.2)
153
164
  actionpack (>= 4.0)
154
165
  activesupport (>= 4.0)
155
166
  sprockets (>= 3.0.0)
156
167
  thor (1.0.1)
157
- thread_safe (0.3.6)
158
- tzinfo (1.2.7)
159
- thread_safe (~> 0.1)
168
+ tzinfo (2.0.4)
169
+ concurrent-ruby (~> 1.0)
160
170
  unicode-display_width (1.7.0)
161
- webmock (3.8.3)
171
+ webmock (3.11.0)
162
172
  addressable (>= 2.3.6)
163
173
  crack (>= 0.3.2)
164
174
  hashdiff (>= 0.4.0, < 2.0.0)
165
- websocket-driver (0.7.2)
175
+ websocket-driver (0.7.3)
166
176
  websocket-extensions (>= 0.1.0)
167
177
  websocket-extensions (0.1.5)
168
- zeitwerk (2.3.0)
178
+ zeitwerk (2.4.2)
169
179
 
170
180
  PLATFORMS
171
181
  ruby
@@ -176,9 +186,11 @@ DEPENDENCIES
176
186
  mocha
177
187
  rake
178
188
  rubocop
189
+ rubocop-minitest
179
190
  rubocop-performance
191
+ rubocop-rake
180
192
  webmock
181
193
  zaikio-loom!
182
194
 
183
195
  BUNDLED WITH
184
- 2.1.4
196
+ 2.2.3
@@ -19,7 +19,7 @@ module Zaikio
19
19
  end
20
20
 
21
21
  def logger
22
- @logger ||= Logger.new(STDOUT)
22
+ @logger ||= Logger.new($stdout)
23
23
  end
24
24
 
25
25
  def environment=(env)
@@ -1,5 +1,5 @@
1
1
  module Zaikio
2
2
  module Loom
3
- VERSION = "1.0.1".freeze
3
+ VERSION = "1.1.0".freeze
4
4
  end
5
5
  end
@@ -23,14 +23,18 @@ Gem::Specification.new do |spec|
23
23
  end
24
24
  spec.require_paths = ["lib"]
25
25
 
26
+ spec.add_dependency "nokogiri", ">= 1.11.0"
27
+ spec.add_dependency "rails", "~> 6.0", ">= 6.0.2.3"
26
28
  spec.add_runtime_dependency "oj"
27
- spec.add_dependency "rails", "~> 6.0", ">= 6.0.2.2"
29
+ spec.required_ruby_version = ">= 2.7.1"
28
30
 
29
31
  spec.add_development_dependency "bundler"
30
32
  spec.add_development_dependency "minitest"
31
33
  spec.add_development_dependency "mocha"
32
34
  spec.add_development_dependency "rake"
33
35
  spec.add_development_dependency "rubocop"
36
+ spec.add_development_dependency "rubocop-minitest"
34
37
  spec.add_development_dependency "rubocop-performance"
38
+ spec.add_development_dependency "rubocop-rake"
35
39
  spec.add_development_dependency "webmock"
36
40
  end
metadata CHANGED
@@ -1,30 +1,30 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: zaikio-loom
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.1
4
+ version: 1.1.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - crispymtn
8
8
  - Martin Spickermann
9
- autorequire:
9
+ autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2020-06-03 00:00:00.000000000 Z
12
+ date: 2021-01-05 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
- name: oj
15
+ name: nokogiri
16
16
  requirement: !ruby/object:Gem::Requirement
17
17
  requirements:
18
18
  - - ">="
19
19
  - !ruby/object:Gem::Version
20
- version: '0'
20
+ version: 1.11.0
21
21
  type: :runtime
22
22
  prerelease: false
23
23
  version_requirements: !ruby/object:Gem::Requirement
24
24
  requirements:
25
25
  - - ">="
26
26
  - !ruby/object:Gem::Version
27
- version: '0'
27
+ version: 1.11.0
28
28
  - !ruby/object:Gem::Dependency
29
29
  name: rails
30
30
  requirement: !ruby/object:Gem::Requirement
@@ -34,7 +34,7 @@ dependencies:
34
34
  version: '6.0'
35
35
  - - ">="
36
36
  - !ruby/object:Gem::Version
37
- version: 6.0.2.2
37
+ version: 6.0.2.3
38
38
  type: :runtime
39
39
  prerelease: false
40
40
  version_requirements: !ruby/object:Gem::Requirement
@@ -44,7 +44,21 @@ dependencies:
44
44
  version: '6.0'
45
45
  - - ">="
46
46
  - !ruby/object:Gem::Version
47
- version: 6.0.2.2
47
+ version: 6.0.2.3
48
+ - !ruby/object:Gem::Dependency
49
+ name: oj
50
+ requirement: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - ">="
53
+ - !ruby/object:Gem::Version
54
+ version: '0'
55
+ type: :runtime
56
+ prerelease: false
57
+ version_requirements: !ruby/object:Gem::Requirement
58
+ requirements:
59
+ - - ">="
60
+ - !ruby/object:Gem::Version
61
+ version: '0'
48
62
  - !ruby/object:Gem::Dependency
49
63
  name: bundler
50
64
  requirement: !ruby/object:Gem::Requirement
@@ -115,6 +129,20 @@ dependencies:
115
129
  - - ">="
116
130
  - !ruby/object:Gem::Version
117
131
  version: '0'
132
+ - !ruby/object:Gem::Dependency
133
+ name: rubocop-minitest
134
+ requirement: !ruby/object:Gem::Requirement
135
+ requirements:
136
+ - - ">="
137
+ - !ruby/object:Gem::Version
138
+ version: '0'
139
+ type: :development
140
+ prerelease: false
141
+ version_requirements: !ruby/object:Gem::Requirement
142
+ requirements:
143
+ - - ">="
144
+ - !ruby/object:Gem::Version
145
+ version: '0'
118
146
  - !ruby/object:Gem::Dependency
119
147
  name: rubocop-performance
120
148
  requirement: !ruby/object:Gem::Requirement
@@ -129,6 +157,20 @@ dependencies:
129
157
  - - ">="
130
158
  - !ruby/object:Gem::Version
131
159
  version: '0'
160
+ - !ruby/object:Gem::Dependency
161
+ name: rubocop-rake
162
+ requirement: !ruby/object:Gem::Requirement
163
+ requirements:
164
+ - - ">="
165
+ - !ruby/object:Gem::Version
166
+ version: '0'
167
+ type: :development
168
+ prerelease: false
169
+ version_requirements: !ruby/object:Gem::Requirement
170
+ requirements:
171
+ - - ">="
172
+ - !ruby/object:Gem::Version
173
+ version: '0'
132
174
  - !ruby/object:Gem::Dependency
133
175
  name: webmock
134
176
  requirement: !ruby/object:Gem::Requirement
@@ -143,7 +185,7 @@ dependencies:
143
185
  - - ">="
144
186
  - !ruby/object:Gem::Version
145
187
  version: '0'
146
- description:
188
+ description:
147
189
  email:
148
190
  - op@crispymtn.com
149
191
  - spickermann@gmail.com
@@ -181,7 +223,7 @@ metadata:
181
223
  changelog_uri: https://github.com/crispymtn/zai-loom-ruby/blob/master/CHANGELOG.md
182
224
  homepage_uri: https://github.com/crispymtn/zai-loom-ruby
183
225
  source_code_uri: https://github.com/crispymtn/zai-loom-ruby
184
- post_install_message:
226
+ post_install_message:
185
227
  rdoc_options: []
186
228
  require_paths:
187
229
  - lib
@@ -189,15 +231,15 @@ required_ruby_version: !ruby/object:Gem::Requirement
189
231
  requirements:
190
232
  - - ">="
191
233
  - !ruby/object:Gem::Version
192
- version: '0'
234
+ version: 2.7.1
193
235
  required_rubygems_version: !ruby/object:Gem::Requirement
194
236
  requirements:
195
237
  - - ">="
196
238
  - !ruby/object:Gem::Version
197
239
  version: '0'
198
240
  requirements: []
199
- rubygems_version: 3.1.2
200
- signing_key:
241
+ rubygems_version: 3.2.3
242
+ signing_key:
201
243
  specification_version: 4
202
244
  summary: The Zaikio Loom Ruby Gem simplifies publishing events on the Zaikio Loom
203
245
  event system.