thesilverspoon 0.0.12 → 0.0.13

Sign up to get free protection for your applications and to get access to all the features.
Files changed (60) hide show
  1. data/README.rdoc +12 -0
  2. data/doc/<.html +145 -0
  3. data/doc/ApplicationHelper.html +255 -0
  4. data/doc/Create.html +151 -0
  5. data/doc/Everything.html +147 -0
  6. data/doc/Everything/Scaffold.html +502 -0
  7. data/doc/FileUploader.html +243 -0
  8. data/doc/Gemfile.html +112 -0
  9. data/doc/Gemfile~.html +112 -0
  10. data/doc/Object.html +528 -0
  11. data/doc/README.rdoc +12 -0
  12. data/doc/README.rdoc~ +12 -0
  13. data/doc/README_rdoc.html +107 -0
  14. data/doc/Rakefile.html +109 -0
  15. data/doc/The_silver_spoon.html +145 -0
  16. data/doc/The_silver_spoon/Install.html +602 -0
  17. data/doc/Thesilverspoon.html +158 -0
  18. data/doc/created.rid +23 -0
  19. data/doc/doc/README_rdoc.html +107 -0
  20. data/doc/images/add.png +0 -0
  21. data/doc/images/brick.png +0 -0
  22. data/doc/images/brick_link.png +0 -0
  23. data/doc/images/bug.png +0 -0
  24. data/doc/images/bullet_black.png +0 -0
  25. data/doc/images/bullet_toggle_minus.png +0 -0
  26. data/doc/images/bullet_toggle_plus.png +0 -0
  27. data/doc/images/date.png +0 -0
  28. data/doc/images/delete.png +0 -0
  29. data/doc/images/find.png +0 -0
  30. data/doc/images/loadingAnimation.gif +0 -0
  31. data/doc/images/macFFBgHack.png +0 -0
  32. data/doc/images/package.png +0 -0
  33. data/doc/images/page_green.png +0 -0
  34. data/doc/images/page_white_text.png +0 -0
  35. data/doc/images/page_white_width.png +0 -0
  36. data/doc/images/plugin.png +0 -0
  37. data/doc/images/ruby.png +0 -0
  38. data/doc/images/tag_blue.png +0 -0
  39. data/doc/images/tag_green.png +0 -0
  40. data/doc/images/transparent.png +0 -0
  41. data/doc/images/wrench.png +0 -0
  42. data/doc/images/wrench_orange.png +0 -0
  43. data/doc/images/zoom.png +0 -0
  44. data/doc/index.html +104 -0
  45. data/doc/js/darkfish.js +153 -0
  46. data/doc/js/jquery.js +18 -0
  47. data/doc/js/navigation.js +142 -0
  48. data/doc/js/search.js +94 -0
  49. data/doc/js/search_index.js +1 -0
  50. data/doc/js/searcher.js +228 -0
  51. data/doc/rdoc.css +543 -0
  52. data/doc/table_of_contents.html +160 -0
  53. data/lib/integratedscaffold.rb +36 -12
  54. data/lib/thesilverspoon.rb +15 -7
  55. data/lib/thesilverspoon.rb~ +14 -6
  56. data/lib/thesilverspoon/version.rb +1 -1
  57. data/lib/thesilverspoon/version.rb~ +1 -1
  58. data/thesilverspoon.gemspec +2 -0
  59. data/thesilverspoon.gemspec~ +2 -0
  60. metadata +70 -18
@@ -0,0 +1,158 @@
1
+ <!DOCTYPE html>
2
+
3
+ <html>
4
+ <head>
5
+ <meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
6
+
7
+ <title>module Thesilverspoon - 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/version.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 Thesilverspoon</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
+ <!-- Constants -->
131
+ <section id="constants-list" class="section">
132
+ <h3 class="section-header">Constants</h3>
133
+ <dl>
134
+
135
+ <dt id="VERSION">VERSION
136
+
137
+ <dd class="description">
138
+
139
+
140
+ </dl>
141
+ </section>
142
+
143
+
144
+
145
+
146
+ <!-- Methods -->
147
+
148
+ </section><!-- 5Buntitled-5D -->
149
+
150
+ </div><!-- documentation -->
151
+
152
+
153
+ <footer id="validator-badges">
154
+ <p><a href="http://validator.w3.org/check/referer">[Validate]</a>
155
+ <p>Generated by <a href="https://github.com/rdoc/rdoc">RDoc</a> 3.12.
156
+ <p>Generated with the <a href="http://deveiate.org/projects/Darkfish-Rdoc/">Darkfish Rdoc Generator</a> 3.
157
+ </footer>
158
+
@@ -0,0 +1,23 @@
1
+ Thu, 02 Feb 2012 19:18:44 +0530
2
+ ./lib/thesilverspoon.rb Thu, 02 Feb 2012 19:18:38 +0530
3
+ ./lib/templates/controller.rb Wed, 01 Feb 2012 20:06:03 +0530
4
+ ./lib/templates/actions/index.rb Wed, 01 Feb 2012 14:14:13 +0530
5
+ ./lib/templates/actions/show.rb Wed, 01 Feb 2012 14:14:13 +0530
6
+ ./lib/templates/actions/edit.rb Wed, 01 Feb 2012 18:20:37 +0530
7
+ ./lib/templates/actions/destroy.rb Wed, 01 Feb 2012 14:14:13 +0530
8
+ ./lib/templates/actions/create.rb Wed, 01 Feb 2012 14:14:13 +0530
9
+ ./lib/templates/actions/parse_save_from_excel.rb Wed, 01 Feb 2012 14:14:13 +0530
10
+ ./lib/templates/actions/new.rb Wed, 01 Feb 2012 20:04:17 +0530
11
+ ./lib/templates/actions/integrated_view.rb Wed, 01 Feb 2012 17:03:46 +0530
12
+ ./lib/templates/actions/update.rb Wed, 01 Feb 2012 14:14:13 +0530
13
+ ./lib/templates/model.rb Wed, 01 Feb 2012 14:14:13 +0530
14
+ ./lib/templates/file_uploader.rb Wed, 01 Feb 2012 14:14:13 +0530
15
+ ./lib/templates/migration.rb Wed, 01 Feb 2012 14:14:13 +0530
16
+ ./lib/templates/helper.rb Wed, 01 Feb 2012 14:14:13 +0530
17
+ ./lib/templates/application_helper.rb Wed, 01 Feb 2012 14:51:07 +0530
18
+ ./lib/thesilverspoon/version.rb Thu, 02 Feb 2012 11:09:53 +0530
19
+ ./Rakefile Wed, 01 Feb 2012 14:14:13 +0530
20
+ ./doc/README.rdoc Thu, 02 Feb 2012 19:09:00 +0530
21
+ ./Gemfile~ Wed, 01 Feb 2012 14:14:13 +0530
22
+ ./README.rdoc Thu, 02 Feb 2012 19:10:19 +0530
23
+ ./Gemfile Wed, 01 Feb 2012 14:14:13 +0530
@@ -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
+
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
@@ -0,0 +1,104 @@
1
+ <!DOCTYPE html>
2
+
3
+ <html>
4
+ <head>
5
+ <meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
6
+
7
+ <title>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>
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
+ <p>This is the API documentation for RDoc Documentation.
97
+
98
+
99
+ <footer id="validator-badges">
100
+ <p><a href="http://validator.w3.org/check/referer">[Validate]</a>
101
+ <p>Generated by <a href="https://github.com/rdoc/rdoc">RDoc</a> 3.12.
102
+ <p>Generated with the <a href="http://deveiate.org/projects/Darkfish-Rdoc/">Darkfish Rdoc Generator</a> 3.
103
+ </footer>
104
+
@@ -0,0 +1,153 @@
1
+ /**
2
+ *
3
+ * Darkfish Page Functions
4
+ * $Id: darkfish.js 53 2009-01-07 02:52:03Z deveiant $
5
+ *
6
+ * Author: Michael Granger <mgranger@laika.com>
7
+ *
8
+ */
9
+
10
+ /* Provide console simulation for firebug-less environments */
11
+ if (!("console" in window) || !("firebug" in console)) {
12
+ var names = ["log", "debug", "info", "warn", "error", "assert", "dir", "dirxml",
13
+ "group", "groupEnd", "time", "timeEnd", "count", "trace", "profile", "profileEnd"];
14
+
15
+ window.console = {};
16
+ for (var i = 0; i < names.length; ++i)
17
+ window.console[names[i]] = function() {};
18
+ };
19
+
20
+
21
+ /**
22
+ * Unwrap the first element that matches the given @expr@ from the targets and return them.
23
+ */
24
+ $.fn.unwrap = function( expr ) {
25
+ return this.each( function() {
26
+ $(this).parents( expr ).eq( 0 ).after( this ).remove();
27
+ });
28
+ };
29
+
30
+
31
+ function showSource( e ) {
32
+ var target = e.target;
33
+ var codeSections = $(target).
34
+ parents('.method-detail').
35
+ find('.method-source-code');
36
+
37
+ $(target).
38
+ parents('.method-detail').
39
+ find('.method-source-code').
40
+ slideToggle();
41
+ };
42
+
43
+ function hookSourceViews() {
44
+ $('.method-heading').click( showSource );
45
+ };
46
+
47
+ function toggleDebuggingSection() {
48
+ $('.debugging-section').slideToggle();
49
+ };
50
+
51
+ function hookDebuggingToggle() {
52
+ $('#debugging-toggle img').click( toggleDebuggingSection );
53
+ };
54
+
55
+ function hookTableOfContentsToggle() {
56
+ $('.indexpage li .toc-toggle').each( function() {
57
+ $(this).click( function() {
58
+ $(this).toggleClass('open');
59
+ });
60
+
61
+ var section = $(this).next();
62
+
63
+ $(this).click( function() {
64
+ section.slideToggle();
65
+ });
66
+ });
67
+ }
68
+
69
+ function hookSearch() {
70
+ var input = $('#search-field').eq(0);
71
+ var result = $('#search-results').eq(0);
72
+ $(result).show();
73
+
74
+ var search_section = $('#search-section').get(0);
75
+ $(search_section).show();
76
+
77
+ var search = new Search(search_data, input, result);
78
+
79
+ search.renderItem = function(result) {
80
+ var li = document.createElement('li');
81
+ var html = '';
82
+
83
+ // TODO add relative path to <script> per-page
84
+ html += '<p class="search-match"><a href="' + rdoc_rel_prefix + result.path + '">' + this.hlt(result.title);
85
+ if (result.params)
86
+ html += '<span class="params">' + result.params + '</span>';
87
+ html += '</a>';
88
+
89
+
90
+ if (result.namespace)
91
+ html += '<p class="search-namespace">' + this.hlt(result.namespace);
92
+
93
+ if (result.snippet)
94
+ html += '<div class="search-snippet">' + result.snippet + '</div>';
95
+
96
+ li.innerHTML = html;
97
+
98
+ return li;
99
+ }
100
+
101
+ search.select = function(result) {
102
+ var result_element = result.get(0);
103
+ window.location.href = result_element.firstChild.firstChild.href;
104
+ }
105
+
106
+ search.scrollIntoView = search.scrollInWindow;
107
+ };
108
+
109
+ function highlightTarget( anchor ) {
110
+ console.debug( "Highlighting target '%s'.", anchor );
111
+
112
+ $("a[name=" + anchor + "]").each( function() {
113
+ if ( !$(this).parent().parent().hasClass('target-section') ) {
114
+ console.debug( "Wrapping the target-section" );
115
+ $('div.method-detail').unwrap( 'div.target-section' );
116
+ $(this).parent().wrap( '<div class="target-section"></div>' );
117
+ } else {
118
+ console.debug( "Already wrapped." );
119
+ }
120
+ });
121
+ };
122
+
123
+ function highlightLocationTarget() {
124
+ console.debug( "Location hash: %s", window.location.hash );
125
+ if ( ! window.location.hash || window.location.hash.length == 0 ) return;
126
+
127
+ var anchor = window.location.hash.substring(1);
128
+ console.debug( "Found anchor: %s; matching %s", anchor, "a[name=" + anchor + "]" );
129
+
130
+ highlightTarget( anchor );
131
+ };
132
+
133
+ function highlightClickTarget( event ) {
134
+ console.debug( "Highlighting click target for event %o", event.target );
135
+ try {
136
+ var anchor = $(event.target).attr( 'href' ).substring(1);
137
+ console.debug( "Found target anchor: %s", anchor );
138
+ highlightTarget( anchor );
139
+ } catch ( err ) {
140
+ console.error( "Exception while highlighting: %o", err );
141
+ };
142
+ };
143
+
144
+
145
+ $(document).ready( function() {
146
+ hookSourceViews();
147
+ hookDebuggingToggle();
148
+ hookSearch();
149
+ highlightLocationTarget();
150
+ hookTableOfContentsToggle();
151
+
152
+ $('ul.link-list a').bind( "click", highlightClickTarget );
153
+ });