flexa_lib 0.3.8 → 0.3.9

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.
Files changed (52) hide show
  1. data/flexa_lib.gemspec +1 -1
  2. data/lib/flexa_formtastic_bootstrap/inputs/OLD_boolean_input.rb +33 -0
  3. data/lib/{flexa_lib/inputs/radio_input.rb → flexa_formtastic_bootstrap/inputs/OLD_radio_input.rb} +4 -12
  4. data/lib/flexa_formtastic_bootstrap/inputs/boolean_input.rb +27 -21
  5. data/lib/{flexa_lib → flexa_formtastic_bootstrap}/inputs/date_picker_input.rb +0 -0
  6. data/lib/{flexa_lib → flexa_formtastic_bootstrap}/inputs/lookup_input.rb +0 -0
  7. data/lib/flexa_formtastic_bootstrap/inputs/radio_input.rb +12 -4
  8. data/lib/flexa_formtastic_bootstrap/inputs.rb +5 -0
  9. data/lib/flexa_lib/date_extensions.rb +27 -0
  10. data/lib/flexa_lib.rb +4 -2
  11. data/lib/generators/flexa_lib/crud/templates/view_tables.html.erb +1 -1
  12. data/vendor/assets/javascripts/flexa-themejs.js +79 -0
  13. metadata +292 -299
  14. data/docs/ActionView/Base.html +0 -132
  15. data/docs/ActionView.html +0 -114
  16. data/docs/FlexaLib.html +0 -151
  17. data/docs/created.rid +0 -2
  18. data/docs/images/add.png +0 -0
  19. data/docs/images/brick.png +0 -0
  20. data/docs/images/brick_link.png +0 -0
  21. data/docs/images/bug.png +0 -0
  22. data/docs/images/bullet_black.png +0 -0
  23. data/docs/images/bullet_toggle_minus.png +0 -0
  24. data/docs/images/bullet_toggle_plus.png +0 -0
  25. data/docs/images/date.png +0 -0
  26. data/docs/images/delete.png +0 -0
  27. data/docs/images/find.png +0 -0
  28. data/docs/images/loadingAnimation.gif +0 -0
  29. data/docs/images/macFFBgHack.png +0 -0
  30. data/docs/images/package.png +0 -0
  31. data/docs/images/page_green.png +0 -0
  32. data/docs/images/page_white_text.png +0 -0
  33. data/docs/images/page_white_width.png +0 -0
  34. data/docs/images/plugin.png +0 -0
  35. data/docs/images/ruby.png +0 -0
  36. data/docs/images/tag_blue.png +0 -0
  37. data/docs/images/tag_green.png +0 -0
  38. data/docs/images/transparent.png +0 -0
  39. data/docs/images/wrench.png +0 -0
  40. data/docs/images/wrench_orange.png +0 -0
  41. data/docs/images/zoom.png +0 -0
  42. data/docs/index.html +0 -73
  43. data/docs/js/darkfish.js +0 -153
  44. data/docs/js/jquery.js +0 -18
  45. data/docs/js/navigation.js +0 -142
  46. data/docs/js/search.js +0 -94
  47. data/docs/js/search_index.js +0 -1
  48. data/docs/js/searcher.js +0 -228
  49. data/docs/rdoc.css +0 -543
  50. data/docs/table_of_contents.html +0 -57
  51. data/lib/flexa_lib/inputs/boolean_input.rb +0 -39
  52. data/lib/flexa_lib/inputs.rb +0 -5
@@ -1,132 +0,0 @@
1
- <!DOCTYPE html>
2
-
3
- <html>
4
- <head>
5
- <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
6
-
7
- <title>class ActionView::Base - Commander 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/flexa_lib.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">Object
63
-
64
- </nav>
65
-
66
- <!-- Included Modules -->
67
- <nav id="includes-section" class="section">
68
- <h3 class="section-header">Included Modules</h3>
69
-
70
- <ul class="link-list">
71
-
72
-
73
- <li><span class="include">FlexaLib::Helpers</span>
74
-
75
-
76
- </ul>
77
- </nav>
78
-
79
-
80
- </div>
81
-
82
- <div id="project-metadata">
83
-
84
- <nav id="classindex-section" class="section project-section">
85
- <h3 class="section-header">Class and Module Index</h3>
86
-
87
- <ul class="link-list">
88
-
89
- <li><a href="../ActionView.html">ActionView</a>
90
-
91
- <li><a href="../ActionView/Base.html">ActionView::Base</a>
92
-
93
- <li><a href="../FlexaLib.html">FlexaLib</a>
94
-
95
- </ul>
96
- </nav>
97
-
98
- </div>
99
- </nav>
100
-
101
- <div id="documentation">
102
- <h1 class="class">class ActionView::Base</h1>
103
-
104
- <div id="description" class="description">
105
-
106
- </div><!-- description -->
107
-
108
-
109
-
110
-
111
- <section id="5Buntitled-5D" class="documentation-section">
112
-
113
-
114
-
115
-
116
-
117
-
118
-
119
-
120
- <!-- Methods -->
121
-
122
- </section><!-- 5Buntitled-5D -->
123
-
124
- </div><!-- documentation -->
125
-
126
-
127
- <footer id="validator-badges">
128
- <p><a href="http://validator.w3.org/check/referer">[Validate]</a>
129
- <p>Generated by <a href="https://github.com/rdoc/rdoc">RDoc</a> 3.12.
130
- <p>Generated with the <a href="http://deveiate.org/projects/Darkfish-Rdoc/">Darkfish Rdoc Generator</a> 3.
131
- </footer>
132
-
data/docs/ActionView.html DELETED
@@ -1,114 +0,0 @@
1
- <!DOCTYPE html>
2
-
3
- <html>
4
- <head>
5
- <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
6
-
7
- <title>module ActionView - Commander 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/flexa_lib.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
-
66
- <nav id="classindex-section" class="section project-section">
67
- <h3 class="section-header">Class and Module Index</h3>
68
-
69
- <ul class="link-list">
70
-
71
- <li><a href="./ActionView.html">ActionView</a>
72
-
73
- <li><a href="./ActionView/Base.html">ActionView::Base</a>
74
-
75
- <li><a href="./FlexaLib.html">FlexaLib</a>
76
-
77
- </ul>
78
- </nav>
79
-
80
- </div>
81
- </nav>
82
-
83
- <div id="documentation">
84
- <h1 class="module">module ActionView</h1>
85
-
86
- <div id="description" class="description">
87
-
88
- </div><!-- description -->
89
-
90
-
91
-
92
-
93
- <section id="5Buntitled-5D" class="documentation-section">
94
-
95
-
96
-
97
-
98
-
99
-
100
-
101
-
102
- <!-- Methods -->
103
-
104
- </section><!-- 5Buntitled-5D -->
105
-
106
- </div><!-- documentation -->
107
-
108
-
109
- <footer id="validator-badges">
110
- <p><a href="http://validator.w3.org/check/referer">[Validate]</a>
111
- <p>Generated by <a href="https://github.com/rdoc/rdoc">RDoc</a> 3.12.
112
- <p>Generated with the <a href="http://deveiate.org/projects/Darkfish-Rdoc/">Darkfish Rdoc Generator</a> 3.
113
- </footer>
114
-
data/docs/FlexaLib.html DELETED
@@ -1,151 +0,0 @@
1
- <!DOCTYPE html>
2
-
3
- <html>
4
- <head>
5
- <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
6
-
7
- <title>module FlexaLib - Commander 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/flexa_lib.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
-
66
- <nav id="classindex-section" class="section project-section">
67
- <h3 class="section-header">Class and Module Index</h3>
68
-
69
- <ul class="link-list">
70
-
71
- <li><a href="./ActionView.html">ActionView</a>
72
-
73
- <li><a href="./ActionView/Base.html">ActionView::Base</a>
74
-
75
- <li><a href="./FlexaLib.html">FlexaLib</a>
76
-
77
- </ul>
78
- </nav>
79
-
80
- </div>
81
- </nav>
82
-
83
- <div id="documentation">
84
- <h1 class="module">module FlexaLib</h1>
85
-
86
- <div id="description" class="description">
87
-
88
- <h1 id="label-FlexaLib"><a href="FlexaLib.html">FlexaLib</a></h1>
89
-
90
- <p>Biblioteca para Equipe da Flexa de Desenvolvimento</p>
91
-
92
- <p>Incluir a gem no Gemfile do projeto</p>
93
-
94
- <pre>gem 'flexa_lib'</pre>
95
- <hr style="height: 1px">
96
-
97
- <p>Usando os Geradores Disponiveis</p>
98
- <ul><li>
99
- <p>Gerador de CRUD(templates de VIEW)</p>
100
- </li></ul>
101
-
102
- <pre>rails g flexa_lib:crud NomeDoController</pre>
103
- <ul><li>
104
- <p>Gerador de LOOKUP(gera um controller e</p>
105
- </li></ul>
106
-
107
- <p>uma view de Lookup em Namespace) os parametros são o nome do model e a
108
- lista de campos que devem aparecer no grid do lookup</p>
109
-
110
- <pre>rails g flexa_lib:lookup NomeDoModel campo1 campo2</pre>
111
-
112
- <p>Aplicação do Twitter-Bootstrap na Aplicação</p>
113
- <ul><li>
114
- <p>No “application.css” deve ficar como no exemplo abaixo:</p>
115
-
116
- <pre class="ruby"><span class="ruby-operator">*=</span> <span class="ruby-identifier">require_self</span>
117
- <span class="ruby-operator">*=</span> <span class="ruby-identifier">require</span> <span class="ruby-identifier">flexa</span><span class="ruby-operator">-</span><span class="ruby-identifier">theme</span>
118
- </pre>
119
- </li><li>
120
- <p>No “application.js” deve ficar como no exemplo abaixo:</p>
121
-
122
- <p>//= require jquery //= require jquery_ujs //= require flexa-themejs</p>
123
- </li></ul>
124
-
125
- </div><!-- description -->
126
-
127
-
128
-
129
-
130
- <section id="5Buntitled-5D" class="documentation-section">
131
-
132
-
133
-
134
-
135
-
136
-
137
-
138
-
139
- <!-- Methods -->
140
-
141
- </section><!-- 5Buntitled-5D -->
142
-
143
- </div><!-- documentation -->
144
-
145
-
146
- <footer id="validator-badges">
147
- <p><a href="http://validator.w3.org/check/referer">[Validate]</a>
148
- <p>Generated by <a href="https://github.com/rdoc/rdoc">RDoc</a> 3.12.
149
- <p>Generated with the <a href="http://deveiate.org/projects/Darkfish-Rdoc/">Darkfish Rdoc Generator</a> 3.
150
- </footer>
151
-
data/docs/created.rid DELETED
@@ -1,2 +0,0 @@
1
- Wed, 14 Mar 2012 16:30:28 -0300
2
- lib/flexa_lib.rb Wed, 14 Mar 2012 16:08:46 -0300
data/docs/images/add.png DELETED
Binary file
Binary file
Binary file
data/docs/images/bug.png DELETED
Binary file
Binary file
Binary file
Binary file
data/docs/images/date.png DELETED
Binary file
Binary file
data/docs/images/find.png DELETED
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
data/docs/images/ruby.png DELETED
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
data/docs/images/zoom.png DELETED
Binary file
data/docs/index.html DELETED
@@ -1,73 +0,0 @@
1
- <!DOCTYPE html>
2
-
3
- <html>
4
- <head>
5
- <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
6
-
7
- <title>Commander 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
-
48
- <nav id="classindex-section" class="section project-section">
49
- <h3 class="section-header">Class and Module Index</h3>
50
-
51
- <ul class="link-list">
52
-
53
- <li><a href="./ActionView.html">ActionView</a>
54
-
55
- <li><a href="./ActionView/Base.html">ActionView::Base</a>
56
-
57
- <li><a href="./FlexaLib.html">FlexaLib</a>
58
-
59
- </ul>
60
- </nav>
61
-
62
- </div>
63
- </nav>
64
-
65
- <p>This is the API documentation for Commander Documentation.
66
-
67
-
68
- <footer id="validator-badges">
69
- <p><a href="http://validator.w3.org/check/referer">[Validate]</a>
70
- <p>Generated by <a href="https://github.com/rdoc/rdoc">RDoc</a> 3.12.
71
- <p>Generated with the <a href="http://deveiate.org/projects/Darkfish-Rdoc/">Darkfish Rdoc Generator</a> 3.
72
- </footer>
73
-