nats-pure 2.2.1 → 2.4.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (43) hide show
  1. checksums.yaml +4 -4
  2. data/LICENSE +201 -0
  3. data/README.md +251 -0
  4. data/lib/nats/client.rb +1 -0
  5. data/lib/nats/io/client.rb +214 -144
  6. data/lib/nats/io/errors.rb +6 -0
  7. data/lib/nats/io/jetstream/api.rb +4 -0
  8. data/lib/nats/io/jetstream/manager.rb +21 -2
  9. data/lib/nats/io/jetstream/msg/ack_methods.rb +8 -4
  10. data/lib/nats/io/jetstream.rb +82 -7
  11. data/lib/nats/io/msg.rb +3 -1
  12. data/lib/nats/io/rails.rb +29 -0
  13. data/lib/nats/io/subscription.rb +70 -5
  14. data/lib/nats/io/version.rb +1 -1
  15. data/lib/nats/io/websocket.rb +75 -0
  16. data/sig/nats/io/client.rbs +304 -0
  17. data/sig/nats/io/errors.rbs +54 -0
  18. data/sig/nats/io/jetstream/api.rbs +35 -0
  19. data/sig/nats/io/jetstream/errors.rbs +54 -0
  20. data/sig/nats/io/jetstream/js/config.rbs +11 -0
  21. data/sig/nats/io/jetstream/js/header.rbs +17 -0
  22. data/sig/nats/io/jetstream/js/status.rbs +13 -0
  23. data/sig/nats/io/jetstream/js/sub.rbs +14 -0
  24. data/sig/nats/io/jetstream/js.rbs +27 -0
  25. data/sig/nats/io/jetstream/manager.rbs +33 -0
  26. data/sig/nats/io/jetstream/msg/ack.rbs +35 -0
  27. data/sig/nats/io/jetstream/msg/ack_methods.rbs +25 -0
  28. data/sig/nats/io/jetstream/msg/metadata.rbs +15 -0
  29. data/sig/nats/io/jetstream/msg.rbs +6 -0
  30. data/sig/nats/io/jetstream/pull_subscription.rbs +14 -0
  31. data/sig/nats/io/jetstream/push_subscription.rbs +7 -0
  32. data/sig/nats/io/jetstream.rbs +15 -0
  33. data/sig/nats/io/kv/api.rbs +8 -0
  34. data/sig/nats/io/kv/bucket_status.rbs +17 -0
  35. data/sig/nats/io/kv/errors.rbs +30 -0
  36. data/sig/nats/io/kv/manager.rbs +11 -0
  37. data/sig/nats/io/kv.rbs +39 -0
  38. data/sig/nats/io/msg.rbs +14 -0
  39. data/sig/nats/io/parser.rbs +32 -0
  40. data/sig/nats/io/subscription.rbs +33 -0
  41. data/sig/nats/io/version.rbs +9 -0
  42. data/sig/nats/nuid.rbs +32 -0
  43. metadata +49 -4
metadata CHANGED
@@ -1,15 +1,29 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: nats-pure
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.2.1
4
+ version: 2.4.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Waldemar Quevedo
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-11-07 00:00:00.000000000 Z
12
- dependencies: []
11
+ date: 2023-11-22 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: concurrent-ruby
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - "~>"
18
+ - !ruby/object:Gem::Version
19
+ version: '1.0'
20
+ type: :runtime
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - "~>"
25
+ - !ruby/object:Gem::Version
26
+ version: '1.0'
13
27
  description: NATS is an open-source, high-performance, lightweight cloud messaging
14
28
  system.
15
29
  email:
@@ -18,6 +32,8 @@ executables: []
18
32
  extensions: []
19
33
  extra_rdoc_files: []
20
34
  files:
35
+ - LICENSE
36
+ - README.md
21
37
  - lib/nats.rb
22
38
  - lib/nats/client.rb
23
39
  - lib/nats/io/client.rb
@@ -44,9 +60,38 @@ files:
44
60
  - lib/nats/io/kv/manager.rb
45
61
  - lib/nats/io/msg.rb
46
62
  - lib/nats/io/parser.rb
63
+ - lib/nats/io/rails.rb
47
64
  - lib/nats/io/subscription.rb
48
65
  - lib/nats/io/version.rb
66
+ - lib/nats/io/websocket.rb
49
67
  - lib/nats/nuid.rb
68
+ - sig/nats/io/client.rbs
69
+ - sig/nats/io/errors.rbs
70
+ - sig/nats/io/jetstream.rbs
71
+ - sig/nats/io/jetstream/api.rbs
72
+ - sig/nats/io/jetstream/errors.rbs
73
+ - sig/nats/io/jetstream/js.rbs
74
+ - sig/nats/io/jetstream/js/config.rbs
75
+ - sig/nats/io/jetstream/js/header.rbs
76
+ - sig/nats/io/jetstream/js/status.rbs
77
+ - sig/nats/io/jetstream/js/sub.rbs
78
+ - sig/nats/io/jetstream/manager.rbs
79
+ - sig/nats/io/jetstream/msg.rbs
80
+ - sig/nats/io/jetstream/msg/ack.rbs
81
+ - sig/nats/io/jetstream/msg/ack_methods.rbs
82
+ - sig/nats/io/jetstream/msg/metadata.rbs
83
+ - sig/nats/io/jetstream/pull_subscription.rbs
84
+ - sig/nats/io/jetstream/push_subscription.rbs
85
+ - sig/nats/io/kv.rbs
86
+ - sig/nats/io/kv/api.rbs
87
+ - sig/nats/io/kv/bucket_status.rbs
88
+ - sig/nats/io/kv/errors.rbs
89
+ - sig/nats/io/kv/manager.rbs
90
+ - sig/nats/io/msg.rbs
91
+ - sig/nats/io/parser.rbs
92
+ - sig/nats/io/subscription.rbs
93
+ - sig/nats/io/version.rbs
94
+ - sig/nats/nuid.rbs
50
95
  homepage: https://nats.io
51
96
  licenses:
52
97
  - Apache-2.0
@@ -66,7 +111,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
66
111
  - !ruby/object:Gem::Version
67
112
  version: '0'
68
113
  requirements: []
69
- rubygems_version: 3.3.3
114
+ rubygems_version: 3.4.1
70
115
  signing_key:
71
116
  specification_version: 4
72
117
  summary: NATS is an open-source, high-performance, lightweight cloud messaging system.