active_link_to 0.0.1 → 0.0.2

Sign up to get free protection for your applications and to get access to all the features.
data/Rakefile CHANGED
@@ -11,7 +11,13 @@ begin
11
11
  gem.homepage = "http://github.com/OlegK/active_link_to"
12
12
  gem.authors = ["Oleg Khabarov"]
13
13
  # gem is a Gem::Specification... see http://www.rubygems.org/read/chapter/20 for additional settings
14
+ gem.rubyforge_project = 'active-link-to'
14
15
  end
16
+
17
+ Jeweler::RubyforgeTasks.new do |rubyforge|
18
+ rubyforge.doc_task = "rdoc"
19
+ end
20
+
15
21
  Jeweler::GemcutterTasks.new
16
22
  rescue LoadError
17
23
  puts "Jeweler (or a dependency) not available. Install it with: sudo gem install jeweler"
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.0.1
1
+ 0.0.2
@@ -0,0 +1,52 @@
1
+ # Generated by jeweler
2
+ # DO NOT EDIT THIS FILE
3
+ # Instead, edit Jeweler::Tasks in Rakefile, and run `rake gemspec`
4
+ # -*- encoding: utf-8 -*-
5
+
6
+ Gem::Specification.new do |s|
7
+ s.name = %q{active_link_to}
8
+ s.version = "0.0.2"
9
+
10
+ s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
+ s.authors = ["Oleg Khabarov"]
12
+ s.date = %q{2009-10-01}
13
+ s.description = %q{Extremely helpful when you need to add some logic that figures out if the link (or more often navigation item) is selected based on the current page or other arbitrary condition}
14
+ s.email = %q{oleg@theworkinggroup.ca}
15
+ s.extra_rdoc_files = [
16
+ "LICENSE",
17
+ "README.rdoc"
18
+ ]
19
+ s.files = [
20
+ ".document",
21
+ ".gitignore",
22
+ "LICENSE",
23
+ "README.rdoc",
24
+ "Rakefile",
25
+ "VERSION",
26
+ "active_link_to.gemspec",
27
+ "init.rb",
28
+ "lib/active_link_to.rb",
29
+ "test/active_link_to_test.rb",
30
+ "test/test_helper.rb"
31
+ ]
32
+ s.homepage = %q{http://github.com/OlegK/active_link_to}
33
+ s.rdoc_options = ["--charset=UTF-8"]
34
+ s.require_paths = ["lib"]
35
+ s.rubyforge_project = %q{active-link-to}
36
+ s.rubygems_version = %q{1.3.5}
37
+ s.summary = %q{Marks currently active links}
38
+ s.test_files = [
39
+ "test/active_link_to_test.rb",
40
+ "test/test_helper.rb"
41
+ ]
42
+
43
+ if s.respond_to? :specification_version then
44
+ current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
45
+ s.specification_version = 3
46
+
47
+ if Gem::Version.new(Gem::RubyGemsVersion) >= Gem::Version.new('1.2.0') then
48
+ else
49
+ end
50
+ else
51
+ end
52
+ end
data/init.rb ADDED
@@ -0,0 +1 @@
1
+ require 'active_link_to'
@@ -156,4 +156,6 @@ module ActiveLinkTo
156
156
  end
157
157
  end
158
158
 
159
- end
159
+ end
160
+
161
+ ActionView::Base.send :include, ActiveLinkTo
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: active_link_to
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Oleg Khabarov
@@ -29,6 +29,8 @@ files:
29
29
  - README.rdoc
30
30
  - Rakefile
31
31
  - VERSION
32
+ - active_link_to.gemspec
33
+ - init.rb
32
34
  - lib/active_link_to.rb
33
35
  - test/active_link_to_test.rb
34
36
  - test/test_helper.rb
@@ -55,7 +57,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
55
57
  version:
56
58
  requirements: []
57
59
 
58
- rubyforge_project:
60
+ rubyforge_project: active-link-to
59
61
  rubygems_version: 1.3.5
60
62
  signing_key:
61
63
  specification_version: 3