diff --git a/Rakefile b/Rakefile index 47bfaca4e..235edfd3c 100644 --- a/Rakefile +++ b/Rakefile @@ -10,6 +10,7 @@ begin gem.email = "support@onelogin.com" gem.homepage = "http://github.com/celoserpa/ruby-saml" gem.authors = ["OneLogin LLC"] + gem.add_dependency("XMLCanonicalizer",">= 1.0.1") #gem.add_development_dependency "thoughtbot-shoulda" #gem is a Gem::Specification... see http://www.rubygems.org/read/chapter/20 for additional settings end diff --git a/example/app/controllers/saml_controller.rb b/example/app/controllers/saml_controller.rb index 137a171e4..2e9caae1d 100644 --- a/example/app/controllers/saml_controller.rb +++ b/example/app/controllers/saml_controller.rb @@ -1,5 +1,3 @@ -require 'onelogin/saml' - class SamlController < ApplicationController skip_before_filter :verify_authenticity_token, :only => [:consume] diff --git a/ruby-saml.gemspec b/ruby-saml.gemspec index a7d251a69..520c1a2f4 100644 --- a/ruby-saml.gemspec +++ b/ruby-saml.gemspec @@ -9,7 +9,7 @@ Gem::Specification.new do |s| s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version= s.authors = ["OneLogin LLC"] - s.date = %q{2010-07-20} + s.date = %q{2010-07-22} s.description = %q{SAML toolkit for Ruby on Rails} s.email = %q{support@onelogin.com} s.extra_rdoc_files = [ @@ -102,8 +102,11 @@ Gem::Specification.new do |s| s.specification_version = 3 if Gem::Version.new(Gem::RubyGemsVersion) >= Gem::Version.new('1.2.0') then + s.add_runtime_dependency(%q, [">= 1.0.1"]) else + s.add_dependency(%q, [">= 1.0.1"]) end else + s.add_dependency(%q, [">= 1.0.1"]) end end