critical-path-css-rails 0.2.0 → 0.2.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 +4 -4
- data/.rubocop_todo.yml +3 -3
- data/BACKLOG.md +1 -1
- data/README.md +2 -2
- data/lib/critical_path_css/rails/version.rb +1 -1
- data/lib/tasks/critical_path_css.rake +2 -0
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 1a1d007d5a2b3ddad015852c79fa46b2f4848a42
|
|
4
|
+
data.tar.gz: af3d944a516625a45d35592e9f2fe502ae5f7582
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 0a36f37b53c16686f15cec91ab5da1f23f012375b2496f57950eb2979c20c9cb7015252609de7788cf188dd27dfe1ef359bb525f81f54de527841d051e627501
|
|
7
|
+
data.tar.gz: e3da5b537e8828ef9ba77f5e7965cd2949e7a3b403dec1dfcc94885958b9d2d67a72b7ced2ed8e9421c04a5fa60d094bb13ffe097a9b005295670189a31f23e7
|
data/.rubocop_todo.yml
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
# This configuration was generated by
|
|
2
2
|
# `rubocop --auto-gen-config`
|
|
3
|
-
# on 2015-10-
|
|
3
|
+
# on 2015-10-20 18:42:42 -0500 using RuboCop version 0.34.1.
|
|
4
4
|
# The point is for the user to remove these configuration records
|
|
5
5
|
# one by one as the offenses are removed from the code base.
|
|
6
6
|
# Note that changes in the inspected code, or installation of new
|
|
7
7
|
# versions of RuboCop, may require this file to be generated again.
|
|
8
8
|
|
|
9
|
-
# Offense count:
|
|
9
|
+
# Offense count: 3
|
|
10
10
|
# Configuration parameters: AllowURI, URISchemes.
|
|
11
11
|
Metrics/LineLength:
|
|
12
|
-
Max:
|
|
12
|
+
Max: 91
|
data/BACKLOG.md
CHANGED
|
@@ -6,5 +6,5 @@
|
|
|
6
6
|
## Features
|
|
7
7
|
- Allow the user to pass arguments to Penthouse.js, i.e. Viewport size, etc. For a list of the configurable options, please see [Penthouse](https://github.com/pocketjoso/penthouse)
|
|
8
8
|
- Improve installation process, if necessary
|
|
9
|
-
- Improve manual processes, if possible (i.e having to run the rake task to generate the
|
|
9
|
+
- Improve manual processes, if possible (i.e having to run the rake task to generate the critical CSS)
|
|
10
10
|
- Improve implementation. Is their a better solution then using Rails.cache?
|
data/README.md
CHANGED
|
@@ -47,11 +47,11 @@ First, you'll need to configue a few things in the YAML file: `config/critical_p
|
|
|
47
47
|
|
|
48
48
|
Before generating the CSS, ensure that your application is running (viewable from a browser) and the main CSS file exists. Then in a separate tab, run the rake task to generate the critical CSS.
|
|
49
49
|
|
|
50
|
-
If
|
|
50
|
+
If you are using the Asset Pipeline, precompiling the assets will generate the critical CSS after the assets are precompiled.
|
|
51
51
|
```
|
|
52
52
|
rake assets:precompile
|
|
53
53
|
```
|
|
54
|
-
|
|
54
|
+
Else you can generate the critical CSS manually using the below task:
|
|
55
55
|
```
|
|
56
56
|
rake critical_path_css:generate
|
|
57
57
|
```
|
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: 0.2.
|
|
4
|
+
version: 0.2.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: 2015-10-
|
|
11
|
+
date: 2015-10-20 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: phantomjs
|