votd 2.1.6 → 2.2.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: 4eced14b46eed3c5289eeb500f6529c22422bb19
4
+ data.tar.gz: 5c1dcf6de1ea31371b226abf70dad4f325efb15f
5
+ SHA512:
6
+ metadata.gz: 7477be79d25ae436862e6112875c7cfa41a446b928690244398c17538edf14e5d696de49d86f26d5eecf5088a44351cfcd88cb2cb5645443ebf42d22d79b872f
7
+ data.tar.gz: 01f29a9b550cd91bc4ead7dd6b9767aeedc6f3314ff04f8519f3ef9c061128e71e10439145c8fdca243d3b13466b94f66e4fc7b94ba3fdf325b1cbece93e6706
@@ -1,7 +1,7 @@
1
1
  language: ruby
2
2
  rvm:
3
- - 1.9.2
4
3
  - 1.9.3
4
+ - 2.0.0
5
5
  #- jruby-19mode # JRuby in 1.9 mode
6
6
  - rbx-19mode
7
7
  notifications:
@@ -1,6 +1,20 @@
1
1
  Changelog
2
2
  =========
3
3
 
4
+ 2.2.0
5
+ -----
6
+ *October 31, 2013*
7
+
8
+ * Added ESV Support (thanks [Sebastian Hirsch](https://github.com/SebastianHirsch))
9
+
10
+ 2.1.6
11
+ -----
12
+ *January 24, 2013*
13
+
14
+ * Fixed minor documentation error
15
+ * Changed repository owner on GitHub
16
+
17
+
4
18
  2.1.5
5
19
  -----
6
20
 
data/LICENSE CHANGED
@@ -1,4 +1,4 @@
1
- Copyright (c) 2012 Christopher Clarke, Stephen Clarke
1
+ Copyright (c) 2012-2013 Christopher Clarke, Stephen Clarke
2
2
 
3
3
  Permission is hereby granted, free of charge, to any person obtaining
4
4
  a copy of this software and associated documentation files (the
data/README.md CHANGED
@@ -6,16 +6,15 @@ VotD (Verse of the Day) is a Ruby Gem that wraps various web services that gener
6
6
  daily Bible Verses.
7
7
 
8
8
 
9
- Currently the gem supports two VotD web services:
9
+ Currently the gem supports three VotD web services:
10
10
 
11
11
  * [Bible.org](http://labs.bible.org) - NETBible Translation
12
12
  * [Bible Gateway](http://www.biblegateway.com) - NIV Translations (Currently only supporting the default NIV, but planning on adding more.)
13
+ * [ESV Bible Web Service](http://www.esvapi.org/) - ESV Translation
13
14
 
14
15
  Other services are are planned:
15
16
 
16
- * [Bible Gateway](http://www.biblegateway.com) - More Translations
17
-
18
- * [ESV Bible Web Service](http://www.esvapi.org/) - ESV Translation
17
+ * [Bible Gateway](http://www.biblegateway.com) - More Translations
19
18
 
20
19
  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
20
 
@@ -141,12 +140,14 @@ See our [TODO](https://github.com/Sevenview/votd/blob/master/TODO.md) file.
141
140
 
142
141
  ## Authors
143
142
 
144
- Christopher Clarke <beakr@ninjanizr.com>
143
+ Christopher Clarke <chris@seven7.ca>
145
144
 
146
145
  Stephen Clarke <steve@sevenview.ca>
147
146
 
147
+ [Sebastian Hirsch](https://github.com/SebastianHirsch) (ESV)
148
+
148
149
  ## Copyright
149
150
 
150
151
  (The MIT License)
151
152
 
152
- &copy; 2012 Christopher Clarke, Stephen Clarke. See [LICENSE](https://github.com/Sevenview/votd/blob/master/LICENSE) for details.
153
+ &copy; 2012-2013 Christopher Clarke, Stephen Clarke. See [LICENSE](https://github.com/Sevenview/votd/blob/master/LICENSE) for details.
data/TODO.md CHANGED
@@ -2,8 +2,6 @@
2
2
 
3
3
  * Update `votd` command-line version. Currently only a bare stub of an app.
4
4
 
5
- * Integrate [ESV API](http://www.esvapi.org/api)
6
-
7
5
  * Enable support for more translations from [Bible Gateway](http://www.biblegateway.com/usage/votd/docs/)
8
6
 
9
7
  * Add some kind of simple caching
@@ -13,3 +13,4 @@ require "votd/votd_error"
13
13
  require "votd/base"
14
14
  require "votd/bible_gateway"
15
15
  require "votd/netbible"
16
+ require "votd/esvbible"
@@ -0,0 +1,52 @@
1
+ require 'votd/helper/text'
2
+
3
+ module Votd
4
+ # Retrieves a Verse of the Day from http://www.gnpcb.org,
5
+ # Good News Publishers, Crossway Bibles,
6
+ # using the English Standard Version translation (ESV).
7
+ class ESVBible < Votd::Base
8
+ # The name of the Bible Translation that this module generates
9
+ BIBLE_VERSION = "ESV"
10
+
11
+ # The URI of the API gateway
12
+ URI = "http://www.gnpcb.org/esv/share/rss2.0/daily/"
13
+
14
+ # Initializes the ESVBible class
15
+ # @return [Votd::ESVBible]
16
+ def initialize
17
+ super
18
+ end
19
+
20
+ private
21
+
22
+ # Gets the votd from the Good News Publishers, Crossway Bibles,
23
+ # RSS feed
24
+ # @return [String]
25
+ def get_votd
26
+ parsed_feed = Nokogiri::XML(HTTParty.get(URI).body)
27
+ cleaned_copyright = clean_copyright(parsed_feed.xpath("//copyright").text)
28
+
29
+ @reference = parsed_feed.xpath("//title")[1].text
30
+ @text = parsed_feed.xpath("//description")[1].text
31
+ @copyright = cleaned_copyright
32
+ @version = BIBLE_VERSION
33
+
34
+ @text = Helper::Text.clean_verse_start(@text)
35
+ @text = Helper::Text.clean_verse_end(@text)
36
+ rescue => e
37
+ # use default info for VotD
38
+ set_defaults
39
+ end
40
+
41
+ # Cleans up the copyright.
42
+ # Removes:
43
+ # - Tabs, line breaks
44
+ # Inserts:
45
+ # - Missing space after commas
46
+ # @return [String]
47
+ def clean_copyright(text)
48
+ text = text.gsub(/[\t\n]/, '')
49
+ text = text.gsub(/,(?!\s)/, ', ')
50
+ end
51
+ end
52
+ end
@@ -1,4 +1,4 @@
1
1
  module Votd
2
2
  # Gem version number
3
- VERSION = "2.1.6"
3
+ VERSION = "2.2.0"
4
4
  end
@@ -0,0 +1,5 @@
1
+ <p class="votd-text">For you did not receive the spirit of slavery to fall back into fear, but you have received the Spirit of adoption as sons, by whom we cry, "Abba! Father!"</p>
2
+ <p>
3
+ <span class="votd-reference"><strong>Romans 8:15</strong></span>
4
+ <span class="votd-version"><em>(ESV)</em></span>
5
+ </p>
@@ -0,0 +1,19 @@
1
+ <rss version="2.0">
2
+ <channel>
3
+ <title>English Standard Version Bible Daily Verse</title>
4
+ <link>http://www.gnpcb.org/esv/share/rss2.0/</link>
5
+ <description>A daily verse from the ESV Bible.</description>
6
+ <webMaster>webmaster@crossway.org</webMaster>
7
+ <copyright>The Holy Bible, English Standard Version copyright 2001 by Crossway Bibles,
8
+ a publishing ministry of Good News Publishers. Used by permission. All rights reserved.
9
+ </copyright>
10
+ <ttl>1440</ttl>
11
+ <item>
12
+ <title>Romans 8:15</title>
13
+ <link>http://www.gnpcb.org/esv/search/?passage=Romans+8%3A15</link>
14
+ <guid isPermaLink="false">http://www.gnpcb.org/esv/search/?passage=Romans+8%3A15&amp;date=20131029</guid>
15
+ <pubDate>Tue, 29 Oct 2013 00:01:00 -0500</pubDate>
16
+ <description>For you did not receive the spirit of slavery to fall back into fear, but you have received the Spirit of adoption as sons, by whom we cry, &quot;Abba! Father!&quot;</description>
17
+ </item>
18
+ </channel>
19
+ </rss>
@@ -0,0 +1 @@
1
+ For you did not receive the spirit of slavery to fall back into fear, but you have received the Spirit of adoption as sons, by whom we cry, "Abba! Father!" -- Romans 8:15 (ESV)
@@ -0,0 +1 @@
1
+ <p>Romans 8:15|For you did not receive the spirit of slavery to fall back into fear, but you have received the Spirit of adoption as sons, by whom we cry, "Abba! Father!"|ESV</p>
@@ -0,0 +1 @@
1
+ Romans 8:15|For you did not receive the spirit of slavery to fall back into fear, but you have received the Spirit of adoption as sons, by whom we cry, "Abba! Father!"|ESV
@@ -0,0 +1,19 @@
1
+ <rss version="2.0">
2
+ <channel>
3
+ <title>English Standard Version Bible Daily Verse</title>
4
+ <link>http://www.gnpcb.org/esv/share/rss2.0/</link>
5
+ <description>A daily verse from the ESV Bible.</description>
6
+ <webMaster>webmaster@crossway.org</webMaster>
7
+ <copyright>The Holy Bible, English Standard Version copyright 2001 by Crossway Bibles,
8
+ a publishing ministry of Good News Publishers. Used by permission. All rights reserved.
9
+ </copyright>
10
+ <ttl>1440</ttl>
11
+ <item>
12
+ <title>Romans 8:15</title>
13
+ <link>http://www.gnpcb.org/esv/search/?passage=Romans+8%3A15</link>
14
+ <guid isPermaLink="false">http://www.gnpcb.org/esv/search/?passage=Romans+8%3A15&amp;date=20131029</guid>
15
+ <pubDate>Tue, 29 Oct 2013 00:01:00 -0500</pubDate>
16
+ <description>for you did not receive the spirit of slavery to fall back into fear, but you have received the Spirit of adoption as sons, by whom we cry, &quot;Abba! Father</description>
17
+ </item>
18
+ </channel>
19
+ </rss>
@@ -0,0 +1,115 @@
1
+ require 'spec_helper'
2
+
3
+ describe "Votd::ESVBible" do
4
+ let(:votd) { Votd::ESVBible.new }
5
+
6
+ before do
7
+ fake_a_uri(Votd::ESVBible::URI, "esvbible/esvbible.rss")
8
+ end
9
+
10
+ it "is a type of ESVBible" do
11
+ votd.should be_a(Votd::ESVBible)
12
+ end
13
+
14
+ describe ".text" do
15
+ it "returns the correct scripture verse" do
16
+ votd.text.should == "For you did not receive the spirit of slavery to fall back into fear, but you have received the Spirit of adoption as sons, by whom we cry, \"Abba! Father!\""
17
+ end
18
+ end
19
+
20
+ describe ".reference" do
21
+ it "returns the correct scripture reference" do
22
+ votd.reference.should == "Romans 8:15"
23
+ end
24
+ end
25
+
26
+ describe ".version / .translation" do
27
+ it "returns the correct bible version" do
28
+ votd.version.should == "ESV"
29
+ votd.translation.should == "ESV"
30
+ end
31
+ end
32
+
33
+ describe ".date" do
34
+ it "returns the correct date" do
35
+ votd.date.should == Date.today
36
+ end
37
+ end
38
+
39
+ describe ".copyright" do
40
+ it "returns copyright information" do
41
+ votd.copyright.should == "The Holy Bible, English Standard Version copyright 2001 by Crossway Bibles, a publishing ministry of Good News Publishers. Used by permission. All rights reserved."
42
+ end
43
+ end
44
+
45
+ describe ".to_html" do
46
+ it "returns a HTML version" do
47
+ votd.to_html.should == read_fixture("esvbible/esvbible.html")
48
+ end
49
+ end
50
+
51
+ describe ".custom_html" do
52
+ it "overrides the default .to_html formatting" do
53
+ votd.custom_html do |votd|
54
+ "<p>#{votd.reference}|#{votd.text}|#{votd.version}</p>"
55
+ end
56
+ votd.to_html.should == read_fixture("esvbible/esvbible_custom.html")
57
+ end
58
+
59
+ it "generates a VotdError when not used with a block" do
60
+ expect{votd.custom_html}.to raise_error(Votd::VotdError)
61
+ end
62
+ end
63
+
64
+ describe ".to_text" do
65
+ it "returns a text-formatted version" do
66
+ votd.to_text.should == read_fixture("esvbible/esvbible.txt")
67
+ end
68
+
69
+ it "is aliased to .to_s" do
70
+ votd.to_s.should == read_fixture("esvbible/esvbible.txt")
71
+ end
72
+ end
73
+
74
+ describe ".custom_text" do
75
+ it "overrides the default .to_text formatting" do
76
+ text_from_block = votd.custom_text do |votd|
77
+ "#{votd.reference}|#{votd.text}|#{votd.version}"
78
+ end
79
+ desired_output = read_fixture("esvbible/esvbible_custom.txt")
80
+ text_from_block.should == desired_output
81
+ votd.to_text.should == desired_output
82
+ end
83
+
84
+ it "generates a VotdError when not used with a block" do
85
+ expect{votd.custom_text}.to raise_error(Votd::VotdError)
86
+ end
87
+ end
88
+
89
+ context "When an error occurs" do
90
+ before do
91
+ fake_a_broken_uri(Votd::ESVBible::URI)
92
+ end
93
+
94
+ it "falls back to default VotD values" do
95
+ votd.version.should == Votd::Base::DEFAULT_BIBLE_VERSION
96
+ votd.reference.should == Votd::Base::DEFAULT_BIBLE_REFERENCE
97
+ votd.text.should == Votd::Base::DEFAULT_BIBLE_TEXT
98
+ end
99
+ end
100
+
101
+ context "When the text is not a proper sentence" do
102
+ before do
103
+ fake_a_uri(Votd::ESVBible::URI, "esvbible/esvbible_with_partial.rss")
104
+ end
105
+
106
+ it "prepends an ellipsis if first letter is not a capital letter" do
107
+ votd.text.should =~ /^\.{3}\w/
108
+ end
109
+
110
+ it "appends an ellipsis if last character is a letter, a comma or a semicolon" do
111
+ votd.text.should =~ /\w\.{3}$/
112
+ end
113
+ end
114
+
115
+ end
@@ -3,7 +3,7 @@ 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 = ["steve@sevenview.ca", "beakr@ninjanizr.com"]
6
+ gem.email = ["steve@sevenview.ca", "chris@seven7.ca"]
7
7
  gem.summary = %q{Generate a (Bible) Verse of the Day using various web service wrappers}
8
8
  gem.homepage = "http://sevenview.github.com/votd"
9
9
 
@@ -15,7 +15,7 @@ Gem::Specification.new do |gem|
15
15
  gem.version = Votd::VERSION
16
16
  gem.license = "MIT"
17
17
 
18
- gem.required_ruby_version = ">= 1.9.2"
18
+ gem.required_ruby_version = ">= 1.9.3"
19
19
 
20
20
  gem.add_runtime_dependency "httparty"
21
21
  gem.add_runtime_dependency "feedzirra", "~> 0.2.0.rc2"
metadata CHANGED
@@ -1,8 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: votd
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.1.6
5
- prerelease:
4
+ version: 2.2.0
6
5
  platform: ruby
7
6
  authors:
8
7
  - Steve Clarke
@@ -10,28 +9,25 @@ authors:
10
9
  autorequire:
11
10
  bindir: bin
12
11
  cert_chain: []
13
- date: 2013-01-24 00:00:00.000000000 Z
12
+ date: 2013-10-31 00:00:00.000000000 Z
14
13
  dependencies:
15
14
  - !ruby/object:Gem::Dependency
16
15
  name: httparty
17
16
  requirement: !ruby/object:Gem::Requirement
18
- none: false
19
17
  requirements:
20
- - - ! '>='
18
+ - - '>='
21
19
  - !ruby/object:Gem::Version
22
20
  version: '0'
23
21
  type: :runtime
24
22
  prerelease: false
25
23
  version_requirements: !ruby/object:Gem::Requirement
26
- none: false
27
24
  requirements:
28
- - - ! '>='
25
+ - - '>='
29
26
  - !ruby/object:Gem::Version
30
27
  version: '0'
31
28
  - !ruby/object:Gem::Dependency
32
29
  name: feedzirra
33
30
  requirement: !ruby/object:Gem::Requirement
34
- none: false
35
31
  requirements:
36
32
  - - ~>
37
33
  - !ruby/object:Gem::Version
@@ -39,7 +35,6 @@ dependencies:
39
35
  type: :runtime
40
36
  prerelease: false
41
37
  version_requirements: !ruby/object:Gem::Requirement
42
- none: false
43
38
  requirements:
44
39
  - - ~>
45
40
  - !ruby/object:Gem::Version
@@ -47,119 +42,105 @@ dependencies:
47
42
  - !ruby/object:Gem::Dependency
48
43
  name: rake
49
44
  requirement: !ruby/object:Gem::Requirement
50
- none: false
51
45
  requirements:
52
- - - ! '>='
46
+ - - '>='
53
47
  - !ruby/object:Gem::Version
54
48
  version: '0'
55
49
  type: :development
56
50
  prerelease: false
57
51
  version_requirements: !ruby/object:Gem::Requirement
58
- none: false
59
52
  requirements:
60
- - - ! '>='
53
+ - - '>='
61
54
  - !ruby/object:Gem::Version
62
55
  version: '0'
63
56
  - !ruby/object:Gem::Dependency
64
57
  name: webmock
65
58
  requirement: !ruby/object:Gem::Requirement
66
- none: false
67
59
  requirements:
68
- - - ! '>='
60
+ - - '>='
69
61
  - !ruby/object:Gem::Version
70
62
  version: '0'
71
63
  type: :development
72
64
  prerelease: false
73
65
  version_requirements: !ruby/object:Gem::Requirement
74
- none: false
75
66
  requirements:
76
- - - ! '>='
67
+ - - '>='
77
68
  - !ruby/object:Gem::Version
78
69
  version: '0'
79
70
  - !ruby/object:Gem::Dependency
80
71
  name: rspec
81
72
  requirement: !ruby/object:Gem::Requirement
82
- none: false
83
73
  requirements:
84
- - - ! '>='
74
+ - - '>='
85
75
  - !ruby/object:Gem::Version
86
76
  version: '0'
87
77
  type: :development
88
78
  prerelease: false
89
79
  version_requirements: !ruby/object:Gem::Requirement
90
- none: false
91
80
  requirements:
92
- - - ! '>='
81
+ - - '>='
93
82
  - !ruby/object:Gem::Version
94
83
  version: '0'
95
84
  - !ruby/object:Gem::Dependency
96
85
  name: guard-rspec
97
86
  requirement: !ruby/object:Gem::Requirement
98
- none: false
99
87
  requirements:
100
- - - ! '>='
88
+ - - '>='
101
89
  - !ruby/object:Gem::Version
102
90
  version: '0'
103
91
  type: :development
104
92
  prerelease: false
105
93
  version_requirements: !ruby/object:Gem::Requirement
106
- none: false
107
94
  requirements:
108
- - - ! '>='
95
+ - - '>='
109
96
  - !ruby/object:Gem::Version
110
97
  version: '0'
111
98
  - !ruby/object:Gem::Dependency
112
99
  name: guard-bundler
113
100
  requirement: !ruby/object:Gem::Requirement
114
- none: false
115
101
  requirements:
116
- - - ! '>='
102
+ - - '>='
117
103
  - !ruby/object:Gem::Version
118
104
  version: '0'
119
105
  type: :development
120
106
  prerelease: false
121
107
  version_requirements: !ruby/object:Gem::Requirement
122
- none: false
123
108
  requirements:
124
- - - ! '>='
109
+ - - '>='
125
110
  - !ruby/object:Gem::Version
126
111
  version: '0'
127
112
  - !ruby/object:Gem::Dependency
128
113
  name: yard
129
114
  requirement: !ruby/object:Gem::Requirement
130
- none: false
131
115
  requirements:
132
- - - ! '>='
116
+ - - '>='
133
117
  - !ruby/object:Gem::Version
134
118
  version: '0'
135
119
  type: :development
136
120
  prerelease: false
137
121
  version_requirements: !ruby/object:Gem::Requirement
138
- none: false
139
122
  requirements:
140
- - - ! '>='
123
+ - - '>='
141
124
  - !ruby/object:Gem::Version
142
125
  version: '0'
143
126
  - !ruby/object:Gem::Dependency
144
127
  name: redcarpet
145
128
  requirement: !ruby/object:Gem::Requirement
146
- none: false
147
129
  requirements:
148
- - - ! '>='
130
+ - - '>='
149
131
  - !ruby/object:Gem::Version
150
132
  version: '0'
151
133
  type: :development
152
134
  prerelease: false
153
135
  version_requirements: !ruby/object:Gem::Requirement
154
- none: false
155
136
  requirements:
156
- - - ! '>='
137
+ - - '>='
157
138
  - !ruby/object:Gem::Version
158
139
  version: '0'
159
140
  description:
160
141
  email:
161
142
  - steve@sevenview.ca
162
- - beakr@ninjanizr.com
143
+ - chris@seven7.ca
163
144
  executables:
164
145
  - votd
165
146
  extensions: []
@@ -181,6 +162,7 @@ files:
181
162
  - lib/votd.rb
182
163
  - lib/votd/base.rb
183
164
  - lib/votd/bible_gateway.rb
165
+ - lib/votd/esvbible.rb
184
166
  - lib/votd/helper/command_line.rb
185
167
  - lib/votd/helper/helper.rb
186
168
  - lib/votd/helper/text.rb
@@ -197,6 +179,12 @@ files:
197
179
  - spec/fixtures/bible_gateway/bible_gateway_custom.html
198
180
  - spec/fixtures/bible_gateway/bible_gateway_custom.txt
199
181
  - spec/fixtures/bible_gateway/bible_gateway_with_partial.rss
182
+ - spec/fixtures/esvbible/esvbible.html
183
+ - spec/fixtures/esvbible/esvbible.rss
184
+ - spec/fixtures/esvbible/esvbible.txt
185
+ - spec/fixtures/esvbible/esvbible_custom.html
186
+ - spec/fixtures/esvbible/esvbible_custom.txt
187
+ - spec/fixtures/esvbible/esvbible_with_partial.rss
200
188
  - spec/fixtures/netbible/netbible.html
201
189
  - spec/fixtures/netbible/netbible.json
202
190
  - spec/fixtures/netbible/netbible.txt
@@ -206,6 +194,7 @@ files:
206
194
  - spec/fixtures/netbible/netbible_with_partial.json
207
195
  - spec/lib/votd/base_spec.rb
208
196
  - spec/lib/votd/bible_gateway_spec.rb
197
+ - spec/lib/votd/esvbible_spec.rb
209
198
  - spec/lib/votd/helper/command_line_spec.rb
210
199
  - spec/lib/votd/helper/helper_spec.rb
211
200
  - spec/lib/votd/helper/text_spec.rb
@@ -218,27 +207,26 @@ files:
218
207
  homepage: http://sevenview.github.com/votd
219
208
  licenses:
220
209
  - MIT
210
+ metadata: {}
221
211
  post_install_message:
222
212
  rdoc_options: []
223
213
  require_paths:
224
214
  - lib
225
215
  required_ruby_version: !ruby/object:Gem::Requirement
226
- none: false
227
216
  requirements:
228
- - - ! '>='
217
+ - - '>='
229
218
  - !ruby/object:Gem::Version
230
- version: 1.9.2
219
+ version: 1.9.3
231
220
  required_rubygems_version: !ruby/object:Gem::Requirement
232
- none: false
233
221
  requirements:
234
- - - ! '>='
222
+ - - '>='
235
223
  - !ruby/object:Gem::Version
236
224
  version: '0'
237
225
  requirements: []
238
226
  rubyforge_project:
239
- rubygems_version: 1.8.24
227
+ rubygems_version: 2.0.6
240
228
  signing_key:
241
- specification_version: 3
229
+ specification_version: 4
242
230
  summary: Generate a (Bible) Verse of the Day using various web service wrappers
243
231
  test_files:
244
232
  - spec/fixtures/base/base.html
@@ -251,6 +239,12 @@ test_files:
251
239
  - spec/fixtures/bible_gateway/bible_gateway_custom.html
252
240
  - spec/fixtures/bible_gateway/bible_gateway_custom.txt
253
241
  - spec/fixtures/bible_gateway/bible_gateway_with_partial.rss
242
+ - spec/fixtures/esvbible/esvbible.html
243
+ - spec/fixtures/esvbible/esvbible.rss
244
+ - spec/fixtures/esvbible/esvbible.txt
245
+ - spec/fixtures/esvbible/esvbible_custom.html
246
+ - spec/fixtures/esvbible/esvbible_custom.txt
247
+ - spec/fixtures/esvbible/esvbible_with_partial.rss
254
248
  - spec/fixtures/netbible/netbible.html
255
249
  - spec/fixtures/netbible/netbible.json
256
250
  - spec/fixtures/netbible/netbible.txt
@@ -260,6 +254,7 @@ test_files:
260
254
  - spec/fixtures/netbible/netbible_with_partial.json
261
255
  - spec/lib/votd/base_spec.rb
262
256
  - spec/lib/votd/bible_gateway_spec.rb
257
+ - spec/lib/votd/esvbible_spec.rb
263
258
  - spec/lib/votd/helper/command_line_spec.rb
264
259
  - spec/lib/votd/helper/helper_spec.rb
265
260
  - spec/lib/votd/helper/text_spec.rb