critical-path-css-rails 1.0.0 → 1.0.1
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
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: f899e091bc1f1dba8d638c3f2f07c733d3be5bff
|
|
4
|
+
data.tar.gz: 3cc6f7c50dd02b0984e169b4309215ced4dc9e90
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 9d48435251d2f016e80baf5ac9354296f692779dd0e2705803c504c8362e04c12a9e179ccc5319df5421acfdfb4be52a87a4aa07276b86f7831b6d90c9565d0b
|
|
7
|
+
data.tar.gz: c8630c8c9eff597c5cd11bdfc6b46d857da145469e33ec68ec024b31016d0f62ee03741242593fba41ca204b8f3d74483732b18003fca53290d311da0c17788b
|
data/README.md
CHANGED
|
@@ -8,9 +8,9 @@ This gem assumes that you'll load the rest of the CSS asyncronously. At the mome
|
|
|
8
8
|
|
|
9
9
|
This gem uses [Penthouse](https://github.com/pocketjoso/penthouse) to generate the critical CSS.
|
|
10
10
|
|
|
11
|
-
##
|
|
11
|
+
## Upgrading to the Latest Release
|
|
12
12
|
|
|
13
|
-
|
|
13
|
+
Upgrade instructions from each version are included below.
|
|
14
14
|
|
|
15
15
|
## Installation
|
|
16
16
|
|
|
@@ -110,7 +110,10 @@ Careful use of these methods allows the developer to generate critical path CSS
|
|
|
110
110
|
|
|
111
111
|
A user can use these methods to [dynamically generate critical path CSS](https://gist.github.com/taranda/1597e97ccf24c978b59aef9249666c77) without using the `rake critical_path_css:generate` rake task and without hardcoding the application's routes into `config/critical_path_css.yml`. See [this Gist](https://gist.github.com/taranda/1597e97ccf24c978b59aef9249666c77) for an example of such an implementation.
|
|
112
112
|
|
|
113
|
-
## Upgrading from
|
|
113
|
+
## Upgrading from version 0.X.X to 1.0.0
|
|
114
|
+
To maintain the latest version of Penthouse, this gem now depends on NodeJS and NVM to be installed on the system.
|
|
115
|
+
|
|
116
|
+
## Upgrading from a version earlier than 0.3.0
|
|
114
117
|
|
|
115
118
|
The latest version of Critcal Path CSS Rails changes the functionality of the `generate` method. In past versions,
|
|
116
119
|
`generate` would produce CSS for all of the routes listed in `config/critical_path_css.yml`. This functionality has been replaced by the `generate_all` method, and `generate` will only produce CSS for one route.
|
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: 1.0.
|
|
4
|
+
version: 1.0.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Michael Misshore
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2017-
|
|
11
|
+
date: 2017-11-02 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: rspec
|