Skip to content

Commit

Permalink
Added XMLCannocalizer 1.0.1 as dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
Marcelo de Moraes Serpa committed Jul 22, 2010
1 parent ba73671 commit 69c058d
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
1 change: 1 addition & 0 deletions Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ begin
gem.email = "[email protected]"
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
Expand Down
2 changes: 0 additions & 2 deletions example/app/controllers/saml_controller.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
require 'onelogin/saml'

class SamlController < ApplicationController
skip_before_filter :verify_authenticity_token, :only => [:consume]

Expand Down
5 changes: 4 additions & 1 deletion ruby-saml.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -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{[email protected]}
s.extra_rdoc_files = [
Expand Down Expand Up @@ -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<XMLCanonicalizer>, [">= 1.0.1"])
else
s.add_dependency(%q<XMLCanonicalizer>, [">= 1.0.1"])
end
else
s.add_dependency(%q<XMLCanonicalizer>, [">= 1.0.1"])
end
end

0 comments on commit 69c058d

Please sign in to comment.