rtw 0.0.1 → 0.0.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 7bd3e30deed6b66ad6ec2fa3e29a43ac1f1aea7b427469d6893c5d2041c4ad39
4
- data.tar.gz: fbaa6c093cce8ebca0ecc41770375b5a6579dfe0b5f2cf94d6ae76d2c7b2665d
3
+ metadata.gz: 579e7be0c6bad6855042e00985065f1e2397afdf2e921ebe72ca41e30a5590ce
4
+ data.tar.gz: 9e1b996d6614295fc545d179def2927592780649d2854b2bf86f39108c2af0a2
5
5
  SHA512:
6
- metadata.gz: d2b0e3dd6dcebec88f91744015c1db46ebc3dd221b106b8ac9acbe999c80af3511baa29f28690ba9bff10f3a61eb28da7b4d482cefa4a662a59355ff9abe3ab7
7
- data.tar.gz: 8a4abcfdb0b4f13c6f0cf7d693e272d701b9eb586996a774cb6ac95cff73ee5f801876b5c53e1bc117c2bc73c5009a3764897881c706ef7bf74476b6a5f5abd3
6
+ metadata.gz: 45aee8f76a54a3437f669687dc101dd790b185ae03686dc0dcbf3bc8507fdff43cbecd9722632b302a79409e5631ccd350e8aa96a1253b442ad9139131d3f539
7
+ data.tar.gz: 7d098775efb5bbf2cb3c4d0997ba941b86c073e9fe8b311d49ca9c727b37044cfa6029e985aa2480929be2de3e73cc179990e508fc477288dd6e31ffe905bc8d
data/README.md CHANGED
@@ -1,5 +1,7 @@
1
1
  # rtw
2
2
 
3
+ A command-line Bible for programmers
4
+
3
5
  Holy Bible on your command-line. RTW refers to Read The Word
4
6
 
5
7
  ## Installation
@@ -11,7 +13,6 @@ gem install rtw
11
13
  ## Usage
12
14
 
13
15
  ```
14
- rtw find john 3:16
15
16
  rtw f john 3:16 # 16 For God so loved the world, that he gave his only begotten Son, that whosoever believeth in him should not perish, but have everlasting life.
16
17
 
17
18
  rtw find john 3:16 version=NASB
@@ -27,4 +28,3 @@ MIT - Bibleable Project @bibleable
27
28
  ## Copyright
28
29
 
29
30
  See LICENSE for details. Most Bible translations are copyrighted. Please see BibleGateway.com for more information.
30
-
data/lib/rtw.rb CHANGED
@@ -45,24 +45,27 @@ module ReadTheWord
45
45
  }
46
46
 
47
47
  package_name 'rtw'
48
- default_task :find
48
+ default_task :version
49
49
 
50
50
  desc "version", "print rtw version"
51
51
  def version
52
52
  puts ReadTheWord::VERSION
53
53
  end
54
54
 
55
+ desc "context VERSE", "get the context of this verse"
56
+ def context
57
+ end
58
+
55
59
  desc "translations", "print translations"
56
60
  def translations
57
61
  puts TRANSLATIONS.keys
58
62
  end
59
63
 
60
64
  # TODO Support version=NASB
61
- # contents of the Thor class
62
65
  desc "find VERSE", "find bible verse"
63
- def find(name, from=nil)
66
+ def find(*names)
64
67
  b = BibleGateway.new
65
- answer = b.lookup(name)
68
+ answer = b.lookup(names.join(' '))
66
69
  puts answer[:text] if answer != nil
67
70
  end
68
71
 
@@ -1,6 +1,6 @@
1
1
  module ReadTheWord
2
2
  MESSAGE = "
3
- Welome, this is Read The Word - Holy Bible.
3
+ Welome, this is command-line Read The Word Bible.
4
4
 
5
5
  ██████╗ ████████╗██╗ ██╗
6
6
  ██╔══██╗╚══██╔══╝██║ ██║
@@ -1,3 +1,3 @@
1
1
  module ReadTheWord
2
- VERSION = "0.0.1"
2
+ VERSION = "0.0.2"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rtw
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Bryan Lim
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-07-04 00:00:00.000000000 Z
11
+ date: 2020-07-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: thor
@@ -45,10 +45,10 @@ homepage: https://github.com/bibleable/rtw
45
45
  licenses:
46
46
  - MIT
47
47
  metadata: {}
48
- post_install_message: "\n Welome, this is Read The Word - Holy Bible.\n \n ██████╗
49
- ████████╗██╗ ██╗\n ██╔══██╗╚══██╔══╝██║ ██║\n ██████╔╝ ██║ ██║ █╗ ██║\n
50
- \ ██╔══██╗ ██║ ██║███╗██║\n ██║ ██║ ██║ ╚███╔███╔╝\n ╚═╝ ╚═╝ ╚═╝ ╚══╝╚══╝
51
- \ \n #########################\n Pull Request -> https://github.com/bibleable/rtw/pulls\n
48
+ post_install_message: "\n Welome, this is command-line Read The Word Bible.\n \n
49
+ \ ██████╗ ████████╗██╗ ██╗\n ██╔══██╗╚══██╔══╝██║ ██║\n ██████╔╝ ██║ ██║
50
+ █╗ ██║\n ██╔══██╗ ██║ ██║███╗██║\n ██║ ██║ ██║ ╚███╔███╔╝\n ╚═╝ ╚═╝
51
+ \ ╚═╝ ╚══╝╚══╝ \n #########################\n Pull Request -> https://github.com/bibleable/rtw/pulls\n
52
52
  \ "
53
53
  rdoc_options: []
54
54
  require_paths: