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: 8d048eb24d3dbc3e30e2830e88f1c17b181329ab920a0091da6767d263b4f3de
4
- data.tar.gz: 397b2053eb15db4a2da4ef13c0e2e2a444440df182b3d84a960b1d31a8a8be7e
3
+ metadata.gz: 95e52e184c487dac32aad850732a1f4974f984b15f56b4ce79035aaaccc7e50e
4
+ data.tar.gz: a14dd597347be39bd7e7c1f978f7ddfc9496bfd57a386311f2f95cf6df909efa
5
5
  SHA512:
6
- metadata.gz: e7b58439159115bec8a3f5256a6959935b9cf1e048ff98ae658e3d2b0f2537ec6d82ac474a13bb34feea8dfe1fffd2f765845b9d68cd80d122ce1e59484ce51d
7
- data.tar.gz: 4c751ed740f2be65aa73a2980a7ea259c586a8608c67f2b135d522aa16dbcecf6536cab675a1a4596d78bd126748fcadd0cd2d4e66c2eab24dc3aa225d060520
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.0.0-beta.2/dist/index.umd.js"
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}",
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module JamComments
4
- VERSION = "0.0.2"
4
+ VERSION = "0.2.0"
5
5
  end
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.2
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-04-22 00:00:00.000000000 Z
11
+ date: 2023-05-29 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
- name: httparty
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: bridgetown
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: