pusher-fake 4.2.0 → 5.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: '05043028e1837c87118d83e74496c9189036a69f170bf71c15e9e6c452af7565'
4
- data.tar.gz: bdefba87a3ff23c7e4ec13b14d852b2c27dd0d7daeb202708ac0d1767ae9d5e9
3
+ metadata.gz: 8069b800bbe3a041b6b1707a9c9427c903b79c4214e6167b7d691110bedf29cc
4
+ data.tar.gz: f2f86d0ef981ccbb62e8d511a1fe89b45bb5925e767352d18ea529586dff2efc
5
5
  SHA512:
6
- metadata.gz: d47d6a29b94b3a95fe5d0023a4d3d577e1160a2aa357884f617998778c5a5ba8a4a5353a40de7a709d044f5d3324e31448d53c6c06bbc9917f3e449e37f5c3f5
7
- data.tar.gz: cde630c89000bc96b0d56f700f4a2f0568e9e410fc5d445f906bbfc22acd9fec559a171ae9fee388606bdd94406328be04a2136073d2f546dd3bfadd1e367384
6
+ metadata.gz: 5fe4698854872fe4f28b98812b492c85c16494aa8763370cfb81704e3072aaba8e44bf7d2484b4a610f4eb62cdabd336ec6834d779b9d10ff50dff4e6a53db82
7
+ data.tar.gz: 3db9c831cb61085d5bcbbea3af0b306ca8a16b42c5f246fc60728950abf5f1f8ba89e8eea3d399f5247ade160f1bad508e2088bd9d21005f647708845e44660f
data/bin/pusher-fake CHANGED
@@ -47,6 +47,18 @@ PusherFake.configure do |configuration|
47
47
  configuration.webhooks = hooks
48
48
  end
49
49
  end.parse!
50
+
51
+ # Optionally enable TLS for the em-websocket server.
52
+ # configuration.socket_options = {
53
+ # secure: true,
54
+ # tls_options: { }
55
+ # }
56
+ #
57
+ # Optionally enable SSL for the Thin web server.
58
+ # configuration.web_options = {
59
+ # ssl: true,
60
+ # ssl_options: { }
61
+ # }
50
62
  end
51
63
 
52
64
  raise OptionParser::MissingArgument.new("--id") if Pusher.app_id.nil?
@@ -4,7 +4,7 @@ module PusherFake
4
4
  module Channel
5
5
  # A public channel.
6
6
  class Public
7
- CACHE_CHANNEL_PREFIX = /^(private-|presence-){0,1}cache-/.freeze
7
+ CACHE_CHANNEL_PREFIX = /^(private-|presence-){0,1}cache-/
8
8
 
9
9
  # @return [Array] Connections in this channel.
10
10
  attr_reader :connections
data/lib/pusher-fake.rb CHANGED
@@ -9,7 +9,7 @@ require "thin"
9
9
  # A Pusher fake.
10
10
  module PusherFake
11
11
  # The current version string.
12
- VERSION = "4.2.0"
12
+ VERSION = "5.0.0"
13
13
 
14
14
  autoload :Channel, "pusher-fake/channel"
15
15
  autoload :Configuration, "pusher-fake/configuration"
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pusher-fake
3
3
  version: !ruby/object:Gem::Version
4
- version: 4.2.0
4
+ version: 5.0.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tristan Dunn
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-08-02 00:00:00.000000000 Z
11
+ date: 2023-03-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: em-http-request
@@ -72,42 +72,42 @@ dependencies:
72
72
  requirements:
73
73
  - - '='
74
74
  - !ruby/object:Gem::Version
75
- version: 3.37.1
75
+ version: 3.38.0
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: 3.37.1
82
+ version: 3.38.0
83
83
  - !ruby/object:Gem::Dependency
84
84
  name: puma
85
85
  requirement: !ruby/object:Gem::Requirement
86
86
  requirements:
87
87
  - - '='
88
88
  - !ruby/object:Gem::Version
89
- version: 5.6.4
89
+ version: 6.1.1
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: 5.6.4
96
+ version: 6.1.1
97
97
  - !ruby/object:Gem::Dependency
98
98
  name: pusher
99
99
  requirement: !ruby/object:Gem::Requirement
100
100
  requirements:
101
101
  - - '='
102
102
  - !ruby/object:Gem::Version
103
- version: 2.0.2
103
+ version: 2.0.3
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: 2.0.2
110
+ version: 2.0.3
111
111
  - !ruby/object:Gem::Dependency
112
112
  name: rake
113
113
  requirement: !ruby/object:Gem::Requirement
@@ -128,42 +128,56 @@ dependencies:
128
128
  requirements:
129
129
  - - '='
130
130
  - !ruby/object:Gem::Version
131
- version: 3.11.0
131
+ version: 3.12.0
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: 3.11.0
138
+ version: 3.12.0
139
139
  - !ruby/object:Gem::Dependency
140
140
  name: rubocop
141
141
  requirement: !ruby/object:Gem::Requirement
142
142
  requirements:
143
143
  - - '='
144
144
  - !ruby/object:Gem::Version
145
- version: 1.32.0
145
+ version: 1.48.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: 1.32.0
152
+ version: 1.48.1
153
+ - !ruby/object:Gem::Dependency
154
+ name: rubocop-capybara
155
+ requirement: !ruby/object:Gem::Requirement
156
+ requirements:
157
+ - - '='
158
+ - !ruby/object:Gem::Version
159
+ version: 2.17.1
160
+ type: :development
161
+ prerelease: false
162
+ version_requirements: !ruby/object:Gem::Requirement
163
+ requirements:
164
+ - - '='
165
+ - !ruby/object:Gem::Version
166
+ version: 2.17.1
153
167
  - !ruby/object:Gem::Dependency
154
168
  name: rubocop-performance
155
169
  requirement: !ruby/object:Gem::Requirement
156
170
  requirements:
157
171
  - - '='
158
172
  - !ruby/object:Gem::Version
159
- version: 1.14.3
173
+ version: 1.16.0
160
174
  type: :development
161
175
  prerelease: false
162
176
  version_requirements: !ruby/object:Gem::Requirement
163
177
  requirements:
164
178
  - - '='
165
179
  - !ruby/object:Gem::Version
166
- version: 1.14.3
180
+ version: 1.16.0
167
181
  - !ruby/object:Gem::Dependency
168
182
  name: rubocop-rake
169
183
  requirement: !ruby/object:Gem::Requirement
@@ -184,42 +198,42 @@ dependencies:
184
198
  requirements:
185
199
  - - '='
186
200
  - !ruby/object:Gem::Version
187
- version: 2.12.1
201
+ version: 2.19.0
188
202
  type: :development
189
203
  prerelease: false
190
204
  version_requirements: !ruby/object:Gem::Requirement
191
205
  requirements:
192
206
  - - '='
193
207
  - !ruby/object:Gem::Version
194
- version: 2.12.1
208
+ version: 2.19.0
195
209
  - !ruby/object:Gem::Dependency
196
210
  name: selenium-webdriver
197
211
  requirement: !ruby/object:Gem::Requirement
198
212
  requirements:
199
213
  - - '='
200
214
  - !ruby/object:Gem::Version
201
- version: 4.3.0
215
+ version: 4.7.1
202
216
  type: :development
203
217
  prerelease: false
204
218
  version_requirements: !ruby/object:Gem::Requirement
205
219
  requirements:
206
220
  - - '='
207
221
  - !ruby/object:Gem::Version
208
- version: 4.3.0
222
+ version: 4.7.1
209
223
  - !ruby/object:Gem::Dependency
210
224
  name: sinatra
211
225
  requirement: !ruby/object:Gem::Requirement
212
226
  requirements:
213
227
  - - '='
214
228
  - !ruby/object:Gem::Version
215
- version: 2.2.2
229
+ version: 3.0.5
216
230
  type: :development
217
231
  prerelease: false
218
232
  version_requirements: !ruby/object:Gem::Requirement
219
233
  requirements:
220
234
  - - '='
221
235
  - !ruby/object:Gem::Version
222
- version: 2.2.2
236
+ version: 3.0.5
223
237
  - !ruby/object:Gem::Dependency
224
238
  name: yard
225
239
  requirement: !ruby/object:Gem::Requirement
@@ -260,6 +274,8 @@ homepage: https://github.com/tristandunn/pusher-fake
260
274
  licenses:
261
275
  - MIT
262
276
  metadata:
277
+ bug_tracker_uri: https://github.com/tristandunn/pusher-fake/issues
278
+ changelog_uri: https://github.com/tristandunn/pusher-fake/blob/main/CHANGELOG.markdown
263
279
  rubygems_mfa_required: 'true'
264
280
  post_install_message:
265
281
  rdoc_options: []
@@ -269,14 +285,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
269
285
  requirements:
270
286
  - - ">="
271
287
  - !ruby/object:Gem::Version
272
- version: '2.7'
288
+ version: '3.0'
273
289
  required_rubygems_version: !ruby/object:Gem::Requirement
274
290
  requirements:
275
291
  - - ">="
276
292
  - !ruby/object:Gem::Version
277
293
  version: '0'
278
294
  requirements: []
279
- rubygems_version: 3.3.7
295
+ rubygems_version: 3.4.6
280
296
  signing_key:
281
297
  specification_version: 4
282
298
  summary: A fake Pusher server for development and testing.