jekyll-truthyfalsy 1.0.2 → 1.0.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +4 -6
- data/lib/jekyll-truthyfalsy/version.rb +3 -3
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: aa207eb1ef7dbdc09f08b451c03c91c11007a91ef58eb710fb30e37d62517121
|
4
|
+
data.tar.gz: 26b9f35c431081eba50d4ce4d633c41e4b3bafcf585e20cbb9fc4fee7bf91955
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2bf2e22e7787779465d2c0dc74c25cb0b11896f07fc9b3be4d58f878e7a58e3bf4dbdfee3ff7c42f7b9798a14658aeb7c7f8317c11fa7f62a779df61481be82f
|
7
|
+
data.tar.gz: ae8f37bfac4d7e3361185285bdf977c1d78e3a39e3cb5dba0be80ecc7da96fdf86bf9d55a82b5760fb76a10f2a0aebc2ec213171da67b7d8e5b414ac7066b026
|
data/README.md
CHANGED
@@ -18,24 +18,21 @@
|
|
18
18
|
<img src="https://img.shields.io/github/last-commit/itw-creative-works/jekyll-truthyfalsy.svg">
|
19
19
|
<br>
|
20
20
|
<br>
|
21
|
-
<a href="https://itwcreativeworks.com">Site</a> | <a href="https://
|
21
|
+
<a href="https://itwcreativeworks.com">Site</a> | <a href="https://rubygems.org/gems/jekyll-truthyfalsy">Gem Page</a> | <a href="https://github.com/itw-creative-works/jekyll-truthyfalsy">GitHub Repo</a>
|
22
22
|
<br>
|
23
23
|
<br>
|
24
24
|
Meet <strong>jekyll-truthyfalsy</strong>, the Sherlock Holmes of truthy and falsy values in Liquid.
|
25
25
|
</p>
|
26
26
|
|
27
|
-
## jekyll-truthyfalsy Works in Node AND browser environments
|
28
|
-
Yes, this module works in both Node and browser environments, including compatibility with [Webpack](https://www.npmjs.com/package/webpack) and [Browserify](https://www.npmjs.com/package/browserify)!
|
29
|
-
|
30
27
|
## Features
|
31
28
|
* Check whether a value is **truthy** or **falsy** in a manner similar to JavaScript
|
32
29
|
* Exposes a `istruthy` function
|
33
30
|
* Exposes a `isfalsy` function
|
34
31
|
|
35
32
|
# Jekyll::truthyfalsy
|
36
|
-
Meet `jekyll-truthyfalsy`, the whimsical gem dedicated to turning the grey areas of truthiness and falsiness into black and white.
|
33
|
+
Meet `jekyll-truthyfalsy`, the whimsical gem dedicated to turning the grey areas of truthiness and falsiness into black and white.
|
37
34
|
|
38
|
-
It doesn't just settle for mere booleans; oh no, it goes above and beyond, scrutinizing empty strings and null values too! Like a tenacious detective, it leaves no stone unturned, and no value unverified. Banish the verbose 'if' statements and welcome a new era of compact, expressive checks.
|
35
|
+
It doesn't just settle for mere booleans; oh no, it goes above and beyond, scrutinizing empty strings and null values too! Like a tenacious detective, it leaves no stone unturned, and no value unverified. Banish the verbose 'if' statements and welcome a new era of compact, expressive checks.
|
39
36
|
|
40
37
|
Because life is too short for ambiguity, embrace the certainty that comes with `jekyll-truthyfalsy`. Truthiness and falsiness: not just a philosophical quandary, but a .gem installation away!
|
41
38
|
|
@@ -102,6 +99,7 @@ To install this gem onto your local machine, run `bundle exec rake install`. To
|
|
102
99
|
### Building and pushing
|
103
100
|
Run the tests
|
104
101
|
```shell
|
102
|
+
bundle install
|
105
103
|
bundle exec rspec
|
106
104
|
```
|
107
105
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: jekyll-truthyfalsy
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- ITW Creative Works
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2024-05-25 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: jekyll
|