jekyll_jam_comments 1.2.0 → 2.0.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: 512229e39535ee12e61fc6b44596541b5cc9e40a90ce9417f1b9b0109a43677e
4
- data.tar.gz: 6a5cb34e0791f791989530499e1e8a55f6744c2e54e6b7a3c950831d82efda3a
3
+ metadata.gz: ffe11ef6a9291d2fa2650661ad2b5c14e765d126c87d4f9ce4f82447256cdd60
4
+ data.tar.gz: aa7c39aa1df5857a2a9324a76fef403ec99bda27b86579e0e667db806a729d85
5
5
  SHA512:
6
- metadata.gz: c25924ace90994813df77df41180a91965ddf0ec01a27da20b3be1a4fc1a4275b97d6d7dfd7c3a5f9357ebb9d7c6dd51700d7b3e0279251383133275f3d7a132
7
- data.tar.gz: dcdece69ef85c2f008863eec75ba8c6e61c6a1f8e05996fdea2b6fca43f7c230475fd31fc9a5189edc0e2e495d18f4f75f12460631708ada1b2b68031ad55860
6
+ metadata.gz: 3046c8d35e89718701e42d3a005abd97ca124603583954b31b8805124379ce66c482c311dd79ee672b45624b76bc18a16cf77926c540ea8d5d4fb70422869425
7
+ data.tar.gz: 5549c1d33cb98937783d95ebcfa788495eeea72981eef7b69979e0b3e462c9055e17cf88263feae03662007f06fe728c777ef535bb378c036ccdc50dfabda238
@@ -64,7 +64,7 @@ module Jekyll
64
64
  end
65
65
 
66
66
  def endpoint
67
- "#{base_url}/api/v2/markup"
67
+ "#{base_url}/api/v3/markup"
68
68
  end
69
69
 
70
70
  def formatted_path(path)
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Jekyll
4
4
  module JamComments
5
- VERSION = "1.2.0"
5
+ VERSION = "2.0.0"
6
6
  end
7
7
  end
@@ -9,8 +9,6 @@ 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.3.2/dist/index.umd.js"
13
-
14
12
  def initialize(tag_name, path, tokens)
15
13
  super
16
14
 
@@ -23,9 +21,8 @@ module Jekyll
23
21
 
24
22
  "
25
23
  #{markup}
26
- <script src=\"#{CLIENT_SCRIPT_URL}\"></script>
27
24
  <script>
28
- window.JamComments.initialize();
25
+ window.jcAlpine.start();
29
26
  </script>
30
27
  "
31
28
  end
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.2.0
4
+ version: 2.0.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-29 00:00:00.000000000 Z
11
+ date: 2023-11-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: httparty
@@ -146,7 +146,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
146
146
  - !ruby/object:Gem::Version
147
147
  version: '0'
148
148
  requirements: []
149
- rubygems_version: 3.1.4
149
+ rubygems_version: 3.3.26
150
150
  signing_key:
151
151
  specification_version: 4
152
152
  summary: A Jekyll plugin for setting up JamComments in a Jekyll site.