jesus_christ 0.1.0 → 0.1.2
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 +41 -13
- data/lib/jesus_christ/version.rb +1 -1
- data/lib/jesus_christ.rb +22 -0
- metadata +2 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 8a396627c1cc429eaa8f8a1cc6894e444bd0fe2b64a1e7ba3bcb4552d62f0892
|
|
4
|
+
data.tar.gz: 496ed4814d39b38dd4bd8bbc56d7a03791b03427d43228cf098b2b0f336f5725
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 4049bb724defc56d5c957b6e1fd8514cdc58ded9d4dace9e76206c5d29cbd23a3f90a3c9975fa8bf9156dd515e35de2f437aeac0d54e69917f44592a3def6456
|
|
7
|
+
data.tar.gz: 8f5ea9ecaa48e9b6efb198393fc4a2144cc5b667f2061f2e18a95b094d0ffe142456384d0656efbdff13e0f8b7642b11758aa96f48d94f3fa7c298d452d97a54
|
data/README.md
CHANGED
|
@@ -1,35 +1,63 @@
|
|
|
1
1
|
# JesusChrist
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
> *"This code is protected by Jesus Christ."*
|
|
4
4
|
|
|
5
|
-
|
|
5
|
+
Provides prayers, scripture blessings, and spiritual protection helpers for Ruby and Ruby on Rails applications.
|
|
6
6
|
|
|
7
7
|
## Installation
|
|
8
8
|
|
|
9
|
-
|
|
9
|
+
Add this line to your application's `Gemfile`:
|
|
10
10
|
|
|
11
|
-
|
|
11
|
+
```ruby
|
|
12
|
+
gem "jesus_christ"
|
|
13
|
+
```
|
|
14
|
+
|
|
15
|
+
And then execute:
|
|
12
16
|
|
|
13
17
|
```bash
|
|
14
|
-
bundle
|
|
18
|
+
bundle install
|
|
15
19
|
```
|
|
16
20
|
|
|
17
|
-
|
|
21
|
+
Or install it directly:
|
|
18
22
|
|
|
19
23
|
```bash
|
|
20
|
-
gem install
|
|
24
|
+
gem install jesus_christ
|
|
21
25
|
```
|
|
22
26
|
|
|
23
27
|
## Usage
|
|
24
28
|
|
|
25
|
-
|
|
29
|
+
### Protection & Exception Handling
|
|
30
|
+
```ruby
|
|
31
|
+
require "jesus_christ"
|
|
32
|
+
|
|
33
|
+
# Print the protection banner
|
|
34
|
+
JesusChrist.protect!
|
|
26
35
|
|
|
27
|
-
|
|
36
|
+
# Wrap risky code blocks
|
|
37
|
+
JesusChrist.take_the_wheel do
|
|
38
|
+
# risky operation
|
|
39
|
+
end
|
|
40
|
+
```
|
|
28
41
|
|
|
29
|
-
|
|
42
|
+
### Prayers & Blessings
|
|
43
|
+
```ruby
|
|
44
|
+
JesusChrist.pray # Code, database, and anti-evil protection prayer
|
|
45
|
+
JesusChrist.lords_prayer # The Lord's Prayer (Matthew 6:9-13)
|
|
46
|
+
JesusChrist.apostles_creed # The Apostles' Creed
|
|
47
|
+
JesusChrist.thanksgiving # Jesus' thanksgiving prayers in the Gospels
|
|
48
|
+
JesusChrist.prayers_on_the_cross # Jesus' three prayers from the cross
|
|
49
|
+
JesusChrist.gethsemane # The Prayer in Gethsemane (Matthew 26:39)
|
|
50
|
+
JesusChrist.high_priestly_prayer # The High Priestly Prayer (John 17)
|
|
51
|
+
JesusChrist.pray_all # Run every prayer and blessing in sequence
|
|
52
|
+
```
|
|
30
53
|
|
|
31
|
-
|
|
54
|
+
### Rails Auto-Startup
|
|
55
|
+
Create `config/initializers/jesus_christ.rb`:
|
|
56
|
+
```ruby
|
|
57
|
+
JesusChrist.protect!
|
|
58
|
+
JesusChrist.pray
|
|
59
|
+
```
|
|
32
60
|
|
|
33
|
-
##
|
|
61
|
+
## License
|
|
34
62
|
|
|
35
|
-
|
|
63
|
+
The gem is available as open source under the terms of the [MIT License](https://opensource.org).
|
data/lib/jesus_christ/version.rb
CHANGED
data/lib/jesus_christ.rb
CHANGED
|
@@ -15,6 +15,28 @@ require_relative "jesus_christ/version"
|
|
|
15
15
|
module JesusChrist
|
|
16
16
|
class Error < StandardError; end
|
|
17
17
|
|
|
18
|
+
def self.help
|
|
19
|
+
puts <<~HELP
|
|
20
|
+
✝ JesusChrist Gem (v#{VERSION}) — Available Methods:
|
|
21
|
+
|
|
22
|
+
Protection & Helpers:
|
|
23
|
+
JesusChrist.protect! # Print the protection banner
|
|
24
|
+
JesusChrist.take_the_wheel { } # Rescue and forgive StandardErrors in a block
|
|
25
|
+
JesusChrist.help # Show this help message
|
|
26
|
+
|
|
27
|
+
Prayers & Scripture:
|
|
28
|
+
JesusChrist.pray # Code, database, and anti-evil prayer
|
|
29
|
+
JesusChrist.lords_prayer # The Lord's Prayer (Matthew 6:9-13)
|
|
30
|
+
JesusChrist.apostles_creed # The Apostles' Creed
|
|
31
|
+
JesusChrist.thanksgiving # Jesus' thanksgiving blessings
|
|
32
|
+
JesusChrist.prayers_on_the_cross # Prayers spoken on the cross
|
|
33
|
+
JesusChrist.gethsemane # The Prayer in Gethsemane
|
|
34
|
+
JesusChrist.high_priestly_prayer # The High Priestly Prayer (John 17)
|
|
35
|
+
JesusChrist.pray_all # Pray all prayers in sequence (alias: bless_all)
|
|
36
|
+
HELP
|
|
37
|
+
end
|
|
38
|
+
|
|
39
|
+
|
|
18
40
|
def self.protect!
|
|
19
41
|
puts "✝ This code is now protected by Jesus Christ. Heavenly Father, I come to you in the name of Jesus, acknowledging your power and sovereignty. I pray for your divine protection over me and my loved ones. Surround us with your angels and create a hedge of safety around us. Guard us from harm, both seen and unseen, and keep us secure in your loving care. I trust in your promise that no weapon formed against us shall prosper. In Jesus' name, I pray. Amen."
|
|
20
42
|
end
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: jesus_christ
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.1.
|
|
4
|
+
version: 0.1.2
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Fewer Cards
|
|
@@ -26,6 +26,7 @@ licenses:
|
|
|
26
26
|
- MIT
|
|
27
27
|
metadata:
|
|
28
28
|
allowed_push_host: https://rubygems.org
|
|
29
|
+
documentation_uri: https://rubydoc.info
|
|
29
30
|
homepage_uri: https://fewer.cards
|
|
30
31
|
rdoc_options: []
|
|
31
32
|
require_paths:
|