critical-path-css-rails 4.0.1 → 4.1.0

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,4 @@
1
1
  ---
2
- SHA1:
3
- metadata.gz: c0977819dee8b4d3adb090674cd192ec08305a5a
4
- data.tar.gz: bc12acec227acf35e7feb97c3029f9cd85bfb03e
5
2
  SHA512:
6
- metadata.gz: 545374b679ccd3795afe8c5eb44a1f2b4a60cb5cbbeda1a58b27a8c8f09fce963f68c00010d5cf611b03ef58d01018c7d1547852966caa60a1973a9bd8e623ed
7
- data.tar.gz: 00074b868a74df74882f751e44533432dc9e1f9332b95b2e08e5d2206a32fe308c4e404b900466b61fe35413317697521bcd93c204740e4d80e357c37923c242
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
- if config['css_paths']
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)
@@ -1,5 +1,5 @@
1
1
  module CriticalPathCSS
2
2
  module Rails
3
- VERSION = '4.0.1'.freeze
3
+ VERSION = '4.1.0'.freeze
4
4
  end
5
5
  end
@@ -145,9 +145,9 @@
145
145
  }
146
146
  },
147
147
  "https-proxy-agent": {
148
- "version": "2.2.2",
149
- "resolved": "https://registry.npmjs.org/https-proxy-agent/-/https-proxy-agent-2.2.2.tgz",
150
- "integrity": "sha512-c8Ndjc9Bkpfx/vCJueCPy0jlP4ccCCSNDp8xwCZzPjKJUm+B+u9WX2x98Qx4n1PiMNTWo3D7KK5ifNV/yJyRzg==",
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.1
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: 2019-08-19 00:00:00.000000000 Z
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.12
111
+ rubygems_version: 2.6.14
112
112
  signing_key:
113
113
  specification_version: 4
114
114
  summary: Critical Path CSS for Rails!