cancan-rest-links 0.1.2 → 0.1.3

Sign up to get free protection for your applications and to get access to all the features.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.1.2
1
+ 0.1.3
@@ -5,11 +5,11 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{cancan-rest-links}
8
- s.version = "0.1.2"
8
+ s.version = "0.1.3"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Kristian Mandrup"]
12
- s.date = %q{2010-09-25}
12
+ s.date = %q{2010-09-26}
13
13
  s.description = %q{Guard your links with permissions}
14
14
  s.email = %q{kmandrup@gmail.com}
15
15
  s.extra_rdoc_files = [
@@ -1,6 +1,6 @@
1
1
  require 'require_all'
2
2
  require 'sugar-high/module'
3
- require 'rails3_artifactor'
3
+ require 'sugar-high/alias'
4
4
  require 'cancan-rest-links/namespaces'
5
5
  require_all File.dirname(__FILE__) + '/cancan-rest-links/helpers'
6
6
  require_all File.dirname(__FILE__) + '/cancan-rest-links/rails'
@@ -1,7 +1,5 @@
1
1
  module CanCan::Link
2
- module Rest
3
- include Rails3::Assist::BaseHelper
4
-
2
+ module Rest
5
3
  def index_link(object, label = nil)
6
4
  label ||= auth_labels[:index]
7
5
  obj = index_obj(object)
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 0
7
7
  - 1
8
- - 2
9
- version: 0.1.2
8
+ - 3
9
+ version: 0.1.3
10
10
  platform: ruby
11
11
  authors:
12
12
  - Kristian Mandrup
@@ -14,7 +14,7 @@ autorequire:
14
14
  bindir: bin
15
15
  cert_chain: []
16
16
 
17
- date: 2010-09-25 00:00:00 +02:00
17
+ date: 2010-09-26 00:00:00 +02:00
18
18
  default_executable:
19
19
  dependencies:
20
20
  - !ruby/object:Gem::Dependency