copy_tuner_client 0.13.1 → 0.13.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: fdaa6002c4d90cdf30b93eda837f5aec9d82a56f1722076ce45f49222b0903a9
4
- data.tar.gz: 69b322b9419e91f6971fcca0b4be137fa739cb4b9a5ca1d41e84a3899f795cf6
3
+ metadata.gz: c2340e63923745796e853382d442211ab7d25cbacc39e1ee48b1f9edf67c30a7
4
+ data.tar.gz: '0885911e613658b2478292d14e3deb53495c5b026f68d52ea05acea58f6ff4ee'
5
5
  SHA512:
6
- metadata.gz: ccc0dd83e3db74451f579853832aaafb1f9eb77b519e2e5a3970957d4a0d83cd94aeb18f9ab3c66fa0d9a1f16a73bdb1f5d8967b223ba25c4dec6c219810e0f5
7
- data.tar.gz: d9f62a296247b0760d9f933ae2e4e6f496a6560b95ca89c6a3707d2ff3aedbdb5c5043e9ee45c2d9b0e1953bde779b9cd0f4aa705b574f01240884faf7f2d35f
6
+ metadata.gz: c3a0a0e7f8f008182f3af927c4c80792daf6a829a66a7deede6351fe9ea7478c1ed4f82ec3cfd334958dc46a244defaad2db361ed8d676d3336fd3af5decf1d1
7
+ data.tar.gz: 8b27424a052b5a852934ecbe079e2b5e4ee5027aa07bcde3a2224a7d3294b68b3abcaca64a07cafdb88600a50219987140dcdbef8dfa1beb052f47d76e8a377b
data/CHANGELOG.md CHANGED
@@ -1,3 +1,11 @@
1
+ ## 0.13.2
2
+
3
+ - Add `crossorigin="anonymous"` attribute to script tag
4
+
5
+ ## 0.13.1
6
+
7
+ - Add `type="module"` attribute to script tag
8
+
1
9
  ## 0.13.0
2
10
 
3
11
  - Drop support for ruby 2.6
data/Gemfile.lock CHANGED
@@ -13,7 +13,7 @@ GIT
13
13
  PATH
14
14
  remote: .
15
15
  specs:
16
- copy_tuner_client (0.13.1)
16
+ copy_tuner_client (0.13.2)
17
17
  i18n (>= 0.5.0)
18
18
  json
19
19
  nokogiri
@@ -49,7 +49,7 @@ module CopyTunerClient
49
49
  data: #{json},
50
50
  }
51
51
  SCRIPT
52
- append_to_html_body(html, helpers.javascript_include_tag(:main, type: 'module'))
52
+ append_to_html_body(html, helpers.javascript_include_tag(:main, type: 'module', crossorigin: 'anonymous'))
53
53
  end
54
54
 
55
55
  def css_tag
@@ -65,7 +65,7 @@ module CopyTunerClient
65
65
  end
66
66
 
67
67
  def file?(headers)
68
- headers["Content-Transfer-Encoding"] == "binary"
68
+ headers["Content-Transfer-Encoding"] == 'binary'
69
69
  end
70
70
 
71
71
  def html_headers?(status, headers)
@@ -1,6 +1,6 @@
1
1
  module CopyTunerClient
2
2
  # Client version
3
- VERSION = '0.13.1'.freeze
3
+ VERSION = '0.13.2'.freeze
4
4
 
5
5
  # API version being used to communicate with the server
6
6
  API_VERSION = '2.0'.freeze
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: copy_tuner_client
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.13.1
4
+ version: 0.13.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - SonicGarden
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-06-07 00:00:00.000000000 Z
11
+ date: 2022-06-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: i18n