copy_tuner_client 0.13.0 → 0.13.3
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 +4 -4
- data/CHANGELOG.md +12 -0
- data/Gemfile.lock +1 -1
- data/lib/copy_tuner_client/copyray_middleware.rb +3 -3
- data/lib/copy_tuner_client/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: fcfaac32f023250fb386ea6333a09fe74a6f4152372540dba6adcf06b9e5d464
|
|
4
|
+
data.tar.gz: 5589dfced3c0c9e11f843f9c7707d7a1a81f112a09752d3014d52eb31ef7cd51
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
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
|
@@ -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: :
|
|
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"] ==
|
|
68
|
+
headers["Content-Transfer-Encoding"] == 'binary'
|
|
69
69
|
end
|
|
70
70
|
|
|
71
71
|
def html_headers?(status, headers)
|
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.
|
|
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-
|
|
11
|
+
date: 2022-06-21 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: i18n
|