jekyll_jam_comments 1.0.1 → 1.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: 63d6c2793424859c33a7bd8e08f7169509b5dbcfa29f5e5b4eafa1c738d64d81
4
- data.tar.gz: 8d11eac1c8c081e7383bf9eef3fa2fdae8ef8b3d518c9e45c79771a7fbf69378
3
+ metadata.gz: 512229e39535ee12e61fc6b44596541b5cc9e40a90ce9417f1b9b0109a43677e
4
+ data.tar.gz: 6a5cb34e0791f791989530499e1e8a55f6744c2e54e6b7a3c950831d82efda3a
5
5
  SHA512:
6
- metadata.gz: baf160c4146ec4e82e97d113003de5e2d7e1e5f86a1c644db7c500c6a8972c86222e2e290d425902fc02af27e0a128074a9b48b9af7b5aa061bdeaa76545f949
7
- data.tar.gz: 952bf49c67ba7d9d71e35f01eb5771255328d2752c4972f264f59439c73b9dbd531346db086134e5e4073b48dc0422e20fd70606e33930677248d0b730294fbc
6
+ metadata.gz: c25924ace90994813df77df41180a91965ddf0ec01a27da20b3be1a4fc1a4275b97d6d7dfd7c3a5f9357ebb9d7c6dd51700d7b3e0279251383133275f3d7a132
7
+ data.tar.gz: dcdece69ef85c2f008863eec75ba8c6e61c6a1f8e05996fdea2b6fca43f7c230475fd31fc9a5189edc0e2e495d18f4f75f12460631708ada1b2b68031ad55860
@@ -5,15 +5,17 @@ require "httparty"
5
5
  module Jekyll
6
6
  module JamComments
7
7
  class Service
8
- attr_reader :base_url, :environment, :domain, :api_key, :client
8
+ attr_reader :base_url, :environment, :domain, :api_key, :client, :tz
9
9
 
10
10
  def initialize(
11
11
  domain:,
12
12
  api_key:,
13
13
  base_url: nil,
14
14
  environment: nil,
15
+ tz: nil,
15
16
  client: HTTParty
16
17
  )
18
+ @tz = tz
17
19
  @client = client
18
20
  @domain = domain
19
21
  @api_key = api_key
@@ -27,6 +29,7 @@ module Jekyll
27
29
  :path => formatted_path(path),
28
30
  :domain => domain,
29
31
  :stub => stub_value,
32
+ :tz => tz,
30
33
  },
31
34
  :headers => {
32
35
  :Authorization => "Bearer #{api_key}",
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Jekyll
4
4
  module JamComments
5
- VERSION = "1.0.1"
5
+ VERSION = "1.2.0"
6
6
  end
7
7
  end
@@ -9,7 +9,7 @@ module Jekyll
9
9
  class Tag < Liquid::Tag
10
10
  attr_reader :path, :markup
11
11
 
12
- CLIENT_SCRIPT_URL = "https://unpkg.com/@jam-comments/client@2.0.0-beta.2/dist/index.umd.js"
12
+ CLIENT_SCRIPT_URL = "https://unpkg.com/@jam-comments/client@2.3.2/dist/index.umd.js"
13
13
 
14
14
  def initialize(tag_name, path, tokens)
15
15
  super
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jekyll_jam_comments
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.1
4
+ version: 1.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
14
  name: httparty