Skip to content

Commit

Permalink
Depend on sinatra-authorization
Browse files Browse the repository at this point in the history
* Get rid of vendored sinatra-ditties
* Update gemspec dependencies
  • Loading branch information
sr committed Mar 19, 2009
1 parent ee1f23e commit d2a7724
Show file tree
Hide file tree
Showing 7 changed files with 3 additions and 225 deletions.
1 change: 1 addition & 0 deletions integrity.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ Gem::Specification.new do |s|
s.rubygems_version = "1.3.1"

s.add_dependency "sinatra", [">= 0.9.1.1"]
s.add_dependency "sinatra-authorization"
s.add_dependency "haml", [">= 2.0.0"]
s.add_dependency "data_mapper", [">= 0.9.10"]
s.add_dependency "uuidtools" # required by dm-types
Expand Down
3 changes: 1 addition & 2 deletions lib/integrity.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
$:.unshift File.expand_path(File.dirname(__FILE__)),
File.expand_path(File.dirname(__FILE__) + "/../vendor/sinatra-ditties/lib")
$:.unshift File.expand_path(File.dirname(__FILE__))

require "json"
require "haml"
Expand Down
2 changes: 1 addition & 1 deletion lib/integrity/helpers/authorization.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
require "sinatra/ditties"
require "sinatra/authorization"

module Integrity
module Helpers
Expand Down
3 changes: 0 additions & 3 deletions vendor/sinatra-ditties/README.rdoc

This file was deleted.

12 changes: 0 additions & 12 deletions vendor/sinatra-ditties/lib/sinatra/ditties.rb

This file was deleted.

61 changes: 0 additions & 61 deletions vendor/sinatra-ditties/lib/sinatra/ditties/authorization.rb

This file was deleted.

146 changes: 0 additions & 146 deletions vendor/sinatra-ditties/lib/sinatra/ditties/mailer.rb

This file was deleted.

0 comments on commit d2a7724

Please sign in to comment.