sinatra-tag-helpers 0.0.4 → 0.0.5

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
- NTRiOGVmNGI2ZGQwZDdkMDRiNjFmMzlkZWVhZTMyZDFlNzFmMDE2Ng==
4
+ OWZjNjNlMzZlYTZkZGRmMmFiNjRlMjkyNzg0NDk3NTBjZmVkZWM1Ng==
5
5
  data.tar.gz: !binary |-
6
- OWQxMzU5YWZhNDgwOTlmNWI0MjExZWM0MjAxZjBkODA1MzBkMTkyMg==
6
+ MmI1YTk5NzNjZTlhMGMwYmQzNjU0NDYzZGNjODE2NTZhYTQ5ZjVjMw==
7
7
  !binary "U0hBNTEy":
8
8
  metadata.gz: !binary |-
9
- YzhhM2U2OWU2MzE4ZTNiODQ4YWU3NjJlYTMxNjhhN2Y5NzNkNjVkODZmODNl
10
- OWQ2YTJhNmZlMzQyMjc1MDBhOWFmY2JmYTM0NzYxNDhmMGJhYjQzYTRjOGY3
11
- MTdhY2VmNjFmYzNkZWViMTU1YTNkYmI1MGYzMTBlNTgxMzNiMGQ=
9
+ Zjc3OTFiMWQ1NjAxNDNiNDY3MjBiNThkMGU2NGNlNzkwN2Q4NWMyMmYxODVm
10
+ YTVjNmE0MzNhNzE0Njk5NWJlYjc4Y2JiNDU4ZjRhZjBmNTNkN2MxYmUzY2E5
11
+ NWFiOGYyNTlhMDczYTM0ZmQ1M2MxMmVjODUyZTE0ODQ2OWJkODc=
12
12
  data.tar.gz: !binary |-
13
- ZDhhNjM5YmNmOTFkYTEyODhhMzM2Nzc3MDYxZTRiYzk5MDUzMjEzYzhiOTdl
14
- NTQzMThiMjVkOWMzMmVjOGQ1NjJiMzUwY2MxZWU3ZGYzNzA0NWU1MWFiNDY3
15
- NTE2NTM3ODVkNTkyZmUwMGM0NTY1MDZmMzY2MDdjNWViZTllYTA=
13
+ YjhkMGZmNDkxYjMyMWMyYjYzMjQ3MzE1MmEyMWFiZTg0NzI2ZDVlMzI3OWUw
14
+ ODk4NjNiNzVkMDZiOGY0NzFjNDc0MGE2YzQ1YmJjNzBkZTFiMGE2YWUxYWQw
15
+ ZGVlODk1NGEwNmMyYWJmZDhlMmJlNmMwODMwMzU1NmRlYTlhODA=
@@ -1,5 +1,5 @@
1
1
  module Sinatra
2
2
  module TagHelpers
3
- VERSION = "0.0.4"
3
+ VERSION = "0.0.5"
4
4
  end
5
5
  end
@@ -39,7 +39,7 @@ module Sinatra
39
39
  # <a href='/account/overview' class='current'>Overview</a>
40
40
  #
41
41
  def link_to(text, link, attributes = {})
42
- if link == request.path_info
42
+ if URI.parse(link).path == request.path_info
43
43
  attributes[:class] = "#{ attributes[:class] } current"
44
44
  end
45
45
 
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
4
+ version: 0.0.5
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-02 00:00:00.000000000 Z
11
+ date: 2013-08-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: sinatra