jekyll-postcss-v2 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
  SHA256:
3
- metadata.gz: ba330d199aa1671ac43e2cfe7d61072d6d73b6d5e3280d1051bf75113948440c
4
- data.tar.gz: 7acf137ddb7e194a625ff6b2a8ec09afb4a1f774fa240d5c4a36e3347d7dddbb
3
+ metadata.gz: 5bba2a3b9465f900eb7eca43bb91cf7260de96dfc4fef8c206fc77464962cb6a
4
+ data.tar.gz: d8799804da82a9d4ad9e8fc1ed098af675a4d67d00e2946ebc7d23ab9c75a9b0
5
5
  SHA512:
6
- metadata.gz: 3682a8afa70f816943a0ee63e04cdb25276cfe748699e17af9d5d2d5bda639adb4e17255fef5fdd931bbde3d8f6ef21e637deb786d34072fa0517e451d531dc4
7
- data.tar.gz: cbfff3eedc371741b44bfa6ea7eabdbac94ab8c72c5e98804f214c273efc849f61183989b705b639a4547ec2662e8f82cc8c0aec3d31c9e9e82fe1d93b3b17f4
6
+ metadata.gz: 0cb379319cab02d45abc17e6bb056b6253899c7cf72e8f430dff071dade71678ad9d9f5b4c71d61b409c2c3efeee423ffdb5684c28566a0fa15efcdccdc97107
7
+ data.tar.gz: 98e5ff3f4db6919263e78d798e72c08d6a8b23ba05378ceaabcd6aeb1a07a000b9a5f863208cf23d6232a56de826c8ffc95ae38389be10397c93dacabfb0ae3b
data/.gitignore CHANGED
@@ -1,3 +1,5 @@
1
1
  .jekyll-cache
2
2
  _site
3
- node_modules
3
+ node_modules
4
+ pkg
5
+ Gemfile.lock
data/README.md CHANGED
@@ -3,11 +3,11 @@ A revamp of [jekyll-postcss](https://github.com/mhanberg/jekyll-postcss) that us
3
3
 
4
4
  ## Table of contents
5
5
 
6
- - [Installation](README.md#installation)
7
- - [Usage](README.md#usage)
8
- - [Why v2?](README.md#why-v2)
9
- - [Why not?](README.md#why-not)
10
- - [TODO](README.md#todo)
6
+ - [Installation](#installation)
7
+ - [Usage](#usage)
8
+ - [Why v2?](#why-v2)
9
+ - [Why not?](#why-not)
10
+ - [TODO](#todo)
11
11
 
12
12
  ## Installation
13
13
 
@@ -55,4 +55,4 @@ Configure your `postcss.config.js` file in your jekyll source directory.
55
55
  - Investigate what needs to be done around the sourcemap
56
56
  - More logging.
57
57
  - Before/after filesizes
58
- - Timings
58
+ - Timings
@@ -16,20 +16,20 @@ module PostCssV2
16
16
  exit 1
17
17
  end
18
18
 
19
- config = Pathname.new(source + "/postcss.config.js")
20
- unless config.exist?
19
+ @config = Pathname.new(source + "/postcss.config.js")
20
+ unless @config.exist?
21
21
  Jekyll.logger.error "PostCSS v2:",
22
22
  "postcss.config.js not found.
23
23
  Make sure it exists in your Jekyll source."
24
24
  Jekyll.logger.error "PostCSS v2:",
25
- "Couldn't find #{config}"
25
+ "Couldn't find #{@config}"
26
26
  exit 1
27
27
  end
28
28
  end
29
29
 
30
30
  def process(page)
31
31
  file_path = Pathname.new(page.site.dest + page.url)
32
- postcss_command = `#{@script} #{file_path} -r`
32
+ postcss_command = `#{@script} #{file_path} -r --config #{@config}`
33
33
  Jekyll.logger.info "PostCSS v2:",
34
34
  "Rewrote #{page.url} #{postcss_command}"
35
35
  end
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Jekyll
4
4
  module PostCssV2
5
- VERSION = "1.0.0"
5
+ VERSION = "1.0.1"
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jekyll-postcss-v2
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
  - Liam Bigelow
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2021-06-12 00:00:00.000000000 Z
11
+ date: 2021-06-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -90,7 +90,6 @@ files:
90
90
  - ".gitignore"
91
91
  - ".rubocop.yml"
92
92
  - Gemfile
93
- - Gemfile.lock
94
93
  - README.md
95
94
  - Rakefile
96
95
  - jekyll-postcss-v2.gemspec
data/Gemfile.lock DELETED
@@ -1,110 +0,0 @@
1
- PATH
2
- remote: .
3
- specs:
4
- jekyll-postcss-v2 (1.0.0)
5
-
6
- GEM
7
- remote: https://rubygems.org/
8
- specs:
9
- addressable (2.7.0)
10
- public_suffix (>= 2.0.2, < 5.0)
11
- ast (2.4.2)
12
- colorator (1.1.0)
13
- concurrent-ruby (1.1.9)
14
- diff-lcs (1.4.4)
15
- em-websocket (0.5.2)
16
- eventmachine (>= 0.12.9)
17
- http_parser.rb (~> 0.6.0)
18
- eventmachine (1.2.7)
19
- ffi (1.15.1)
20
- forwardable-extended (2.6.0)
21
- http_parser.rb (0.6.0)
22
- i18n (1.8.10)
23
- concurrent-ruby (~> 1.0)
24
- jaro_winkler (1.5.4)
25
- jekyll (4.2.0)
26
- addressable (~> 2.4)
27
- colorator (~> 1.0)
28
- em-websocket (~> 0.5)
29
- i18n (~> 1.0)
30
- jekyll-sass-converter (~> 2.0)
31
- jekyll-watch (~> 2.0)
32
- kramdown (~> 2.3)
33
- kramdown-parser-gfm (~> 1.0)
34
- liquid (~> 4.0)
35
- mercenary (~> 0.4.0)
36
- pathutil (~> 0.9)
37
- rouge (~> 3.0)
38
- safe_yaml (~> 1.0)
39
- terminal-table (~> 2.0)
40
- jekyll-sass-converter (2.1.0)
41
- sassc (> 2.0.1, < 3.0)
42
- jekyll-watch (2.2.1)
43
- listen (~> 3.0)
44
- kramdown (2.3.1)
45
- rexml
46
- kramdown-parser-gfm (1.1.0)
47
- kramdown (~> 2.0)
48
- liquid (4.0.3)
49
- listen (3.5.1)
50
- rb-fsevent (~> 0.10, >= 0.10.3)
51
- rb-inotify (~> 0.9, >= 0.9.10)
52
- mercenary (0.4.0)
53
- parallel (1.20.1)
54
- parser (3.0.1.1)
55
- ast (~> 2.4.1)
56
- pathutil (0.16.2)
57
- forwardable-extended (~> 2.6)
58
- powerpack (0.1.3)
59
- public_suffix (4.0.6)
60
- rainbow (3.0.0)
61
- rake (13.0.3)
62
- rb-fsevent (0.11.0)
63
- rb-inotify (0.10.1)
64
- ffi (~> 1.0)
65
- rexml (3.2.5)
66
- rouge (3.26.0)
67
- rspec (3.10.0)
68
- rspec-core (~> 3.10.0)
69
- rspec-expectations (~> 3.10.0)
70
- rspec-mocks (~> 3.10.0)
71
- rspec-core (3.10.1)
72
- rspec-support (~> 3.10.0)
73
- rspec-expectations (3.10.1)
74
- diff-lcs (>= 1.2.0, < 2.0)
75
- rspec-support (~> 3.10.0)
76
- rspec-mocks (3.10.2)
77
- diff-lcs (>= 1.2.0, < 2.0)
78
- rspec-support (~> 3.10.0)
79
- rspec-support (3.10.2)
80
- rubocop (0.62.0)
81
- jaro_winkler (~> 1.5.1)
82
- parallel (~> 1.10)
83
- parser (>= 2.5, != 2.5.1.1)
84
- powerpack (~> 0.1)
85
- rainbow (>= 2.2.2, < 4.0)
86
- ruby-progressbar (~> 1.7)
87
- unicode-display_width (~> 1.4.0)
88
- rubocop-jekyll (0.5.1)
89
- rubocop (>= 0.57.2, < 0.63.0)
90
- ruby-progressbar (1.11.0)
91
- safe_yaml (1.0.5)
92
- sassc (2.4.0)
93
- ffi (~> 1.9)
94
- terminal-table (2.0.0)
95
- unicode-display_width (~> 1.1, >= 1.1.1)
96
- unicode-display_width (1.4.1)
97
-
98
- PLATFORMS
99
- ruby
100
-
101
- DEPENDENCIES
102
- bundler (~> 2.1)
103
- jekyll (>= 3.0)
104
- jekyll-postcss-v2!
105
- rake (>= 12.3.3)
106
- rspec (~> 3.0)
107
- rubocop-jekyll (~> 0.5.1)
108
-
109
- BUNDLED WITH
110
- 2.1.4