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 CHANGED
@@ -1,15 +1,15 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
3
  metadata.gz: !binary |-
4
- OWZjNjNlMzZlYTZkZGRmMmFiNjRlMjkyNzg0NDk3NTBjZmVkZWM1Ng==
4
+ N2ZiMDFiN2Q0OGIwZTExNmQzNjU5MGM5YzI3Mjg2OTE1ZDc3NTY0YQ==
5
5
  data.tar.gz: !binary |-
6
- MmI1YTk5NzNjZTlhMGMwYmQzNjU0NDYzZGNjODE2NTZhYTQ5ZjVjMw==
6
+ YTFkMzc5MGY2MTdhNTdiZTg0YmI2NGQyNDkzZGUyOWYxNTg1MGI1Zg==
7
7
  !binary "U0hBNTEy":
8
8
  metadata.gz: !binary |-
9
- Zjc3OTFiMWQ1NjAxNDNiNDY3MjBiNThkMGU2NGNlNzkwN2Q4NWMyMmYxODVm
10
- YTVjNmE0MzNhNzE0Njk5NWJlYjc4Y2JiNDU4ZjRhZjBmNTNkN2MxYmUzY2E5
11
- NWFiOGYyNTlhMDczYTM0ZmQ1M2MxMmVjODUyZTE0ODQ2OWJkODc=
9
+ ZDcyMGY1OGFiMTBhN2VhNWViZDg2MGU4NDdhMDQxNmVlZDVmYTY3ZDgzYTRj
10
+ NGZlNjE5ZGQzYWQyMDFhYTVjZjUxZGU5MzdiNGY0MGMwMDJhMDgzN2Y4MmRk
11
+ MjE0YzY2NzMwZGQ4NTg2ODc1OWNlMmE0YjdiYTYzMjlkMDJhMDc=
12
12
  data.tar.gz: !binary |-
13
- YjhkMGZmNDkxYjMyMWMyYjYzMjQ3MzE1MmEyMWFiZTg0NzI2ZDVlMzI3OWUw
14
- ODk4NjNiNzVkMDZiOGY0NzFjNDc0MGE2YzQ1YmJjNzBkZTFiMGE2YWUxYWQw
15
- ZGVlODk1NGEwNmMyYWJmZDhlMmJlNmMwODMwMzU1NmRlYTlhODA=
13
+ ZTk3NGQ1YmYyYWU4ZDQ1ZTc0YTllNGUyNjE3MDI0MzA5ODNjZmM1YmNmYTlm
14
+ N2Q5YTliNWZlZTkzNDIzMjhiOThlN2EwODJjOWZmMTc3ZDYyMTU4NGEwYzE1
15
+ ZjljYzQ0NmU0NGNiMjhhZDM4MjZhZDZiOGQ3NDhmNGQ5NDU0YmY=
@@ -1,5 +1,5 @@
1
1
  module Sinatra
2
2
  module TagHelpers
3
- VERSION = "0.0.5"
3
+ VERSION = "0.0.6"
4
4
  end
5
5
  end
@@ -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.5
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-06 00:00:00.000000000 Z
11
+ date: 2013-08-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: sinatra