nostr 0.1.0 → 0.2.0

Sign up to get free protection for your applications and to get access to all the features.
metadata CHANGED
@@ -1,15 +1,99 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: nostr
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Wilson Silva
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2023-01-06 00:00:00.000000000 Z
11
+ date: 2023-01-12 00:00:00.000000000 Z
12
12
  dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: bech32
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - "~>"
18
+ - !ruby/object:Gem::Version
19
+ version: '1.3'
20
+ type: :runtime
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - "~>"
25
+ - !ruby/object:Gem::Version
26
+ version: '1.3'
27
+ - !ruby/object:Gem::Dependency
28
+ name: bip-schnorr
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - "~>"
32
+ - !ruby/object:Gem::Version
33
+ version: '0.4'
34
+ type: :runtime
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - "~>"
39
+ - !ruby/object:Gem::Version
40
+ version: '0.4'
41
+ - !ruby/object:Gem::Dependency
42
+ name: ecdsa
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - "~>"
46
+ - !ruby/object:Gem::Version
47
+ version: '1.2'
48
+ type: :runtime
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - "~>"
53
+ - !ruby/object:Gem::Version
54
+ version: '1.2'
55
+ - !ruby/object:Gem::Dependency
56
+ name: event_emitter
57
+ requirement: !ruby/object:Gem::Requirement
58
+ requirements:
59
+ - - "~>"
60
+ - !ruby/object:Gem::Version
61
+ version: '0.2'
62
+ type: :runtime
63
+ prerelease: false
64
+ version_requirements: !ruby/object:Gem::Requirement
65
+ requirements:
66
+ - - "~>"
67
+ - !ruby/object:Gem::Version
68
+ version: '0.2'
69
+ - !ruby/object:Gem::Dependency
70
+ name: faye-websocket
71
+ requirement: !ruby/object:Gem::Requirement
72
+ requirements:
73
+ - - "~>"
74
+ - !ruby/object:Gem::Version
75
+ version: '0.11'
76
+ type: :runtime
77
+ prerelease: false
78
+ version_requirements: !ruby/object:Gem::Requirement
79
+ requirements:
80
+ - - "~>"
81
+ - !ruby/object:Gem::Version
82
+ version: '0.11'
83
+ - !ruby/object:Gem::Dependency
84
+ name: json
85
+ requirement: !ruby/object:Gem::Requirement
86
+ requirements:
87
+ - - "~>"
88
+ - !ruby/object:Gem::Version
89
+ version: '2.6'
90
+ type: :runtime
91
+ prerelease: false
92
+ version_requirements: !ruby/object:Gem::Requirement
93
+ requirements:
94
+ - - "~>"
95
+ - !ruby/object:Gem::Version
96
+ version: '2.6'
13
97
  - !ruby/object:Gem::Dependency
14
98
  name: bundler-audit
15
99
  requirement: !ruby/object:Gem::Requirement
@@ -24,6 +108,20 @@ dependencies:
24
108
  - - "~>"
25
109
  - !ruby/object:Gem::Version
26
110
  version: '0.9'
111
+ - !ruby/object:Gem::Dependency
112
+ name: dotenv
113
+ requirement: !ruby/object:Gem::Requirement
114
+ requirements:
115
+ - - "~>"
116
+ - !ruby/object:Gem::Version
117
+ version: '2.8'
118
+ type: :development
119
+ prerelease: false
120
+ version_requirements: !ruby/object:Gem::Requirement
121
+ requirements:
122
+ - - "~>"
123
+ - !ruby/object:Gem::Version
124
+ version: '2.8'
27
125
  - !ruby/object:Gem::Dependency
28
126
  name: guard
29
127
  requirement: !ruby/object:Gem::Requirement
@@ -122,6 +220,34 @@ dependencies:
122
220
  - - "~>"
123
221
  - !ruby/object:Gem::Version
124
222
  version: '0.14'
223
+ - !ruby/object:Gem::Dependency
224
+ name: puma
225
+ requirement: !ruby/object:Gem::Requirement
226
+ requirements:
227
+ - - "~>"
228
+ - !ruby/object:Gem::Version
229
+ version: '5.6'
230
+ type: :development
231
+ prerelease: false
232
+ version_requirements: !ruby/object:Gem::Requirement
233
+ requirements:
234
+ - - "~>"
235
+ - !ruby/object:Gem::Version
236
+ version: '5.6'
237
+ - !ruby/object:Gem::Dependency
238
+ name: rack
239
+ requirement: !ruby/object:Gem::Requirement
240
+ requirements:
241
+ - - "~>"
242
+ - !ruby/object:Gem::Version
243
+ version: '3.0'
244
+ type: :development
245
+ prerelease: false
246
+ version_requirements: !ruby/object:Gem::Requirement
247
+ requirements:
248
+ - - "~>"
249
+ - !ruby/object:Gem::Version
250
+ version: '3.0'
125
251
  - !ruby/object:Gem::Dependency
126
252
  name: rake
127
253
  requirement: !ruby/object:Gem::Requirement
@@ -196,16 +322,16 @@ dependencies:
196
322
  name: simplecov
197
323
  requirement: !ruby/object:Gem::Requirement
198
324
  requirements:
199
- - - "~>"
325
+ - - '='
200
326
  - !ruby/object:Gem::Version
201
- version: '0.22'
327
+ version: '0.17'
202
328
  type: :development
203
329
  prerelease: false
204
330
  version_requirements: !ruby/object:Gem::Requirement
205
331
  requirements:
206
- - - "~>"
332
+ - - '='
207
333
  - !ruby/object:Gem::Version
208
- version: '0.22'
334
+ version: '0.17'
209
335
  - !ruby/object:Gem::Dependency
210
336
  name: simplecov-console
211
337
  requirement: !ruby/object:Gem::Requirement
@@ -273,6 +399,7 @@ files:
273
399
  - ".overcommit.yml"
274
400
  - ".rspec"
275
401
  - ".rubocop.yml"
402
+ - ".rubocop_todo.yml"
276
403
  - ".tool-versions"
277
404
  - ".yardstick.yml"
278
405
  - CHANGELOG.md
@@ -283,6 +410,17 @@ files:
283
410
  - README.md
284
411
  - Rakefile
285
412
  - lib/nostr.rb
413
+ - lib/nostr/client.rb
414
+ - lib/nostr/client_message_type.rb
415
+ - lib/nostr/event.rb
416
+ - lib/nostr/event_fragment.rb
417
+ - lib/nostr/event_kind.rb
418
+ - lib/nostr/filter.rb
419
+ - lib/nostr/key_pair.rb
420
+ - lib/nostr/keygen.rb
421
+ - lib/nostr/relay.rb
422
+ - lib/nostr/subscription.rb
423
+ - lib/nostr/user.rb
286
424
  - lib/nostr/version.rb
287
425
  - nostr.gemspec
288
426
  - sig/nostr.rbs
@@ -293,7 +431,7 @@ metadata:
293
431
  rubygems_mfa_required: 'true'
294
432
  homepage_uri: https://github.com/wilsonsilva/nostr
295
433
  source_code_uri: https://github.com/wilsonsilva/nostr
296
- changelog_uri: https://github.com/wilsonsilva/nostr/blob/master/CHANGELOG.md
434
+ changelog_uri: https://github.com/wilsonsilva/nostr/blob/main/CHANGELOG.md
297
435
  post_install_message:
298
436
  rdoc_options: []
299
437
  require_paths: