my-simon 0.0.0 → 0.0.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (90) hide show
  1. data/.document +5 -0
  2. data/.gitignore.orig +55 -0
  3. data/DOC/Launch Check List.docx +0 -0
  4. data/DOC/Launch Check List.pdf +0 -0
  5. data/Gemfile +14 -0
  6. data/Gemfile.lock +44 -0
  7. data/LICENSE.txt +20 -0
  8. data/README.md +21 -0
  9. data/README.rdoc +19 -0
  10. data/Rakefile +46 -0
  11. data/VERSION +1 -0
  12. data/build/rakefile.rb +12 -0
  13. data/config.rb +24 -0
  14. data/lib/simon.rb +0 -5
  15. data/my-simon.gemspec +141 -0
  16. data/scaffolding/simon/controller.tpl +9 -0
  17. data/scaffolding/simon/model.tpl +10 -0
  18. data/scaffolding/simon/view.tpl +5 -0
  19. data/scaffolding/standards/html_template.html +44 -0
  20. data/scaffolding/standards/html_template.php +44 -0
  21. data/scaffolding/standards/jquery_plugin_template.js +45 -0
  22. data/scaffolding/standards/js_template.js +43 -0
  23. data/simon +282 -0
  24. data/test/helper.rb +18 -0
  25. data/test/test_simon.rb +7 -0
  26. data/www/.htaccess +488 -0
  27. data/www/404.html +32 -0
  28. data/www/crossdomain.xml +25 -0
  29. data/www/favicon.ico +0 -0
  30. data/www/index.php +17 -0
  31. data/www/lib/js/homePage.js +43 -0
  32. data/www/lib/js/jquery/JQbook.js +809 -0
  33. data/www/lib/js/jquery/jquery-1.8.0.min.js +27 -0
  34. data/www/lib/js/jquery/jquery.alphanumeric.js +82 -0
  35. data/www/lib/js/jquery/jquery.cookie.js +96 -0
  36. data/www/lib/js/jquery/jquery.easing.1.3.js +207 -0
  37. data/www/lib/js/main.js +117 -0
  38. data/www/lib/js/master.js +6 -0
  39. data/www/lib/js/plugins/handlebars-1.0.rc.1.js +1920 -0
  40. data/www/lib/js/plugins/modernizr-1.7.min.js +2 -0
  41. data/www/lib/js/plugins/swfobject.js +777 -0
  42. data/www/lib/js/plugins_mod/README.txt +3 -0
  43. data/www/lib/php/app.php +53 -0
  44. data/www/lib/php/controller/index.php +10 -0
  45. data/www/lib/php/controller/regex.php +23 -0
  46. data/www/lib/php/model/Book.php +8 -0
  47. data/www/lib/php/model/Model.php +8 -0
  48. data/www/lib/php/plugins/php-activerecord/ActiveRecord.php +44 -0
  49. data/www/lib/php/plugins/php-activerecord/lib/CallBack.php +226 -0
  50. data/www/lib/php/plugins/php-activerecord/lib/Column.php +155 -0
  51. data/www/lib/php/plugins/php-activerecord/lib/Config.php +288 -0
  52. data/www/lib/php/plugins/php-activerecord/lib/Connection.php +456 -0
  53. data/www/lib/php/plugins/php-activerecord/lib/ConnectionManager.php +38 -0
  54. data/www/lib/php/plugins/php-activerecord/lib/DateTime.php +45 -0
  55. data/www/lib/php/plugins/php-activerecord/lib/Exceptions.php +137 -0
  56. data/www/lib/php/plugins/php-activerecord/lib/Expressions.php +183 -0
  57. data/www/lib/php/plugins/php-activerecord/lib/Inflector.php +115 -0
  58. data/www/lib/php/plugins/php-activerecord/lib/Model.php +1673 -0
  59. data/www/lib/php/plugins/php-activerecord/lib/Reflections.php +86 -0
  60. data/www/lib/php/plugins/php-activerecord/lib/Relationship.php +637 -0
  61. data/www/lib/php/plugins/php-activerecord/lib/SQLBuilder.php +396 -0
  62. data/www/lib/php/plugins/php-activerecord/lib/Serialization.php +302 -0
  63. data/www/lib/php/plugins/php-activerecord/lib/Singleton.php +57 -0
  64. data/www/lib/php/plugins/php-activerecord/lib/Table.php +547 -0
  65. data/www/lib/php/plugins/php-activerecord/lib/Utils.php +351 -0
  66. data/www/lib/php/plugins/php-activerecord/lib/Validations.php +833 -0
  67. data/www/lib/php/plugins/php-activerecord/lib/adapters/MysqlAdapter.php +73 -0
  68. data/www/lib/php/plugins/php-activerecord/lib/adapters/OciAdapter.php +121 -0
  69. data/www/lib/php/plugins/php-activerecord/lib/adapters/PgsqlAdapter.php +104 -0
  70. data/www/lib/php/plugins/php-activerecord/lib/adapters/SqliteAdapter.php +81 -0
  71. data/www/lib/php/system/Config.php +174 -0
  72. data/www/lib/php/system/config.routes.php +29 -0
  73. data/www/lib/php/system/router.php +220 -0
  74. data/www/lib/php/template/footer.php +59 -0
  75. data/www/lib/php/template/header.php +74 -0
  76. data/www/lib/php/view/index.php +5 -0
  77. data/www/media/images/facebook_share.jpg +0 -0
  78. data/www/robots.txt +5 -0
  79. data/www/sandbox/readme.txt +3 -0
  80. data/www/sass/javascript.scss +1 -0
  81. data/www/sass/layout.scss +128 -0
  82. data/www/sass/master.scss +4 -0
  83. data/www/sass/reset.scss +47 -0
  84. data/www/sass/typography.scss +24 -0
  85. data/www/styles/javascript.css +1 -0
  86. data/www/styles/layout.css +186 -0
  87. data/www/styles/master.css +4 -0
  88. data/www/styles/reset.css +60 -0
  89. data/www/styles/typography.css +24 -0
  90. metadata +179 -7
@@ -0,0 +1,186 @@
1
+ /*
2
+ Global
3
+ */
4
+ /* line 4, ../sass/layout.scss */
5
+ .ir {
6
+ display: block;
7
+ text-indent: -999em;
8
+ overflow: hidden;
9
+ background-repeat: no-repeat;
10
+ text-align: left;
11
+ direction: ltr;
12
+ }
13
+
14
+ /* line 5, ../sass/layout.scss */
15
+ .hidden {
16
+ display: none;
17
+ visibility: hidden;
18
+ }
19
+
20
+ /* line 6, ../sass/layout.scss */
21
+ .visuallyhidden {
22
+ border: 0;
23
+ clip: rect(0 0 0 0);
24
+ height: 1px;
25
+ margin: -1px;
26
+ overflow: hidden;
27
+ padding: 0;
28
+ position: absolute;
29
+ width: 1px;
30
+ }
31
+
32
+ /* line 8, ../sass/layout.scss */
33
+ .visuallyhidden.focusable:active,
34
+ .visuallyhidden.focusable:focus {
35
+ clip: auto;
36
+ height: auto;
37
+ margin: 0;
38
+ overflow: visible;
39
+ position: static;
40
+ width: auto;
41
+ }
42
+
43
+ /* line 9, ../sass/layout.scss */
44
+ .invisible {
45
+ visibility: hidden;
46
+ }
47
+
48
+ /* line 10, ../sass/layout.scss */
49
+ .clearfix:before, .clearfix:after {
50
+ content: "\0020";
51
+ display: block;
52
+ height: 0;
53
+ overflow: hidden;
54
+ }
55
+
56
+ /* line 11, ../sass/layout.scss */
57
+ .clearfix:after {
58
+ clear: both;
59
+ }
60
+
61
+ /* line 12, ../sass/layout.scss */
62
+ .clearfix {
63
+ zoom: 1;
64
+ }
65
+
66
+ /* line 13, ../sass/layout.scss */
67
+ a {
68
+ color: black;
69
+ }
70
+
71
+ /*
72
+ Body
73
+ */
74
+ /*
75
+ PageWrapper
76
+ */
77
+ /*
78
+ Header
79
+ */
80
+ /*
81
+ Content MainContent
82
+ */
83
+ /*
84
+ Footer
85
+ */
86
+ /* Smartphones (portrait and landscape) ----------- */
87
+ @media only screen and (min-device-width: 320px) and (max-device-width: 480px) {
88
+ /* Styles */
89
+ }
90
+ /* Smartphones (landscape) ----------- */
91
+ @media only screen and (min-width: 321px) {
92
+ /* Styles */
93
+ }
94
+ /* Smartphones (portrait) ----------- */
95
+ @media only screen and (max-width: 320px) {
96
+ /* Styles */
97
+ }
98
+ /* iPads (portrait and landscape) ----------- */
99
+ @media only screen and (min-device-width: 768px) and (max-device-width: 1024px) {
100
+ /* Styles */
101
+ }
102
+ /* iPads (landscape) ----------- */
103
+ @media only screen and (min-device-width: 768px) and (max-device-width: 1024px) and (orientation: landscape) {
104
+ /* Styles */
105
+ }
106
+ /* iPads (portrait) ----------- */
107
+ @media only screen and (min-device-width: 768px) and (max-device-width: 1024px) and (orientation: portrait) {
108
+ /* Styles */
109
+ }
110
+ /* Desktops and laptops ----------- */
111
+ @media only screen and (min-width: 1224px) {
112
+ /* Styles */
113
+ }
114
+ /* Large screens ----------- */
115
+ @media only screen and (min-width: 1824px) {
116
+ /* Styles */
117
+ }
118
+ /* iPhone 4 ----------- */
119
+ @media only screen and (-webkit-min-device-pixel-ratio: 1.5), only screen and (min-device-pixel-ratio: 1.5) {
120
+ /* Styles */
121
+ }
122
+ /*
123
+ For Printing support
124
+ */
125
+ @media print {
126
+ /* line 116, ../sass/layout.scss */
127
+ * {
128
+ background: transparent !important;
129
+ color: black !important;
130
+ text-shadow: none !important;
131
+ filter: none !important;
132
+ -ms-filter: none !important;
133
+ }
134
+
135
+ /* line 118, ../sass/layout.scss */
136
+ a, a:visited {
137
+ color: #444 !important;
138
+ text-decoration: underline;
139
+ }
140
+
141
+ /* line 119, ../sass/layout.scss */
142
+ a[href]:after {
143
+ content: " (" attr(href) ")";
144
+ }
145
+
146
+ /* line 120, ../sass/layout.scss */
147
+ abbr[title]:after {
148
+ content: " (" attr(title) ")";
149
+ }
150
+
151
+ /* line 121, ../sass/layout.scss */
152
+ .ir a:after, a[href^="javascript:"]:after, a[href^="#"]:after {
153
+ content: "";
154
+ }
155
+
156
+ /* line 122, ../sass/layout.scss */
157
+ pre, blockquote {
158
+ border: 1px solid #999;
159
+ page-break-inside: avoid;
160
+ }
161
+
162
+ /* line 123, ../sass/layout.scss */
163
+ thead {
164
+ display: table-header-group;
165
+ }
166
+
167
+ /* line 124, ../sass/layout.scss */
168
+ tr, img {
169
+ page-break-inside: avoid;
170
+ }
171
+
172
+ @page {
173
+ margin: 0.5cm;
174
+ }
175
+
176
+ /* line 126, ../sass/layout.scss */
177
+ p, h2, h3 {
178
+ orphans: 3;
179
+ widows: 3;
180
+ }
181
+
182
+ /* line 127, ../sass/layout.scss */
183
+ h2, h3 {
184
+ page-break-after: avoid;
185
+ }
186
+ }
@@ -0,0 +1,4 @@
1
+ @import url(reset.css) screen;
2
+ @import url(layout.css) screen;
3
+ @import url(typography.css) screen;
4
+ /* master.css */
@@ -0,0 +1,60 @@
1
+ /* http://meyerweb.com/eric/tools/css/reset/
2
+ v2.0 | 20110126
3
+ License: none (public domain)
4
+ */
5
+ /* line 17, ../sass/reset.scss */
6
+ html, body, div, span, applet, object, iframe,
7
+ h1, h2, h3, h4, h5, h6, p, blockquote, pre,
8
+ a, abbr, acronym, address, big, cite, code,
9
+ del, dfn, em, img, ins, kbd, q, s, samp,
10
+ small, strike, strong, sub, sup, tt, var,
11
+ b, u, i, center,
12
+ dl, dt, dd, ol, ul, li,
13
+ fieldset, form, label, legend,
14
+ table, caption, tbody, tfoot, thead, tr, th, td,
15
+ article, aside, canvas, details, embed,
16
+ figure, figcaption, footer, header, hgroup,
17
+ menu, nav, output, ruby, section, summary,
18
+ time, mark, audio, video {
19
+ margin: 0;
20
+ padding: 0;
21
+ border: 0;
22
+ font-size: 100%;
23
+ font: inherit;
24
+ vertical-align: baseline;
25
+ }
26
+
27
+ /* HTML5 display-role reset for older browsers */
28
+ /* line 27, ../sass/reset.scss */
29
+ article, aside, details, figcaption, figure,
30
+ footer, header, hgroup, menu, nav, section {
31
+ display: block;
32
+ }
33
+
34
+ /* line 30, ../sass/reset.scss */
35
+ body {
36
+ line-height: 1;
37
+ }
38
+
39
+ /* line 33, ../sass/reset.scss */
40
+ ol, ul {
41
+ list-style: none;
42
+ }
43
+
44
+ /* line 36, ../sass/reset.scss */
45
+ blockquote, q {
46
+ quotes: none;
47
+ }
48
+
49
+ /* line 40, ../sass/reset.scss */
50
+ blockquote:before, blockquote:after,
51
+ q:before, q:after {
52
+ content: '';
53
+ content: none;
54
+ }
55
+
56
+ /* line 44, ../sass/reset.scss */
57
+ table {
58
+ border-collapse: collapse;
59
+ border-spacing: 0;
60
+ }
@@ -0,0 +1,24 @@
1
+ /* YUI Font CSS
2
+ Copyright (c) 2008, Yahoo! Inc. All rights reserved.
3
+ Code licensed under the BSD License:
4
+ http://developer.yahoo.net/yui/license.txt
5
+ version: 2.5.1
6
+ Px %
7
+ 10 77
8
+ 11 85
9
+ 12 93
10
+ 13 100
11
+ 14 108
12
+ 15 116
13
+ 16 123.1
14
+ 17 131
15
+ 18 138.5
16
+ 19 146.5
17
+ 20 153.9
18
+ 21 161.6
19
+ 22 167
20
+ 23 174
21
+ 24 182
22
+ 25 189
23
+ 26 197
24
+ */
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: my-simon
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.0
4
+ version: 0.0.1
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -10,16 +10,188 @@ autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
12
  date: 2013-02-03 00:00:00.000000000 Z
13
- dependencies: []
13
+ dependencies:
14
+ - !ruby/object:Gem::Dependency
15
+ name: shoulda
16
+ requirement: !ruby/object:Gem::Requirement
17
+ none: false
18
+ requirements:
19
+ - - ! '>='
20
+ - !ruby/object:Gem::Version
21
+ version: '0'
22
+ type: :development
23
+ prerelease: false
24
+ version_requirements: !ruby/object:Gem::Requirement
25
+ none: false
26
+ requirements:
27
+ - - ! '>='
28
+ - !ruby/object:Gem::Version
29
+ version: '0'
30
+ - !ruby/object:Gem::Dependency
31
+ name: rdoc
32
+ requirement: !ruby/object:Gem::Requirement
33
+ none: false
34
+ requirements:
35
+ - - ~>
36
+ - !ruby/object:Gem::Version
37
+ version: '3.12'
38
+ type: :development
39
+ prerelease: false
40
+ version_requirements: !ruby/object:Gem::Requirement
41
+ none: false
42
+ requirements:
43
+ - - ~>
44
+ - !ruby/object:Gem::Version
45
+ version: '3.12'
46
+ - !ruby/object:Gem::Dependency
47
+ name: bundler
48
+ requirement: !ruby/object:Gem::Requirement
49
+ none: false
50
+ requirements:
51
+ - - ! '>='
52
+ - !ruby/object:Gem::Version
53
+ version: '0'
54
+ type: :development
55
+ prerelease: false
56
+ version_requirements: !ruby/object:Gem::Requirement
57
+ none: false
58
+ requirements:
59
+ - - ! '>='
60
+ - !ruby/object:Gem::Version
61
+ version: '0'
62
+ - !ruby/object:Gem::Dependency
63
+ name: jeweler
64
+ requirement: !ruby/object:Gem::Requirement
65
+ none: false
66
+ requirements:
67
+ - - ~>
68
+ - !ruby/object:Gem::Version
69
+ version: 1.8.4
70
+ type: :development
71
+ prerelease: false
72
+ version_requirements: !ruby/object:Gem::Requirement
73
+ none: false
74
+ requirements:
75
+ - - ~>
76
+ - !ruby/object:Gem::Version
77
+ version: 1.8.4
78
+ - !ruby/object:Gem::Dependency
79
+ name: simplecov
80
+ requirement: !ruby/object:Gem::Requirement
81
+ none: false
82
+ requirements:
83
+ - - ! '>='
84
+ - !ruby/object:Gem::Version
85
+ version: '0'
86
+ type: :development
87
+ prerelease: false
88
+ version_requirements: !ruby/object:Gem::Requirement
89
+ none: false
90
+ requirements:
91
+ - - ! '>='
92
+ - !ruby/object:Gem::Version
93
+ version: '0'
14
94
  description: CLI tool for Simon, the simple PHP project boilerplate!
15
- email: sam@samcreate.com
95
+ email: aaron.mcguire@evb.com
16
96
  executables: []
17
97
  extensions: []
18
- extra_rdoc_files: []
98
+ extra_rdoc_files:
99
+ - LICENSE.txt
100
+ - README.md
101
+ - README.rdoc
19
102
  files:
103
+ - .document
104
+ - .gitignore.orig
105
+ - DOC/Launch Check List.docx
106
+ - DOC/Launch Check List.pdf
107
+ - Gemfile
108
+ - Gemfile.lock
109
+ - LICENSE.txt
110
+ - README.md
111
+ - README.rdoc
112
+ - Rakefile
113
+ - VERSION
114
+ - build/rakefile.rb
115
+ - config.rb
20
116
  - lib/simon.rb
21
- homepage: https://github.com/samcreate/Simon
22
- licenses: []
117
+ - my-simon.gemspec
118
+ - scaffolding/simon/controller.tpl
119
+ - scaffolding/simon/model.tpl
120
+ - scaffolding/simon/view.tpl
121
+ - scaffolding/standards/html_template.html
122
+ - scaffolding/standards/html_template.php
123
+ - scaffolding/standards/jquery_plugin_template.js
124
+ - scaffolding/standards/js_template.js
125
+ - simon
126
+ - test/helper.rb
127
+ - test/test_simon.rb
128
+ - www/.htaccess
129
+ - www/404.html
130
+ - www/crossdomain.xml
131
+ - www/favicon.ico
132
+ - www/index.php
133
+ - www/lib/js/homePage.js
134
+ - www/lib/js/jquery/JQbook.js
135
+ - www/lib/js/jquery/jquery-1.8.0.min.js
136
+ - www/lib/js/jquery/jquery.alphanumeric.js
137
+ - www/lib/js/jquery/jquery.cookie.js
138
+ - www/lib/js/jquery/jquery.easing.1.3.js
139
+ - www/lib/js/main.js
140
+ - www/lib/js/master.js
141
+ - www/lib/js/plugins/handlebars-1.0.rc.1.js
142
+ - www/lib/js/plugins/modernizr-1.7.min.js
143
+ - www/lib/js/plugins/swfobject.js
144
+ - www/lib/js/plugins_mod/README.txt
145
+ - www/lib/php/app.php
146
+ - www/lib/php/controller/index.php
147
+ - www/lib/php/controller/regex.php
148
+ - www/lib/php/model/Book.php
149
+ - www/lib/php/model/Model.php
150
+ - www/lib/php/plugins/php-activerecord/ActiveRecord.php
151
+ - www/lib/php/plugins/php-activerecord/lib/CallBack.php
152
+ - www/lib/php/plugins/php-activerecord/lib/Column.php
153
+ - www/lib/php/plugins/php-activerecord/lib/Config.php
154
+ - www/lib/php/plugins/php-activerecord/lib/Connection.php
155
+ - www/lib/php/plugins/php-activerecord/lib/ConnectionManager.php
156
+ - www/lib/php/plugins/php-activerecord/lib/DateTime.php
157
+ - www/lib/php/plugins/php-activerecord/lib/Exceptions.php
158
+ - www/lib/php/plugins/php-activerecord/lib/Expressions.php
159
+ - www/lib/php/plugins/php-activerecord/lib/Inflector.php
160
+ - www/lib/php/plugins/php-activerecord/lib/Model.php
161
+ - www/lib/php/plugins/php-activerecord/lib/Reflections.php
162
+ - www/lib/php/plugins/php-activerecord/lib/Relationship.php
163
+ - www/lib/php/plugins/php-activerecord/lib/SQLBuilder.php
164
+ - www/lib/php/plugins/php-activerecord/lib/Serialization.php
165
+ - www/lib/php/plugins/php-activerecord/lib/Singleton.php
166
+ - www/lib/php/plugins/php-activerecord/lib/Table.php
167
+ - www/lib/php/plugins/php-activerecord/lib/Utils.php
168
+ - www/lib/php/plugins/php-activerecord/lib/Validations.php
169
+ - www/lib/php/plugins/php-activerecord/lib/adapters/MysqlAdapter.php
170
+ - www/lib/php/plugins/php-activerecord/lib/adapters/OciAdapter.php
171
+ - www/lib/php/plugins/php-activerecord/lib/adapters/PgsqlAdapter.php
172
+ - www/lib/php/plugins/php-activerecord/lib/adapters/SqliteAdapter.php
173
+ - www/lib/php/system/Config.php
174
+ - www/lib/php/system/config.routes.php
175
+ - www/lib/php/system/router.php
176
+ - www/lib/php/template/footer.php
177
+ - www/lib/php/template/header.php
178
+ - www/lib/php/view/index.php
179
+ - www/media/images/facebook_share.jpg
180
+ - www/robots.txt
181
+ - www/sandbox/readme.txt
182
+ - www/sass/javascript.scss
183
+ - www/sass/layout.scss
184
+ - www/sass/master.scss
185
+ - www/sass/reset.scss
186
+ - www/sass/typography.scss
187
+ - www/styles/javascript.css
188
+ - www/styles/layout.css
189
+ - www/styles/master.css
190
+ - www/styles/reset.css
191
+ - www/styles/typography.css
192
+ homepage: http://github.com/samcreate/simon
193
+ licenses:
194
+ - MIT
23
195
  post_install_message:
24
196
  rdoc_options: []
25
197
  require_paths:
@@ -38,7 +210,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
38
210
  version: '0'
39
211
  requirements: []
40
212
  rubyforge_project:
41
- rubygems_version: 1.8.25
213
+ rubygems_version: 1.8.23
42
214
  signing_key:
43
215
  specification_version: 3
44
216
  summary: CLI tool for Simon