biblesearch-api 1.1.0 → 1.2.0
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.
- checksums.yaml +4 -4
- data/.gitignore +2 -1
- data/HISTORY.md +1 -0
- data/README.md +25 -7
- data/Rakefile +5 -6
- data/biblesearch-api.gemspec +1 -1
- data/lib/biblesearch-api.rb +1 -1
- data/lib/biblesearch-api/client_version.rb +1 -1
- data/spec/README.md +5 -1
- data/spec/cassettes/endpoint-chapters_spec-test_0001_doesn_t_raise_an_ArgumentError.yml +385 -0
- data/spec/cassettes/endpoint-chapters_spec-test_0001_has_a_chapter_value.yml +102 -0
- data/spec/cassettes/endpoint-chapters_spec-test_0001_returns_nil.yml +389 -0
- data/spec/cassettes/endpoint-chapters_spec-test_0001_returns_the_same_thing_as_the_equivalent_string_sig.yml +204 -0
- data/spec/cassettes/endpoint-chapters_spec-test_0002_has_verses.yml +102 -0
- data/spec/cassettes/endpoint-chapters_spec-test_0003_can_be_requested_without_marginalia.yml +102 -0
- data/spec/cassettes/endpoint-verses_spec-test_0001_doesn_t_raise_an_ArgumentError.yml +54 -0
- data/spec/cassettes/endpoint-verses_spec-test_0001_has_a_verse_value.yml +55 -0
- data/spec/cassettes/endpoint-verses_spec-test_0001_returns_nil.yml +389 -0
- data/spec/cassettes/endpoint-verses_spec-test_0001_returns_the_same_thing_as_the_equivalent_string_sig.yml +110 -0
- data/spec/cassettes/fumsify_for_all_endpoints_spec-test_0001_has_real_fums_for_all_valid_requests.yml +157 -0
- metadata +29 -23
|
@@ -104,4 +104,114 @@ http_interactions:
|
|
|
104
104
|
\/>"}}}'
|
|
105
105
|
http_version:
|
|
106
106
|
recorded_at: Tue, 15 Oct 2013 20:57:32 GMT
|
|
107
|
+
- request:
|
|
108
|
+
method: get
|
|
109
|
+
uri: http://<%= api_key %>:X@bibles.org/v2/verses/eng-GNTD:Acts.8.34.js
|
|
110
|
+
body:
|
|
111
|
+
encoding: US-ASCII
|
|
112
|
+
string: ''
|
|
113
|
+
headers: {}
|
|
114
|
+
response:
|
|
115
|
+
status:
|
|
116
|
+
code: 200
|
|
117
|
+
message: OK
|
|
118
|
+
headers:
|
|
119
|
+
Server:
|
|
120
|
+
- nginx/1.4.7
|
|
121
|
+
Date:
|
|
122
|
+
- Sun, 12 Oct 2014 22:16:27 GMT
|
|
123
|
+
Content-Type:
|
|
124
|
+
- application/javascript
|
|
125
|
+
Content-Length:
|
|
126
|
+
- '1804'
|
|
127
|
+
Connection:
|
|
128
|
+
- keep-alive
|
|
129
|
+
X-Powered-By:
|
|
130
|
+
- PHP/5.3.29
|
|
131
|
+
Set-Cookie:
|
|
132
|
+
- abs_session=AIjNR0h%2FVB4L2zuGOpiEK%2FCnxauLWdW%2FEfNRQD8OIRi%2F%2F%2FmuiAOMMr2%2BqLIKNlsoj8VLmSYL%2FAItG80eeZtkAE1FOcK8Y2G13QEMvFEAGSsJENsxvc9ooHG%2FITd5RK8p%2Fv2LUYDqGqNb6gUmjZkkboF5m82WSasva4Z%2B%2FxsztlEZw%2FeI68NfaRYp%2B%2BY3tudcW%2FVMxDO6XYa5BtaOHVRoPIrHqcKz6l9PgNZ0itkdFf76f%2F%2Flb9zdUZL84zreVDn%2Ble8Tt8ATQ94kS3nrPVf%2BkrGzOe86gi2bsg56ID20YRIqdmtjvXI6cudFaDYN5%2B%2BQQqWCDEJV%2FwMCLZoL675UXmhfahZECo8vfwla8%2F6hFGgyFqNMrsg8FL0WO%2FQ3TSco;
|
|
133
|
+
expires=Wed, 09-Oct-2024 22:16:29 GMT; path=/; domain=.bibles.org
|
|
134
|
+
- abs_session=qnwsiqkHGYfXBjs9CT6hRFTNBjKuRpoI56ypj5fYTIEIEaEUTS0whWec80s8ODrs0F1egnDbxlE%2BzUczKGlpd3BgwTg87EXd1Xr1YPGFTHprEX%2B6WSRtCcUBvwvIywTKTtXf2zY2h4XFnU9CxIKflNIBxNpRocjGmmNbQNW0vDbOEFxZJlyr9SqcVzp8Lx%2FCYiuCpNs4i5%2B3cGDlbPT7X%2B74i8e%2F00%2F6vuhRygnZmEmNPUUgZrwzPo%2B8ye6Ut7K7tKpN9TFyOd3dyft7micrLKi4R1Dg2xs%2F7oa8CGEedwc%3D;
|
|
135
|
+
expires=Wed, 09-Oct-2024 22:16:29 GMT; path=/; domain=.bibles.org
|
|
136
|
+
- abs_uid=c424752a031f72a9dfef4f3fe8027529115638eb; expires=Wed, 09-Oct-2024
|
|
137
|
+
22:16:29 GMT; path=/; domain=.bibles.org
|
|
138
|
+
P3p:
|
|
139
|
+
- CP="IEFIX"
|
|
140
|
+
body:
|
|
141
|
+
encoding: US-ASCII
|
|
142
|
+
string: ! '{"response":{"verses":[{"auditid":"0","verse":"34","lastverse":"34","id":"eng-GNTD:Acts.8.34","osis_end":"eng-GNTD:Acts.8.34","label":"","reference":"Acts
|
|
143
|
+
8:34","prev_osis_id":"Acts.008.033,eng-GNTD","next_osis_id":"Acts.008.035,eng-GNTD","text":"<p
|
|
144
|
+
class=\"p\"><sup id=\"Acts.8.34\" class=\"v\">34<\/sup>The official asked
|
|
145
|
+
Philip, \u201cTell me, of whom is the prophet saying this? Of himself or of
|
|
146
|
+
someone else?\u201d<\/p>","parent":{"chapter":{"path":"\/chapters\/eng-GNTD:Acts.8","name":"Acts
|
|
147
|
+
8","id":"eng-GNTD:Acts.8"}},"next":{"verse":{"path":"\/verses\/eng-GNTD:Acts.8.35","name":"Acts
|
|
148
|
+
8:35","id":"eng-GNTD:Acts.8.35"}},"previous":{"verse":{"path":"\/verses\/eng-GNTD:Acts.8.32","name":"Acts
|
|
149
|
+
8:32","id":"eng-GNTD:Acts.8.32"}},"copyright":"<p>Good News Translation (Today’s
|
|
150
|
+
English Version, Second Edition) © 1992 American Bible Society. All rights
|
|
151
|
+
reserved.<\/p>"}],"meta":{"fums":"<script>\nvar _BAPI=_BAPI||{};\nif(typeof(_BAPI.t)===''undefined''){\ndocument.write(''\\x3Cscript
|
|
152
|
+
src=\"''+document.location.protocol+''\/\/d2ue49q0mum86x.cloudfront.net\/include\/fums.c.js\"\\x3E\\x3C\/script\\x3E'');}\ndocument.write(\"\\x3Cscript\\x3E_BAPI.t(''543afdbd1608f3.62481875'');\\x3C\/script\\x3E\");\n<\/script><noscript><img
|
|
153
|
+
src=\"https:\/\/d3a2okcloueqyx.cloudfront.net\/nf1?t=543afdbd1608f3.62481875\"
|
|
154
|
+
height=\"1\" width=\"1\" border=\"0\" alt=\"\" style=\"height: 0; width: 0;\"
|
|
155
|
+
\/><\/noscript>","fums_tid":"543afdbd1608f3.62481875","fums_js_include":"d2ue49q0mum86x.cloudfront.net\/include\/fums.c.js","fums_js":"var
|
|
156
|
+
_BAPI=_BAPI||{};if(typeof(_BAPI.t)!=''undefined''){ _BAPI.t(''543afdbd1608f3.62481875'');
|
|
157
|
+
}","fums_noscript":"<img src=\"https:\/\/d3a2okcloueqyx.cloudfront.net\/nf1?t=543afdbd1608f3.62481875\"
|
|
158
|
+
height=\"1\" width=\"1\" border=\"0\" alt=\"\" style=\"height: 0; width: 0;\"
|
|
159
|
+
\/>"}}}'
|
|
160
|
+
http_version:
|
|
161
|
+
recorded_at: Sun, 12 Oct 2014 22:16:29 GMT
|
|
162
|
+
- request:
|
|
163
|
+
method: get
|
|
164
|
+
uri: http://<%= api_key %>:X@bibles.org/v2/verses/eng-GNTD:Acts.8.34.js
|
|
165
|
+
body:
|
|
166
|
+
encoding: US-ASCII
|
|
167
|
+
string: ''
|
|
168
|
+
headers: {}
|
|
169
|
+
response:
|
|
170
|
+
status:
|
|
171
|
+
code: 200
|
|
172
|
+
message: OK
|
|
173
|
+
headers:
|
|
174
|
+
Server:
|
|
175
|
+
- nginx/1.4.7
|
|
176
|
+
Date:
|
|
177
|
+
- Sun, 12 Oct 2014 22:16:27 GMT
|
|
178
|
+
Content-Type:
|
|
179
|
+
- application/javascript
|
|
180
|
+
Content-Length:
|
|
181
|
+
- '1804'
|
|
182
|
+
Connection:
|
|
183
|
+
- keep-alive
|
|
184
|
+
X-Powered-By:
|
|
185
|
+
- PHP/5.3.29
|
|
186
|
+
Set-Cookie:
|
|
187
|
+
- abs_session=kpSzekD0HleYiJypR0x3Qi42%2Fvs8AMEPnOXwrq9txXkE7WpQKgnnu9w8LVXws5i2XANmeCEJTKLZu4l1RPXjUnwcy%2BLG3tJPTiye8QKhyaIbs3UwP%2BCCsLD7KBhMPTYd5%2FXS4zCCvzkV6wspGcTnnplC8Zt%2F8qBPrFVUe9gdsuEKhLaHt8TbxnLq4K%2BI%2FN3nudECuNG5VIc3VYvn0CE4oYd4BwnEEKCoPMrKqe9lbMzQNV4pijdq%2FXl6gVztD4S41mDU0QFiqV3xON5Bpq1CAVNWtunR19TYMnaP%2Bu4g9H4FQ%2BkFIOBk0RE2YMsIYqirsisN38UL21nUjtZXC%2Bw3Umb6UAq316hpEXVqWHoh2ggfnFYCOdlPUaXxu706%2F88x;
|
|
188
|
+
expires=Wed, 09-Oct-2024 22:16:29 GMT; path=/; domain=.bibles.org
|
|
189
|
+
- abs_session=v%2B2USZEm7%2FF2s2o1f6F9MjNea5LMQU0kaexzn%2BAKRNXmqu8VwkYtsFPQqWg1VtcYzrK8C3i%2BrvfhVASsxSnB6C8k6j0V5b9CaAY8d5QDOb6LISm%2FsmSPZxSA3N9rG8M%2BTq1PpSOrGs306Rid82BcWAVTQd1RWQsY25y0cdORsuspZUfZIvAyGLAicc3puzqE%2Bj5U0FDgi4nwMsgx5ggIk6zvaIVPbX%2FvWy6gYPFPgk5mqng83EimMUCYL8skND22s9qSlqKCy%2BKI47CleAAk8qCYZ9fbsCJw6w0HPMhT358%3D;
|
|
190
|
+
expires=Wed, 09-Oct-2024 22:16:29 GMT; path=/; domain=.bibles.org
|
|
191
|
+
- abs_uid=1ec9563e93e2052bf6d38748e15b15bb53b0bc31; expires=Wed, 09-Oct-2024
|
|
192
|
+
22:16:29 GMT; path=/; domain=.bibles.org
|
|
193
|
+
P3p:
|
|
194
|
+
- CP="IEFIX"
|
|
195
|
+
body:
|
|
196
|
+
encoding: US-ASCII
|
|
197
|
+
string: ! '{"response":{"verses":[{"auditid":"0","verse":"34","lastverse":"34","id":"eng-GNTD:Acts.8.34","osis_end":"eng-GNTD:Acts.8.34","label":"","reference":"Acts
|
|
198
|
+
8:34","prev_osis_id":"Acts.008.033,eng-GNTD","next_osis_id":"Acts.008.035,eng-GNTD","text":"<p
|
|
199
|
+
class=\"p\"><sup id=\"Acts.8.34\" class=\"v\">34<\/sup>The official asked
|
|
200
|
+
Philip, \u201cTell me, of whom is the prophet saying this? Of himself or of
|
|
201
|
+
someone else?\u201d<\/p>","parent":{"chapter":{"path":"\/chapters\/eng-GNTD:Acts.8","name":"Acts
|
|
202
|
+
8","id":"eng-GNTD:Acts.8"}},"next":{"verse":{"path":"\/verses\/eng-GNTD:Acts.8.35","name":"Acts
|
|
203
|
+
8:35","id":"eng-GNTD:Acts.8.35"}},"previous":{"verse":{"path":"\/verses\/eng-GNTD:Acts.8.32","name":"Acts
|
|
204
|
+
8:32","id":"eng-GNTD:Acts.8.32"}},"copyright":"<p>Good News Translation (Today’s
|
|
205
|
+
English Version, Second Edition) © 1992 American Bible Society. All rights
|
|
206
|
+
reserved.<\/p>"}],"meta":{"fums":"<script>\nvar _BAPI=_BAPI||{};\nif(typeof(_BAPI.t)===''undefined''){\ndocument.write(''\\x3Cscript
|
|
207
|
+
src=\"''+document.location.protocol+''\/\/d2ue49q0mum86x.cloudfront.net\/include\/fums.c.js\"\\x3E\\x3C\/script\\x3E'');}\ndocument.write(\"\\x3Cscript\\x3E_BAPI.t(''543afdbdb4bcf2.01751549'');\\x3C\/script\\x3E\");\n<\/script><noscript><img
|
|
208
|
+
src=\"https:\/\/d3a2okcloueqyx.cloudfront.net\/nf1?t=543afdbdb4bcf2.01751549\"
|
|
209
|
+
height=\"1\" width=\"1\" border=\"0\" alt=\"\" style=\"height: 0; width: 0;\"
|
|
210
|
+
\/><\/noscript>","fums_tid":"543afdbdb4bcf2.01751549","fums_js_include":"d2ue49q0mum86x.cloudfront.net\/include\/fums.c.js","fums_js":"var
|
|
211
|
+
_BAPI=_BAPI||{};if(typeof(_BAPI.t)!=''undefined''){ _BAPI.t(''543afdbdb4bcf2.01751549'');
|
|
212
|
+
}","fums_noscript":"<img src=\"https:\/\/d3a2okcloueqyx.cloudfront.net\/nf1?t=543afdbdb4bcf2.01751549\"
|
|
213
|
+
height=\"1\" width=\"1\" border=\"0\" alt=\"\" style=\"height: 0; width: 0;\"
|
|
214
|
+
\/>"}}}'
|
|
215
|
+
http_version:
|
|
216
|
+
recorded_at: Sun, 12 Oct 2014 22:16:30 GMT
|
|
107
217
|
recorded_with: VCR 2.6.0
|
|
@@ -1033,4 +1033,161 @@ http_interactions:
|
|
|
1033
1033
|
\/>"}}}'
|
|
1034
1034
|
http_version:
|
|
1035
1035
|
recorded_at: Tue, 15 Oct 2013 20:58:06 GMT
|
|
1036
|
+
- request:
|
|
1037
|
+
method: get
|
|
1038
|
+
uri: http://<%= api_key %>:X@bibles.org/v2/chapters/eng-GNTD:2Tim.1.js
|
|
1039
|
+
body:
|
|
1040
|
+
encoding: US-ASCII
|
|
1041
|
+
string: ''
|
|
1042
|
+
headers: {}
|
|
1043
|
+
response:
|
|
1044
|
+
status:
|
|
1045
|
+
code: 200
|
|
1046
|
+
message: OK
|
|
1047
|
+
headers:
|
|
1048
|
+
Server:
|
|
1049
|
+
- nginx/1.4.7
|
|
1050
|
+
Date:
|
|
1051
|
+
- Sun, 12 Oct 2014 22:16:33 GMT
|
|
1052
|
+
Content-Type:
|
|
1053
|
+
- application/javascript
|
|
1054
|
+
Content-Length:
|
|
1055
|
+
- '5639'
|
|
1056
|
+
Connection:
|
|
1057
|
+
- keep-alive
|
|
1058
|
+
X-Powered-By:
|
|
1059
|
+
- PHP/5.3.29
|
|
1060
|
+
Set-Cookie:
|
|
1061
|
+
- abs_session=SUjkBy8xBCNLl2T8RULlNv%2BkP%2F7CFeBzFA%2BWSOJaXKPubYyOTNnSGfjNDxKFAOc%2BLUutGdEsco8bGoriUxqP8Hy467I9rWEymXFAmI9REXd5MDy9PpVrxbYYpLJtX5eVlNm4KbGbEOgQY3d1DSGPaSuA%2F5SSNKopnsqbdIoECsCu3SJF8eCbHV9d2BOVYbIt7OwxL83SeSzq23yL4FrWQrl9wENUen2KTQPeabsEdENAtupbuWL3487pG%2FKsWJuxnBAyCrjivW900EECf1COJhlRV7sOuRGfsI4QVrVrS7lPEtyFyyCBdZNIwau7XnpeIuukWBcmARhnJi8SosznnMkiYkBAzsurxOsX1UfxsjgchRATicvITywbyHN2UBkd;
|
|
1062
|
+
expires=Wed, 09-Oct-2024 22:16:35 GMT; path=/; domain=.bibles.org
|
|
1063
|
+
- abs_session=guA6bhv99VKHhU8%2FpKIxABqJTrVoNgoDX6N1pwuwyXURG2M7%2Fz69dxKXxv5zWctEe21oTWCMOGiDsHBVQg8i9sd0gf1VffK5FT7iBs6sSH3z1YTZ55tlNfYPOLJN3sOIpttq1Y2mMC6cRnduUDanHYdD4VXd44q5dyIBcVNC5XNIhVb1DvvUZIp6GB5ldQNMMbRxJUP2bSRULXHmNJ3BqMJNU%2Fch6VEP3kpcksLxyqT%2B%2F7WvDCI1Vt5kXfMxv1GIjDFYiIelgdsySH2SyzRLy9z4CUM1KAiHcUdEGdJHl7g%3D;
|
|
1064
|
+
expires=Wed, 09-Oct-2024 22:16:35 GMT; path=/; domain=.bibles.org
|
|
1065
|
+
- abs_uid=7f4dc85f71de770ab11f843771ea60bbbc2b1537; expires=Wed, 09-Oct-2024
|
|
1066
|
+
22:16:35 GMT; path=/; domain=.bibles.org
|
|
1067
|
+
P3p:
|
|
1068
|
+
- CP="IEFIX"
|
|
1069
|
+
body:
|
|
1070
|
+
encoding: US-ASCII
|
|
1071
|
+
string: ! '{"response":{"chapters":[{"auditid":"0","label":"","text":"<div id=\"2Tim.1\"
|
|
1072
|
+
class=\"chapter\">\n<p class=\"p\"><span class=\"v55_1_1\"><sup id=\"2Tim.1.1\"
|
|
1073
|
+
class=\"v55_1_1\">1<\/sup>From Paul, an apostle of Christ Jesus by God''s
|
|
1074
|
+
will, sent to proclaim the promised life which we have in union with Christ
|
|
1075
|
+
Jesus\u2014<\/span><\/p>\n<p class=\"p\"><span class=\"v55_1_2\"><sup id=\"2Tim.1.2\"
|
|
1076
|
+
class=\"v55_1_2\">2<\/sup> To Timothy, my dear son:<\/span><\/p>\n<p class=\"p\"><span
|
|
1077
|
+
class=\"v55_1_2\">May God the Father and Christ Jesus our Lord give you grace,
|
|
1078
|
+
mercy, and peace.<\/span><\/p>\n<h3 class=\"s\">Thanksgiving and Encouragement<\/h3>\n<p
|
|
1079
|
+
class=\"p\"><span class=\"v55_1_3\"><sup id=\"2Tim.1.3\" class=\"v55_1_3\">3<\/sup>I
|
|
1080
|
+
give thanks to God, whom I serve with a clear conscience, as my ancestors
|
|
1081
|
+
did. I thank him as I remember you always in my prayers night and day. <\/span><span
|
|
1082
|
+
class=\"v55_1_4\"><sup id=\"2Tim.1.4\" class=\"v55_1_4\">4<\/sup>I remember
|
|
1083
|
+
your tears, and I want to see you very much, so that I may be filled with
|
|
1084
|
+
joy. <\/span><span class=\"v55_1_5\"><sup id=\"2Tim.1.5\" class=\"v55_1_5\">5<\/sup>
|
|
1085
|
+
I remember the sincere faith you have, the kind of faith that your grandmother
|
|
1086
|
+
Lois and your mother Eunice also had. I am sure that you have it also. <\/span><span
|
|
1087
|
+
class=\"v55_1_6\"><sup id=\"2Tim.1.6\" class=\"v55_1_6\">6<\/sup>For this
|
|
1088
|
+
reason I remind you to keep alive the gift that God gave you when I laid my
|
|
1089
|
+
hands on you. <\/span><span class=\"v55_1_7\"><sup id=\"2Tim.1.7\" class=\"v55_1_7\">7<\/sup>For
|
|
1090
|
+
the Spirit that God has given us does not make us timid; instead, his Spirit
|
|
1091
|
+
fills us with power, love, and self-control.<\/span><\/p>\n<p class=\"p\"><span
|
|
1092
|
+
class=\"v55_1_8\"><sup id=\"2Tim.1.8\" class=\"v55_1_8\">8<\/sup>Do not be
|
|
1093
|
+
ashamed, then, of witnessing for our Lord; neither be ashamed of me, a prisoner
|
|
1094
|
+
for Christ''s sake. Instead, take your part in suffering for the Good News,
|
|
1095
|
+
as God gives you the strength for it. <\/span><span class=\"v55_1_9\"><sup
|
|
1096
|
+
id=\"2Tim.1.9\" class=\"v55_1_9\">9<\/sup>He saved us and called us to be
|
|
1097
|
+
his own people, not because of what we have done, but because of his own purpose
|
|
1098
|
+
and grace. He gave us this grace by means of Christ Jesus before the beginning
|
|
1099
|
+
of time, <\/span><span class=\"v55_1_10\"><sup id=\"2Tim.1.10\" class=\"v55_1_10\">10<\/sup>but
|
|
1100
|
+
now it has been revealed to us through the coming of our Savior, Christ Jesus.
|
|
1101
|
+
He has ended the power of death and through the gospel has revealed immortal
|
|
1102
|
+
life.<\/span><\/p>\n<p class=\"p\"><span class=\"v55_1_11\"><sup id=\"2Tim.1.11\"
|
|
1103
|
+
class=\"v55_1_11\">11<\/sup> God has appointed me as an apostle and teacher
|
|
1104
|
+
to proclaim the Good News, <\/span><span class=\"v55_1_12\"><sup id=\"2Tim.1.12\"
|
|
1105
|
+
class=\"v55_1_12\">12<\/sup>and it is for this reason that I suffer these
|
|
1106
|
+
things. But I am still full of confidence, because I know whom I have trusted,
|
|
1107
|
+
and I am sure that he is able to keep safe until that Day what he has entrusted
|
|
1108
|
+
to me. <\/span><span class=\"v55_1_13\"><sup id=\"2Tim.1.13\" class=\"v55_1_13\">13<\/sup>Hold
|
|
1109
|
+
firmly to the true words that I taught you, as the example for you to follow,
|
|
1110
|
+
and remain in the faith and love that are ours in union with Christ Jesus.
|
|
1111
|
+
<\/span><span class=\"v55_1_14\"><sup id=\"2Tim.1.14\" class=\"v55_1_14\">14<\/sup>Through
|
|
1112
|
+
the power of the Holy Spirit, who lives in us, keep the good things that have
|
|
1113
|
+
been entrusted to you.<\/span><\/p>\n<p class=\"p\"><span class=\"v55_1_15\"><sup
|
|
1114
|
+
id=\"2Tim.1.15\" class=\"v55_1_15\">15<\/sup>You know that everyone in the
|
|
1115
|
+
province of Asia, including Phygelus and Hermogenes, has deserted me. <\/span><span
|
|
1116
|
+
class=\"v55_1_16\"><sup id=\"2Tim.1.16\" class=\"v55_1_16\">16<\/sup>May the
|
|
1117
|
+
Lord show mercy to the family of Onesiphorus, because he cheered me up many
|
|
1118
|
+
times. He was not ashamed that I am in prison, <\/span><span class=\"v55_1_17\"><sup
|
|
1119
|
+
id=\"2Tim.1.17\" class=\"v55_1_17\">17<\/sup>but as soon as he arrived in
|
|
1120
|
+
Rome, he started looking for me until he found me. <\/span><span class=\"v55_1_18\"><sup
|
|
1121
|
+
id=\"2Tim.1.18\" class=\"v55_1_18\">18<\/sup>May the Lord grant him his mercy
|
|
1122
|
+
on that Day! And you know very well how much he did for me in Ephesus.<\/span><\/p>\n<\/div>\n","chapter":"1","id":"eng-GNTD:2Tim.1","osis_end":"eng-GNTD:2Tim.1.18","parent":{"book":{"path":"\/books\/eng-GNTD:2Tim","name":"2
|
|
1123
|
+
Timothy","id":"eng-GNTD:2Tim"}},"next":{"chapter":{"path":"\/chapters\/eng-GNTD:2Tim.2","name":"2
|
|
1124
|
+
Timothy 2","id":"eng-GNTD:2Tim.2"}},"previous":{"chapter":{"path":"\/chapters\/eng-GNTD:2Tim.int","name":"2
|
|
1125
|
+
Timothy int","id":"eng-GNTD:2Tim.int"}},"copyright":"<p>Good News Translation
|
|
1126
|
+
(Today’s English Version, Second Edition) © 1992 American Bible
|
|
1127
|
+
Society. All rights reserved.<\/p>"}],"meta":{"fums":"<script>\nvar _BAPI=_BAPI||{};\nif(typeof(_BAPI.t)===''undefined''){\ndocument.write(''\\x3Cscript
|
|
1128
|
+
src=\"''+document.location.protocol+''\/\/d2ue49q0mum86x.cloudfront.net\/include\/fums.c.js\"\\x3E\\x3C\/script\\x3E'');}\ndocument.write(\"\\x3Cscript\\x3E_BAPI.t(''543afdc3776e06.25791024'');\\x3C\/script\\x3E\");\n<\/script><noscript><img
|
|
1129
|
+
src=\"https:\/\/d3a2okcloueqyx.cloudfront.net\/nf1?t=543afdc3776e06.25791024\"
|
|
1130
|
+
height=\"1\" width=\"1\" border=\"0\" alt=\"\" style=\"height: 0; width: 0;\"
|
|
1131
|
+
\/><\/noscript>","fums_tid":"543afdc3776e06.25791024","fums_js_include":"d2ue49q0mum86x.cloudfront.net\/include\/fums.c.js","fums_js":"var
|
|
1132
|
+
_BAPI=_BAPI||{};if(typeof(_BAPI.t)!=''undefined''){ _BAPI.t(''543afdc3776e06.25791024'');
|
|
1133
|
+
}","fums_noscript":"<img src=\"https:\/\/d3a2okcloueqyx.cloudfront.net\/nf1?t=543afdc3776e06.25791024\"
|
|
1134
|
+
height=\"1\" width=\"1\" border=\"0\" alt=\"\" style=\"height: 0; width: 0;\"
|
|
1135
|
+
\/>"}}}'
|
|
1136
|
+
http_version:
|
|
1137
|
+
recorded_at: Sun, 12 Oct 2014 22:16:36 GMT
|
|
1138
|
+
- request:
|
|
1139
|
+
method: get
|
|
1140
|
+
uri: http://<%= api_key %>:X@bibles.org/v2/verses/eng-GNTD:Acts.8.34.js
|
|
1141
|
+
body:
|
|
1142
|
+
encoding: US-ASCII
|
|
1143
|
+
string: ''
|
|
1144
|
+
headers: {}
|
|
1145
|
+
response:
|
|
1146
|
+
status:
|
|
1147
|
+
code: 200
|
|
1148
|
+
message: OK
|
|
1149
|
+
headers:
|
|
1150
|
+
Server:
|
|
1151
|
+
- nginx/1.4.7
|
|
1152
|
+
Date:
|
|
1153
|
+
- Sun, 12 Oct 2014 22:16:34 GMT
|
|
1154
|
+
Content-Type:
|
|
1155
|
+
- application/javascript
|
|
1156
|
+
Content-Length:
|
|
1157
|
+
- '1804'
|
|
1158
|
+
Connection:
|
|
1159
|
+
- keep-alive
|
|
1160
|
+
X-Powered-By:
|
|
1161
|
+
- PHP/5.3.29
|
|
1162
|
+
Set-Cookie:
|
|
1163
|
+
- abs_session=sVRTaONEBSjhVPKEwb%2BA89G6aLEkWbGtPjjGL%2BkhCqojCjeiCO%2Fi4rLO8knorXG3Xi8UXAy3V57JKSvlKkAiRef0%2F5PxeBulltL14vFQagy06yTx9%2BT1z6f3XrRDe2uhlo3htbvukGrYL51XyxV0v8TzF0l7EwEQKSKQ7twrac9IsXZt6N8370uV%2BhniwftN5TPC64CvfcVNzLIwvYgkdTKGjgfCH2KwlP4B0IZf5xChvaAL6Vwqo2NF12%2FSUQGwTToRF9It3tnskyhVHNLNgC4hTwdPOL7lpWtQ9cd34cA%3D;
|
|
1164
|
+
expires=Wed, 09-Oct-2024 22:16:36 GMT; path=/; domain=.bibles.org
|
|
1165
|
+
- abs_session=wWCyIxiMBxLdUkO3p1H8UvGfDP0GssW79NA3fsVoQv33WqQMav%2BnH5ziBat1xPt8hYTjDLMSxZ0plsK3C0AzuUtLXnz8nqirK6przirjnjoIU7hgnMgOz1o2jEEfC0xSTNfa%2FrBCqJcep%2F%2B9g%2Fh0g46Z%2BEdA8E47dvNOWBAHThmzDKSnsrV9RwM5VsSb0yJaqQdg4Hk3soqsmSoUuSn0loKboXs74fC5xz0%2B9mf9uxst0bfCxjSlPVWUH7zVm%2FhW44eyaK1NXpfc4sXJ7VrH9UloivZ1yBnA4Zpnd%2FqkBm8gP10pyrLPUqIFJD9KZLScmBhofJ6BoWyfdFViVVgIm44NCsrdAVu%2Bcrc6nyPq63NMZrBKH8oZUNQb0EqqmYZ2;
|
|
1166
|
+
expires=Wed, 09-Oct-2024 22:16:36 GMT; path=/; domain=.bibles.org
|
|
1167
|
+
- abs_uid=9eb26442951bee4a77b4547f5dfe800f80831b95; expires=Wed, 09-Oct-2024
|
|
1168
|
+
22:16:36 GMT; path=/; domain=.bibles.org
|
|
1169
|
+
P3p:
|
|
1170
|
+
- CP="IEFIX"
|
|
1171
|
+
body:
|
|
1172
|
+
encoding: US-ASCII
|
|
1173
|
+
string: ! '{"response":{"verses":[{"auditid":"0","verse":"34","lastverse":"34","id":"eng-GNTD:Acts.8.34","osis_end":"eng-GNTD:Acts.8.34","label":"","reference":"Acts
|
|
1174
|
+
8:34","prev_osis_id":"Acts.008.033,eng-GNTD","next_osis_id":"Acts.008.035,eng-GNTD","text":"<p
|
|
1175
|
+
class=\"p\"><sup id=\"Acts.8.34\" class=\"v\">34<\/sup>The official asked
|
|
1176
|
+
Philip, \u201cTell me, of whom is the prophet saying this? Of himself or of
|
|
1177
|
+
someone else?\u201d<\/p>","parent":{"chapter":{"path":"\/chapters\/eng-GNTD:Acts.8","name":"Acts
|
|
1178
|
+
8","id":"eng-GNTD:Acts.8"}},"next":{"verse":{"path":"\/verses\/eng-GNTD:Acts.8.35","name":"Acts
|
|
1179
|
+
8:35","id":"eng-GNTD:Acts.8.35"}},"previous":{"verse":{"path":"\/verses\/eng-GNTD:Acts.8.32","name":"Acts
|
|
1180
|
+
8:32","id":"eng-GNTD:Acts.8.32"}},"copyright":"<p>Good News Translation (Today’s
|
|
1181
|
+
English Version, Second Edition) © 1992 American Bible Society. All rights
|
|
1182
|
+
reserved.<\/p>"}],"meta":{"fums":"<script>\nvar _BAPI=_BAPI||{};\nif(typeof(_BAPI.t)===''undefined''){\ndocument.write(''\\x3Cscript
|
|
1183
|
+
src=\"''+document.location.protocol+''\/\/d2ue49q0mum86x.cloudfront.net\/include\/fums.c.js\"\\x3E\\x3C\/script\\x3E'');}\ndocument.write(\"\\x3Cscript\\x3E_BAPI.t(''543afdc4971322.53566512'');\\x3C\/script\\x3E\");\n<\/script><noscript><img
|
|
1184
|
+
src=\"https:\/\/d3a2okcloueqyx.cloudfront.net\/nf1?t=543afdc4971322.53566512\"
|
|
1185
|
+
height=\"1\" width=\"1\" border=\"0\" alt=\"\" style=\"height: 0; width: 0;\"
|
|
1186
|
+
\/><\/noscript>","fums_tid":"543afdc4971322.53566512","fums_js_include":"d2ue49q0mum86x.cloudfront.net\/include\/fums.c.js","fums_js":"var
|
|
1187
|
+
_BAPI=_BAPI||{};if(typeof(_BAPI.t)!=''undefined''){ _BAPI.t(''543afdc4971322.53566512'');
|
|
1188
|
+
}","fums_noscript":"<img src=\"https:\/\/d3a2okcloueqyx.cloudfront.net\/nf1?t=543afdc4971322.53566512\"
|
|
1189
|
+
height=\"1\" width=\"1\" border=\"0\" alt=\"\" style=\"height: 0; width: 0;\"
|
|
1190
|
+
\/>"}}}'
|
|
1191
|
+
http_version:
|
|
1192
|
+
recorded_at: Sun, 12 Oct 2014 22:16:37 GMT
|
|
1036
1193
|
recorded_with: VCR 2.6.0
|
metadata
CHANGED
|
@@ -1,55 +1,61 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: biblesearch-api
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.
|
|
4
|
+
version: 1.2.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Bryce Allison
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date:
|
|
11
|
+
date: 2015-08-27 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: oj
|
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
|
16
16
|
requirements:
|
|
17
|
-
- -
|
|
17
|
+
- - ">="
|
|
18
18
|
- !ruby/object:Gem::Version
|
|
19
19
|
version: '0'
|
|
20
20
|
type: :runtime
|
|
21
21
|
prerelease: false
|
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
|
23
23
|
requirements:
|
|
24
|
-
- -
|
|
24
|
+
- - ">="
|
|
25
25
|
- !ruby/object:Gem::Version
|
|
26
26
|
version: '0'
|
|
27
27
|
- !ruby/object:Gem::Dependency
|
|
28
28
|
name: hashie
|
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
|
30
30
|
requirements:
|
|
31
|
-
- -
|
|
31
|
+
- - ">="
|
|
32
32
|
- !ruby/object:Gem::Version
|
|
33
|
-
version:
|
|
33
|
+
version: 3.3.1
|
|
34
|
+
- - "<"
|
|
35
|
+
- !ruby/object:Gem::Version
|
|
36
|
+
version: 3.4.0
|
|
34
37
|
type: :runtime
|
|
35
38
|
prerelease: false
|
|
36
39
|
version_requirements: !ruby/object:Gem::Requirement
|
|
37
40
|
requirements:
|
|
38
|
-
- -
|
|
41
|
+
- - ">="
|
|
39
42
|
- !ruby/object:Gem::Version
|
|
40
|
-
version:
|
|
43
|
+
version: 3.3.1
|
|
44
|
+
- - "<"
|
|
45
|
+
- !ruby/object:Gem::Version
|
|
46
|
+
version: 3.4.0
|
|
41
47
|
- !ruby/object:Gem::Dependency
|
|
42
48
|
name: httparty
|
|
43
49
|
requirement: !ruby/object:Gem::Requirement
|
|
44
50
|
requirements:
|
|
45
|
-
- -
|
|
51
|
+
- - ">="
|
|
46
52
|
- !ruby/object:Gem::Version
|
|
47
53
|
version: '0'
|
|
48
54
|
type: :runtime
|
|
49
55
|
prerelease: false
|
|
50
56
|
version_requirements: !ruby/object:Gem::Requirement
|
|
51
57
|
requirements:
|
|
52
|
-
- -
|
|
58
|
+
- - ">="
|
|
53
59
|
- !ruby/object:Gem::Version
|
|
54
60
|
version: '0'
|
|
55
61
|
- !ruby/object:Gem::Dependency
|
|
@@ -70,20 +76,20 @@ dependencies:
|
|
|
70
76
|
name: webmock
|
|
71
77
|
requirement: !ruby/object:Gem::Requirement
|
|
72
78
|
requirements:
|
|
73
|
-
- -
|
|
79
|
+
- - ">="
|
|
74
80
|
- !ruby/object:Gem::Version
|
|
75
81
|
version: 1.8.0
|
|
76
|
-
- - <
|
|
82
|
+
- - "<"
|
|
77
83
|
- !ruby/object:Gem::Version
|
|
78
84
|
version: '1.14'
|
|
79
85
|
type: :development
|
|
80
86
|
prerelease: false
|
|
81
87
|
version_requirements: !ruby/object:Gem::Requirement
|
|
82
88
|
requirements:
|
|
83
|
-
- -
|
|
89
|
+
- - ">="
|
|
84
90
|
- !ruby/object:Gem::Version
|
|
85
91
|
version: 1.8.0
|
|
86
|
-
- - <
|
|
92
|
+
- - "<"
|
|
87
93
|
- !ruby/object:Gem::Version
|
|
88
94
|
version: '1.14'
|
|
89
95
|
- !ruby/object:Gem::Dependency
|
|
@@ -118,28 +124,28 @@ dependencies:
|
|
|
118
124
|
name: minitest-reporters
|
|
119
125
|
requirement: !ruby/object:Gem::Requirement
|
|
120
126
|
requirements:
|
|
121
|
-
- -
|
|
127
|
+
- - ">="
|
|
122
128
|
- !ruby/object:Gem::Version
|
|
123
129
|
version: 0.5.0
|
|
124
130
|
type: :development
|
|
125
131
|
prerelease: false
|
|
126
132
|
version_requirements: !ruby/object:Gem::Requirement
|
|
127
133
|
requirements:
|
|
128
|
-
- -
|
|
134
|
+
- - ">="
|
|
129
135
|
- !ruby/object:Gem::Version
|
|
130
136
|
version: 0.5.0
|
|
131
137
|
- !ruby/object:Gem::Dependency
|
|
132
138
|
name: guard-minitest
|
|
133
139
|
requirement: !ruby/object:Gem::Requirement
|
|
134
140
|
requirements:
|
|
135
|
-
- -
|
|
141
|
+
- - ">="
|
|
136
142
|
- !ruby/object:Gem::Version
|
|
137
143
|
version: '0'
|
|
138
144
|
type: :development
|
|
139
145
|
prerelease: false
|
|
140
146
|
version_requirements: !ruby/object:Gem::Requirement
|
|
141
147
|
requirements:
|
|
142
|
-
- -
|
|
148
|
+
- - ">="
|
|
143
149
|
- !ruby/object:Gem::Version
|
|
144
150
|
version: '0'
|
|
145
151
|
description: Wrapper for the American Bible Society Bible Search API
|
|
@@ -149,8 +155,8 @@ executables: []
|
|
|
149
155
|
extensions: []
|
|
150
156
|
extra_rdoc_files: []
|
|
151
157
|
files:
|
|
152
|
-
- .gitignore
|
|
153
|
-
- .travis.yml
|
|
158
|
+
- ".gitignore"
|
|
159
|
+
- ".travis.yml"
|
|
154
160
|
- Gemfile
|
|
155
161
|
- Guardfile
|
|
156
162
|
- HISTORY.md
|
|
@@ -244,17 +250,17 @@ require_paths:
|
|
|
244
250
|
- lib
|
|
245
251
|
required_ruby_version: !ruby/object:Gem::Requirement
|
|
246
252
|
requirements:
|
|
247
|
-
- -
|
|
253
|
+
- - ">="
|
|
248
254
|
- !ruby/object:Gem::Version
|
|
249
255
|
version: '0'
|
|
250
256
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
251
257
|
requirements:
|
|
252
|
-
- -
|
|
258
|
+
- - ">="
|
|
253
259
|
- !ruby/object:Gem::Version
|
|
254
260
|
version: '0'
|
|
255
261
|
requirements: []
|
|
256
262
|
rubyforge_project:
|
|
257
|
-
rubygems_version: 2.
|
|
263
|
+
rubygems_version: 2.4.8
|
|
258
264
|
signing_key:
|
|
259
265
|
specification_version: 4
|
|
260
266
|
summary: Wrapper for the American Bible Society Bible Search API
|