canonix 0.1.2 → 0.1.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/README.rdoc +11 -7
- data/Rakefile +1 -1
- data/VERSION +1 -1
- data/canonix.gemspec +2 -4
- metadata +2 -4
- data/LICENSE +0 -20
data/README.rdoc
CHANGED
@@ -1,8 +1,16 @@
|
|
1
|
-
=
|
1
|
+
= Canonix
|
2
2
|
|
3
3
|
XML Canonicalizer for Ruby >= 1.92
|
4
4
|
|
5
|
-
This is taken from XMLCanonicalizer/WSS4R and http://github.com/borisnadion/xml-canonicalizer
|
5
|
+
This is taken from XMLCanonicalizer/WSS4R and http://github.com/borisnadion/xml-canonicalizer and https://github.com/andrewferk/xmlcanonicalizer.
|
6
|
+
|
7
|
+
This gem is intended to replace andrewferk's xmlcanonicalizer which appears to have been abandoned.
|
8
|
+
|
9
|
+
== History
|
10
|
+
|
11
|
+
The main reason why this gem was created was to provide a working XML Canonicaliser for the ruby-saml project. The original gem had a bug in it that prevented it from correctly processing namespaced XML documents. A patch was provided by relevance and has been applied to canonix.
|
12
|
+
|
13
|
+
I personally have little understanding of the inner workings of this code, and will happily accept pull requests to fix any issues that you may come across (with tests please). I am also not aware of which XML Canonicalisation algorithm is implemented by this gem, and a discussion on this matter can be found here: https://github.com/brendon/canonix/issues/2.
|
6
14
|
|
7
15
|
== Note on Patches/Pull Requests
|
8
16
|
|
@@ -12,8 +20,4 @@ This is taken from XMLCanonicalizer/WSS4R and http://github.com/borisnadion/xml-
|
|
12
20
|
future version unintentionally.
|
13
21
|
* Commit, do not mess with rakefile, version, or history.
|
14
22
|
(if you want to have your own version, that is fine but bump version in a commit by itself I can ignore when I pull)
|
15
|
-
* Send me a pull request. Bonus points for topic branches.
|
16
|
-
|
17
|
-
== Copyright
|
18
|
-
|
19
|
-
Copyright (c) 2010 Andrew Ferk. See LICENSE for details.
|
23
|
+
* Send me a pull request. Bonus points for topic branches.
|
data/Rakefile
CHANGED
@@ -8,7 +8,7 @@ begin
|
|
8
8
|
gem.summary = %Q{XML Canonicalizer for Ruby >= 1.92}
|
9
9
|
gem.description = %Q{This is based on andrewferk's rewrite for Ruby 1.9 compatibility, but applies
|
10
10
|
relevance's fix to ensure proper canonicalisation. It is intended that this be the new official
|
11
|
-
Ruby Canonicaliser as the other project seems to be abandoned.}
|
11
|
+
Ruby XML Canonicaliser as the other project seems to be abandoned.}
|
12
12
|
gem.email = "brendon@spike.net.nz"
|
13
13
|
gem.homepage = "http://github.com/brendon/canonix"
|
14
14
|
gem.authors = ["Brendon Muir"]
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.1.
|
1
|
+
0.1.3
|
data/canonix.gemspec
CHANGED
@@ -5,23 +5,21 @@
|
|
5
5
|
|
6
6
|
Gem::Specification.new do |s|
|
7
7
|
s.name = %q{canonix}
|
8
|
-
s.version = "0.1.
|
8
|
+
s.version = "0.1.3"
|
9
9
|
|
10
10
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
11
11
|
s.authors = ["Brendon Muir"]
|
12
12
|
s.date = %q{2011-07-03}
|
13
13
|
s.description = %q{This is based on andrewferk's rewrite for Ruby 1.9 compatibility, but applies
|
14
14
|
relevance's fix to ensure proper canonicalisation. It is intended that this be the new official
|
15
|
-
Ruby Canonicaliser as the other project seems to be abandoned.}
|
15
|
+
Ruby XML Canonicaliser as the other project seems to be abandoned.}
|
16
16
|
s.email = %q{brendon@spike.net.nz}
|
17
17
|
s.extra_rdoc_files = [
|
18
|
-
"LICENSE",
|
19
18
|
"README.rdoc"
|
20
19
|
]
|
21
20
|
s.files = [
|
22
21
|
".document",
|
23
22
|
".rvmrc",
|
24
|
-
"LICENSE",
|
25
23
|
"README.rdoc",
|
26
24
|
"Rakefile",
|
27
25
|
"VERSION",
|
metadata
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
name: canonix
|
3
3
|
version: !ruby/object:Gem::Version
|
4
4
|
prerelease:
|
5
|
-
version: 0.1.
|
5
|
+
version: 0.1.3
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
8
8
|
- Brendon Muir
|
@@ -27,19 +27,17 @@ dependencies:
|
|
27
27
|
description: |-
|
28
28
|
This is based on andrewferk's rewrite for Ruby 1.9 compatibility, but applies
|
29
29
|
relevance's fix to ensure proper canonicalisation. It is intended that this be the new official
|
30
|
-
Ruby Canonicaliser as the other project seems to be abandoned.
|
30
|
+
Ruby XML Canonicaliser as the other project seems to be abandoned.
|
31
31
|
email: brendon@spike.net.nz
|
32
32
|
executables: []
|
33
33
|
|
34
34
|
extensions: []
|
35
35
|
|
36
36
|
extra_rdoc_files:
|
37
|
-
- LICENSE
|
38
37
|
- README.rdoc
|
39
38
|
files:
|
40
39
|
- .document
|
41
40
|
- .rvmrc
|
42
|
-
- LICENSE
|
43
41
|
- README.rdoc
|
44
42
|
- Rakefile
|
45
43
|
- VERSION
|
data/LICENSE
DELETED
@@ -1,20 +0,0 @@
|
|
1
|
-
Copyright (c) 2009 Andrew Ferk
|
2
|
-
|
3
|
-
Permission is hereby granted, free of charge, to any person obtaining
|
4
|
-
a copy of this software and associated documentation files (the
|
5
|
-
"Software"), to deal in the Software without restriction, including
|
6
|
-
without limitation the rights to use, copy, modify, merge, publish,
|
7
|
-
distribute, sublicense, and/or sell copies of the Software, and to
|
8
|
-
permit persons to whom the Software is furnished to do so, subject to
|
9
|
-
the following conditions:
|
10
|
-
|
11
|
-
The above copyright notice and this permission notice shall be
|
12
|
-
included in all copies or substantial portions of the Software.
|
13
|
-
|
14
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
15
|
-
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
16
|
-
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
17
|
-
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
|
18
|
-
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
|
19
|
-
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
|
20
|
-
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|