current 1.0.5 → 1.0.6

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.
Files changed (4) hide show
  1. data/Rakefile +1 -1
  2. data/current.gemspec +1 -1
  3. data/lib/current.rb +1 -1
  4. metadata +3 -3
data/Rakefile CHANGED
@@ -10,7 +10,7 @@ begin
10
10
  gem.email = "stevendgarcia@gmail.com"
11
11
  gem.homepage = "http://github.com/activestylus/current"
12
12
  gem.authors = ["Steven Garcia"]
13
- gem.version = "1.0.5"
13
+ gem.version = "1.0.6"
14
14
  gem.add_development_dependency "shoulda", ">= 0"
15
15
  gem.add_development_dependency "mocha", ">= 0"
16
16
  gem.add_development_dependency "rails", ">= 0"
data/current.gemspec CHANGED
@@ -5,7 +5,7 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{current}
8
- s.version = "1.0.5"
8
+ s.version = "1.0.6"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Steven Garcia"]
data/lib/current.rb CHANGED
@@ -21,7 +21,7 @@ module Current
21
21
  end
22
22
 
23
23
  def nav_link_to(text,path,condition, options={})
24
- klass = active_if(condition) + " #{options[:class]}"
24
+ klass = active_if?(condition) + " #{options[:class]}"
25
25
  linktext = condition ? "#{text}" : text
26
26
  link_to(raw(linktext), path, options.merge(:class => klass.strip))
27
27
  end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: current
3
3
  version: !ruby/object:Gem::Version
4
- hash: 29
4
+ hash: 27
5
5
  prerelease: false
6
6
  segments:
7
7
  - 1
8
8
  - 0
9
- - 5
10
- version: 1.0.5
9
+ - 6
10
+ version: 1.0.6
11
11
  platform: ruby
12
12
  authors:
13
13
  - Steven Garcia