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: 299c1d8d0ae616ad6883c9466fbb2d92d9ef0b23da9720bcc1ab36af029b0186
4
- data.tar.gz: c148c5a5527bed37cf92677b1dc8814abe802100fafd0165e9178f3f122d1fca
3
+ metadata.gz: 25e1997b9cb0176f3eb10d30feb2440648f9e7cad629709774673c54c73c8359
4
+ data.tar.gz: 0cf0e4ad99f2c75c18fe050eee60117e9a5ef31543cc22b715d1c99fad01ae24
5
5
  SHA512:
6
- metadata.gz: 467f9559626e7f2f996d8ec90b38c7d31e6fa72dd8e32243b601fdd84a611b6d4f190e120fa12b568d27be66f932334e2ca2bd924483e28d1728e5a4e469ee12
7
- data.tar.gz: b5ab6d2249282b1d411f29be94c4382b8f02c51721da8d477ec3134724fce8455f13e827ec32a399ef93643791045aa30cc8dd52e2111da89cad54085f46b75c
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.filter do |event|
11
+ events = events.select do |event|
12
12
  next true if event.match?(/^post/)
13
- next !events.one?(event.to_s.gsub(/^pre/, 'post').to_sym)
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
@@ -12,7 +12,7 @@ module Jekyll::Spaceship
12
12
  )
13
13
 
14
14
  post.content.scan pattern do |match|
15
- match = match.filter { |m| not m.nil? }
15
+ match = match.select { |m| not m.nil? }
16
16
  block = match[0]
17
17
  code = match[1]
18
18
 
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Jekyll
4
4
  module Spaceship
5
- VERSION = "0.2.0"
5
+ VERSION = "0.2.1"
6
6
  end
7
7
  end
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.0
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: 2019-12-05 00:00:00.000000000 Z
11
+ date: 2020-01-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: nokogiri