fractalpenguin-googlesso 0.0.2 → 0.0.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.
- checksums.yaml +4 -4
- data/lib/FractalPenguinGoogleSSO.rb +1 -1
- data/lib/xmlcanonicalizer.rb +4 -4
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 112f41d2d2c7fd83a4eed254091043bd0f1554b4
|
4
|
+
data.tar.gz: 56c002807b287bafd7250a554ef8a80d77269a24
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8e799798605bfc332394e6e34c65755753f0776cd17b13b94c57456c5e1d99ab70f1c4943a4d53aea9f6049fedf43771e481fec6a0a49045ce3a684662c75784
|
7
|
+
data.tar.gz: 344c30f68b93c583c2181df01530873c2b517262790d2f1765b8745031f062315858a3db9550db7ce6bc5df3987d4a1e1ec650c3abaed1286fb6587bcfd8ddd1
|
data/lib/xmlcanonicalizer.rb
CHANGED
@@ -100,8 +100,8 @@ include REXML
|
|
100
100
|
@inclusive_namespaces = Array.new()
|
101
101
|
@prefix_list = nil
|
102
102
|
@rendered_prefixes = Array.new()
|
103
|
-
@logger = Logger.new("xmlcanonicalizer.log")
|
104
|
-
|
103
|
+
@logger = nil#Logger.new("xmlcanonicalizer.log")
|
104
|
+
#@logger.level = Logger::DEBUG
|
105
105
|
end
|
106
106
|
|
107
107
|
def add_inclusive_namespaces(prefix_list, element, visible_namespaces)
|
@@ -254,7 +254,7 @@ include REXML
|
|
254
254
|
def write_attribute_axis(node)
|
255
255
|
list = Array.new()
|
256
256
|
node.attributes().sort.each{|key, attr|
|
257
|
-
list.push(attr)
|
257
|
+
list.push(attr) if (!is_namespace_node(attr.value()) && !is_namespace_decl(attr)) # && is_node_visible(
|
258
258
|
}
|
259
259
|
if (!@exclusive && node.parent() != nil && node.parent().parent() != nil)
|
260
260
|
cur = node.parent()
|
@@ -278,7 +278,7 @@ include REXML
|
|
278
278
|
end
|
279
279
|
list.each{|attribute|
|
280
280
|
if (attribute != nil)
|
281
|
-
if
|
281
|
+
if (attribute.name() != "xmlns")
|
282
282
|
@res = @res + " " + normalize_string(attribute.to_string(), NODE_TYPE_ATTRIBUTE).gsub("'",'"')
|
283
283
|
end
|
284
284
|
# else
|