bridgetown_jam_comments 0.0.2 → 0.2.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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 95e52e184c487dac32aad850732a1f4974f984b15f56b4ce79035aaaccc7e50e
|
4
|
+
data.tar.gz: a14dd597347be39bd7e7c1f978f7ddfc9496bfd57a386311f2f95cf6df909efa
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e4dc7b60abca41fa3a251801a41ed91d74c5a0839ee51b20e4ba73611b22de015f4e05582788dc4046f17d218bfe3481e3656908411b9e3e374b575ed2253e31
|
7
|
+
data.tar.gz: 6568c0b2117d288f02d619ce7790840c714af3ebd87154c316caf63b8d591e69a07938e75310b0bbd26ee6b7a9a4e5b6b8dd1f29f738d6ac79b2d2fc426ca3d8
|
@@ -4,7 +4,7 @@ require "pry"
|
|
4
4
|
|
5
5
|
module JamComments
|
6
6
|
class Renderer
|
7
|
-
CLIENT_SCRIPT_URL = "https://unpkg.com/@jam-comments/client@2.
|
7
|
+
CLIENT_SCRIPT_URL = "https://unpkg.com/@jam-comments/client@2.3.2/dist/index.umd.js"
|
8
8
|
|
9
9
|
attr_reader :provided_configuration
|
10
10
|
|
@@ -4,15 +4,17 @@ require "httparty"
|
|
4
4
|
|
5
5
|
module JamComments
|
6
6
|
class Service
|
7
|
-
attr_reader :base_url, :environment, :domain, :api_key, :client
|
7
|
+
attr_reader :base_url, :tz, :environment, :domain, :api_key, :client
|
8
8
|
|
9
9
|
def initialize(
|
10
10
|
domain:,
|
11
11
|
api_key:,
|
12
12
|
base_url: nil,
|
13
13
|
environment: nil,
|
14
|
+
tz: nil,
|
14
15
|
client: HTTParty
|
15
16
|
)
|
17
|
+
@tz = tz
|
16
18
|
@client = client
|
17
19
|
@domain = domain
|
18
20
|
@api_key = api_key
|
@@ -26,6 +28,7 @@ module JamComments
|
|
26
28
|
path: formatted_path(path),
|
27
29
|
domain: domain,
|
28
30
|
stub: stub_value,
|
31
|
+
tz: tz,
|
29
32
|
},
|
30
33
|
headers: {
|
31
34
|
Authorization: "Bearer #{api_key}",
|
metadata
CHANGED
@@ -1,17 +1,17 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: bridgetown_jam_comments
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0
|
4
|
+
version: 0.2.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Alex MacArthur
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-
|
11
|
+
date: 2023-05-29 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
|
-
name:
|
14
|
+
name: bridgetown
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
17
|
- - ">="
|
@@ -25,7 +25,7 @@ dependencies:
|
|
25
25
|
- !ruby/object:Gem::Version
|
26
26
|
version: '0'
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
|
-
name:
|
28
|
+
name: httparty
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
30
30
|
requirements:
|
31
31
|
- - ">="
|
@@ -128,7 +128,8 @@ files:
|
|
128
128
|
homepage: https://github.com/alexmacarthur/bridgetown-jam-comments
|
129
129
|
licenses:
|
130
130
|
- MIT
|
131
|
-
metadata:
|
131
|
+
metadata:
|
132
|
+
rubygems_mfa_required: 'true'
|
132
133
|
post_install_message:
|
133
134
|
rdoc_options: []
|
134
135
|
require_paths:
|