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: 9f2e5c98beedd1a60cb696c2c09772221ec4f558
4
- data.tar.gz: 2a367071382fcb6ed73cd309ebf08781597230ec
3
+ metadata.gz: f899e091bc1f1dba8d638c3f2f07c733d3be5bff
4
+ data.tar.gz: 3cc6f7c50dd02b0984e169b4309215ced4dc9e90
5
5
  SHA512:
6
- metadata.gz: f02b55901188fddcfa7b789ff398e4d8352e7fcf3390457f07d9a7154401a0771ef21b4490c9e810c4cf1c1ff8ed2a144724222165e69648bafa21716a77767a
7
- data.tar.gz: ae91d133be2903f17d0a78f3b5c9ee02630df6483931f7720fa088e98d73dfeead4628aa9ce39c906e1cb68c216c704bd3cb832ada0856f6f00f062654a14c2a
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
- ## Update
11
+ ## Upgrading to the Latest Release
12
12
 
13
- Versions below 0.3.0 are not compatible with this version. Please read the Upgrading from Previous Versions section below for more information.
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 Previous Versions
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.
@@ -1,5 +1,5 @@
1
1
  module CriticalPathCSS
2
2
  module Rails
3
- VERSION = '1.0.0'
3
+ VERSION = '1.0.1'
4
4
  end
5
5
  end
@@ -1,7 +1,7 @@
1
1
  require 'rails/generators'
2
2
 
3
3
  module CriticalPathCss
4
- class InstallGenerator < Rails::Generators::Base
4
+ class InstallGenerator < ::Rails::Generators::Base
5
5
  source_root File.expand_path('..', __FILE__)
6
6
 
7
7
  # Copy the needed rake task for generating critical CSS
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.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-08-06 00:00:00.000000000 Z
11
+ date: 2017-11-02 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rspec