critical-path-css-rails 4.0.1 → 4.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +2 -5
- data/lib/critical_path_css/rails/config_loader.rb +2 -3
- data/lib/critical_path_css/rails/version.rb +1 -1
- data/package-lock.json +3 -3
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,4 @@
|
|
1
1
|
---
|
2
|
-
SHA1:
|
3
|
-
metadata.gz: c0977819dee8b4d3adb090674cd192ec08305a5a
|
4
|
-
data.tar.gz: bc12acec227acf35e7feb97c3029f9cd85bfb03e
|
5
2
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3b314244082b593416ad54d45ba0025379d680013485f51380e608549a1252e7d3bc133ffbfeeb93ff357cf6798b543b8f5c76fa01d79956290d32a740629a2c
|
4
|
+
data.tar.gz: 53532cebb28ccee872b6fe6b06cbff62e751755af99e7545771b620deb8e69cbb5eaf1d3793e1899a7e7fc2756e940baedb5b058160be190027ca59afe71e97b
|
@@ -21,11 +21,10 @@ module CriticalPathCss
|
|
21
21
|
def format_css_paths
|
22
22
|
config['css_paths'] = [config['css_path']] if config['css_path']
|
23
23
|
|
24
|
-
|
25
|
-
config['css_paths'].map! { |path| format_path(path) }
|
26
|
-
else
|
24
|
+
unless config['css_paths']
|
27
25
|
config['css_paths'] = [ActionController::Base.helpers.stylesheet_path(config['manifest_name'], host: '')]
|
28
26
|
end
|
27
|
+
config['css_paths'].map! { |path| format_path(path) }
|
29
28
|
end
|
30
29
|
|
31
30
|
def format_path(path)
|
data/package-lock.json
CHANGED
@@ -145,9 +145,9 @@
|
|
145
145
|
}
|
146
146
|
},
|
147
147
|
"https-proxy-agent": {
|
148
|
-
"version": "2.2.
|
149
|
-
"resolved": "https://registry.npmjs.org/https-proxy-agent/-/https-proxy-agent-2.2.
|
150
|
-
"integrity": "sha512-
|
148
|
+
"version": "2.2.4",
|
149
|
+
"resolved": "https://registry.npmjs.org/https-proxy-agent/-/https-proxy-agent-2.2.4.tgz",
|
150
|
+
"integrity": "sha512-OmvfoQ53WLjtA9HeYP9RNrWMJzzAz1JGaSFr1nijg0PVR1JaD/xbJq1mdEIIlxGpXp9eSe/O2LgU9DJmTPd0Eg==",
|
151
151
|
"requires": {
|
152
152
|
"agent-base": "^4.3.0",
|
153
153
|
"debug": "^3.1.0"
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: critical-path-css-rails
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 4.0
|
4
|
+
version: 4.1.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Michael Misshore
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2020-04-29 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: combustion
|
@@ -108,7 +108,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
108
108
|
version: '0'
|
109
109
|
requirements: []
|
110
110
|
rubyforge_project:
|
111
|
-
rubygems_version: 2.6.
|
111
|
+
rubygems_version: 2.6.14
|
112
112
|
signing_key:
|
113
113
|
specification_version: 4
|
114
114
|
summary: Critical Path CSS for Rails!
|