jekyll-uj-powertools 1.0.10 → 1.0.12

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 5242adfc2a8be4ae1dfb522cae775c80d7ffe351593e890d3acfa1986d9b2cd4
4
- data.tar.gz: 46b790d41d3027500e34dd3268e7c0c69e2516b841c6e1fd9b9342b15aa2cdf4
3
+ metadata.gz: 147ad3076693c523b71857007198ee3eada3a42e6c5a901e260cc46f84551412
4
+ data.tar.gz: fbdcc88a6f2ef3c76f57cf630e6a35dc179bbbb30a4a4e10c0726af15baa5f95
5
5
  SHA512:
6
- metadata.gz: d7df5f81678360ae4d33e33cd5fbd5e3e0544e193a7d18732f6399294345bc0f644bdd237e956f3ff14cb113a13527e6d09c72169e1565931532688d06c212c2
7
- data.tar.gz: e391beb804e5d8ca715dbb221f5fc4705f2d8d2a141ad5fbcb414dede1de6efbf4fe45aa6ad2592b358418b6ed275ad04711c717123dcc6ec218f080ce63faa9
6
+ metadata.gz: ead4a46fb7fbf6fe7f2943b8578293120c119566c6f9054c9e02cf9fb7148e15214e0440a2618f17a0dcf347549be119165cf66b7b4c068f997518b572cb2763
7
+ data.tar.gz: e5ea71be564a184b92d32148a2b4dd5a99f3b1e04b5e667da2c7246e076e0372c180be39b82cc8071915b1bded36143eb8c7f1dc8401df236187495ac0b014ff
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
@@ -64,24 +64,38 @@ Escape JSON characters in a string making it safe to use in a JSON object.
64
64
 
65
65
  These examples show how you can use the features of `jekyll-uj-powertools` in your Jekyll site.
66
66
 
67
- ## Development
67
+ ## 🔧 Development
68
68
  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
69
 
70
70
  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
71
 
72
- ### Building and pushing
72
+ ## ⚠️ Testing
73
73
  Run the tests
74
74
  ```shell
75
75
  bundle install
76
76
  bundle exec rspec
77
77
  ```
78
78
 
79
- Publish the Gem
79
+ ## 💎 Build + Publish the Gem
80
80
  ```shell
81
+ # Build the gem
81
82
  gem build jekyll-uj-powertools.gemspec
82
83
 
83
- gem push jekyll-uj-powertools-1.0.0.gem
84
+ # Publish the gem where X.X.X is the version number
85
+ gem push jekyll-uj-powertools-X.X.X.gem
84
86
  ```
85
87
 
86
- ## Contributing
88
+ ## 🗨️ Contributing
87
89
  Bug reports and pull requests are welcome on GitHub at https://github.com/itw-creative-works/jekyll-uj-powertools.
90
+
91
+ ## 📚 Projects Using this Library
92
+ * [ITW Creative Works](https://itwcreativeworks.com)
93
+ * [Somiibo](https://somiibo.com)
94
+ * [Slapform](https://slapform.com)
95
+ * [StudyMonkey](https://studymonkey.ai)
96
+ * [DashQR](https://dashqr.com)
97
+ * [Replyify](https://replyify.app)
98
+ * [SoundGrail](https://soundgrail.com)
99
+ * [Trusteroo](https://trusteroo.com)
100
+
101
+ Ask us to have your project listed! :)
@@ -1,5 +1,5 @@
1
1
  module Jekyll
2
2
  module UJPowertools
3
- VERSION = "1.0.10"
3
+ VERSION = "1.0.12"
4
4
  end
5
5
  end
@@ -42,6 +42,11 @@ module Jekyll
42
42
  def uj_random(input)
43
43
  rand(input)
44
44
  end
45
+
46
+ # Title case
47
+ def uj_title_case(input)
48
+ input.split(' ').map(&:capitalize).join(' ')
49
+ end
45
50
  end
46
51
  end
47
52
 
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.10
4
+ version: 1.0.12
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-05-31 00:00:00.000000000 Z
11
+ date: 2024-07-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jekyll