loco-rails 5.0.0 → 6.0.0

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: 3b3b768bf72d198a530c47e9aab5060b783c647f0ff97eb54c3ab5549499bf7c
4
- data.tar.gz: 2f10baeb21193dc8a3bf0abb1038847224fe4aef5663c21dadf74a1dfb821486
3
+ metadata.gz: 479391be7cf538ec1e33167e15508617bbd6312f607204185f0be6f12bba0372
4
+ data.tar.gz: 1365a880d79a4e838a6101de9bd5ec7678f4f2be74bd3be9570f898d3949ccf0
5
5
  SHA512:
6
- metadata.gz: 54a025a862ecb19b028a8e86cc14832aa8565656250914431cc0cffc8f0e7eb361d9ea606fa922f3f7fcc655fc47524055f79547e2aeb37874be011e25883912
7
- data.tar.gz: 175abf6fda5e84783a2c38138cd08a62a3c7a48e0ff7b04c1e5b80d4053d52f3ce6dac0e532e8fb4b0e809e540c62975d846e68ccab3f835329e7c5a37528daf
6
+ metadata.gz: e7d596e1289162d46b33bb68355032e64c125ed80e82a2be7203ccb6dd5095bdf511a82f71be2346188e45d7232c654c84b0d0234fc260f3e15ea2c211a0627a
7
+ data.tar.gz: 7a3dd738a162abd503389b5e46173f3d68bd3de72c672a1df5ea94eb7cc3e168d40a07f809841d50de5f70111265fd730a6db28c3a1e1800bd167956963d8bd5
File without changes
data/lib/loco/version.rb CHANGED
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Loco
4
- VERSION = '5.0.0'
4
+ VERSION = '6.0.0'
5
5
  end
@@ -25,10 +25,10 @@ module Loco
25
25
  end
26
26
 
27
27
  def get(key, hkey = nil)
28
- if !hkey.nil?
29
- storage.hget(proper_key("h:#{key}"), hkey)
30
- else
28
+ if hkey.nil?
31
29
  storage.get(proper_key("k:#{key}"))
30
+ else
31
+ storage.hget(proper_key("h:#{key}"), hkey)
32
32
  end
33
33
  end
34
34
 
@@ -41,10 +41,10 @@ module Loco
41
41
  end
42
42
 
43
43
  def del(key, hkey = nil)
44
- if !hkey.nil?
45
- storage.hdel(proper_key("h:#{key}"), hkey)
46
- else
44
+ if hkey.nil?
47
45
  storage.del(proper_key("k:#{key}"))
46
+ else
47
+ storage.hdel(proper_key("h:#{key}"), hkey)
48
48
  end
49
49
  end
50
50
 
data/lib/loco-rails.rb CHANGED
@@ -5,7 +5,7 @@ require 'loco-rails-core'
5
5
  require 'loco/broadcaster'
6
6
  require 'loco/config'
7
7
  require 'loco/emitter'
8
- require 'loco/engine'
8
+ require 'loco/rails/engine'
9
9
  require 'loco/helpers'
10
10
  require 'loco/hub'
11
11
  require 'loco/permissions_presenter'
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: loco-rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 5.0.0
4
+ version: 6.0.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Zbigniew Humeniuk
8
- autorequire:
8
+ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-12-23 00:00:00.000000000 Z
11
+ date: 2022-02-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: loco-rails-core
@@ -58,56 +58,56 @@ dependencies:
58
58
  requirements:
59
59
  - - "~>"
60
60
  - !ruby/object:Gem::Version
61
- version: 3.33.0
61
+ version: 3.36.0
62
62
  type: :development
63
63
  prerelease: false
64
64
  version_requirements: !ruby/object:Gem::Requirement
65
65
  requirements:
66
66
  - - "~>"
67
67
  - !ruby/object:Gem::Version
68
- version: 3.33.0
68
+ version: 3.36.0
69
69
  - !ruby/object:Gem::Dependency
70
70
  name: database_cleaner
71
71
  requirement: !ruby/object:Gem::Requirement
72
72
  requirements:
73
73
  - - "~>"
74
74
  - !ruby/object:Gem::Version
75
- version: 1.8.5
75
+ version: 2.0.1
76
76
  type: :development
77
77
  prerelease: false
78
78
  version_requirements: !ruby/object:Gem::Requirement
79
79
  requirements:
80
80
  - - "~>"
81
81
  - !ruby/object:Gem::Version
82
- version: 1.8.5
82
+ version: 2.0.1
83
83
  - !ruby/object:Gem::Dependency
84
84
  name: jbuilder
85
85
  requirement: !ruby/object:Gem::Requirement
86
86
  requirements:
87
87
  - - "~>"
88
88
  - !ruby/object:Gem::Version
89
- version: 2.10.1
89
+ version: 2.11.5
90
90
  type: :development
91
91
  prerelease: false
92
92
  version_requirements: !ruby/object:Gem::Requirement
93
93
  requirements:
94
94
  - - "~>"
95
95
  - !ruby/object:Gem::Version
96
- version: 2.10.1
96
+ version: 2.11.5
97
97
  - !ruby/object:Gem::Dependency
98
98
  name: listen
99
99
  requirement: !ruby/object:Gem::Requirement
100
100
  requirements:
101
101
  - - "~>"
102
102
  - !ruby/object:Gem::Version
103
- version: 3.2.1
103
+ version: 3.7.1
104
104
  type: :development
105
105
  prerelease: false
106
106
  version_requirements: !ruby/object:Gem::Requirement
107
107
  requirements:
108
108
  - - "~>"
109
109
  - !ruby/object:Gem::Version
110
- version: 3.2.1
110
+ version: 3.7.1
111
111
  - !ruby/object:Gem::Dependency
112
112
  name: mysql2
113
113
  requirement: !ruby/object:Gem::Requirement
@@ -128,56 +128,56 @@ dependencies:
128
128
  requirements:
129
129
  - - "~>"
130
130
  - !ruby/object:Gem::Version
131
- version: 4.3.6
131
+ version: 5.5.2
132
132
  type: :development
133
133
  prerelease: false
134
134
  version_requirements: !ruby/object:Gem::Requirement
135
135
  requirements:
136
136
  - - "~>"
137
137
  - !ruby/object:Gem::Version
138
- version: 4.3.6
138
+ version: 5.5.2
139
139
  - !ruby/object:Gem::Dependency
140
140
  name: redis
141
141
  requirement: !ruby/object:Gem::Requirement
142
142
  requirements:
143
143
  - - "~>"
144
144
  - !ruby/object:Gem::Version
145
- version: 4.2.2
145
+ version: 4.5.1
146
146
  type: :development
147
147
  prerelease: false
148
148
  version_requirements: !ruby/object:Gem::Requirement
149
149
  requirements:
150
150
  - - "~>"
151
151
  - !ruby/object:Gem::Version
152
- version: 4.2.2
152
+ version: 4.5.1
153
153
  - !ruby/object:Gem::Dependency
154
154
  name: rspec-expectations
155
155
  requirement: !ruby/object:Gem::Requirement
156
156
  requirements:
157
157
  - - "~>"
158
158
  - !ruby/object:Gem::Version
159
- version: 3.9.2
159
+ version: 3.10.2
160
160
  type: :development
161
161
  prerelease: false
162
162
  version_requirements: !ruby/object:Gem::Requirement
163
163
  requirements:
164
164
  - - "~>"
165
165
  - !ruby/object:Gem::Version
166
- version: 3.9.2
166
+ version: 3.10.2
167
167
  - !ruby/object:Gem::Dependency
168
168
  name: rspec-mocks
169
169
  requirement: !ruby/object:Gem::Requirement
170
170
  requirements:
171
171
  - - "~>"
172
172
  - !ruby/object:Gem::Version
173
- version: 3.9.1
173
+ version: 3.10.2
174
174
  type: :development
175
175
  prerelease: false
176
176
  version_requirements: !ruby/object:Gem::Requirement
177
177
  requirements:
178
178
  - - "~>"
179
179
  - !ruby/object:Gem::Version
180
- version: 3.9.1
180
+ version: 3.10.2
181
181
  - !ruby/object:Gem::Dependency
182
182
  name: rubocop
183
183
  requirement: !ruby/object:Gem::Requirement
@@ -212,28 +212,42 @@ dependencies:
212
212
  requirements:
213
213
  - - "~>"
214
214
  - !ruby/object:Gem::Version
215
- version: '3.142'
215
+ version: 4.1.0
216
216
  type: :development
217
217
  prerelease: false
218
218
  version_requirements: !ruby/object:Gem::Requirement
219
219
  requirements:
220
220
  - - "~>"
221
221
  - !ruby/object:Gem::Version
222
- version: '3.142'
222
+ version: 4.1.0
223
+ - !ruby/object:Gem::Dependency
224
+ name: sprockets-rails
225
+ requirement: !ruby/object:Gem::Requirement
226
+ requirements:
227
+ - - "~>"
228
+ - !ruby/object:Gem::Version
229
+ version: 3.4.2
230
+ type: :development
231
+ prerelease: false
232
+ version_requirements: !ruby/object:Gem::Requirement
233
+ requirements:
234
+ - - "~>"
235
+ - !ruby/object:Gem::Version
236
+ version: 3.4.2
223
237
  - !ruby/object:Gem::Dependency
224
238
  name: will_paginate
225
239
  requirement: !ruby/object:Gem::Requirement
226
240
  requirements:
227
241
  - - "~>"
228
242
  - !ruby/object:Gem::Version
229
- version: 3.3.0
243
+ version: 3.3.1
230
244
  type: :development
231
245
  prerelease: false
232
246
  version_requirements: !ruby/object:Gem::Requirement
233
247
  requirements:
234
248
  - - "~>"
235
249
  - !ruby/object:Gem::Version
236
- version: 3.3.0
250
+ version: 3.3.1
237
251
  description: Rails is awesome, but modern web needs Loco-motive.
238
252
  email:
239
253
  - hello@artofcode.co
@@ -267,10 +281,10 @@ files:
267
281
  - lib/loco/broadcaster.rb
268
282
  - lib/loco/config.rb
269
283
  - lib/loco/emitter.rb
270
- - lib/loco/engine.rb
271
284
  - lib/loco/helpers.rb
272
285
  - lib/loco/hub.rb
273
286
  - lib/loco/permissions_presenter.rb
287
+ - lib/loco/rails/engine.rb
274
288
  - lib/loco/sender.rb
275
289
  - lib/loco/version.rb
276
290
  - lib/loco/ws_connection_checker.rb
@@ -281,8 +295,9 @@ files:
281
295
  homepage: http://locoframework.org
282
296
  licenses:
283
297
  - MIT
284
- metadata: {}
285
- post_install_message:
298
+ metadata:
299
+ rubygems_mfa_required: 'true'
300
+ post_install_message:
286
301
  rdoc_options: []
287
302
  require_paths:
288
303
  - lib
@@ -290,15 +305,15 @@ required_ruby_version: !ruby/object:Gem::Requirement
290
305
  requirements:
291
306
  - - ">="
292
307
  - !ruby/object:Gem::Version
293
- version: 2.6.0
308
+ version: 2.7.0
294
309
  required_rubygems_version: !ruby/object:Gem::Requirement
295
310
  requirements:
296
311
  - - ">="
297
312
  - !ruby/object:Gem::Version
298
313
  version: '0'
299
314
  requirements: []
300
- rubygems_version: 3.1.2
301
- signing_key:
315
+ rubygems_version: 3.3.3
316
+ signing_key:
302
317
  specification_version: 4
303
318
  summary: Framework on top of Rails.
304
319
  test_files: []