antw-kin 0.4.0 → 0.4.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,4 +1,4 @@
1
1
  ---
2
- :patch: 0
2
+ :patch: 1
3
3
  :major: 0
4
4
  :minor: 4
@@ -62,7 +62,7 @@ module Kin
62
62
  else_modifier = is_first ? '' : 'else '
63
63
 
64
64
  %[ @#{else_modifier}if !icon == "#{icon}"\n] +
65
- %[ !pos = -#{@set.location_of(icon)}px]
65
+ %[ !pos = !pos + -#{@set.location_of(icon)}px]
66
66
  end
67
67
  end # SassGenerator
68
68
  end # Sprites
@@ -106,14 +106,6 @@ describe Kin::Nav do
106
106
  html.should have_selector('#nav_products')
107
107
  end
108
108
 
109
- it 'should set the correct item as active' do
110
- pending do
111
- html = @c.render(:generic_nav)
112
- html.should have_selector('#nav_home.active')
113
- html.should_not have_selector('#nav_products.active')
114
- end
115
- end
116
-
117
109
  it 'should include the item label' do
118
110
  html = @c.render(:generic_nav)
119
111
  html.should have_selector('#nav_home a:contains("Home")')
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: antw-kin
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.0
4
+ version: 0.4.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Anthony Williams
@@ -9,7 +9,7 @@ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
11
 
12
- date: 2009-09-07 00:00:00 -07:00
12
+ date: 2009-09-09 00:00:00 -07:00
13
13
  default_executable:
14
14
  dependencies: []
15
15