jekyll-uj-powertools 1.0.11 → 1.0.13
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 +30 -9
- data/lib/jekyll-uj-powertools/version.rb +1 -1
- 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: 197d168137c646e242f1981cc99e8cc5a0d830d9d976b33d487a524039282213
|
4
|
+
data.tar.gz: a73157d5257ce1517fdd722418173028c3d9bfda2200239dd28e62535b6d0a42
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6297ff6c1ad28cb5750975c4e0c601cc23b243238b7937ac758337f42c599e9a6691e26982622f80f152401ca08eb9589c06b4fd0f4d5aceba764dd5cdc49471
|
7
|
+
data.tar.gz: bd654a32a367df223247611f80a8d72c4f909f9e276d7fb1f1867a067477c03ca7b6ade09898333770a498123278f77737c96542779846a9ec5191f7a74c1cfb
|
data/README.md
CHANGED
@@ -24,17 +24,17 @@
|
|
24
24
|
Meet <strong>jekyll-uj-powertools</strong>, your new best friend for developing with <a href="https://github.com/itw-creative-works/ultimate-jekyll">Ultimate jekyll</a>
|
25
25
|
</p>
|
26
26
|
|
27
|
-
## Features
|
27
|
+
## 🦄 Features
|
28
28
|
* Powerful utility for Jekyll sites
|
29
29
|
* `uj_strip_ads` filter to remove ads from a string
|
30
30
|
* `uj_json_escape` filter to escape JSON characters
|
31
31
|
|
32
|
-
# Jekyll::uj-powertools
|
32
|
+
# 🌐 Jekyll::uj-powertools
|
33
33
|
Meet `jekyll-uj-powertools`, the powerful set of utilities for Jekyll users.
|
34
34
|
|
35
35
|
It includes functions to remove ads from strings and escape JSON characters, making your Jekyll site cleaner and more efficient.
|
36
36
|
|
37
|
-
## Installation
|
37
|
+
## 📦 Installation
|
38
38
|
Install the gem and add to the application's Gemfile by executing:
|
39
39
|
```shell
|
40
40
|
bundle add jekyll-uj-powertools
|
@@ -45,7 +45,7 @@ If bundler is not being used to manage dependencies, install the gem by executin
|
|
45
45
|
gem install jekyll-uj-powertools
|
46
46
|
```
|
47
47
|
|
48
|
-
## Usage
|
48
|
+
## ⚡️ Usage
|
49
49
|
Now you can use the `uj_strip_ads` and `uj_json_escape` filters in your Jekyll site:
|
50
50
|
|
51
51
|
### `uj_strip_ads` Filter
|
@@ -62,26 +62,47 @@ Escape JSON characters in a string making it safe to use in a JSON object.
|
|
62
62
|
{{ post.content | uj_json_escape }}
|
63
63
|
```
|
64
64
|
|
65
|
+
### `uj_title_case` Filter
|
66
|
+
Convert a string to title case.
|
67
|
+
|
68
|
+
```liquid
|
69
|
+
{{ "hello world" | uj_title_case }}
|
70
|
+
```
|
71
|
+
|
65
72
|
These examples show how you can use the features of `jekyll-uj-powertools` in your Jekyll site.
|
66
73
|
|
67
|
-
## Development
|
74
|
+
## 🔧 Development
|
68
75
|
After checking out the repo, run `bin/setup` to install dependencies. You can also run `bin/console` for an interactive prompt that will allow you to experiment.
|
69
76
|
|
70
77
|
To install this gem onto your local machine, run `bundle exec rake install`. To release a new version, update the version number in `version.rb`, and then run `bundle exec rake release`, which will create a git tag for the version, push git commits and the created tag, and push the `.gem` file to [rubygems.org](https://rubygems.org).
|
71
78
|
|
72
|
-
|
79
|
+
## ⚠️ Testing
|
73
80
|
Run the tests
|
74
81
|
```shell
|
75
82
|
bundle install
|
76
83
|
bundle exec rspec
|
77
84
|
```
|
78
85
|
|
79
|
-
Publish the Gem
|
86
|
+
## 💎 Build + Publish the Gem
|
80
87
|
```shell
|
88
|
+
# Build the gem
|
81
89
|
gem build jekyll-uj-powertools.gemspec
|
82
90
|
|
83
|
-
gem
|
91
|
+
# Publish the gem where X.X.X is the version number
|
92
|
+
gem push jekyll-uj-powertools-X.X.X.gem
|
84
93
|
```
|
85
94
|
|
86
|
-
## Contributing
|
95
|
+
## 🗨️ Contributing
|
87
96
|
Bug reports and pull requests are welcome on GitHub at https://github.com/itw-creative-works/jekyll-uj-powertools.
|
97
|
+
|
98
|
+
## 📚 Projects Using this Library
|
99
|
+
* [ITW Creative Works](https://itwcreativeworks.com)
|
100
|
+
* [Somiibo](https://somiibo.com)
|
101
|
+
* [Slapform](https://slapform.com)
|
102
|
+
* [StudyMonkey](https://studymonkey.ai)
|
103
|
+
* [DashQR](https://dashqr.com)
|
104
|
+
* [Replyify](https://replyify.app)
|
105
|
+
* [SoundGrail](https://soundgrail.com)
|
106
|
+
* [Trusteroo](https://trusteroo.com)
|
107
|
+
|
108
|
+
Ask us to have your project listed! :)
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: jekyll-uj-powertools
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.13
|
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: 2024-07-
|
11
|
+
date: 2024-07-12 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: jekyll
|