Skip to content

Commit

Permalink
Added a Gemfile
Browse files Browse the repository at this point in the history
  • Loading branch information
boblail committed May 11, 2013
1 parent 02429d3 commit d43c4b8
Show file tree
Hide file tree
Showing 5 changed files with 49 additions and 23 deletions.
4 changes: 4 additions & 0 deletions Gemfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
source "http://rubygems.org"

# Specify your gem's dependencies in hiccup.gemspec
gemspec
34 changes: 34 additions & 0 deletions Gemfile.lock
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
PATH
remote: .
specs:
pericope (0.6.1)
activesupport

GEM
remote: http://rubygems.org/
specs:
activesupport (3.2.13)
i18n (= 0.6.1)
multi_json (~> 1.0)
ansi (1.4.3)
coderay (1.0.9)
i18n (0.6.1)
method_source (0.8.1)
multi_json (1.7.3)
pry (0.9.12.2)
coderay (~> 1.0.5)
method_source (~> 0.8)
slop (~> 3.4)
rake (10.0.4)
slop (3.4.4)
turn (0.9.6)
ansi

PLATFORMS
ruby

DEPENDENCIES
pericope!
pry
rake
turn
29 changes: 8 additions & 21 deletions Rakefile
Original file line number Diff line number Diff line change
@@ -1,22 +1,9 @@
$:.unshift File.expand_path("../lib", __FILE__)

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

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
require "bundler/gem_tasks"
require "rake/testtask"

Rake::TestTask.new(:test) do |t|
t.libs << "lib"
t.libs << "test"
t.pattern = "test/**/*_test.rb"
t.verbose = false
end
3 changes: 2 additions & 1 deletion pericope.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,9 @@ Gem::Specification.new do |s|
s.summary = "Pericope is a gem for parsing Bible references."
s.description = "It recognizes common abbreviations and misspellings for names of the books of the Bible and a variety of ways of denoting ranges of chapters and verses. It can parse pericopes singly or out of a block of text. It's useful for comparing two pericopes for intersection and normalizing them into a well-formatted string."

s.required_rubygems_version = ">= 1.3.6"
s.add_dependency "activesupport"

s.add_development_dependency "rake"
s.add_development_dependency "turn"
s.add_development_dependency "pry"

Expand Down
2 changes: 1 addition & 1 deletion test/test_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@
require 'pry'
require 'active_support'
require 'active_support/test_case'
require File.dirname(__FILE__) + '/../lib/pericope'
require 'pericope'

0 comments on commit d43c4b8

Please sign in to comment.