bridgetown_jam_comments 0.1.0 → 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: 3b75f44a96fcea045bf07300ecfca9b780060c70b390d5cf7539230a43df1f26
4
- data.tar.gz: 627d9eec9ef5399318479149321a550e5bb1257882bba5b44e02524ea6c04f3f
3
+ metadata.gz: 95e52e184c487dac32aad850732a1f4974f984b15f56b4ce79035aaaccc7e50e
4
+ data.tar.gz: a14dd597347be39bd7e7c1f978f7ddfc9496bfd57a386311f2f95cf6df909efa
5
5
  SHA512:
6
- metadata.gz: d044be8cfb0557f4f397be37b66f19615f6660053d86955f7303855de568c9573483fa4f95547220e81fa2538b3f5bd91ffadaf4e605711c16ad54834c01a09f
7
- data.tar.gz: 88fd2c347585b1a7d94e22a2371a6b9a0492b6b2b52183211e4603759f9659dc83f770c13d094886f5e25e1f6f492672db700df18260082a1ad88df16cf66d18
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.1.6/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.1.0"
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.1.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-05-18 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: