kj 0.0.13 → 0.0.14

Sign up to get free protection for your applications and to get access to all the features.
Files changed (5) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +7 -0
  3. data/VERSION +1 -1
  4. data/kj.gemspec +2 -2
  5. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: c9f7e20fd8120d77b7da0104ce83206f4627ab00
4
- data.tar.gz: 67a04df2abcac361048384c5d8bc56cfbba0fb01
3
+ metadata.gz: 391f9d2ad20e44f0ca583f941d20bcbed1adf68a
4
+ data.tar.gz: f0af5e6cf11e617365526ec12a7f6087f7544d58
5
5
  SHA512:
6
- metadata.gz: fa98bb1dece5005f647cd6bbfbc2a6507b2bc2d7ab90ac8d2b6c51b685060c1e493bd348643e89d339f3e7b6f264d13e6307baa7f9cf7d39663ea4a1818fd5f4
7
- data.tar.gz: dc51ac981ca416633ee45e4760fb78d566b1945d9dcc1f2b8ba76404bebd6417adc63cb7b48c3f270310c952467bbb7034a7c2390dcf211b42d4945b689898e3
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.13
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.13 ruby lib
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.13"
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"]
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: kj
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.13
4
+ version: 0.0.14
5
5
  platform: ruby
6
6
  authors:
7
7
  - David John