votd 2.1.5 → 2.1.6
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.
- data/.travis.yml +1 -2
- data/CHANGELOG.md +1 -1
- data/CONTRIBUTING.md +1 -1
- data/README.md +10 -10
- data/lib/votd/helper/text.rb +2 -2
- data/lib/votd/version.rb +1 -1
- data/votd.gemspec +2 -2
- metadata +4 -7
data/.travis.yml
CHANGED
data/CHANGELOG.md
CHANGED
@@ -81,7 +81,7 @@ Changelog
|
|
81
81
|
|
82
82
|
* Refactored shared code from BibleGateway and NetBible into a Base class
|
83
83
|
and inherited from this. This makes the code base easier to manage and
|
84
|
-
extend. See the [CONTRIBUTING](https://github.com/
|
84
|
+
extend. See the [CONTRIBUTING](https://github.com/Sevenview/votd/blob/master/CONTRIBUTING.md)
|
85
85
|
page for more info on how to make use of the Base class.
|
86
86
|
* Updated docs
|
87
87
|
|
data/CONTRIBUTING.md
CHANGED
@@ -33,7 +33,7 @@ another framework.
|
|
33
33
|
Once your tests are done, work on the parsing system with your code,
|
34
34
|
and you're ready to go!
|
35
35
|
|
36
|
-
Just pop us a [Pull Request](https://github.com/
|
36
|
+
Just pop us a [Pull Request](https://github.com/Sevenview/votd/pulls)
|
37
37
|
and you're code will be overviewed and ready to go soon.
|
38
38
|
|
39
39
|
## Summary
|
data/README.md
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
# VotD - (Bible) Verse of the Day
|
2
2
|
|
3
|
-
[](http://travis-ci.org/
|
3
|
+
[](http://travis-ci.org/Sevenview/votd)
|
4
4
|
|
5
5
|
VotD (Verse of the Day) is a Ruby Gem that wraps various web services that generate
|
6
6
|
daily Bible Verses.
|
@@ -17,7 +17,7 @@ Other services are are planned:
|
|
17
17
|
|
18
18
|
* [ESV Bible Web Service](http://www.esvapi.org/) - ESV Translation
|
19
19
|
|
20
|
-
If you are able to contribute modules for any of these, please see our [CONTRIBUTING](https://github.com/
|
20
|
+
If you are able to contribute modules for any of these, please see our [CONTRIBUTING](https://github.com/Sevenview/votd/blob/master/CONTRIBUTING.md) file. Let us know before you begin work in case someone else has a module in-progress.
|
21
21
|
|
22
22
|
## Installation
|
23
23
|
|
@@ -106,7 +106,7 @@ This returns the custom formatted text, or you can call the `.to_text` method
|
|
106
106
|
when ready, and your custom text will be output.
|
107
107
|
|
108
108
|
## Command Line
|
109
|
-
For command-line usage see [here](https://github.com/
|
109
|
+
For command-line usage see [here](https://github.com/Sevenview/votd/wiki/Shell-Tool)
|
110
110
|
|
111
111
|
## Documentation
|
112
112
|
|
@@ -114,11 +114,11 @@ Documentation may be found [here](http://rubydoc.info/gems/votd/file/README.md)
|
|
114
114
|
|
115
115
|
## Source Code
|
116
116
|
|
117
|
-
Source code is available in our [GitHub repository](https://github.com/
|
117
|
+
Source code is available in our [GitHub repository](https://github.com/Sevenview/votd).
|
118
118
|
|
119
119
|
## Requests
|
120
120
|
|
121
|
-
To submit bug, feature requests, patches see our [Issues List](https://github.com/
|
121
|
+
To submit bug, feature requests, patches see our [Issues List](https://github.com/Sevenview/votd/issues) on GitHub.
|
122
122
|
|
123
123
|
## Contributing
|
124
124
|
|
@@ -129,24 +129,24 @@ To submit bug, feature requests, patches see our [Issues List](https://github.co
|
|
129
129
|
5. Push to the branch (`git push origin my-new-feature`)
|
130
130
|
6. Create new Pull Request
|
131
131
|
|
132
|
-
See more on [CONTRIBUTING](https://github.com/
|
132
|
+
See more on [CONTRIBUTING](https://github.com/Sevenview/votd/blob/master/CONTRIBUTING.md).
|
133
133
|
|
134
134
|
## Changelog
|
135
135
|
|
136
|
-
See our [CHANGELOG](https://github.com/
|
136
|
+
See our [CHANGELOG](https://github.com/Sevenview/votd/blob/master/CHANGELOG.md) file.
|
137
137
|
|
138
138
|
## TODO
|
139
139
|
|
140
|
-
See our [TODO](https://github.com/
|
140
|
+
See our [TODO](https://github.com/Sevenview/votd/blob/master/TODO.md) file.
|
141
141
|
|
142
142
|
## Authors
|
143
143
|
|
144
144
|
Christopher Clarke <beakr@ninjanizr.com>
|
145
145
|
|
146
|
-
Stephen Clarke <
|
146
|
+
Stephen Clarke <steve@sevenview.ca>
|
147
147
|
|
148
148
|
## Copyright
|
149
149
|
|
150
150
|
(The MIT License)
|
151
151
|
|
152
|
-
© 2012 Christopher Clarke, Stephen Clarke. See [LICENSE](https://github.com/
|
152
|
+
© 2012 Christopher Clarke, Stephen Clarke. See [LICENSE](https://github.com/Sevenview/votd/blob/master/LICENSE) for details.
|
data/lib/votd/helper/text.rb
CHANGED
@@ -12,14 +12,14 @@ module Votd
|
|
12
12
|
end
|
13
13
|
|
14
14
|
# Prepends '...' if first letter is not a capital letter
|
15
|
-
# @param [String] the text to process
|
15
|
+
# @param [String] text the text to process
|
16
16
|
# @return [String]
|
17
17
|
def clean_verse_start(text)
|
18
18
|
text.sub(/^([a-z])/, '...\1')
|
19
19
|
end
|
20
20
|
|
21
21
|
# Appends '...' if verse ends abruptly
|
22
|
-
# @param [String] the text to process
|
22
|
+
# @param [String] text the text to process
|
23
23
|
# @return [String]
|
24
24
|
def clean_verse_end(text)
|
25
25
|
case text
|
data/lib/votd/version.rb
CHANGED
data/votd.gemspec
CHANGED
@@ -3,9 +3,9 @@ require File.expand_path('../lib/votd/version', __FILE__)
|
|
3
3
|
|
4
4
|
Gem::Specification.new do |gem|
|
5
5
|
gem.authors = ["Steve Clarke", "Chris Clarke"]
|
6
|
-
gem.email = ["
|
6
|
+
gem.email = ["steve@sevenview.ca", "beakr@ninjanizr.com"]
|
7
7
|
gem.summary = %q{Generate a (Bible) Verse of the Day using various web service wrappers}
|
8
|
-
gem.homepage = "http://
|
8
|
+
gem.homepage = "http://sevenview.github.com/votd"
|
9
9
|
|
10
10
|
gem.files = `git ls-files`.split($\)
|
11
11
|
gem.executables = gem.files.grep(%r{^bin/}).map{ |f| File.basename(f) }
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: votd
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.1.
|
4
|
+
version: 2.1.6
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -10,7 +10,7 @@ authors:
|
|
10
10
|
autorequire:
|
11
11
|
bindir: bin
|
12
12
|
cert_chain: []
|
13
|
-
date:
|
13
|
+
date: 2013-01-24 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: httparty
|
@@ -158,7 +158,7 @@ dependencies:
|
|
158
158
|
version: '0'
|
159
159
|
description:
|
160
160
|
email:
|
161
|
-
-
|
161
|
+
- steve@sevenview.ca
|
162
162
|
- beakr@ninjanizr.com
|
163
163
|
executables:
|
164
164
|
- votd
|
@@ -215,7 +215,7 @@ files:
|
|
215
215
|
- spec/lib/votd_spec.rb
|
216
216
|
- spec/spec_helper.rb
|
217
217
|
- votd.gemspec
|
218
|
-
homepage: http://
|
218
|
+
homepage: http://sevenview.github.com/votd
|
219
219
|
licenses:
|
220
220
|
- MIT
|
221
221
|
post_install_message:
|
@@ -234,9 +234,6 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
234
234
|
- - ! '>='
|
235
235
|
- !ruby/object:Gem::Version
|
236
236
|
version: '0'
|
237
|
-
segments:
|
238
|
-
- 0
|
239
|
-
hash: -4364561933572860767
|
240
237
|
requirements: []
|
241
238
|
rubyforge_project:
|
242
239
|
rubygems_version: 1.8.24
|