hotsock 1.0.0 → 1.0.2

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: a3026550ba5036d6d78821dbe5d6f29569010045c9f9a403b5ce8db2448660c4
4
- data.tar.gz: 505bafd95714b446d7b22a3da85e72557cf260f3634138987afcc0f6d7a30228
3
+ metadata.gz: 82fcd71a61208a754d7c415d68fcb92a9f4e35473b42edc9518eee2a38ba5fa8
4
+ data.tar.gz: 8fe28d6d29452cee9952ac62630e2e1ee04fdc67bb9b6d2d080f9db962396b33
5
5
  SHA512:
6
- metadata.gz: c4105017dbd390baeb1aec397bd3684a0fc3676dc038a2b6874344f71f72435029882fd70ab2b3aa7084c7f86779b57187e7ba1bbc370f712df905e3e80f11d3
7
- data.tar.gz: ba8f049b01a3f045663b25bccb6fdfd408789495e5f0fb626535c25adfef33f13b7bc22c9c520ce9e899feb4ffc218f5fecc4fd6d877ceda61af45a73a610178
6
+ metadata.gz: 7fac7dfb7212390368c1b849a0d0a4a5e062d49b672258384da19e3784c30510e610233dce1a6a98a697972974b06fdf00108133155439b850038c2cfaa7c7ce
7
+ data.tar.gz: a5a2fe48432b8e27b591649763b357b1362adeac0236990aec0834d302de4e111b745deac7a8370aee67297dedf0e166bf8c2e155e9217987720ad976c761ac9
data/README.md CHANGED
@@ -127,7 +127,11 @@ Hotsock.configure do |config|
127
127
  # using environment variables, Rails encrypted credentials, AWS Parameter
128
128
  # Store, etc. and loading this key from there. For ES256 (ECDSA using P-256
129
129
  # and SHA-256), this key must be in PEM format. Don't use the key below!
130
- # Generate your own! (optional)
130
+ # Generate your own!
131
+ #
132
+ # If you're storing this key in an environment variable, you may want to
133
+ # store it Base64-encoded in ENV and decode it here because environment files
134
+ # sometimes have a hard time with newline characters. (optional)
131
135
  config.issuer_private_key = "-----BEGIN EC PRIVATE KEY-----\nMIGHAgEAMBMGByqGSM49AgEGCCqGSM49AwEHBG0wawIBAQQg72ab3fXPvtD2iIQQ\n/RWiZh8WA6T9u6JNhEuy1DPSFpuhRANCAASmEDhCts7/LkmooXH1tMhyh9Qn94e3\ny3e/UtmnnAYMPwro8iySvqEUrYaDUqQ3iMjYpf+mvxOFmCy97MsBj/pu\n-----END EC PRIVATE KEY-----"
132
136
 
133
137
  # The algorithm to use when signing with the above key. Defaults to ES256.
data/hotsock.gemspec CHANGED
@@ -11,16 +11,24 @@ Gem::Specification.new do |spec|
11
11
  spec.email = ["support@hotsock.io"]
12
12
  spec.homepage = "https://www.hotsock.io"
13
13
  spec.summary = "Ruby bindings for the Hotsock message publishing APIs and JWT signing"
14
- spec.description = "Hotsock is a real-time WebSockets service for your web and mobile applications, fully-managed and self-hosted in your AWS account."
14
+ spec.description = "Hotsock is a real-time WebSockets service for your web and mobile applications, fully-managed and self-hosted in your AWS account. This gem provides the Ruby bindings for message publishing APIs and JWT signing."
15
15
  spec.license = "MIT"
16
16
  spec.required_ruby_version = ">= 3.1"
17
17
 
18
+ spec.metadata = {
19
+ "homepage_uri" => "https://www.hotsock.io",
20
+ "bug_tracker_uri" => "https://github.com/hotsock/hotsock-ruby/issues",
21
+ "documentation_uri" => "https://github.com/hotsock/hotsock-ruby/blob/main/README.md",
22
+ "changelog_uri" => "https://github.com/hotsock/hotsock-ruby/releases",
23
+ "source_code_uri" => "https://github.com/hotsock/hotsock-ruby"
24
+ }
25
+
18
26
  ignored = Regexp.union(
19
27
  /\A\.git/,
20
28
  /\Atest/
21
29
  )
22
30
  spec.files = `git ls-files`.split("\n").reject { |f| ignored.match(f) }
23
31
 
24
- spec.add_dependency "jwt", "~> 2.7"
32
+ spec.add_dependency "jwt", ">= 2.7", "< 4.0"
25
33
  spec.add_dependency "aws-sdk-lambda", "~> 1.105"
26
34
  end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Hotsock
4
- VERSION = "1.0.0"
4
+ VERSION = "1.0.2"
5
5
  end
metadata CHANGED
@@ -1,29 +1,34 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: hotsock
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ version: 1.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - James Miller
8
- autorequire:
9
8
  bindir: bin
10
9
  cert_chain: []
11
- date: 2024-04-23 00:00:00.000000000 Z
10
+ date: 1980-01-02 00:00:00.000000000 Z
12
11
  dependencies:
13
12
  - !ruby/object:Gem::Dependency
14
13
  name: jwt
15
14
  requirement: !ruby/object:Gem::Requirement
16
15
  requirements:
17
- - - "~>"
16
+ - - ">="
18
17
  - !ruby/object:Gem::Version
19
18
  version: '2.7'
19
+ - - "<"
20
+ - !ruby/object:Gem::Version
21
+ version: '4.0'
20
22
  type: :runtime
21
23
  prerelease: false
22
24
  version_requirements: !ruby/object:Gem::Requirement
23
25
  requirements:
24
- - - "~>"
26
+ - - ">="
25
27
  - !ruby/object:Gem::Version
26
28
  version: '2.7'
29
+ - - "<"
30
+ - !ruby/object:Gem::Version
31
+ version: '4.0'
27
32
  - !ruby/object:Gem::Dependency
28
33
  name: aws-sdk-lambda
29
34
  requirement: !ruby/object:Gem::Requirement
@@ -39,7 +44,8 @@ dependencies:
39
44
  - !ruby/object:Gem::Version
40
45
  version: '1.105'
41
46
  description: Hotsock is a real-time WebSockets service for your web and mobile applications,
42
- fully-managed and self-hosted in your AWS account.
47
+ fully-managed and self-hosted in your AWS account. This gem provides the Ruby bindings
48
+ for message publishing APIs and JWT signing.
43
49
  email:
44
50
  - support@hotsock.io
45
51
  executables: []
@@ -60,8 +66,12 @@ files:
60
66
  homepage: https://www.hotsock.io
61
67
  licenses:
62
68
  - MIT
63
- metadata: {}
64
- post_install_message:
69
+ metadata:
70
+ homepage_uri: https://www.hotsock.io
71
+ bug_tracker_uri: https://github.com/hotsock/hotsock-ruby/issues
72
+ documentation_uri: https://github.com/hotsock/hotsock-ruby/blob/main/README.md
73
+ changelog_uri: https://github.com/hotsock/hotsock-ruby/releases
74
+ source_code_uri: https://github.com/hotsock/hotsock-ruby
65
75
  rdoc_options: []
66
76
  require_paths:
67
77
  - lib
@@ -76,8 +86,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
76
86
  - !ruby/object:Gem::Version
77
87
  version: '0'
78
88
  requirements: []
79
- rubygems_version: 3.3.26
80
- signing_key:
89
+ rubygems_version: 3.6.7
81
90
  specification_version: 4
82
91
  summary: Ruby bindings for the Hotsock message publishing APIs and JWT signing
83
92
  test_files: []