trenni 1.0.2 → 1.0.3

Sign up to get free protection for your applications and to get access to all the features.
@@ -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)
@@ -19,5 +19,5 @@
19
19
  # THE SOFTWARE.
20
20
 
21
21
  module Trenni
22
- VERSION = "1.0.2"
22
+ VERSION = "1.0.3"
23
23
  end
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.2
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: -2578082460541813883
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: -2578082460541813883
61
+ hash: 1757948733365991998
62
62
  requirements: []
63
63
  rubyforge_project:
64
64
  rubygems_version: 1.8.24