sinatra-tag-helpers 0.0.6 → 0.0.7
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +8 -8
- data/lib/sinatra/tag-helpers/version.rb +1 -1
- data/lib/sinatra/tag-helpers.rb +2 -2
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
---
|
2
2
|
!binary "U0hBMQ==":
|
3
3
|
metadata.gz: !binary |-
|
4
|
-
|
4
|
+
M2UwYTFhMDA4MWZiNzNlNzhlYzM0ODc1MGJiMTdkYTJiNTQ1MWIwOA==
|
5
5
|
data.tar.gz: !binary |-
|
6
|
-
|
6
|
+
ZjY3NGYwZTIxOGIyMmY1NjUzZGFkMmY5NTJjYmZmOGYyOWM2YTI4ZQ==
|
7
7
|
!binary "U0hBNTEy":
|
8
8
|
metadata.gz: !binary |-
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
OWFkODhlNjU0ZDA3NDZlM2M2YjRlYjU2OWI0MzYyMTNiOGYwZTc0MDAzYWQx
|
10
|
+
ZTAzMTJmODhmNWI5YWEyODhlMGVkOWM2NmI4MDRiMDg5Mzk2M2NkNzQzNGQw
|
11
|
+
MzQ2N2JjMTkwOGM2NzZlNTYxOWQwZmZiMTUyOTY2ZGY2YzhmZDc=
|
12
12
|
data.tar.gz: !binary |-
|
13
|
-
|
14
|
-
|
15
|
-
|
13
|
+
OTc1OThhMmVlNmYxNzYwZWFkZDU0MjY4ODlmZDYwMWJlZDdmNzEyNjBmOGIx
|
14
|
+
ZTQ2YWRjN2NhMzU4YmU1YzU2NmZmZTlhYzQ2OWNjZWRhNGU1ZWM0M2Q0YWQy
|
15
|
+
NWJlNzZlOTRhZmYwOWIyODFlYWFkODYyMzMwMzMwNzA1MzM4YzU=
|
data/lib/sinatra/tag-helpers.rb
CHANGED
@@ -15,10 +15,10 @@ module Sinatra
|
|
15
15
|
# for things like data: { stuff: 'hey' }
|
16
16
|
if value.is_a? Hash
|
17
17
|
value.collect do |k, v|
|
18
|
-
"#{key}-#{k}
|
18
|
+
"#{key}-#{k}=\"#{v}\""
|
19
19
|
end
|
20
20
|
else
|
21
|
-
value.is_a?(TrueClass) ? key.to_s : "#{key}
|
21
|
+
value.is_a?(TrueClass) ? key.to_s : "#{key}=\"#{value}\""
|
22
22
|
end
|
23
23
|
end.join(' ').chomp
|
24
24
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: sinatra-tag-helpers
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.7
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Evan Lecklider
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2013-
|
11
|
+
date: 2013-09-11 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: sinatra
|
@@ -101,7 +101,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
101
101
|
version: '0'
|
102
102
|
requirements: []
|
103
103
|
rubyforge_project:
|
104
|
-
rubygems_version: 2.0.
|
104
|
+
rubygems_version: 2.0.7
|
105
105
|
signing_key:
|
106
106
|
specification_version: 4
|
107
107
|
summary: Tag helpers (links and input tags) for Sinatra
|