jekyll-kw-shorten 0.1.0 → 0.1.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: 02e501c4b564c70c2b80b73ade6532272ddfc0a8b0bcf271f0e959172fd9f551
4
- data.tar.gz: 193d395096556484947539aab6658bf287e199247001620c6ea932e36d4b4f96
3
+ metadata.gz: e0b8e21ea523c1e4ff5487f6e50750e609ab59ff0f7d0a6932c01ffe45246362
4
+ data.tar.gz: 88c23330b3c708e2633ce84df8785f910e9fe85fd1dafae7db5e5a8033c839b2
5
5
  SHA512:
6
- metadata.gz: ab37e59c44e0fde55cafce3be02ddc6d9369131e5f76e3284fb46325d9f0f7752fcd44efb87ae8ca342825a9bbb45b8ed2f7fbae706e3e28f9f8d510fa335b1d
7
- data.tar.gz: 8f955d0924134e3d446779a6183fc4b3cade744c240971212b555eeae8cc378bb9aa63d31199a4ef7c640b7045662284aa931de0f435bfbe14143859e8cc1c83
6
+ metadata.gz: bcbd4a45c256e3d496bba8e7db42f00570f6d99bf510961406d9edcac1278a593d5486bf6882401e70f55336fd66f142dc41192703eb5be65a67c8148b7a3543
7
+ data.tar.gz: 655a299563860560d9893c454f82064a273856721c41a195fd303adf4fbcd23a5d5e1624d2d4645dfaa9ffe1916bb07327f2c7c1368aa524f121544095cf7394
data/README.md CHANGED
@@ -55,8 +55,10 @@ The plug-in supports
55
55
  | {{ 1000000000 \| shorten }} | ✔️ | 1.0 B |
56
56
  | {{ 1000000000000 \| shorten }} | ✔️ | ∞ 🚀 |
57
57
 
58
- **HINT**:
59
- The filter `{{ MyText | shorten }}` will show nothing (empty string). The filter "thinks" the MyText is a variable (with the value nil). Numbers can be used with and without quotes. Text must be wrapped in quotes.
58
+ **HINTS**:
59
+
60
+ * The filter `{{ MyText | shorten }}` will show nothing (empty string). The filter "thinks" the MyText is a variable (with the value nil). Numbers can be used with and without quotes. Text must be wrapped in quotes.
61
+ * The filter `{{ - 44 | shorten }}` will show nothing (empty string). The filter tries to parse the `-` as first part, not the number behind.
60
62
 
61
63
  ## Installation
62
64
 
@@ -4,7 +4,7 @@ module Jekyll
4
4
  module KargWare
5
5
  module Shorten
6
6
  RUBYGEM_NAME = 'jekyll-kw-shorten'
7
- VERSION = '0.1.0'
7
+ VERSION = '0.1.1'
8
8
  end
9
9
  end
10
10
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jekyll-kw-shorten
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Nicolas Karg
@@ -28,7 +28,7 @@ dependencies:
28
28
  description: |2
29
29
  A jekyll plugin which can shorten long numbers, e.g. 1000 == 1K or 1000000 == 1M.
30
30
 
31
- It can be used as [filter](https://jekyllrb.com/docs/plugins/filters/) `{{ 1234 | shorten }}` and as [tag](https://jekyllrb.com/docs/plugins/tags/) `{% shorten 1234 %}`, the result will be **1.2 K**
31
+ It can be used as filter `{{ 1234 | shorten }}` and as tag `{% shorten 1234 %}`, the result will be **1.2 K**
32
32
  email:
33
33
  - rubygems.org@n13.org
34
34
  executables: []