Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
  • 6 commits
  • 5 files changed
  • 0 comments
  • 1 contributor
0  LICENSE
No changes.
8 README.rdoc
Source Rendered
@@ -12,4 +12,10 @@ Concrete requests:
12 12
13 13 == A note on the implementation
14 14
15   -RSAML is implemented in a very verbose fashion. While there are probably ways to reduce the code footprint using meta programming and other Rubyisms, I've attempted to stick to an implementation style that is easy to follow for non-rubyists and rubyists alike. Additionally I am striving for a comprehensive test suite that can be used to verify conformance to the SAML 2.0 specification.
  15 +RSAML is implemented in a very verbose fashion. While there are probably ways to reduce the code footprint using meta programming and other Rubyisms, I've attempted to stick to an implementation style that is easy to follow for non-rubyists and rubyists alike. Additionally I am striving for a comprehensive test suite that can be used to verify conformance to the SAML 2.0 specification.
  16 +
  17 +== License
  18 +
  19 +RSAML is released under the MIT license:
  20 +
  21 +* http://www.opensource.org/licenses/MIT
30 Rakefile
@@ -15,7 +15,6 @@ PKG_DESTINATION = ENV["PKG_DESTINATION"] || "../#{PKG_NAME}"
15 15 RELEASE_NAME = "REL #{PKG_VERSION}"
16 16 PKG_FILES = FileList[
17 17 #'CHANGELOG',
18   - #'LICENSE',
19 18 'README.rdoc',
20 19 #'TODO',
21 20 'Rakefile',
@@ -24,27 +23,6 @@ PKG_FILES = FileList[
24 23 'lib/**/*',
25 24 ] - [ 'test' ]
26 25
27   -spec = Gem::Specification.new do |s|
28   - s.name = 'rsaml'
29   - s.version = PKG_VERSION
30   - s.summary = "RSAML - SAML implementation in Ruby."
31   - s.description = <<-EOF
32   - An implementation of SAML in Ruby.
33   - EOF
34   -
35   - s.add_dependency('rake', '>= 0.7.1')
36   - s.add_dependency('uuid', '>= 1.0.4')
37   -
38   - s.rdoc_options << '--exclude' << '.'
39   - s.has_rdoc = false
40   -
41   - s.files = PKG_FILES.to_a.delete_if {|f| f.include?('.svn')}
42   - s.require_path = 'lib'
43   -
44   - s.author = "Anthony Eden"
45   - s.email = "anthonyeden@gmail.com"
46   -end
47   -
48 26 begin
49 27 require 'jeweler'
50 28 Jeweler::Tasks.new do |gemspec|
@@ -55,11 +33,12 @@ begin
55 33 ruby-friendly and documentation is provided for each class and method. In certain cases the SAML specification is
56 34 referenced directly and should be considered the final say whenever a question arises regarding SAML implementation.
57 35 }
58   - gemspec.email = ["anthonyeden@gmail.com", "scashin133@gmail.com", "elise@elisehuard.be"]
59   - gemspec.homepage = "http://github.com/aeden/rsaml"
60   - gemspec.authors = ["Anthony Eden"]
  36 + gemspec.email = ["anthonyeden@gmail.com", "nospam@nikosd.com", "scashin133@gmail.com", "elise@elisehuard.be"]
  37 + gemspec.homepage = "http://github.com/rsaml/rsaml"
  38 + gemspec.authors = ["Anthony Eden", "Nikos Dimitrakopoulos"]
61 39 gemspec.add_dependency('activesupport', '>=2.3.4')
62 40 gemspec.add_dependency('uuid', '>=2.1.1')
  41 + gemspec.add_dependency('macaddr', '>=1.5.0') # Explicitly require > 1.5 for better 1.9.3 compatibility
63 42 gemspec.add_dependency('builder')
64 43 gemspec.add_development_dependency('rake')
65 44 gemspec.add_development_dependency('jeweler')
@@ -73,7 +52,6 @@ rescue LoadError
73 52 puts "Jeweler not available. Install it with: gem install jeweler"
74 53 end
75 54
76   -
77 55 desc 'Default: run unit tests.'
78 56 task :default => :test
79 57
4 lib/rsaml.rb
... ... @@ -1,4 +1,6 @@
1   -$KCODE = 'UTF-8'
  1 +if RUBY_VERSION =~ /1\.8/
  2 + $KCODE = 'UTF-8'
  3 +end
2 4
3 5 module RSAML
4 6 def saml_namespaces
44 rsaml.gemspec
@@ -8,12 +8,11 @@ Gem::Specification.new do |s|
8 8 s.version = "0.1.2"
9 9
10 10 s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11   - s.authors = ["Anthony Eden"]
12   - s.date = "2012-05-02"
  11 + s.authors = ["Anthony Eden", "Nikos Dimitrakopoulos"]
  12 + s.date = "2012-05-17"
13 13 s.description = "RSAML is a SAML implementation in Ruby. RSAML currently implements the elements defined in the SAML-Core 2.0 \n specification by defining an object model that mimics the structure of SAML. Method names and attributes have been made \n ruby-friendly and documentation is provided for each class and method. In certain cases the SAML specification is \n referenced directly and should be considered the final say whenever a question arises regarding SAML implementation.\n "
14   - s.email = ["anthonyeden@gmail.com", "scashin133@gmail.com", "elise@elisehuard.be"]
  14 + s.email = ["anthonyeden@gmail.com", "nospam@nikosd.com", "scashin133@gmail.com", "elise@elisehuard.be"]
15 15 s.extra_rdoc_files = [
16   - "LICENSE",
17 16 "README.rdoc"
18 17 ]
19 18 s.files = [
@@ -25,12 +24,21 @@ Gem::Specification.new do |s|
25 24 "lib/rsaml/advice.rb",
26 25 "lib/rsaml/assertion.rb",
27 26 "lib/rsaml/attribute.rb",
  27 + "lib/rsaml/attribute_value.rb",
28 28 "lib/rsaml/audience.rb",
29 29 "lib/rsaml/authentication_context.rb",
30   - "lib/rsaml/authn_context/README",
  30 + "lib/rsaml/authn_context/README.rdoc",
31 31 "lib/rsaml/authn_context/authentication_context_declaration.rb",
32 32 "lib/rsaml/authn_context/identification.rb",
33 33 "lib/rsaml/authn_context/physical_verification.rb",
  34 + "lib/rsaml/binding.rb",
  35 + "lib/rsaml/binding/base.rb",
  36 + "lib/rsaml/binding/http_artifact.rb",
  37 + "lib/rsaml/binding/http_post.rb",
  38 + "lib/rsaml/binding/http_redirect.rb",
  39 + "lib/rsaml/binding/paos.rb",
  40 + "lib/rsaml/binding/soap.rb",
  41 + "lib/rsaml/binding/uri.rb",
34 42 "lib/rsaml/condition.rb",
35 43 "lib/rsaml/conditions.rb",
36 44 "lib/rsaml/encrypted.rb",
@@ -83,7 +91,7 @@ Gem::Specification.new do |s|
83 91 "lib/xml_sig/signed_info.rb",
84 92 "lib/xml_sig/transform.rb"
85 93 ]
86   - s.homepage = "http://github.com/aeden/rsaml"
  94 + s.homepage = "http://github.com/rsaml/rsaml"
87 95 s.require_paths = ["lib"]
88 96 s.rubygems_version = "1.8.17"
89 97 s.summary = "Ruby implementation of the SAML 2.0 Specification"
@@ -93,30 +101,18 @@ Gem::Specification.new do |s|
93 101
94 102 if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
95 103 s.add_runtime_dependency(%q<rsaml>, [">= 0"])
96   - s.add_development_dependency(%q<rake>, [">= 0"])
97   - s.add_development_dependency(%q<jeweler>, [">= 0"])
98   - s.add_development_dependency(%q<rake>, [">= 0"])
99   - s.add_development_dependency(%q<jeweler>, [">= 0"])
100   - s.add_development_dependency(%q<rake>, [">= 0"])
101   - s.add_development_dependency(%q<jeweler>, [">= 0"])
102   - s.add_development_dependency(%q<shoulda>, [">= 0"])
103 104 s.add_runtime_dependency(%q<activesupport>, [">= 2.3.4"])
104 105 s.add_runtime_dependency(%q<uuid>, [">= 2.1.1"])
  106 + s.add_runtime_dependency(%q<macaddr>, [">= 1.5.0"])
105 107 s.add_runtime_dependency(%q<builder>, [">= 0"])
106 108 s.add_development_dependency(%q<rake>, [">= 0"])
107 109 s.add_development_dependency(%q<jeweler>, [">= 0"])
108 110 s.add_development_dependency(%q<shoulda>, [">= 0"])
109 111 else
110 112 s.add_dependency(%q<rsaml>, [">= 0"])
111   - s.add_dependency(%q<rake>, [">= 0"])
112   - s.add_dependency(%q<jeweler>, [">= 0"])
113   - s.add_dependency(%q<rake>, [">= 0"])
114   - s.add_dependency(%q<jeweler>, [">= 0"])
115   - s.add_dependency(%q<rake>, [">= 0"])
116   - s.add_dependency(%q<jeweler>, [">= 0"])
117   - s.add_dependency(%q<shoulda>, [">= 0"])
118 113 s.add_dependency(%q<activesupport>, [">= 2.3.4"])
119 114 s.add_dependency(%q<uuid>, [">= 2.1.1"])
  115 + s.add_dependency(%q<macaddr>, [">= 1.5.0"])
120 116 s.add_dependency(%q<builder>, [">= 0"])
121 117 s.add_dependency(%q<rake>, [">= 0"])
122 118 s.add_dependency(%q<jeweler>, [">= 0"])
@@ -124,15 +120,9 @@ Gem::Specification.new do |s|
124 120 end
125 121 else
126 122 s.add_dependency(%q<rsaml>, [">= 0"])
127   - s.add_dependency(%q<rake>, [">= 0"])
128   - s.add_dependency(%q<jeweler>, [">= 0"])
129   - s.add_dependency(%q<rake>, [">= 0"])
130   - s.add_dependency(%q<jeweler>, [">= 0"])
131   - s.add_dependency(%q<rake>, [">= 0"])
132   - s.add_dependency(%q<jeweler>, [">= 0"])
133   - s.add_dependency(%q<shoulda>, [">= 0"])
134 123 s.add_dependency(%q<activesupport>, [">= 2.3.4"])
135 124 s.add_dependency(%q<uuid>, [">= 2.1.1"])
  125 + s.add_dependency(%q<macaddr>, [">= 1.5.0"])
136 126 s.add_dependency(%q<builder>, [">= 0"])
137 127 s.add_dependency(%q<rake>, [">= 0"])
138 128 s.add_dependency(%q<jeweler>, [">= 0"])

No commit comments for this range

Something went wrong with that request. Please try again.