kj 0.0.13 → 0.0.14
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +7 -0
- data/VERSION +1 -1
- data/kj.gemspec +2 -2
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 391f9d2ad20e44f0ca583f941d20bcbed1adf68a
|
4
|
+
data.tar.gz: f0af5e6cf11e617365526ec12a7f6087f7544d58
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 64cd538cfc96c9e165247ac12cc3f96d20bd14ecbfc2b4a4f16aeae1b26e557d28aa0d48faa1ca21130d053fed422879d26074c54757a4490067c503d3d363c6
|
7
|
+
data.tar.gz: 589de22bcea83755b32fb17a4a80f9658d7684686ef791180372544c1c93301ed0cc8be5b5dab51f713c720f12d8b7f0ce7c497435c2e549b0bfa82697b153cd
|
data/README.md
CHANGED
@@ -75,6 +75,13 @@ bible.random_verse #returns a random Kj::Verse
|
|
75
75
|
puts bible.random_verse.text
|
76
76
|
=> "But woe unto you, scribes and Pharisees, hypocrites! for ye shut up the kingdom of heaven against men: for ye neither go in yourselves, neither suffer ye them that are entering to go in."
|
77
77
|
```
|
78
|
+
### Percentages
|
79
|
+
```ruby
|
80
|
+
# Locate Verse objects by their decimal percent between 0 and 1
|
81
|
+
verse = bible.percent(0.5)
|
82
|
+
puts verse.title
|
83
|
+
=> "Psalms 103:1"
|
84
|
+
```
|
78
85
|
### Exceptions
|
79
86
|
Kj will raise a Kj::Iniquity when it can't find what you're looking for.
|
80
87
|
```
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.0.
|
1
|
+
0.0.14
|
data/kj.gemspec
CHANGED
@@ -2,11 +2,11 @@
|
|
2
2
|
# DO NOT EDIT THIS FILE DIRECTLY
|
3
3
|
# Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec'
|
4
4
|
# -*- encoding: utf-8 -*-
|
5
|
-
# stub: kj 0.0.
|
5
|
+
# stub: kj 0.0.14 ruby lib
|
6
6
|
|
7
7
|
Gem::Specification.new do |s|
|
8
8
|
s.name = "kj"
|
9
|
-
s.version = "0.0.
|
9
|
+
s.version = "0.0.14"
|
10
10
|
|
11
11
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
12
12
|
s.require_paths = ["lib"]
|