thesilverspoon 0.0.12 → 0.0.13
Sign up to get free protection for your applications and to get access to all the features.
- data/README.rdoc +12 -0
- data/doc/<.html +145 -0
- data/doc/ApplicationHelper.html +255 -0
- data/doc/Create.html +151 -0
- data/doc/Everything.html +147 -0
- data/doc/Everything/Scaffold.html +502 -0
- data/doc/FileUploader.html +243 -0
- data/doc/Gemfile.html +112 -0
- data/doc/Gemfile~.html +112 -0
- data/doc/Object.html +528 -0
- data/doc/README.rdoc +12 -0
- data/doc/README.rdoc~ +12 -0
- data/doc/README_rdoc.html +107 -0
- data/doc/Rakefile.html +109 -0
- data/doc/The_silver_spoon.html +145 -0
- data/doc/The_silver_spoon/Install.html +602 -0
- data/doc/Thesilverspoon.html +158 -0
- data/doc/created.rid +23 -0
- data/doc/doc/README_rdoc.html +107 -0
- data/doc/images/add.png +0 -0
- data/doc/images/brick.png +0 -0
- data/doc/images/brick_link.png +0 -0
- data/doc/images/bug.png +0 -0
- data/doc/images/bullet_black.png +0 -0
- data/doc/images/bullet_toggle_minus.png +0 -0
- data/doc/images/bullet_toggle_plus.png +0 -0
- data/doc/images/date.png +0 -0
- data/doc/images/delete.png +0 -0
- data/doc/images/find.png +0 -0
- data/doc/images/loadingAnimation.gif +0 -0
- data/doc/images/macFFBgHack.png +0 -0
- data/doc/images/package.png +0 -0
- data/doc/images/page_green.png +0 -0
- data/doc/images/page_white_text.png +0 -0
- data/doc/images/page_white_width.png +0 -0
- data/doc/images/plugin.png +0 -0
- data/doc/images/ruby.png +0 -0
- data/doc/images/tag_blue.png +0 -0
- data/doc/images/tag_green.png +0 -0
- data/doc/images/transparent.png +0 -0
- data/doc/images/wrench.png +0 -0
- data/doc/images/wrench_orange.png +0 -0
- data/doc/images/zoom.png +0 -0
- data/doc/index.html +104 -0
- data/doc/js/darkfish.js +153 -0
- data/doc/js/jquery.js +18 -0
- data/doc/js/navigation.js +142 -0
- data/doc/js/search.js +94 -0
- data/doc/js/search_index.js +1 -0
- data/doc/js/searcher.js +228 -0
- data/doc/rdoc.css +543 -0
- data/doc/table_of_contents.html +160 -0
- data/lib/integratedscaffold.rb +36 -12
- data/lib/thesilverspoon.rb +15 -7
- data/lib/thesilverspoon.rb~ +14 -6
- data/lib/thesilverspoon/version.rb +1 -1
- data/lib/thesilverspoon/version.rb~ +1 -1
- data/thesilverspoon.gemspec +2 -0
- data/thesilverspoon.gemspec~ +2 -0
- metadata +70 -18
data/doc/README.rdoc
ADDED
@@ -0,0 +1,12 @@
|
|
1
|
+
* this is a list with three paragraphs in
|
2
|
+
the first item. This is the first paragraph.
|
3
|
+
|
4
|
+
And this is the second paragraph.
|
5
|
+
|
6
|
+
1. This is an indented, numbered list.
|
7
|
+
2. This is the second item in that list
|
8
|
+
|
9
|
+
This is the third conventional paragraph in the
|
10
|
+
first list item.
|
11
|
+
|
12
|
+
* This is the second item in the original list
|
data/doc/README.rdoc~
ADDED
@@ -0,0 +1,12 @@
|
|
1
|
+
* this is a list with three paragraphs in
|
2
|
+
the first item. This is the first paragraph.
|
3
|
+
|
4
|
+
And this is the second paragraph.
|
5
|
+
|
6
|
+
1. This is an indented, numbered list.
|
7
|
+
2. This is the second item in that list
|
8
|
+
|
9
|
+
This is the third conventional paragraph in the
|
10
|
+
first list item.
|
11
|
+
|
12
|
+
* This is the second item in the original list
|
@@ -0,0 +1,107 @@
|
|
1
|
+
<!DOCTYPE html>
|
2
|
+
|
3
|
+
<html>
|
4
|
+
<head>
|
5
|
+
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
|
6
|
+
|
7
|
+
<title>README - RDoc Documentation</title>
|
8
|
+
|
9
|
+
<link type="text/css" media="screen" href="./rdoc.css" rel="stylesheet">
|
10
|
+
|
11
|
+
<script type="text/javascript">
|
12
|
+
var rdoc_rel_prefix = "./";
|
13
|
+
</script>
|
14
|
+
|
15
|
+
<script type="text/javascript" charset="utf-8" src="./js/jquery.js"></script>
|
16
|
+
<script type="text/javascript" charset="utf-8" src="./js/navigation.js"></script>
|
17
|
+
<script type="text/javascript" charset="utf-8" src="./js/search_index.js"></script>
|
18
|
+
<script type="text/javascript" charset="utf-8" src="./js/search.js"></script>
|
19
|
+
<script type="text/javascript" charset="utf-8" src="./js/searcher.js"></script>
|
20
|
+
<script type="text/javascript" charset="utf-8" src="./js/darkfish.js"></script>
|
21
|
+
|
22
|
+
|
23
|
+
<body class="file">
|
24
|
+
<nav id="metadata">
|
25
|
+
<nav id="home-section" class="section">
|
26
|
+
<h3 class="section-header">
|
27
|
+
<a href="./index.html">Home</a>
|
28
|
+
<a href="./table_of_contents.html#classes">Classes</a>
|
29
|
+
<a href="./table_of_contents.html#methods">Methods</a>
|
30
|
+
</h3>
|
31
|
+
</nav>
|
32
|
+
|
33
|
+
|
34
|
+
<nav id="search-section" class="section project-section" class="initially-hidden">
|
35
|
+
<form action="#" method="get" accept-charset="utf-8">
|
36
|
+
<h3 class="section-header">
|
37
|
+
<input type="text" name="search" placeholder="Search" id="search-field"
|
38
|
+
title="Type to search, Up and Down to navigate, Enter to load">
|
39
|
+
</h3>
|
40
|
+
</form>
|
41
|
+
|
42
|
+
<ul id="search-results" class="initially-hidden"></ul>
|
43
|
+
</nav>
|
44
|
+
|
45
|
+
|
46
|
+
<div id="project-metadata">
|
47
|
+
<nav id="fileindex-section" class="section project-section">
|
48
|
+
<h3 class="section-header">Pages</h3>
|
49
|
+
|
50
|
+
<ul>
|
51
|
+
|
52
|
+
<li class="file"><a href="./Gemfile.html">Gemfile</a>
|
53
|
+
|
54
|
+
<li class="file"><a href="./Gemfile~.html">Gemfile~</a>
|
55
|
+
|
56
|
+
<li class="file"><a href="./README_rdoc.html">README</a>
|
57
|
+
|
58
|
+
<li class="file"><a href="./Rakefile.html">Rakefile</a>
|
59
|
+
|
60
|
+
<li class="file"><a href="./doc/README_rdoc.html">README</a>
|
61
|
+
|
62
|
+
</ul>
|
63
|
+
</nav>
|
64
|
+
|
65
|
+
<nav id="classindex-section" class="section project-section">
|
66
|
+
<h3 class="section-header">Class and Module Index</h3>
|
67
|
+
|
68
|
+
<ul class="link-list">
|
69
|
+
|
70
|
+
<li><a href="./Everything.html">Everything</a>
|
71
|
+
|
72
|
+
<li><a href="./Everything/Scaffold.html">Everything::Scaffold</a>
|
73
|
+
|
74
|
+
<li><a href="./The_silver_spoon.html">The_silver_spoon</a>
|
75
|
+
|
76
|
+
<li><a href="./The_silver_spoon/Install.html">The_silver_spoon::Install</a>
|
77
|
+
|
78
|
+
<li><a href="./<.html"><</a>
|
79
|
+
|
80
|
+
<li><a href="./ApplicationHelper.html">ApplicationHelper</a>
|
81
|
+
|
82
|
+
<li><a href="./Create.html">Create</a>
|
83
|
+
|
84
|
+
<li><a href="./FileUploader.html">FileUploader</a>
|
85
|
+
|
86
|
+
<li><a href="./Object.html">Object</a>
|
87
|
+
|
88
|
+
<li><a href="./Thesilverspoon.html">Thesilverspoon</a>
|
89
|
+
|
90
|
+
</ul>
|
91
|
+
</nav>
|
92
|
+
|
93
|
+
</div>
|
94
|
+
</nav>
|
95
|
+
|
96
|
+
<div id="documentation" class="description">
|
97
|
+
|
98
|
+
</div>
|
99
|
+
|
100
|
+
|
101
|
+
|
102
|
+
<footer id="validator-badges">
|
103
|
+
<p><a href="http://validator.w3.org/check/referer">[Validate]</a>
|
104
|
+
<p>Generated by <a href="https://github.com/rdoc/rdoc">RDoc</a> 3.12.
|
105
|
+
<p>Generated with the <a href="http://deveiate.org/projects/Darkfish-Rdoc/">Darkfish Rdoc Generator</a> 3.
|
106
|
+
</footer>
|
107
|
+
|
data/doc/Rakefile.html
ADDED
@@ -0,0 +1,109 @@
|
|
1
|
+
<!DOCTYPE html>
|
2
|
+
|
3
|
+
<html>
|
4
|
+
<head>
|
5
|
+
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
|
6
|
+
|
7
|
+
<title>Rakefile - RDoc Documentation</title>
|
8
|
+
|
9
|
+
<link type="text/css" media="screen" href="./rdoc.css" rel="stylesheet">
|
10
|
+
|
11
|
+
<script type="text/javascript">
|
12
|
+
var rdoc_rel_prefix = "./";
|
13
|
+
</script>
|
14
|
+
|
15
|
+
<script type="text/javascript" charset="utf-8" src="./js/jquery.js"></script>
|
16
|
+
<script type="text/javascript" charset="utf-8" src="./js/navigation.js"></script>
|
17
|
+
<script type="text/javascript" charset="utf-8" src="./js/search_index.js"></script>
|
18
|
+
<script type="text/javascript" charset="utf-8" src="./js/search.js"></script>
|
19
|
+
<script type="text/javascript" charset="utf-8" src="./js/searcher.js"></script>
|
20
|
+
<script type="text/javascript" charset="utf-8" src="./js/darkfish.js"></script>
|
21
|
+
|
22
|
+
|
23
|
+
<body class="file">
|
24
|
+
<nav id="metadata">
|
25
|
+
<nav id="home-section" class="section">
|
26
|
+
<h3 class="section-header">
|
27
|
+
<a href="./index.html">Home</a>
|
28
|
+
<a href="./table_of_contents.html#classes">Classes</a>
|
29
|
+
<a href="./table_of_contents.html#methods">Methods</a>
|
30
|
+
</h3>
|
31
|
+
</nav>
|
32
|
+
|
33
|
+
|
34
|
+
<nav id="search-section" class="section project-section" class="initially-hidden">
|
35
|
+
<form action="#" method="get" accept-charset="utf-8">
|
36
|
+
<h3 class="section-header">
|
37
|
+
<input type="text" name="search" placeholder="Search" id="search-field"
|
38
|
+
title="Type to search, Up and Down to navigate, Enter to load">
|
39
|
+
</h3>
|
40
|
+
</form>
|
41
|
+
|
42
|
+
<ul id="search-results" class="initially-hidden"></ul>
|
43
|
+
</nav>
|
44
|
+
|
45
|
+
|
46
|
+
<div id="project-metadata">
|
47
|
+
<nav id="fileindex-section" class="section project-section">
|
48
|
+
<h3 class="section-header">Pages</h3>
|
49
|
+
|
50
|
+
<ul>
|
51
|
+
|
52
|
+
<li class="file"><a href="./Gemfile.html">Gemfile</a>
|
53
|
+
|
54
|
+
<li class="file"><a href="./Gemfile~.html">Gemfile~</a>
|
55
|
+
|
56
|
+
<li class="file"><a href="./README_rdoc.html">README</a>
|
57
|
+
|
58
|
+
<li class="file"><a href="./Rakefile.html">Rakefile</a>
|
59
|
+
|
60
|
+
<li class="file"><a href="./doc/README_rdoc.html">README</a>
|
61
|
+
|
62
|
+
</ul>
|
63
|
+
</nav>
|
64
|
+
|
65
|
+
<nav id="classindex-section" class="section project-section">
|
66
|
+
<h3 class="section-header">Class and Module Index</h3>
|
67
|
+
|
68
|
+
<ul class="link-list">
|
69
|
+
|
70
|
+
<li><a href="./Everything.html">Everything</a>
|
71
|
+
|
72
|
+
<li><a href="./Everything/Scaffold.html">Everything::Scaffold</a>
|
73
|
+
|
74
|
+
<li><a href="./The_silver_spoon.html">The_silver_spoon</a>
|
75
|
+
|
76
|
+
<li><a href="./The_silver_spoon/Install.html">The_silver_spoon::Install</a>
|
77
|
+
|
78
|
+
<li><a href="./<.html"><</a>
|
79
|
+
|
80
|
+
<li><a href="./ApplicationHelper.html">ApplicationHelper</a>
|
81
|
+
|
82
|
+
<li><a href="./Create.html">Create</a>
|
83
|
+
|
84
|
+
<li><a href="./FileUploader.html">FileUploader</a>
|
85
|
+
|
86
|
+
<li><a href="./Object.html">Object</a>
|
87
|
+
|
88
|
+
<li><a href="./Thesilverspoon.html">Thesilverspoon</a>
|
89
|
+
|
90
|
+
</ul>
|
91
|
+
</nav>
|
92
|
+
|
93
|
+
</div>
|
94
|
+
</nav>
|
95
|
+
|
96
|
+
<div id="documentation" class="description">
|
97
|
+
|
98
|
+
<p>require “bundler/gem_tasks”</p>
|
99
|
+
|
100
|
+
</div>
|
101
|
+
|
102
|
+
|
103
|
+
|
104
|
+
<footer id="validator-badges">
|
105
|
+
<p><a href="http://validator.w3.org/check/referer">[Validate]</a>
|
106
|
+
<p>Generated by <a href="https://github.com/rdoc/rdoc">RDoc</a> 3.12.
|
107
|
+
<p>Generated with the <a href="http://deveiate.org/projects/Darkfish-Rdoc/">Darkfish Rdoc Generator</a> 3.
|
108
|
+
</footer>
|
109
|
+
|
@@ -0,0 +1,145 @@
|
|
1
|
+
<!DOCTYPE html>
|
2
|
+
|
3
|
+
<html>
|
4
|
+
<head>
|
5
|
+
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
|
6
|
+
|
7
|
+
<title>module The_silver_spoon - RDoc Documentation</title>
|
8
|
+
|
9
|
+
<link type="text/css" media="screen" href="./rdoc.css" rel="stylesheet">
|
10
|
+
|
11
|
+
<script type="text/javascript">
|
12
|
+
var rdoc_rel_prefix = "./";
|
13
|
+
</script>
|
14
|
+
|
15
|
+
<script type="text/javascript" charset="utf-8" src="./js/jquery.js"></script>
|
16
|
+
<script type="text/javascript" charset="utf-8" src="./js/navigation.js"></script>
|
17
|
+
<script type="text/javascript" charset="utf-8" src="./js/search_index.js"></script>
|
18
|
+
<script type="text/javascript" charset="utf-8" src="./js/search.js"></script>
|
19
|
+
<script type="text/javascript" charset="utf-8" src="./js/searcher.js"></script>
|
20
|
+
<script type="text/javascript" charset="utf-8" src="./js/darkfish.js"></script>
|
21
|
+
|
22
|
+
|
23
|
+
<body id="top" class="module">
|
24
|
+
<nav id="metadata">
|
25
|
+
<nav id="home-section" class="section">
|
26
|
+
<h3 class="section-header">
|
27
|
+
<a href="./index.html">Home</a>
|
28
|
+
<a href="./table_of_contents.html#classes">Classes</a>
|
29
|
+
<a href="./table_of_contents.html#methods">Methods</a>
|
30
|
+
</h3>
|
31
|
+
</nav>
|
32
|
+
|
33
|
+
|
34
|
+
<nav id="search-section" class="section project-section" class="initially-hidden">
|
35
|
+
<form action="#" method="get" accept-charset="utf-8">
|
36
|
+
<h3 class="section-header">
|
37
|
+
<input type="text" name="search" placeholder="Search" id="search-field"
|
38
|
+
title="Type to search, Up and Down to navigate, Enter to load">
|
39
|
+
</h3>
|
40
|
+
</form>
|
41
|
+
|
42
|
+
<ul id="search-results" class="initially-hidden"></ul>
|
43
|
+
</nav>
|
44
|
+
|
45
|
+
|
46
|
+
<div id="file-metadata">
|
47
|
+
<nav id="file-list-section" class="section">
|
48
|
+
<h3 class="section-header">Defined In</h3>
|
49
|
+
<ul>
|
50
|
+
<li>lib/thesilverspoon.rb
|
51
|
+
</ul>
|
52
|
+
</nav>
|
53
|
+
|
54
|
+
|
55
|
+
</div>
|
56
|
+
|
57
|
+
<div id="class-metadata">
|
58
|
+
|
59
|
+
|
60
|
+
|
61
|
+
|
62
|
+
</div>
|
63
|
+
|
64
|
+
<div id="project-metadata">
|
65
|
+
<nav id="fileindex-section" class="section project-section">
|
66
|
+
<h3 class="section-header">Pages</h3>
|
67
|
+
|
68
|
+
<ul>
|
69
|
+
|
70
|
+
<li class="file"><a href="./Gemfile.html">Gemfile</a>
|
71
|
+
|
72
|
+
<li class="file"><a href="./Gemfile~.html">Gemfile~</a>
|
73
|
+
|
74
|
+
<li class="file"><a href="./README_rdoc.html">README</a>
|
75
|
+
|
76
|
+
<li class="file"><a href="./Rakefile.html">Rakefile</a>
|
77
|
+
|
78
|
+
<li class="file"><a href="./doc/README_rdoc.html">README</a>
|
79
|
+
|
80
|
+
</ul>
|
81
|
+
</nav>
|
82
|
+
|
83
|
+
<nav id="classindex-section" class="section project-section">
|
84
|
+
<h3 class="section-header">Class and Module Index</h3>
|
85
|
+
|
86
|
+
<ul class="link-list">
|
87
|
+
|
88
|
+
<li><a href="./Everything.html">Everything</a>
|
89
|
+
|
90
|
+
<li><a href="./Everything/Scaffold.html">Everything::Scaffold</a>
|
91
|
+
|
92
|
+
<li><a href="./The_silver_spoon.html">The_silver_spoon</a>
|
93
|
+
|
94
|
+
<li><a href="./The_silver_spoon/Install.html">The_silver_spoon::Install</a>
|
95
|
+
|
96
|
+
<li><a href="./<.html"><</a>
|
97
|
+
|
98
|
+
<li><a href="./ApplicationHelper.html">ApplicationHelper</a>
|
99
|
+
|
100
|
+
<li><a href="./Create.html">Create</a>
|
101
|
+
|
102
|
+
<li><a href="./FileUploader.html">FileUploader</a>
|
103
|
+
|
104
|
+
<li><a href="./Object.html">Object</a>
|
105
|
+
|
106
|
+
<li><a href="./Thesilverspoon.html">Thesilverspoon</a>
|
107
|
+
|
108
|
+
</ul>
|
109
|
+
</nav>
|
110
|
+
|
111
|
+
</div>
|
112
|
+
</nav>
|
113
|
+
|
114
|
+
<div id="documentation">
|
115
|
+
<h1 class="module">module The_silver_spoon</h1>
|
116
|
+
|
117
|
+
<div id="description" class="description">
|
118
|
+
|
119
|
+
</div><!-- description -->
|
120
|
+
|
121
|
+
|
122
|
+
|
123
|
+
|
124
|
+
<section id="5Buntitled-5D" class="documentation-section">
|
125
|
+
|
126
|
+
|
127
|
+
|
128
|
+
|
129
|
+
|
130
|
+
|
131
|
+
|
132
|
+
|
133
|
+
<!-- Methods -->
|
134
|
+
|
135
|
+
</section><!-- 5Buntitled-5D -->
|
136
|
+
|
137
|
+
</div><!-- documentation -->
|
138
|
+
|
139
|
+
|
140
|
+
<footer id="validator-badges">
|
141
|
+
<p><a href="http://validator.w3.org/check/referer">[Validate]</a>
|
142
|
+
<p>Generated by <a href="https://github.com/rdoc/rdoc">RDoc</a> 3.12.
|
143
|
+
<p>Generated with the <a href="http://deveiate.org/projects/Darkfish-Rdoc/">Darkfish Rdoc Generator</a> 3.
|
144
|
+
</footer>
|
145
|
+
|
@@ -0,0 +1,602 @@
|
|
1
|
+
<!DOCTYPE html>
|
2
|
+
|
3
|
+
<html>
|
4
|
+
<head>
|
5
|
+
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
|
6
|
+
|
7
|
+
<title>class The_silver_spoon::Install - RDoc Documentation</title>
|
8
|
+
|
9
|
+
<link type="text/css" media="screen" href="../rdoc.css" rel="stylesheet">
|
10
|
+
|
11
|
+
<script type="text/javascript">
|
12
|
+
var rdoc_rel_prefix = "../";
|
13
|
+
</script>
|
14
|
+
|
15
|
+
<script type="text/javascript" charset="utf-8" src="../js/jquery.js"></script>
|
16
|
+
<script type="text/javascript" charset="utf-8" src="../js/navigation.js"></script>
|
17
|
+
<script type="text/javascript" charset="utf-8" src="../js/search_index.js"></script>
|
18
|
+
<script type="text/javascript" charset="utf-8" src="../js/search.js"></script>
|
19
|
+
<script type="text/javascript" charset="utf-8" src="../js/searcher.js"></script>
|
20
|
+
<script type="text/javascript" charset="utf-8" src="../js/darkfish.js"></script>
|
21
|
+
|
22
|
+
|
23
|
+
<body id="top" class="class">
|
24
|
+
<nav id="metadata">
|
25
|
+
<nav id="home-section" class="section">
|
26
|
+
<h3 class="section-header">
|
27
|
+
<a href="../index.html">Home</a>
|
28
|
+
<a href="../table_of_contents.html#classes">Classes</a>
|
29
|
+
<a href="../table_of_contents.html#methods">Methods</a>
|
30
|
+
</h3>
|
31
|
+
</nav>
|
32
|
+
|
33
|
+
|
34
|
+
<nav id="search-section" class="section project-section" class="initially-hidden">
|
35
|
+
<form action="#" method="get" accept-charset="utf-8">
|
36
|
+
<h3 class="section-header">
|
37
|
+
<input type="text" name="search" placeholder="Search" id="search-field"
|
38
|
+
title="Type to search, Up and Down to navigate, Enter to load">
|
39
|
+
</h3>
|
40
|
+
</form>
|
41
|
+
|
42
|
+
<ul id="search-results" class="initially-hidden"></ul>
|
43
|
+
</nav>
|
44
|
+
|
45
|
+
|
46
|
+
<div id="file-metadata">
|
47
|
+
<nav id="file-list-section" class="section">
|
48
|
+
<h3 class="section-header">Defined In</h3>
|
49
|
+
<ul>
|
50
|
+
<li>lib/thesilverspoon.rb
|
51
|
+
</ul>
|
52
|
+
</nav>
|
53
|
+
|
54
|
+
|
55
|
+
</div>
|
56
|
+
|
57
|
+
<div id="class-metadata">
|
58
|
+
|
59
|
+
<nav id="parent-class-section" class="section">
|
60
|
+
<h3 class="section-header">Parent</h3>
|
61
|
+
|
62
|
+
<p class="link">Rails::Generators::Base
|
63
|
+
|
64
|
+
</nav>
|
65
|
+
|
66
|
+
|
67
|
+
<!-- Method Quickref -->
|
68
|
+
<nav id="method-list-section" class="section">
|
69
|
+
<h3 class="section-header">Methods</h3>
|
70
|
+
|
71
|
+
<ul class="link-list">
|
72
|
+
|
73
|
+
<li><a href="#method-c-new">::new</a>
|
74
|
+
|
75
|
+
<li><a href="#method-c-source_root">::source_root</a>
|
76
|
+
|
77
|
+
<li><a href="#method-i-create_appplication_helper">#create_appplication_helper</a>
|
78
|
+
|
79
|
+
<li><a href="#method-i-create_images">#create_images</a>
|
80
|
+
|
81
|
+
<li><a href="#method-i-create_javascript_exclusions">#create_javascript_exclusions</a>
|
82
|
+
|
83
|
+
<li><a href="#method-i-create_javascripts">#create_javascripts</a>
|
84
|
+
|
85
|
+
<li><a href="#method-i-create_layouts">#create_layouts</a>
|
86
|
+
|
87
|
+
<li><a href="#method-i-create_stylesheet">#create_stylesheet</a>
|
88
|
+
|
89
|
+
<li><a href="#method-i-create_stylesheet_images">#create_stylesheet_images</a>
|
90
|
+
|
91
|
+
<li><a href="#method-i-create_stylesheets_exclusions">#create_stylesheets_exclusions</a>
|
92
|
+
|
93
|
+
<li><a href="#method-i-create_uploader">#create_uploader</a>
|
94
|
+
|
95
|
+
<li><a href="#method-i-insert_devise_code">#insert_devise_code</a>
|
96
|
+
|
97
|
+
</ul>
|
98
|
+
</nav>
|
99
|
+
|
100
|
+
</div>
|
101
|
+
|
102
|
+
<div id="project-metadata">
|
103
|
+
<nav id="fileindex-section" class="section project-section">
|
104
|
+
<h3 class="section-header">Pages</h3>
|
105
|
+
|
106
|
+
<ul>
|
107
|
+
|
108
|
+
<li class="file"><a href="../Gemfile.html">Gemfile</a>
|
109
|
+
|
110
|
+
<li class="file"><a href="../Gemfile~.html">Gemfile~</a>
|
111
|
+
|
112
|
+
<li class="file"><a href="../README_rdoc.html">README</a>
|
113
|
+
|
114
|
+
<li class="file"><a href="../Rakefile.html">Rakefile</a>
|
115
|
+
|
116
|
+
<li class="file"><a href="../doc/README_rdoc.html">README</a>
|
117
|
+
|
118
|
+
</ul>
|
119
|
+
</nav>
|
120
|
+
|
121
|
+
<nav id="classindex-section" class="section project-section">
|
122
|
+
<h3 class="section-header">Class and Module Index</h3>
|
123
|
+
|
124
|
+
<ul class="link-list">
|
125
|
+
|
126
|
+
<li><a href="../Everything.html">Everything</a>
|
127
|
+
|
128
|
+
<li><a href="../Everything/Scaffold.html">Everything::Scaffold</a>
|
129
|
+
|
130
|
+
<li><a href="../The_silver_spoon.html">The_silver_spoon</a>
|
131
|
+
|
132
|
+
<li><a href="../The_silver_spoon/Install.html">The_silver_spoon::Install</a>
|
133
|
+
|
134
|
+
<li><a href="../<.html"><</a>
|
135
|
+
|
136
|
+
<li><a href="../ApplicationHelper.html">ApplicationHelper</a>
|
137
|
+
|
138
|
+
<li><a href="../Create.html">Create</a>
|
139
|
+
|
140
|
+
<li><a href="../FileUploader.html">FileUploader</a>
|
141
|
+
|
142
|
+
<li><a href="../Object.html">Object</a>
|
143
|
+
|
144
|
+
<li><a href="../Thesilverspoon.html">Thesilverspoon</a>
|
145
|
+
|
146
|
+
</ul>
|
147
|
+
</nav>
|
148
|
+
|
149
|
+
</div>
|
150
|
+
</nav>
|
151
|
+
|
152
|
+
<div id="documentation">
|
153
|
+
<h1 class="class">class The_silver_spoon::Install</h1>
|
154
|
+
|
155
|
+
<div id="description" class="description">
|
156
|
+
|
157
|
+
</div><!-- description -->
|
158
|
+
|
159
|
+
|
160
|
+
|
161
|
+
|
162
|
+
<section id="5Buntitled-5D" class="documentation-section">
|
163
|
+
|
164
|
+
|
165
|
+
|
166
|
+
|
167
|
+
|
168
|
+
|
169
|
+
|
170
|
+
|
171
|
+
<!-- Methods -->
|
172
|
+
|
173
|
+
<section id="public-class-5Buntitled-5D-method-details" class="method-section section">
|
174
|
+
<h3 class="section-header">Public Class Methods</h3>
|
175
|
+
|
176
|
+
|
177
|
+
<div id="method-c-new" class="method-detail ">
|
178
|
+
|
179
|
+
<div class="method-heading">
|
180
|
+
<span class="method-name">new</span><span
|
181
|
+
class="method-args">(*args, &block)</span>
|
182
|
+
<span class="method-click-advice">click to toggle source</span>
|
183
|
+
</div>
|
184
|
+
|
185
|
+
|
186
|
+
<div class="method-description">
|
187
|
+
|
188
|
+
|
189
|
+
|
190
|
+
|
191
|
+
|
192
|
+
<div class="method-source-code" id="new-source">
|
193
|
+
<pre><span class="ruby-comment"># File lib/thesilverspoon.rb, line 217</span>
|
194
|
+
<span class="ruby-keyword">def</span> <span class="ruby-identifier">initialize</span>(*<span class="ruby-identifier">args</span>, &<span class="ruby-identifier">block</span>)
|
195
|
+
<span class="ruby-keyword">super</span>
|
196
|
+
<span class="ruby-comment">#now we invokde generators off twitter boootstrap and gritter</span>
|
197
|
+
<span class="ruby-constant">Rails</span><span class="ruby-operator">::</span><span class="ruby-constant">Generators</span>.<span class="ruby-identifier">invoke</span>(<span class="ruby-string">'bootstrap:install'</span>)
|
198
|
+
<span class="ruby-constant">Rails</span><span class="ruby-operator">::</span><span class="ruby-constant">Generators</span>.<span class="ruby-identifier">invoke</span>(<span class="ruby-string">'gritter:locale'</span>)
|
199
|
+
<span class="ruby-constant">Rails</span><span class="ruby-operator">::</span><span class="ruby-constant">Generators</span>.<span class="ruby-identifier">invoke</span>(<span class="ruby-string">'devise:install'</span>)
|
200
|
+
<span class="ruby-constant">Rails</span><span class="ruby-operator">::</span><span class="ruby-constant">Generators</span>.<span class="ruby-identifier">invoke</span>(<span class="ruby-string">'devise'</span>, [<span class="ruby-string">"user"</span>])
|
201
|
+
<span class="ruby-constant">Rails</span><span class="ruby-operator">::</span><span class="ruby-constant">Generators</span>.<span class="ruby-identifier">invoke</span>(<span class="ruby-string">'devise:views'</span>)
|
202
|
+
<span class="ruby-constant">Rails</span><span class="ruby-operator">::</span><span class="ruby-constant">Generators</span>.<span class="ruby-identifier">invoke</span>(<span class="ruby-string">'cancan:ability'</span>)
|
203
|
+
<span class="ruby-keyword">end</span></pre>
|
204
|
+
</div><!-- new-source -->
|
205
|
+
|
206
|
+
</div>
|
207
|
+
|
208
|
+
|
209
|
+
|
210
|
+
|
211
|
+
</div><!-- new-method -->
|
212
|
+
|
213
|
+
|
214
|
+
<div id="method-c-source_root" class="method-detail ">
|
215
|
+
|
216
|
+
<div class="method-heading">
|
217
|
+
<span class="method-name">source_root</span><span
|
218
|
+
class="method-args">()</span>
|
219
|
+
<span class="method-click-advice">click to toggle source</span>
|
220
|
+
</div>
|
221
|
+
|
222
|
+
|
223
|
+
<div class="method-description">
|
224
|
+
|
225
|
+
|
226
|
+
|
227
|
+
|
228
|
+
|
229
|
+
<div class="method-source-code" id="source_root-source">
|
230
|
+
<pre><span class="ruby-comment"># File lib/thesilverspoon.rb, line 212</span>
|
231
|
+
<span class="ruby-keyword">def</span> <span class="ruby-keyword">self</span>.<span class="ruby-identifier">source_root</span>
|
232
|
+
<span class="ruby-constant">File</span>.<span class="ruby-identifier">expand_path</span>(<span class="ruby-string">"../templates"</span>, <span class="ruby-keyword">__FILE__</span>)
|
233
|
+
<span class="ruby-keyword">end</span></pre>
|
234
|
+
</div><!-- source_root-source -->
|
235
|
+
|
236
|
+
</div>
|
237
|
+
|
238
|
+
|
239
|
+
|
240
|
+
|
241
|
+
</div><!-- source_root-method -->
|
242
|
+
|
243
|
+
|
244
|
+
</section><!-- public-class-method-details -->
|
245
|
+
|
246
|
+
<section id="public-instance-5Buntitled-5D-method-details" class="method-section section">
|
247
|
+
<h3 class="section-header">Public Instance Methods</h3>
|
248
|
+
|
249
|
+
|
250
|
+
<div id="method-i-create_appplication_helper" class="method-detail ">
|
251
|
+
|
252
|
+
<div class="method-heading">
|
253
|
+
<span class="method-name">create_appplication_helper</span><span
|
254
|
+
class="method-args">()</span>
|
255
|
+
<span class="method-click-advice">click to toggle source</span>
|
256
|
+
</div>
|
257
|
+
|
258
|
+
|
259
|
+
<div class="method-description">
|
260
|
+
|
261
|
+
|
262
|
+
|
263
|
+
|
264
|
+
|
265
|
+
<div class="method-source-code" id="create_appplication_helper-source">
|
266
|
+
<pre><span class="ruby-comment"># File lib/thesilverspoon.rb, line 228</span>
|
267
|
+
<span class="ruby-keyword">def</span> <span class="ruby-identifier">create_appplication_helper</span>
|
268
|
+
<span class="ruby-identifier">remove_file</span> <span class="ruby-string">"app/helpers/application_helper.rb"</span>
|
269
|
+
<span class="ruby-identifier">template</span> <span class="ruby-string">'application_helper.rb'</span>, <span class="ruby-string">"app/helpers/application_helper.rb"</span>
|
270
|
+
<span class="ruby-keyword">end</span></pre>
|
271
|
+
</div><!-- create_appplication_helper-source -->
|
272
|
+
|
273
|
+
</div>
|
274
|
+
|
275
|
+
|
276
|
+
|
277
|
+
|
278
|
+
</div><!-- create_appplication_helper-method -->
|
279
|
+
|
280
|
+
|
281
|
+
<div id="method-i-create_images" class="method-detail ">
|
282
|
+
|
283
|
+
<div class="method-heading">
|
284
|
+
<span class="method-name">create_images</span><span
|
285
|
+
class="method-args">()</span>
|
286
|
+
<span class="method-click-advice">click to toggle source</span>
|
287
|
+
</div>
|
288
|
+
|
289
|
+
|
290
|
+
<div class="method-description">
|
291
|
+
|
292
|
+
|
293
|
+
|
294
|
+
|
295
|
+
|
296
|
+
<div class="method-source-code" id="create_images-source">
|
297
|
+
<pre><span class="ruby-comment"># File lib/thesilverspoon.rb, line 238</span>
|
298
|
+
<span class="ruby-keyword">def</span> <span class="ruby-identifier">create_images</span>
|
299
|
+
|
300
|
+
<span class="ruby-comment"># copies the standard images into the assets/images folder</span>
|
301
|
+
<span class="ruby-ivar">@images</span>=<span class="ruby-constant">Array</span>.<span class="ruby-identifier">new</span>
|
302
|
+
<span class="ruby-ivar">@images</span>= <span class="ruby-constant">Dir</span>.<span class="ruby-identifier">entries</span>(<span class="ruby-node">"#{Install.source_root}/assets/images"</span>)
|
303
|
+
<span class="ruby-ivar">@images</span>.<span class="ruby-identifier">each</span> <span class="ruby-keyword">do</span> <span class="ruby-operator">|</span><span class="ruby-identifier">image</span><span class="ruby-operator">|</span>
|
304
|
+
|
305
|
+
<span class="ruby-keyword">if</span> <span class="ruby-identifier">image!</span>=<span class="ruby-string">".."</span> <span class="ruby-keyword">and</span> <span class="ruby-identifier">image</span> <span class="ruby-operator">!=</span><span class="ruby-string">"."</span>
|
306
|
+
<span class="ruby-identifier">copy_file</span> <span class="ruby-node">"assets/images/#{image.to_s}"</span>, <span class="ruby-node">"app/assets/images/#{image}"</span>
|
307
|
+
<span class="ruby-keyword">end</span>
|
308
|
+
<span class="ruby-keyword">end</span>
|
309
|
+
|
310
|
+
|
311
|
+
<span class="ruby-keyword">end</span></pre>
|
312
|
+
</div><!-- create_images-source -->
|
313
|
+
|
314
|
+
</div>
|
315
|
+
|
316
|
+
|
317
|
+
|
318
|
+
|
319
|
+
</div><!-- create_images-method -->
|
320
|
+
|
321
|
+
|
322
|
+
<div id="method-i-create_javascript_exclusions" class="method-detail ">
|
323
|
+
|
324
|
+
<div class="method-heading">
|
325
|
+
<span class="method-name">create_javascript_exclusions</span><span
|
326
|
+
class="method-args">()</span>
|
327
|
+
<span class="method-click-advice">click to toggle source</span>
|
328
|
+
</div>
|
329
|
+
|
330
|
+
|
331
|
+
<div class="method-description">
|
332
|
+
|
333
|
+
|
334
|
+
|
335
|
+
|
336
|
+
|
337
|
+
<div class="method-source-code" id="create_javascript_exclusions-source">
|
338
|
+
<pre><span class="ruby-comment"># File lib/thesilverspoon.rb, line 277</span>
|
339
|
+
<span class="ruby-keyword">def</span> <span class="ruby-identifier">create_javascript_exclusions</span>
|
340
|
+
|
341
|
+
<span class="ruby-comment"># copies the sequenced javascript into the assets/javascripts/exclusions folder</span>
|
342
|
+
<span class="ruby-identifier">directory</span> <span class="ruby-node">"#{Install.source_root}/assets/javascripts/exclusions"</span>, <span class="ruby-string">"app/assets/javascripts/exclusions"</span>
|
343
|
+
<span class="ruby-keyword">end</span></pre>
|
344
|
+
</div><!-- create_javascript_exclusions-source -->
|
345
|
+
|
346
|
+
</div>
|
347
|
+
|
348
|
+
|
349
|
+
|
350
|
+
|
351
|
+
</div><!-- create_javascript_exclusions-method -->
|
352
|
+
|
353
|
+
|
354
|
+
<div id="method-i-create_javascripts" class="method-detail ">
|
355
|
+
|
356
|
+
<div class="method-heading">
|
357
|
+
<span class="method-name">create_javascripts</span><span
|
358
|
+
class="method-args">()</span>
|
359
|
+
<span class="method-click-advice">click to toggle source</span>
|
360
|
+
</div>
|
361
|
+
|
362
|
+
|
363
|
+
<div class="method-description">
|
364
|
+
|
365
|
+
|
366
|
+
|
367
|
+
|
368
|
+
|
369
|
+
<div class="method-source-code" id="create_javascripts-source">
|
370
|
+
<pre><span class="ruby-comment"># File lib/thesilverspoon.rb, line 253</span>
|
371
|
+
<span class="ruby-keyword">def</span> <span class="ruby-identifier">create_javascripts</span>
|
372
|
+
|
373
|
+
<span class="ruby-comment"># copies the standard javascripts into the assets/javascripts folder - Currently hard-coded</span>
|
374
|
+
<span class="ruby-comment"># : Remove the hardcoding for the javascripts inclusion</span>
|
375
|
+
|
376
|
+
<span class="ruby-identifier">copy_file</span> <span class="ruby-node">"#{Install.source_root}/assets/javascripts/jquery.dataTables.min.js"</span>, <span class="ruby-string">"app/assets/javascripts/jquery.dataTables.min.js"</span>
|
377
|
+
|
378
|
+
<span class="ruby-keyword">end</span></pre>
|
379
|
+
</div><!-- create_javascripts-source -->
|
380
|
+
|
381
|
+
</div>
|
382
|
+
|
383
|
+
|
384
|
+
|
385
|
+
|
386
|
+
</div><!-- create_javascripts-method -->
|
387
|
+
|
388
|
+
|
389
|
+
<div id="method-i-create_layouts" class="method-detail ">
|
390
|
+
|
391
|
+
<div class="method-heading">
|
392
|
+
<span class="method-name">create_layouts</span><span
|
393
|
+
class="method-args">()</span>
|
394
|
+
<span class="method-click-advice">click to toggle source</span>
|
395
|
+
</div>
|
396
|
+
|
397
|
+
|
398
|
+
<div class="method-description">
|
399
|
+
|
400
|
+
|
401
|
+
|
402
|
+
|
403
|
+
|
404
|
+
<div class="method-source-code" id="create_layouts-source">
|
405
|
+
<pre><span class="ruby-comment"># File lib/thesilverspoon.rb, line 291</span>
|
406
|
+
<span class="ruby-keyword">def</span> <span class="ruby-identifier">create_layouts</span>
|
407
|
+
<span class="ruby-comment"> #remove hardcoding and make a loop for including all files in this folder
|
408
|
+
</span> <span class="ruby-identifier">remove_file</span> <span class="ruby-string">"app/views/layouts/application.html.erb"</span>
|
409
|
+
<span class="ruby-identifier">template</span> <span class="ruby-node">"#{Install.source_root}/layouts/application.html.erb"</span>, <span class="ruby-string">"app/views/layouts/application.html.erb"</span>
|
410
|
+
<span class="ruby-identifier">template</span> <span class="ruby-node">"#{Install.source_root}/layouts//dummy_data.html.erb"</span>, <span class="ruby-string">"app/views/layouts/scaffold.html.erb"</span>
|
411
|
+
<span class="ruby-identifier">template</span> <span class="ruby-node">"#{Install.source_root}/layouts/information_page.html.erb"</span>, <span class="ruby-string">"app/views/layouts/information_page.html.erb"</span>
|
412
|
+
<span class="ruby-identifier">template</span> <span class="ruby-node">"#{Install.source_root}/layouts/pageslide_form_at.html.erb"</span>, <span class="ruby-string">"app/views/layouts/pageslide_form_at.html.erb"</span>
|
413
|
+
<span class="ruby-identifier">template</span> <span class="ruby-node">"#{Install.source_root}/layouts/welcome.html.erb"</span>, <span class="ruby-string">"app/views/layouts/welcome.html.erb"</span>
|
414
|
+
|
415
|
+
<span class="ruby-keyword">end</span></pre>
|
416
|
+
</div><!-- create_layouts-source -->
|
417
|
+
|
418
|
+
</div>
|
419
|
+
|
420
|
+
|
421
|
+
|
422
|
+
|
423
|
+
</div><!-- create_layouts-method -->
|
424
|
+
|
425
|
+
|
426
|
+
<div id="method-i-create_stylesheet" class="method-detail ">
|
427
|
+
|
428
|
+
<div class="method-heading">
|
429
|
+
<span class="method-name">create_stylesheet</span><span
|
430
|
+
class="method-args">()</span>
|
431
|
+
<span class="method-click-advice">click to toggle source</span>
|
432
|
+
</div>
|
433
|
+
|
434
|
+
|
435
|
+
<div class="method-description">
|
436
|
+
|
437
|
+
|
438
|
+
|
439
|
+
|
440
|
+
|
441
|
+
<div class="method-source-code" id="create_stylesheet-source">
|
442
|
+
<pre><span class="ruby-comment"># File lib/thesilverspoon.rb, line 262</span>
|
443
|
+
<span class="ruby-keyword">def</span> <span class="ruby-identifier">create_stylesheet</span>
|
444
|
+
<span class="ruby-identifier">template</span> <span class="ruby-node">"#{Install.source_root}/assets/stylesheets/silverspoon.css.scss"</span>, <span class="ruby-string">"app/assets/stylesheets/silverspoon.css.scss"</span>
|
445
|
+
<span class="ruby-identifier">template</span> <span class="ruby-node">"#{Install.source_root}/assets/stylesheets/base_classes.css.scss"</span>, <span class="ruby-string">"app/assets/stylesheets/base_classes.css.scss"</span>
|
446
|
+
<span class="ruby-identifier">template</span> <span class="ruby-node">"#{Install.source_root}/assets/stylesheets/silverspoon.css.scss"</span>, <span class="ruby-string">"app/assets/stylesheets/information_page.css.scss"</span>
|
447
|
+
<span class="ruby-identifier">template</span> <span class="ruby-node">"#{Install.source_root}/assets/stylesheets/jquery-ui-1.8.17.custom.css"</span>, <span class="ruby-string">"app/assets/stylesheets/jquery-ui-1.8.17.custom.css"</span>
|
448
|
+
|
449
|
+
|
450
|
+
<span class="ruby-keyword">end</span></pre>
|
451
|
+
</div><!-- create_stylesheet-source -->
|
452
|
+
|
453
|
+
</div>
|
454
|
+
|
455
|
+
|
456
|
+
|
457
|
+
|
458
|
+
</div><!-- create_stylesheet-method -->
|
459
|
+
|
460
|
+
|
461
|
+
<div id="method-i-create_stylesheet_images" class="method-detail ">
|
462
|
+
|
463
|
+
<div class="method-heading">
|
464
|
+
<span class="method-name">create_stylesheet_images</span><span
|
465
|
+
class="method-args">()</span>
|
466
|
+
<span class="method-click-advice">click to toggle source</span>
|
467
|
+
</div>
|
468
|
+
|
469
|
+
|
470
|
+
<div class="method-description">
|
471
|
+
|
472
|
+
|
473
|
+
|
474
|
+
|
475
|
+
|
476
|
+
<div class="method-source-code" id="create_stylesheet_images-source">
|
477
|
+
<pre><span class="ruby-comment"># File lib/thesilverspoon.rb, line 283</span>
|
478
|
+
<span class="ruby-keyword">def</span> <span class="ruby-identifier">create_stylesheet_images</span>
|
479
|
+
|
480
|
+
<span class="ruby-comment"># copies the dependent css images into the assets/stylesheets/images folder</span>
|
481
|
+
<span class="ruby-identifier">directory</span> <span class="ruby-node">"#{Install.source_root}/assets/stylesheets/images"</span>, <span class="ruby-string">"app/assets/stylesheets/images"</span>
|
482
|
+
|
483
|
+
<span class="ruby-keyword">end</span></pre>
|
484
|
+
</div><!-- create_stylesheet_images-source -->
|
485
|
+
|
486
|
+
</div>
|
487
|
+
|
488
|
+
|
489
|
+
|
490
|
+
|
491
|
+
</div><!-- create_stylesheet_images-method -->
|
492
|
+
|
493
|
+
|
494
|
+
<div id="method-i-create_stylesheets_exclusions" class="method-detail ">
|
495
|
+
|
496
|
+
<div class="method-heading">
|
497
|
+
<span class="method-name">create_stylesheets_exclusions</span><span
|
498
|
+
class="method-args">()</span>
|
499
|
+
<span class="method-click-advice">click to toggle source</span>
|
500
|
+
</div>
|
501
|
+
|
502
|
+
|
503
|
+
<div class="method-description">
|
504
|
+
|
505
|
+
|
506
|
+
|
507
|
+
|
508
|
+
|
509
|
+
<div class="method-source-code" id="create_stylesheets_exclusions-source">
|
510
|
+
<pre><span class="ruby-comment"># File lib/thesilverspoon.rb, line 271</span>
|
511
|
+
<span class="ruby-keyword">def</span> <span class="ruby-identifier">create_stylesheets_exclusions</span>
|
512
|
+
|
513
|
+
<span class="ruby-comment"># copies the sequenced css into the assets/stylesheets/exclusions folder</span>
|
514
|
+
<span class="ruby-identifier">directory</span> <span class="ruby-node">"#{Install.source_root}/assets/stylesheets/exclusions"</span>, <span class="ruby-string">"app/assets/stylesheets/exclusions"</span>
|
515
|
+
<span class="ruby-keyword">end</span></pre>
|
516
|
+
</div><!-- create_stylesheets_exclusions-source -->
|
517
|
+
|
518
|
+
</div>
|
519
|
+
|
520
|
+
|
521
|
+
|
522
|
+
|
523
|
+
</div><!-- create_stylesheets_exclusions-method -->
|
524
|
+
|
525
|
+
|
526
|
+
<div id="method-i-create_uploader" class="method-detail ">
|
527
|
+
|
528
|
+
<div class="method-heading">
|
529
|
+
<span class="method-name">create_uploader</span><span
|
530
|
+
class="method-args">()</span>
|
531
|
+
<span class="method-click-advice">click to toggle source</span>
|
532
|
+
</div>
|
533
|
+
|
534
|
+
|
535
|
+
<div class="method-description">
|
536
|
+
|
537
|
+
|
538
|
+
|
539
|
+
|
540
|
+
|
541
|
+
<div class="method-source-code" id="create_uploader-source">
|
542
|
+
<pre><span class="ruby-comment"># File lib/thesilverspoon.rb, line 233</span>
|
543
|
+
<span class="ruby-keyword">def</span> <span class="ruby-identifier">create_uploader</span>
|
544
|
+
<span class="ruby-comment">#creates the uploader ruby file using carrierwave</span>
|
545
|
+
<span class="ruby-identifier">template</span> <span class="ruby-string">'file_uploader.rb'</span>, <span class="ruby-string">"app/uploaders/file_uploader.rb"</span>
|
546
|
+
<span class="ruby-keyword">end</span></pre>
|
547
|
+
</div><!-- create_uploader-source -->
|
548
|
+
|
549
|
+
</div>
|
550
|
+
|
551
|
+
|
552
|
+
|
553
|
+
|
554
|
+
</div><!-- create_uploader-method -->
|
555
|
+
|
556
|
+
|
557
|
+
<div id="method-i-insert_devise_code" class="method-detail ">
|
558
|
+
|
559
|
+
<div class="method-heading">
|
560
|
+
<span class="method-name">insert_devise_code</span><span
|
561
|
+
class="method-args">()</span>
|
562
|
+
<span class="method-click-advice">click to toggle source</span>
|
563
|
+
</div>
|
564
|
+
|
565
|
+
|
566
|
+
<div class="method-description">
|
567
|
+
|
568
|
+
|
569
|
+
|
570
|
+
|
571
|
+
|
572
|
+
<div class="method-source-code" id="insert_devise_code-source">
|
573
|
+
<pre><span class="ruby-comment"># File lib/thesilverspoon.rb, line 304</span>
|
574
|
+
<span class="ruby-keyword">def</span> <span class="ruby-identifier">insert_devise_code</span>
|
575
|
+
<span class="ruby-identifier">inject_into_file</span> <span class="ruby-string">"config/application.rb"</span>,<span class="ruby-string">'require "devise"'</span>,<span class="ruby-value">:after=</span><span class="ruby-operator">></span><span class="ruby-string">"require File.expand_path('../boot', __FILE__)"</span>
|
576
|
+
<span class="ruby-identifier">inject_into_file</span> <span class="ruby-string">"app/assets/stylesheets/application.css"</span>,<span class="ruby-string">'*=require_directory'</span>,<span class="ruby-value">:before=</span><span class="ruby-operator">></span><span class="ruby-string">"*/"</span>
|
577
|
+
<span class="ruby-identifier">append_to_file</span> <span class="ruby-string">"app/assets/javascripts/application.js"</span>,<span class="ruby-string">'//= require bootstrap'</span>
|
578
|
+
|
579
|
+
<span class="ruby-keyword">end</span></pre>
|
580
|
+
</div><!-- insert_devise_code-source -->
|
581
|
+
|
582
|
+
</div>
|
583
|
+
|
584
|
+
|
585
|
+
|
586
|
+
|
587
|
+
</div><!-- insert_devise_code-method -->
|
588
|
+
|
589
|
+
|
590
|
+
</section><!-- public-instance-method-details -->
|
591
|
+
|
592
|
+
</section><!-- 5Buntitled-5D -->
|
593
|
+
|
594
|
+
</div><!-- documentation -->
|
595
|
+
|
596
|
+
|
597
|
+
<footer id="validator-badges">
|
598
|
+
<p><a href="http://validator.w3.org/check/referer">[Validate]</a>
|
599
|
+
<p>Generated by <a href="https://github.com/rdoc/rdoc">RDoc</a> 3.12.
|
600
|
+
<p>Generated with the <a href="http://deveiate.org/projects/Darkfish-Rdoc/">Darkfish Rdoc Generator</a> 3.
|
601
|
+
</footer>
|
602
|
+
|