Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Bess Sadler
committed
Aug 10, 2011
1 parent
d1ae1bf
commit d49ecdd
Showing
8 changed files
with
122 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
rvm use ree-1.8.7@ruby_ftk --create |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
source "http://rubygems.org" | ||
|
||
gemspec |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
PATH | ||
remote: . | ||
specs: | ||
ruby_ftk (0.0.1) | ||
logger | ||
mediashelf-loggable | ||
|
||
GEM | ||
remote: http://rubygems.org/ | ||
specs: | ||
RedCloth (4.2.7) | ||
columnize (0.3.4) | ||
linecache (0.46) | ||
rbx-require-relative (> 0.0.4) | ||
logger (1.2.8) | ||
mediashelf-loggable (0.4.7) | ||
mocha (0.9.12) | ||
rack (1.3.2) | ||
rbx-require-relative (0.0.5) | ||
rcov (0.9.10) | ||
rspec (1.3.2) | ||
rspec-rails (1.3.4) | ||
rack (>= 1.0.0) | ||
rspec (~> 1.3.1) | ||
ruby-debug (0.10.4) | ||
columnize (>= 0.1) | ||
ruby-debug-base (~> 0.10.4.0) | ||
ruby-debug-base (0.10.4) | ||
linecache (>= 0.3) | ||
yard (0.6.5) | ||
|
||
PLATFORMS | ||
ruby | ||
|
||
DEPENDENCIES | ||
RedCloth | ||
mocha | ||
rcov | ||
rspec (< 2.0) | ||
rspec-rails (< 2.0.0) | ||
ruby-debug | ||
ruby-debug-base | ||
ruby_ftk! | ||
yard (= 0.6.5) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
|
||
class RubyFtk | ||
|
||
def initialize(args = {}) | ||
|
||
end | ||
|
||
|
||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
GEMVERSION = "0.0.1" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
# -*- encoding: utf-8 -*- | ||
$:.push File.expand_path("../lib", __FILE__) | ||
require "ruby_ftk/version" | ||
require 'bundler' | ||
|
||
Gem::Specification.new do |s| | ||
s.name = "ruby_ftk" | ||
s.version = GEMVERSION | ||
s.platform = Gem::Platform::RUBY | ||
s.authors = ["Bess Sadler"] | ||
s.email = ["bess@stanford.edu"] | ||
s.homepage = "http://github.com/sul_dlss/ruby_ftk_toolkit" | ||
s.summary = %q{Convenience tasks for working with FTK from ruby.} | ||
s.description = %q{} | ||
s.files = `git ls-files`.split("\n") | ||
s.test_files = `git ls-files -- {spec}/*`.split("\n") | ||
# s.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) } | ||
s.require_paths = ["lib"] | ||
|
||
s.required_rubygems_version = ">= 1.3.6" | ||
|
||
s.add_dependency "logger" | ||
s.add_dependency "mediashelf-loggable" | ||
|
||
# Bundler will install these gems too if you've checked this out from source from git and run 'bundle install' | ||
# It will not add these as dependencies if you require lyber-core for other projects | ||
s.add_development_dependency "ruby-debug" | ||
s.add_development_dependency "ruby-debug-base" | ||
s.add_development_dependency "rspec", "< 2.0" # We're not ready to upgrade to rspec 2 | ||
s.add_development_dependency 'rspec-rails', '<2.0.0' # rspec-rails 2.0.0 requires Rails 3. | ||
s.add_development_dependency 'mocha' | ||
s.add_development_dependency 'rcov' | ||
|
||
s.add_development_dependency 'yard', '0.6.5' # Yard > 0.6.5 won't generate docs. | ||
# I don't know why & don't have time to | ||
# debug it right now | ||
|
||
s.add_development_dependency 'RedCloth' | ||
|
||
end | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
require File.expand_path(File.dirname(__FILE__) + '/../spec_helper') | ||
require File.join(File.dirname(__FILE__), "/../../lib/ruby_ftk") | ||
require 'rubygems' | ||
require 'ruby-debug' | ||
|
||
|
||
describe RubyFtk do | ||
|
||
context "basic behavior" do | ||
it "can instantiate" do | ||
r = RubyFtk.new | ||
r.class.should eql(RubyFtk) | ||
end | ||
end | ||
|
||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
$: << File.join(File.dirname(__FILE__), "/../../lib") | ||
require 'spec/autorun' | ||
# require 'spec/rails' | ||
|
||
Spec::Runner.configure do |config| | ||
config.mock_with :mocha | ||
end |