trenni 1.0.2 → 1.0.3
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/trenni/builder.rb +5 -0
- data/lib/trenni/version.rb +1 -1
- metadata +3 -3
data/lib/trenni/builder.rb
CHANGED
@@ -132,6 +132,11 @@ module Trenni
|
|
132
132
|
def tag_attributes(attributes)
|
133
133
|
buffer = []
|
134
134
|
|
135
|
+
# Ensure consistent order
|
136
|
+
unless Array === attributes
|
137
|
+
attributes = attributes.sort
|
138
|
+
end
|
139
|
+
|
135
140
|
attributes.each do |key, value|
|
136
141
|
if value == true
|
137
142
|
buffer << Strings::to_simple_attribute(key, @strict)
|
data/lib/trenni/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: trenni
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.3
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -49,7 +49,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
49
49
|
version: '0'
|
50
50
|
segments:
|
51
51
|
- 0
|
52
|
-
hash:
|
52
|
+
hash: 1757948733365991998
|
53
53
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
54
54
|
none: false
|
55
55
|
requirements:
|
@@ -58,7 +58,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
58
58
|
version: '0'
|
59
59
|
segments:
|
60
60
|
- 0
|
61
|
-
hash:
|
61
|
+
hash: 1757948733365991998
|
62
62
|
requirements: []
|
63
63
|
rubyforge_project:
|
64
64
|
rubygems_version: 1.8.24
|