appdoc 0.1.1 → 0.1.2
Sign up to get free protection for your applications and to get access to all the features.
- data/app/views/documents/show.html.haml +1 -10
- data/lib/appdoc.rb +1 -0
- data/lib/appdoc/version.rb +1 -1
- metadata +21 -10
@@ -6,13 +6,4 @@
|
|
6
6
|
-@document.tags.each do |tag|
|
7
7
|
%li!=link_to(tag, {:controller=>'documents', :tag=>tag.to_s})
|
8
8
|
|
9
|
-
|
10
|
-
|
11
|
-
-if respond_to? :permitted_to?
|
12
|
-
-if permitted_to? :edit, :documents
|
13
|
-
= link_to 'Edit', edit_document_path(@document)
|
14
|
-
-if permitted_to? :destroy, :documents
|
15
|
-
= link_to 'Destroy', @document, :confirm => 'Are you sure?', :method => :delete
|
16
|
-
-else
|
17
|
-
= link_to 'Edit', edit_document_path(@document)
|
18
|
-
= link_to 'Destroy', @document, :confirm => 'Are you sure?', :method => :delete
|
9
|
+
=action_links @document
|
data/lib/appdoc.rb
CHANGED
data/lib/appdoc/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: appdoc
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.2
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,11 +9,22 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2011-09-
|
12
|
+
date: 2011-09-27 00:00:00.000000000Z
|
13
13
|
dependencies:
|
14
|
+
- !ruby/object:Gem::Dependency
|
15
|
+
name: action_links
|
16
|
+
requirement: &74347070 !ruby/object:Gem::Requirement
|
17
|
+
none: false
|
18
|
+
requirements:
|
19
|
+
- - ! '>='
|
20
|
+
- !ruby/object:Gem::Version
|
21
|
+
version: 0.1.0
|
22
|
+
type: :runtime
|
23
|
+
prerelease: false
|
24
|
+
version_requirements: *74347070
|
14
25
|
- !ruby/object:Gem::Dependency
|
15
26
|
name: acts-as-taggable-on
|
16
|
-
requirement: &
|
27
|
+
requirement: &74346480 !ruby/object:Gem::Requirement
|
17
28
|
none: false
|
18
29
|
requirements:
|
19
30
|
- - ! '>='
|
@@ -21,10 +32,10 @@ dependencies:
|
|
21
32
|
version: 2.0.0
|
22
33
|
type: :runtime
|
23
34
|
prerelease: false
|
24
|
-
version_requirements: *
|
35
|
+
version_requirements: *74346480
|
25
36
|
- !ruby/object:Gem::Dependency
|
26
37
|
name: haml
|
27
|
-
requirement: &
|
38
|
+
requirement: &74345730 !ruby/object:Gem::Requirement
|
28
39
|
none: false
|
29
40
|
requirements:
|
30
41
|
- - ! '>='
|
@@ -32,10 +43,10 @@ dependencies:
|
|
32
43
|
version: 3.0.0
|
33
44
|
type: :runtime
|
34
45
|
prerelease: false
|
35
|
-
version_requirements: *
|
46
|
+
version_requirements: *74345730
|
36
47
|
- !ruby/object:Gem::Dependency
|
37
48
|
name: kaminari
|
38
|
-
requirement: &
|
49
|
+
requirement: &74345190 !ruby/object:Gem::Requirement
|
39
50
|
none: false
|
40
51
|
requirements:
|
41
52
|
- - ! '>='
|
@@ -43,10 +54,10 @@ dependencies:
|
|
43
54
|
version: 0.10.0
|
44
55
|
type: :runtime
|
45
56
|
prerelease: false
|
46
|
-
version_requirements: *
|
57
|
+
version_requirements: *74345190
|
47
58
|
- !ruby/object:Gem::Dependency
|
48
59
|
name: meta_search
|
49
|
-
requirement: &
|
60
|
+
requirement: &74344730 !ruby/object:Gem::Requirement
|
50
61
|
none: false
|
51
62
|
requirements:
|
52
63
|
- - ! '>='
|
@@ -54,7 +65,7 @@ dependencies:
|
|
54
65
|
version: 1.0.0
|
55
66
|
type: :runtime
|
56
67
|
prerelease: false
|
57
|
-
version_requirements: *
|
68
|
+
version_requirements: *74344730
|
58
69
|
description: Allows you to add documents and documentation to your app
|
59
70
|
email:
|
60
71
|
- ryan.e.hall@biola.edu
|