premonition 4.0.0.pre2 → 4.0.0.pre3
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/README.md +4 -1
- data/lib/premonition/commands/install_scss.rb +2 -2
- data/lib/premonition/hook.rb +1 -1
- data/lib/premonition/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: abfe46c768bd3eb585a45c353bfec07ec3949d9e429fa6ad33048c7ea95f1073
|
|
4
|
+
data.tar.gz: f4faec4011c684028b26ad4a6d8e4e1f898d39b430be3d52699811ae874de136
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: d7e50e23298fdba22b884c1a26b1c7ccb6cc4210c0c08b20d0bb29e40e2034c60fbb253e5f1b542b6109fd82d3d878cc95e3da18887e2bb409393daf6ed2a978
|
|
7
|
+
data.tar.gz: a419bd8dca3eadc59799eefbea6b7738a316629f45aa925c146482e202633a6685550f23fc0e15a17075f0d3bbc42ce68085786c6391333b6b420ef5df8e1cb5
|
data/README.md
CHANGED
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
# Premonition
|
|
2
2
|
|
|
3
|
+
NOTE: This is the documentation for the version 4 release, coming soon. For 2.x documentation, please switch to the `2.x` branch.
|
|
4
|
+
|
|
3
5
|
[Demo site](https://lazee.github.io/premonition-demo/) ([Source code](https://github.com/lazee/premonition-demo))
|
|
4
6
|
|
|
5
7
|
Premonition is a higly customizable [Jekyll](https://jekyllrb.com/) plugin that can convert Markdown block-quotes into beautiful block styled content.
|
|
@@ -43,7 +45,7 @@ Add the following line to your `Gemfile` inside your Jekyll project folder:
|
|
|
43
45
|
|
|
44
46
|
```
|
|
45
47
|
group :jekyll_plugins do
|
|
46
|
-
gem "premonition", "
|
|
48
|
+
gem "premonition", "4.0.0.pre3"
|
|
47
49
|
end
|
|
48
50
|
```
|
|
49
51
|
|
|
@@ -63,6 +65,7 @@ bundle install
|
|
|
63
65
|
### Installing the default stylesheet
|
|
64
66
|
|
|
65
67
|
Finally, if you want to use the default Premonition styling (You really should!), then you have to install the SASS stylesheet.
|
|
68
|
+
Note: The installer expect you to have installed SASS support like it is described in the Jekyll documentation: https://jekyllrb.com/docs/step-by-step/07-assets/#sass.
|
|
66
69
|
|
|
67
70
|
From your Jekyll project folder, run:
|
|
68
71
|
|
|
@@ -23,8 +23,8 @@ module Jekyll
|
|
|
23
23
|
puts '== Installing Premonition Stylesheet and resources =="'
|
|
24
24
|
puts '-- premonition.scss --'
|
|
25
25
|
dest = opts['dest'].nil? || opts['dest'].empty? ? './_sass/' : File.join(opts['dest'], '')
|
|
26
|
-
main = opts['main'].nil? || opts['main'].empty? ? './assets/
|
|
27
|
-
raise StandardError, "#{dest} folder does not exist" unless Dir.exist?(dest)
|
|
26
|
+
main = opts['main'].nil? || opts['main'].empty? ? './assets/css/styles.scss' : opts['main']
|
|
27
|
+
raise StandardError, "#{dest} folder does not exist. Create it manually, and run script again." unless Dir.exist?(dest)
|
|
28
28
|
raise StandardError, "#{main} does not exist" unless File.exist?(main)
|
|
29
29
|
|
|
30
30
|
uri = URI('https://raw.githubusercontent.com/lazee/premonition/master/stylesheet/premonition.scss')
|
data/lib/premonition/hook.rb
CHANGED
data/lib/premonition/version.rb
CHANGED