sinatra-tag-helpers 0.0.5 → 0.0.6
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 +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
---
|
2
2
|
!binary "U0hBMQ==":
|
3
3
|
metadata.gz: !binary |-
|
4
|
-
|
4
|
+
N2ZiMDFiN2Q0OGIwZTExNmQzNjU5MGM5YzI3Mjg2OTE1ZDc3NTY0YQ==
|
5
5
|
data.tar.gz: !binary |-
|
6
|
-
|
6
|
+
YTFkMzc5MGY2MTdhNTdiZTg0YmI2NGQyNDkzZGUyOWYxNTg1MGI1Zg==
|
7
7
|
!binary "U0hBNTEy":
|
8
8
|
metadata.gz: !binary |-
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
ZDcyMGY1OGFiMTBhN2VhNWViZDg2MGU4NDdhMDQxNmVlZDVmYTY3ZDgzYTRj
|
10
|
+
NGZlNjE5ZGQzYWQyMDFhYTVjZjUxZGU5MzdiNGY0MGMwMDJhMDgzN2Y4MmRk
|
11
|
+
MjE0YzY2NzMwZGQ4NTg2ODc1OWNlMmE0YjdiYTYzMjlkMDJhMDc=
|
12
12
|
data.tar.gz: !binary |-
|
13
|
-
|
14
|
-
|
15
|
-
|
13
|
+
ZTk3NGQ1YmYyYWU4ZDQ1ZTc0YTllNGUyNjE3MDI0MzA5ODNjZmM1YmNmYTlm
|
14
|
+
N2Q5YTliNWZlZTkzNDIzMjhiOThlN2EwODJjOWZmMTc3ZDYyMTU4NGEwYzE1
|
15
|
+
ZjljYzQ0NmU0NGNiMjhhZDM4MjZhZDZiOGQ3NDhmNGQ5NDU0YmY=
|
data/lib/sinatra/tag-helpers.rb
CHANGED
@@ -173,7 +173,7 @@ module Sinatra
|
|
173
173
|
|
174
174
|
select.push "</optgroup>"
|
175
175
|
else
|
176
|
-
select.push option_for(param, :key => key, :value => val, :default => attributes[:default])
|
176
|
+
select.push option_for(param, :key => key, :value => val, :default => attributes[:default] || param_value(param))
|
177
177
|
end
|
178
178
|
end
|
179
179
|
|
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.6
|
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-08-
|
11
|
+
date: 2013-08-08 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: sinatra
|