copy_tuner_client 0.13.0 → 0.13.3

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: ec8d15928bbbb3d88569bb8ec24755a845ef0d3cb0790bda8abe9ed824d473ac
4
- data.tar.gz: 0b1d3749c9e763de26261839d5d8470eb33b1b4a673a1a09513a3ba7a2e49678
3
+ metadata.gz: fcfaac32f023250fb386ea6333a09fe74a6f4152372540dba6adcf06b9e5d464
4
+ data.tar.gz: 5589dfced3c0c9e11f843f9c7707d7a1a81f112a09752d3014d52eb31ef7cd51
5
5
  SHA512:
6
- metadata.gz: 516a4b43547717f658498735f908c138427a01f951916aee27065181e525b48d4dee9e823930ce406e2119fac54f2f8be04dc54926dd8c3726f2ccdf958c69c3
7
- data.tar.gz: d2aac09f2b3db806a0aa76ed493f0a43b1efd0806f860131c31c20b750c819ca7102fb015a6be5c0e7822256183fa7a10389ae08546e6253553295634dc987d6
6
+ metadata.gz: 0d25871c33344d9fb9b3e869ae075916d4a47a7e4bed529c2cceec8c7f3ac150ab0e5b2fc81e3df81692ba0a0e5fcb7c45ad695ec32b5037cf40c6abb9a5e4fc
7
+ data.tar.gz: ace3323cdc8bdf6e27fd8895443bbb0df0200e73a8c9342bd066e3d9b877dc7cc00817888c2315980167176329d95e73ee1af63df38f974a18cf2353abbfce9f
data/CHANGELOG.md CHANGED
@@ -1,3 +1,15 @@
1
+ ## 0.13.3
2
+
3
+ - Add `media="all"` attribute to stylesheet link tag
4
+
5
+ ## 0.13.2
6
+
7
+ - Add `crossorigin="anonymous"` attribute to script tag
8
+
9
+ ## 0.13.1
10
+
11
+ - Add `type="module"` attribute to script tag
12
+
1
13
  ## 0.13.0
2
14
 
3
15
  - 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.0)
16
+ copy_tuner_client (0.13.3)
17
17
  i18n (>= 0.5.0)
18
18
  json
19
19
  nokogiri
@@ -49,11 +49,11 @@ module CopyTunerClient
49
49
  data: #{json},
50
50
  }
51
51
  SCRIPT
52
- append_to_html_body(html, helpers.javascript_include_tag(:main))
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
56
- helpers.stylesheet_link_tag :style, media: :screen
56
+ helpers.stylesheet_link_tag :style, media: :all
57
57
  end
58
58
 
59
59
  def append_to_html_body(html, content)
@@ -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.0'.freeze
3
+ VERSION = '0.13.3'.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.0
4
+ version: 0.13.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - SonicGarden
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-05-30 00:00:00.000000000 Z
11
+ date: 2022-06-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: i18n