Skip to content

Commit

Permalink
initial commit
Browse files Browse the repository at this point in the history
  • Loading branch information
boblail committed Oct 11, 2010
0 parents commit 2f827cf
Show file tree
Hide file tree
Showing 12 changed files with 3,183 additions and 0 deletions.
20 changes: 20 additions & 0 deletions PostInstall.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
Copyright (c) 2009 [name of plugin creator]

Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
"Software"), to deal in the Software without restriction, including
without limitation the rights to use, copy, modify, merge, publish,
distribute, sublicense, and/or sell copies of the Software, and to
permit persons to whom the Software is furnished to do so, subject to
the following conditions:

The above copyright notice and this permission notice shall be
included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
13 changes: 13 additions & 0 deletions README.mdown
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
Pericope
========

Introduction goes here.


Example
=======

Example goes here.


Copyright (c) 2009 [name of plugin creator], released under the MIT license
32 changes: 32 additions & 0 deletions Rakefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
$:.unshift File.expand_path("../lib", __FILE__)

require 'rubygems'
require 'pericope'
require 'rake'
require 'rake/testtask'
require 'rake/rdoctask'

task :install do
`gem build pericope.gemspec`
`sudo gem install pericope-#{Pericope::VERSION}.gem`
end

desc 'Default: run unit tests.'
task :default => :test

desc 'Test the pericope gem.'
Rake::TestTask.new do |t|
t.libs << 'lib'
t.libs << 'test'
t.test_files = FileList["test/**/*_test.rb"]
t.verbose = true
end

desc 'Generate documentation for the pericope plugin.'
Rake::RDocTask.new(:rdoc) do |rdoc|
rdoc.rdoc_dir = 'rdoc'
rdoc.title = 'Pericope'
rdoc.options << '--line-numbers' << '--inline-source'
rdoc.rdoc_files.include('README')
rdoc.rdoc_files.include('lib/**/*.rb')
end
69 changes: 69 additions & 0 deletions data/book_abbreviations.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,69 @@
1 genesis gen? gn
2 exodus exo?d? ex
3 leviticus le?v levi le
4 numbers? nu?m nu numb
5 deuteronomy deut? dt
6 joshua jo?sh jos
7 judges jd?gs? judg
8 ruth? ru rth
# isa is technically an abbrev for both Isaiah and 1 Samuel, but it should only be for isaiah
23 isaiah isa? ia isa[ih]
# there's a space in '1 st', etc, because query normalization puts one in; 2 before 1 because 'samuel' matches 1 samuel
10 (?:2|ii|second|2 nd) ?samuels? (?:2|ii|second|2 nd) ?sa?m?
9 (?:(?:1|i|first|1 st) ?)?samuels? (?:1|i|first|1 st) ?sa?m?
12 (?:2|ii|second|2 nd) ?ki?ng?s? (?:2|ii|second|2 nd) ?ki? (?:2|ii|second|2 nd) ?kgs?
11 (?:(?:1|i|first|1 st) ?)?ki?ng?s? (?:1|i) ?ki? (?:1|i|first|1 st) ?kgs?
14 (?:2|ii|second|2 nd) ?chronicles? (?:2|ii|second|2 nd) ?chr? (?:2|ii|second|2 nd) ?chro?n?
13 (?:(?:1|i|first|1 st) ?)?chronicles? (?:1|i|first|1 st) ?chr? (?:1|i|first|1 st) ?chro?n?
15 ezra?
16 nehemiah neh?
17 esther esth? es
18 jo?b
19 psa?lms? ps[as]?m?
20 proverbs? pro?v? prvbs? pv
21 ecclesiastes? eccl? eccles ecl?
22 (?:the ?)?song ?of ?solomon (?:the ?)?song ?of ?songs sn?gs? songs? so?s sol? son s ?of ? s
24 jeremiah? jer? jr jere
25 lamentations? lam? lm
26 ezekiel ez[ek] ezek
27 daniel da?n dl da
28 hosea ho?s hos?
29 joel? jl
30 amo?s?
31 obadiah? obad? obd?
32 jonah jon
33 micah? mic?
34 nahum nah? nahu
35 habakk?uk habk?
36 zephaniah? ze?ph?
37 haggai ha?gg?
38 zechariah? ze?ch?
39 malachi? mal
40 matthew ma?tt?
41 ma?rk? mk
42 luke? lk lu
# don't want john to gobble up the "jn" when they really mean 1 jn
62 (?:1|i|first|1 st) ?john? (?:1|i|first|1 st) ?jh?n (?:1|i|first|1 st) ?jon? (?:1|i|first|1 st) ?jh
63 (?:2|ii|second|2 nd) ?john? (?:2|ii|second|2 nd) ?jh?n (?:2|ii|second|2 nd) ?jon? (?:2|ii|second|2 nd) ?jh
64 (?:3|iii|third|3 rd) ?john? (?:3|iii|third|3 rd) ?jh?n (?:3|iii|third|3 rd) ?jon? (?:3|iii|third|3 rd) ?jh
43 john? jh?n
44 acts act?
45 romans? rom? rms? roms
47 (?:2|ii|second|2 nd) ?corinthians? (?:2|ii|second|2 nd) ?cor? (?:2|ii) ?corint?h? (?:2|ii) ?corth
46 (?:(?:1|i|first|1 st) ?)?corinthians? (?:1|i|first|1 st) ?cor? (?:1|i|first|1 st) ?corint?h? (?:1|i|first|1 st) ?corth
48 galatians? gal? galat?
49 ephesians? eph? ephe?s?
50 philippians? phi?l php phi philipp?
51 colossi?ans? col?
53 (?:2|ii|second|2 nd) ?thessalonians? (?:2|ii|second|2 nd) ?thes{1,} (?:2|ii|second|2 nd) ?the?s?
52 (?:(?:1|i|first|1 st) ?)?thessalonians? (?:(?:1|i|first|1 st) ?)?thes{1,} (?:(?:1|i|first|1 st) ?)?the?s?
55 (?:2|ii|second|2 nd) ?timothy? (?:2|ii|second|2 nd) ?tim? (?:2|ii|second|2 nd) ?tm
54 (?:(?:1|i|first|1 st) ?)?timothy? (?:1|i|first|1 st) ?tim? (?:1|i|first|1 st) ?tm
56 titus tit?
57 philemon phl?mn? philem?
58 hebrews? heb
59 james? ja[ms]? jms?
61 (?:2|ii|second|2 nd) ?peter? (?:2|ii|second|2 nd) ?pe?t?r?
60 (?:(?:1|i|first|1 st) ?)?peter? (?:1|i|first|1 st) ?pe?t?r?
65 jude
66 revelations? re?v re revel
Loading

0 comments on commit 2f827cf

Please sign in to comment.