jekyll-spaceship 0.2.0 → 0.2.1
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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 25e1997b9cb0176f3eb10d30feb2440648f9e7cad629709774673c54c73c8359
|
4
|
+
data.tar.gz: 0cf0e4ad99f2c75c18fe050eee60117e9a5ef31543cc22b715d1c99fad01ae24
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8163e7943fbe2b81bdd692cff68847ea5534c63382ebe7733bbe869ec2e5cf6a5a18f6bb496511a902caa344b17b2a1e6cee8209a1be1b3c0132f8eb1a1464c6
|
7
|
+
data.tar.gz: e569560cf77da7effde3286d264682635c2933b66b5cdaa7e0187cd5d5ea582ce606ed4874c0682f4ef30de55705d02d3970b4badb0a5e2c17d2cdcce362ae0a
|
data/README.md
CHANGED
@@ -18,6 +18,8 @@ A Jekyll plugin to provide powerful supports for table, mathjax, plantuml, etc.
|
|
18
18
|
- [1.4 Cell Alignment](#cell-alignment)
|
19
19
|
- [2. MathJax Usage](#2-mathjax-usage)
|
20
20
|
- [3. PlantUML Usage](#3-plantuml-usage)
|
21
|
+
- [Credits](#credits)
|
22
|
+
- [Contributing](#contributing)
|
21
23
|
- [License](#license)
|
22
24
|
|
23
25
|
|
@@ -360,6 +362,17 @@ Bob -> Alice : hello world
|
|
360
362
|
```
|
361
363
|
````
|
362
364
|
|
365
|
+
## Credits
|
366
|
+
|
367
|
+
- [Jekyll](https://github.com/jekyll/jekyll) - A blog-aware static site generator in Ruby.
|
368
|
+
- [MultiMarkdown](https://fletcher.github.io/MultiMarkdown-6) - Lightweight markup processor to produce HTML, LaTeX, and more.
|
369
|
+
- [markdown-it-multimd-table](https://github.com/RedBug312/markdown-it-multimd-table) - Multimarkdown table syntax plugin for markdown-it markdown parser.
|
370
|
+
|
371
|
+
## Contributing
|
372
|
+
|
373
|
+
Issues and Pull Requests are greatly appreciated. If you've never contributed to an open source project before I'm more than happy to walk you through how to create a pull request.
|
374
|
+
|
375
|
+
You can start by [opening an issue](https://github.com/jeffreytse/jekyll-spaceship/issues/new) describing the problem that you're looking to resolve and we'll go from there.
|
363
376
|
|
364
377
|
## License
|
365
378
|
This software is licensed under the [MIT license](https://opensource.org/licenses/mit-license.php) © JeffreyTse.
|
@@ -8,9 +8,9 @@ module Jekyll::Spaceship
|
|
8
8
|
@@_registers.each do |_register|
|
9
9
|
container = _register.first
|
10
10
|
events = _register.last.uniq
|
11
|
-
events = events.
|
11
|
+
events = events.select do |event|
|
12
12
|
next true if event.match?(/^post/)
|
13
|
-
next !events.
|
13
|
+
next !events.any?(event.to_s.gsub(/^pre/, 'post').to_sym)
|
14
14
|
end
|
15
15
|
events.each do |event|
|
16
16
|
register container, event
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: jekyll-spaceship
|
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
|
- jeffreytse
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2020-01-05 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: nokogiri
|