proverbs_niv 1.0.1 → 2.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/proverbs_niv.rb +5 -1
  3. metadata +6 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 6850f0a4359a561240a165f38e04747d66306d64
4
- data.tar.gz: c823584239de232d1a0e1174df7f9f82897f538d
3
+ metadata.gz: 36f2ff08017111f8cda44123eb48d1f87b92826d
4
+ data.tar.gz: b3d11579144044c983b9ba90d73e41c1fc7ea03f
5
5
  SHA512:
6
- metadata.gz: ed433883314487105cb213c0cd01b2bcd4ba377fd11932696d76ff794486519ec5ee67cecee6a7467aef28507784d25680a0b792911f3aae434790dd3f3b4252
7
- data.tar.gz: c0bd4f3632769e67dbda2849fc2b7ddc609395b53b9b3fec7f400855a5351baa173176506e401f9161a2f359ea99769c232945e205f33e6d25fbc968d8ce37c6
6
+ metadata.gz: 194161241616fd63ca0e848c2b405246f023b4c63e77644cf9a50b5d441fcc10defe708e2f45f5e264c9f27fedc51fc6eb1604b085eed19fffd2eaa27e2026e2
7
+ data.tar.gz: 83012baab058bdc2415eb4ecdc1f5f590d737863e480fcef079b8dc6f5fe19209fc92eae58a5f774bd567704061d88d34f4dec635ac3414e2872b5708f2673e7
data/lib/proverbs_niv.rb CHANGED
@@ -47,10 +47,14 @@ class ProverbsNiv
47
47
  return "init complete"
48
48
  end
49
49
 
50
- def self.getAllChapters
50
+ def self.getAllChapterNumbers
51
51
  return @outerHash.keys
52
52
  end
53
53
 
54
+ def self.getContentOfAllChapters
55
+ return @outerHash
56
+ end
57
+
54
58
  def self.getChapterContent(chapNum)
55
59
  return @outerHash[chapNum.to_s]
56
60
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: proverbs_niv
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.1
4
+ version: 2.0.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Kendra Kuivenhoven
@@ -41,5 +41,9 @@ rubyforge_project:
41
41
  rubygems_version: 2.5.1
42
42
  signing_key:
43
43
  specification_version: 4
44
- summary: A wrapper for the bookofproverbs.herokuapp.com API endpoint.
44
+ summary: A wrapper for the bookofproverbs.herokuapp.com API endpoint. Contains functionality
45
+ for obtaining the entire books of proverbs and individual chapters. Additional features
46
+ include a word count for each occurence of a word -- available per chapter. This
47
+ feature further extends by removing a list of stop words (i.e. a, or, and, etc.)
48
+ from the word saved word list.
45
49
  test_files: []