Skip to content

Commit

Permalink
First working version
Browse files Browse the repository at this point in the history
  • Loading branch information
Marcelo de Moraes Serpa committed Jul 20, 2010
1 parent afc91bd commit 87245ff
Show file tree
Hide file tree
Showing 10 changed files with 20 additions and 225 deletions.
25 changes: 13 additions & 12 deletions Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ rescue LoadError
puts "Jeweler (or a dependency) not available. Install it with: sudo gem install jeweler"
end

#not being used yet.
require 'rake/testtask'
Rake::TestTask.new(:test) do |test|
test.libs << 'lib' << 'test'
Expand All @@ -41,16 +42,16 @@ task :test => :check_dependencies

task :default => :test

require 'rake/rdoctask'
Rake::RDocTask.new do |rdoc|
if File.exist?('VERSION')
version = File.read('VERSION')
else
version = ""
end
# require 'rake/rdoctask'
# Rake::RDocTask.new do |rdoc|
# if File.exist?('VERSION')
# version = File.read('VERSION')
# else
# version = ""
# end

rdoc.rdoc_dir = 'rdoc'
rdoc.title = "ruby-saml #{version}"
rdoc.rdoc_files.include('README*')
rdoc.rdoc_files.include('lib/**/*.rb')
end
# rdoc.rdoc_dir = 'rdoc'
# rdoc.title = "ruby-saml #{version}"
# rdoc.rdoc_files.include('README*')
# rdoc.rdoc_files.include('lib/**/*.rb')
#end
3 changes: 2 additions & 1 deletion example/config/environment.rb
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
# config.gem "hpricot", :version => '0.6', :source => "http://code.whytheluckystiff.net"
# config.gem "sqlite3-ruby", :lib => "sqlite3"
# config.gem "aws-s3", :lib => "aws/s3"
config.gem 'ruby-saml'

# Only load the plugins named here, in the order given (default is alphabetical).
# :all can be used as a placeholder for all plugins not explicitly named
Expand All @@ -44,4 +45,4 @@
config.load_paths += %W( #{RAILS_ROOT}/lib/onelogin/saml )


end
end
6 changes: 0 additions & 6 deletions example/lib/onelogin/saml.rb

This file was deleted.

38 changes: 0 additions & 38 deletions example/lib/onelogin/saml/authrequest.rb

This file was deleted.

29 changes: 0 additions & 29 deletions example/lib/onelogin/saml/response.rb

This file was deleted.

45 changes: 0 additions & 45 deletions example/lib/onelogin/saml/settings.rb

This file was deleted.

91 changes: 0 additions & 91 deletions example/lib/xml_sec.rb

This file was deleted.

2 changes: 0 additions & 2 deletions lib/onelogin/saml.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,3 @@
require 'onelogin/saml/response'
require 'onelogin/saml/settings'

module Onelogin::Saml
end
2 changes: 1 addition & 1 deletion lib/onelogin/saml/settings.rb
Original file line number Diff line number Diff line change
Expand Up @@ -42,4 +42,4 @@ def name_identifier_format=(val)
@name_identifier_format = val
end
end
end
end
4 changes: 4 additions & 0 deletions lib/ruby-saml.rb
Original file line number Diff line number Diff line change
@@ -1 +1,5 @@
module Onelogin
end

require 'onelogin/saml'

0 comments on commit 87245ff

Please sign in to comment.