navlinks 0.1 → 0.1.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.
data/Rakefile ADDED
@@ -0,0 +1,14 @@
1
+
2
+ require 'jeweler'
3
+
4
+ Jeweler::Tasks.new do |gem|
5
+ gem.name = "navlinks"
6
+ gem.summary = "Very light-weight navigation"
7
+
8
+ gem.email = "ratnikov@gmail.com"
9
+ gem.homepage = "http://github.com/thoughtbot/clearance"
10
+ gem.authors = [ "Dmitry Ratnikov" ]
11
+ gem.files = FileList["[A-Z]*", "{lib}/**/*"]
12
+ end
13
+
14
+ Jeweler::GemcutterTasks.new
data/VERSION ADDED
@@ -0,0 +1 @@
1
+ 0.1.1
@@ -1,5 +1,5 @@
1
1
  # Methods added to this helper will be available to all templates in the application.
2
- module NavigationHelper
2
+ module Navlinks::Helper
3
3
  attr_accessor :nav_area
4
4
 
5
5
  def nav_link_to area, path, options = nil
data/lib/navlinks.rb CHANGED
@@ -1 +1,3 @@
1
- # blank, since doesn't require anything
1
+ require 'navlinks/helper'
2
+
3
+ ApplicationHelper.send :include, Navlinks::Helper
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: navlinks
3
3
  version: !ruby/object:Gem::Version
4
- version: "0.1"
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dmitry Ratnikov
@@ -23,16 +23,17 @@ extra_rdoc_files:
23
23
  - README.rdoc
24
24
  files:
25
25
  - README.rdoc
26
- - app/helpers/application_helper.rb
27
- - app/helpers/navigation_helper.rb
26
+ - Rakefile
27
+ - VERSION
28
28
  - lib/navlinks.rb
29
+ - lib/navlinks/helper.rb
29
30
  has_rdoc: true
30
- homepage: http://github.com/ratnikov/navlinks
31
+ homepage: http://github.com/thoughtbot/clearance
31
32
  licenses: []
32
33
 
33
34
  post_install_message:
34
- rdoc_options: []
35
-
35
+ rdoc_options:
36
+ - --charset=UTF-8
36
37
  require_paths:
37
38
  - lib
38
39
  required_ruby_version: !ruby/object:Gem::Requirement
@@ -53,6 +54,6 @@ rubyforge_project:
53
54
  rubygems_version: 1.3.5
54
55
  signing_key:
55
56
  specification_version: 3
56
- summary: Provides very light-weight navigation implementation
57
+ summary: Very light-weight navigation
57
58
  test_files: []
58
59
 
@@ -1,3 +0,0 @@
1
- module ApplicationHelper
2
- helper :navigation
3
- end