rails_critical_css 0.2.0 → 0.3.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: feb62b27929733fec99af5554d08ae804025ed6375daed30d29f1dd5eafc6780
4
- data.tar.gz: 7e8d54687c2580ded02b522c91fd6112706cfeefc01e0ed9a025ab39971e4fdf
3
+ metadata.gz: 7ba8d769ed5aba47dd6a6925c397afe6446f8d6bc75feb74c962c1168e9fb81a
4
+ data.tar.gz: ab0e38a972dd6b4b32e9e369165e28660a459336db7c56a3dfc3fc6e41db3075
5
5
  SHA512:
6
- metadata.gz: 21e5e2ea8b9b820aa9866825fdbf48b2c6e0418ac2fd2451b58848f9912d24b9c549280b78b490b92a32e270bf7070bc23f2ad628c57aa6efa3e93625ab350ff
7
- data.tar.gz: 2dd47899c8f7a8ea462cde17b0537355f168f096cf2673dfa0a2532e539b26bae0e9f96148e5fafa29874af0f74f7d6062ff1c00627a58e1d0e4984a80aa3c73
6
+ metadata.gz: 35a5b4197ea2825e9830ccb5911f5885f9b9183e717c2253283ecb3718b12726d39b61323ff1d214fc1cb1f7e0bf824d061da957db78566a431eb8726e2d65b1
7
+ data.tar.gz: 05df760a440835378b2691ce6d76113e4fbbc2c13c5ce194af8045fff69da3ca1b081a965b72bdfa487e7b173596400f9d2d56bac20145cfa838934f3cd5860a
data/Gemfile CHANGED
@@ -1 +1,3 @@
1
1
  source 'https://rubygems.org'
2
+
3
+ gemspec
data/Gemfile.lock CHANGED
@@ -1,3 +1,8 @@
1
+ PATH
2
+ remote: .
3
+ specs:
4
+ rails_critical_css (0.3.0)
5
+
1
6
  GEM
2
7
  remote: https://rubygems.org/
3
8
  specs:
@@ -6,6 +11,7 @@ PLATFORMS
6
11
  x86_64-linux
7
12
 
8
13
  DEPENDENCIES
14
+ rails_critical_css!
9
15
 
10
16
  BUNDLED WITH
11
17
  2.2.21
@@ -0,0 +1,8 @@
1
+ # frozen_string_literal: true
2
+ require 'rails/railtie'
3
+
4
+ module CriticalCssGenerator
5
+ class Railtie < Rails::Railtie
6
+ config.eager_load_namespaces << CriticalCssGenerator
7
+ end
8
+ end
@@ -9,6 +9,7 @@ require 'critical_css_generator/jobs/extractor'
9
9
  require 'critical_css_generator/actions/after_render'
10
10
  require 'critical_css_generator/actions/before_render'
11
11
  require 'critical_css_generator/helpers'
12
+ require 'critical_css_generator/railtie'
12
13
 
13
14
  module CriticalCssGenerator
14
15
  def self.config
@@ -1,6 +1,8 @@
1
+ $:.push File.expand_path("../lib", __FILE__)
2
+
1
3
  Gem::Specification.new do |s|
2
4
  s.name = 'rails_critical_css'
3
- s.version = '0.2.0'
5
+ s.version = '0.3.0'
4
6
  s.summary = 'Critical CSS rails generator'
5
7
  s.authors = ['Mateusz Bagiński']
6
8
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rails_critical_css
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.3.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Mateusz Bagiński
@@ -22,16 +22,17 @@ files:
22
22
  - LICENSE
23
23
  - README.md
24
24
  - Rakefile
25
- - lib/critical_css_generator/critical_css_generator.rb
26
- - lib/critical_css_generator/critical_css_generator/actions.rb
27
- - lib/critical_css_generator/critical_css_generator/actions/after_render.rb
28
- - lib/critical_css_generator/critical_css_generator/actions/before_render.rb
29
- - lib/critical_css_generator/critical_css_generator/actions/helpers.rb
30
- - lib/critical_css_generator/critical_css_generator/config.rb
31
- - lib/critical_css_generator/critical_css_generator/extractor.rb
32
- - lib/critical_css_generator/critical_css_generator/helpers.rb
33
- - lib/critical_css_generator/critical_css_generator/jobs/extractor.rb
34
- - lib/critical_css_generator/js/css-extractor.js
25
+ - lib/critical_css_generator.rb
26
+ - lib/critical_css_generator/actions.rb
27
+ - lib/critical_css_generator/actions/after_render.rb
28
+ - lib/critical_css_generator/actions/before_render.rb
29
+ - lib/critical_css_generator/actions/helpers.rb
30
+ - lib/critical_css_generator/config.rb
31
+ - lib/critical_css_generator/extractor.rb
32
+ - lib/critical_css_generator/helpers.rb
33
+ - lib/critical_css_generator/jobs/extractor.rb
34
+ - lib/critical_css_generator/railtie.rb
35
+ - lib/js/css-extractor.js
35
36
  - rails_critical_css.gemspec
36
37
  homepage: https://github.com/Mati365/rails-critical-css
37
38
  licenses: