astrochimp 0.0.2 → 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (94) hide show
  1. data/MIT-LICENSE +1 -1
  2. data/README.md +24 -0
  3. data/Rakefile +1 -0
  4. data/app/assets/images/astrochimp/Astrochimp-phone-splash.png +0 -0
  5. data/app/assets/images/astrochimp/iphone4-frame-black.png +0 -0
  6. data/app/assets/javascripts/astrochimp/application.js +9 -3
  7. data/app/assets/javascripts/astrochimp/{dashboard.js → signups.js} +0 -0
  8. data/app/assets/stylesheets/astrochimp/application.css +32 -3
  9. data/app/assets/stylesheets/astrochimp/bootstrap-responsive.min.css +9 -0
  10. data/app/assets/stylesheets/astrochimp/bootstrap.min.css +9 -0
  11. data/app/assets/stylesheets/astrochimp/signups.css +4 -0
  12. data/app/controllers/astrochimp/signups_controller.rb +31 -0
  13. data/app/models/astrochimp/signup.rb +30 -0
  14. data/app/validators/astrochimp/email_validator.rb +23 -0
  15. data/app/views/astrochimp/signups/_form.html.erb +21 -0
  16. data/app/views/astrochimp/signups/index.html.erb +1 -0
  17. data/app/views/layouts/astrochimp/_messages.html.erb +6 -0
  18. data/app/views/layouts/astrochimp/application.html.erb +98 -43
  19. data/config/astrochimp.example.yml +21 -0
  20. data/config/initializers/settings.rb +15 -0
  21. data/config/locales/en.yml +8 -0
  22. data/config/routes.rb +3 -6
  23. data/db/migrate/20121025202343_create_astrochimp_signups.rb +10 -0
  24. data/lib/astrochimp/engine.rb +4 -1
  25. data/lib/astrochimp/version.rb +1 -1
  26. data/test/dummy/Gemfile +5 -0
  27. data/test/dummy/Gemfile.lock +100 -0
  28. data/test/dummy/README.rdoc +261 -0
  29. data/test/dummy/app/assets/javascripts/application.js +9 -3
  30. data/test/dummy/app/assets/stylesheets/application.css +11 -5
  31. data/test/dummy/app/views/layouts/application.html.erb +1 -1
  32. data/test/dummy/config/application.rb +17 -0
  33. data/test/dummy/config/astrochimp.yml +21 -0
  34. data/test/dummy/config/database.yml +17 -23
  35. data/test/dummy/config/environments/development.rb +11 -1
  36. data/test/dummy/config/environments/production.rb +17 -1
  37. data/test/dummy/config/environments/test.rb +4 -6
  38. data/test/dummy/config/initializers/inflections.rb +5 -0
  39. data/test/dummy/config/initializers/secret_token.rb +1 -1
  40. data/test/dummy/config/routes.rb +1 -1
  41. data/test/dummy/db/migrate/20121026003306_create_astrochimp_signups.astrochimp.rb +11 -0
  42. data/test/dummy/log/development.log +600 -669
  43. data/test/dummy/public/500.html +0 -1
  44. data/test/dummy/script/rails +1 -1
  45. data/test/dummy/tmp/cache/assets/C51/C00/sprockets%2F0a9b9392736374885db06f331c22f513 +0 -0
  46. data/test/dummy/tmp/cache/assets/C66/980/sprockets%2F93602859678f45592e0de1889e8a12b1 +0 -0
  47. data/test/dummy/tmp/cache/assets/C79/FB0/sprockets%2Fd01591d7915aab9e008063a78d044592 +0 -0
  48. data/test/dummy/tmp/cache/assets/C8D/DD0/sprockets%2Fa5484d6aa766752e80179438c635b66b +0 -0
  49. data/test/dummy/tmp/cache/assets/C8F/370/sprockets%2F7e998e2a8851df3061601f85853e270c +0 -0
  50. data/test/dummy/tmp/cache/assets/C90/AD0/sprockets%2F567c6d3d7725d730656d2135cf58774c +0 -0
  51. data/test/dummy/tmp/cache/assets/CA0/080/sprockets%2F5eaef194d0a72604035161f2a090a966 +0 -0
  52. data/test/dummy/tmp/cache/assets/CB0/5D0/sprockets%2F6b83920b1e8a09f1b191f35890f5c452 +0 -0
  53. data/test/dummy/tmp/cache/assets/CF9/AF0/sprockets%2F4e01c80bf7b08c7f9c7188948f93d961 +0 -0
  54. data/test/dummy/tmp/cache/assets/CFA/B50/sprockets%2Fa94a8355f6749e65ee8c59b08509b29b +0 -0
  55. data/test/dummy/tmp/cache/assets/D07/410/sprockets%2F808b2f8e2c29dc62c26f3ab63600c741 +0 -0
  56. data/test/dummy/tmp/cache/assets/D0F/620/sprockets%2F4e4f8255ba3658469ea5153cab4911fa +0 -0
  57. data/test/dummy/tmp/cache/assets/D1E/FD0/sprockets%2F62b680d0e485afa7259fc50f988c92d2 +0 -0
  58. data/test/dummy/tmp/cache/assets/D2B/500/sprockets%2F814cba53f20f00ea55b66b894b060f0c +0 -0
  59. data/test/dummy/tmp/cache/assets/D37/100/sprockets%2Fcfd06dd08a5560c05e20626891a8dee1 +0 -0
  60. data/test/dummy/tmp/cache/assets/D4B/780/sprockets%2F7e7e0c368f397c122934f064dbcca88e +0 -0
  61. data/test/dummy/tmp/cache/assets/D59/940/sprockets%2Fa648ef52a3d6148f53e75be678efc857 +0 -0
  62. data/test/dummy/tmp/cache/assets/D7D/9E0/sprockets%2F6bd865f67ed6445f71e3d50ef3dcb517 +0 -0
  63. data/test/dummy/tmp/cache/assets/D96/DA0/sprockets%2F775a2d5f4f945205adaaafdd62f1432d +0 -0
  64. data/test/dummy/tmp/cache/assets/DC2/3A0/sprockets%2Fc2142c774fce8b04e62eaaab5254bfa9 +0 -0
  65. data/test/dummy/tmp/cache/assets/E00/9D0/sprockets%2Fb28f287563eee75a1ba1eeedfb62ef04 +0 -0
  66. data/test/dummy/tmp/cache/assets/E01/170/sprockets%2Faecb1e97f5c4c846e209219dadba6ea9 +0 -0
  67. data/test/dummy/tmp/cache/assets/E2B/2A0/sprockets%2Fd24b69d435ddde8ef74e1bed05cb40cc +0 -0
  68. data/test/dummy/tmp/cache/assets/EA7/EB0/sprockets%2F995eebc8953e4dbbedb5fb8b9fe70ecf +0 -0
  69. metadata +140 -124
  70. data/README.rdoc +0 -3
  71. data/app/assets/stylesheets/astrochimp/dashboard.css.sass +0 -115
  72. data/app/assets/stylesheets/astrochimp/reset.css.sass +0 -151
  73. data/app/controllers/astrochimp/dashboard_controller.rb +0 -6
  74. data/app/helpers/astrochimp/application_helper.rb +0 -4
  75. data/app/helpers/astrochimp/dashboard_helper.rb +0 -4
  76. data/app/views/astrochimp/dashboard/index.html.erb +0 -23
  77. data/lib/generators/astrochimp/astrochimp_generator.rb +0 -14
  78. data/test/astrochimp_test.rb +0 -7
  79. data/test/dummy/db/development.sqlite3 +0 -0
  80. data/test/dummy/log/test.log +0 -0
  81. data/test/dummy/tmp/cache/assets/CCC/B30/sprockets%2F9e0547875983624fecd47c38f443d5d5 +0 -0
  82. data/test/dummy/tmp/cache/assets/CDF/260/sprockets%2Fb437014d51952f4ed168dfa5eb506835 +0 -0
  83. data/test/dummy/tmp/cache/assets/D32/A10/sprockets%2F13fe41fee1fe35b49d145bcc06610705 +0 -0
  84. data/test/dummy/tmp/cache/assets/D54/ED0/sprockets%2F71c9fa01091d432b131da3bb73faf3d4 +0 -10
  85. data/test/dummy/tmp/cache/assets/D69/F30/sprockets%2F09f88f56ab157162d1e807c2d3ebcb2a +0 -0
  86. data/test/dummy/tmp/cache/assets/D7A/130/sprockets%2Fba2928fecee85859a262dbf147f436a4 +0 -0
  87. data/test/dummy/tmp/cache/assets/D82/E10/sprockets%2F954cbb70b65145f917df4749ee4fcb7f +0 -14
  88. data/test/dummy/tmp/cache/assets/DA1/DC0/sprockets%2F342dfdb79e3d2fe720bd5da829049c6a +0 -0
  89. data/test/dummy/tmp/cache/assets/DBF/880/sprockets%2F1f847fc47d1bbdc315e0ae1ec196a02e +0 -262
  90. data/test/dummy/tmp/cache/assets/E31/100/sprockets%2Fbb6c7450fa3629bb1fe9efaf6a5ec76a +0 -15
  91. data/test/functional/astrochimp/dashboard_controller_test.rb +0 -9
  92. data/test/integration/navigation_test.rb +0 -10
  93. data/test/test_helper.rb +0 -10
  94. data/test/unit/helpers/astrochimp/dashboard_helper_test.rb +0 -6
@@ -1,151 +0,0 @@
1
- // reset-revised.sass
2
- // Generated 04/07/2008
3
- // yong joseph bakos
4
- // This is a sassified version of Eric Meyer's latest reset.css
5
- // http://meyerweb.com/eric/thoughts/2008/01/15/resetting-again/
6
- //
7
- html
8
- :margin 0
9
- :padding 0
10
- :border 0
11
- :outline 0
12
- :font-size 100%
13
- :vertical-align baseline
14
- :background transparent
15
-
16
- body
17
- :margin 0
18
- :padding 0
19
- :border 0
20
- :outline 0
21
- :font-size 100%
22
- :vertical-align baseline
23
- :background transparent
24
- :line-height 1
25
-
26
- div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p
27
- :margin 0
28
- :padding 0
29
- :border 0
30
- :outline 0
31
- :font-size 100%
32
- :vertical-align baseline
33
- :background transparent
34
-
35
- blockquote
36
- :margin 0
37
- :padding 0
38
- :border 0
39
- :outline 0
40
- :font-size 100%
41
- :vertical-align baseline
42
- :background transparent
43
- :quotes none
44
-
45
- pre, a, abbr, acronym, address, big, cite, code
46
- :margin 0
47
- :padding 0
48
- :border 0
49
- :outline 0
50
- :font-size 100%
51
- :vertical-align baseline
52
- :background transparent
53
-
54
- del
55
- :margin 0
56
- :padding 0
57
- :border 0
58
- :outline 0
59
- :font-size 100%
60
- :vertical-align baseline
61
- :background transparent
62
- :text-decoration line-through
63
-
64
- dfn, em, font, img
65
- :margin 0
66
- :padding 0
67
- :border 0
68
- :outline 0
69
- :font-size 100%
70
- :vertical-align baseline
71
- :background transparent
72
-
73
- ins
74
- :margin 0
75
- :padding 0
76
- :border 0
77
- :outline 0
78
- :font-size 100%
79
- :vertical-align baseline
80
- :background transparent
81
- :text-decoration none
82
-
83
- kbd
84
- :margin 0
85
- :padding 0
86
- :border 0
87
- :outline 0
88
- :font-size 100%
89
- :vertical-align baseline
90
- :background transparent
91
-
92
- q
93
- :margin 0
94
- :padding 0
95
- :border 0
96
- :outline 0
97
- :font-size 100%
98
- :vertical-align baseline
99
- :background transparent
100
- :quotes none
101
-
102
- s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd
103
- :margin 0
104
- :padding 0
105
- :border 0
106
- :outline 0
107
- :font-size 100%
108
- :vertical-align baseline
109
- :background transparent
110
-
111
- ol, ul
112
- :margin 0
113
- :padding 0
114
- :border 0
115
- :outline 0
116
- :font-size 100%
117
- :vertical-align baseline
118
- :background transparent
119
- :list-style none
120
-
121
- li, fieldset, form, label, legend
122
- :margin 0
123
- :padding 0
124
- :border 0
125
- :outline 0
126
- :font-size 100%
127
- :vertical-align baseline
128
- :background transparent
129
-
130
- table
131
- :margin 0
132
- :padding 0
133
- :border 0
134
- :outline 0
135
- :font-size 100%
136
- :vertical-align baseline
137
- :background transparent
138
- :border-collapse collapse
139
- :border-spacing 0
140
-
141
- caption, tbody, tfoot, thead, tr, th, td
142
- :margin 0
143
- :padding 0
144
- :border 0
145
- :outline 0
146
- :font-size 100%
147
- :vertical-align baseline
148
- :background transparent
149
-
150
- *:focus
151
- :outline 0
@@ -1,6 +0,0 @@
1
- module Astrochimp
2
- class DashboardController < ApplicationController
3
- def index
4
- end
5
- end
6
- end
@@ -1,4 +0,0 @@
1
- module Astrochimp
2
- module ApplicationHelper
3
- end
4
- end
@@ -1,4 +0,0 @@
1
- module Astrochimp
2
- module DashboardHelper
3
- end
4
- end
@@ -1,23 +0,0 @@
1
- <div class="flash">This is an error message. Please fix whatever it is I am complaining about.</div>
2
-
3
- <h2>Signups per day</h2>
4
- <section>
5
- <div class="chart">
6
- Chart
7
- </div>
8
- <ul class="legend">
9
- <li style="color:#ec7850;"><span class="legend-number">58</span> Signups today</li>
10
- <li style="color:#83b7c5;"><span class="legend-number">210</span> Visitors today</li>
11
- <li><span class="legend-number">27%</span> Signup conversion</li>
12
- </ul>
13
- </section>
14
-
15
- <h2>Queue vs Sent</h2>
16
- <section>
17
- Meter
18
- </section>
19
-
20
- <h2>Visitor Map</h2>
21
- <section>
22
- Map
23
- </section>
@@ -1,14 +0,0 @@
1
- module Astrochimp
2
- module Generators
3
- class AstrochimpGenerator < Rails::Generators::Base
4
- namespace "astrochimp"
5
-
6
- desc "Adds the route for Astrochimp"
7
-
8
- def add_astrochimp_routes
9
- astrochimp_route = 'mount Astrochimp::Engine => "/astrochimp", :as => "astrochimp_engine"'
10
- route astrochimp_route
11
- end
12
- end
13
- end
14
- end
@@ -1,7 +0,0 @@
1
- require 'test_helper'
2
-
3
- class AstrochimpTest < ActiveSupport::TestCase
4
- test "truth" do
5
- assert_kind_of Module, Astrochimp
6
- end
7
- end
File without changes
File without changes
@@ -1,10 +0,0 @@
1
- o: ActiveSupport::Cache::Entry :@compressedF:@expires_in0:@created_atf1314296327.848792: @value{ I" length:EFi:I" digest;
2
- F"%0b626a3b686318791645dfd74c7775bdI" source;
3
- FI":/*
4
- * This is a manifest file that'll automatically include all the stylesheets available in this directory
5
- * and any sub-directories. You're free to add application-wide styles to this file and they'll appear at
6
- * the top of the compiled file, but it's generally better to create a new file per style scope.
7
- */
8
- ;
9
- FI"
10
- F"%cd5f249171e5ed4a3ef20b9d7761d2a1
@@ -1,14 +0,0 @@
1
- o: ActiveSupport::Cache::Entry :@compressedF:@expires_in0:@created_atf1314298232.636477: @value{ I" length:EFi
2
- F"%aba177ac77a0b5e010029f6ce16faf9aI" source;
3
- FI"
4
- background: #e9e8e5 url("assets/astrochimp/bg-noise.png");
5
- height: 100%;
6
- min-height: 100%;
7
- font-family: "Helvetica Neue", HelveticaNeue, Helvetica, Arial, sans-serif;
8
- font-size: 15px;
9
- font-weight: 300;
10
- line-height: 1.3em;
11
- color: #444444; }
12
- ;
13
- FI"
14
- F"%3c11d04587048deacbe7357be1bd6d9e
@@ -1,262 +0,0 @@
1
- o: ActiveSupport::Cache::Entry :@compressedF:@expires_in0:@created_atf1314298686.080947: @value{ I" length:EFi�I" digest;
2
- F"%2d9db60539b3860962e804cd93037715I" source;
3
- FI"�/*
4
- * This is a manifest file that'll automatically include all the stylesheets available in this directory
5
- * and any sub-directories. You're free to add application-wide styles to this file and they'll appear at
6
- * the top of the compiled file, but it's generally better to create a new file per style scope.
7
- */
8
-
9
- html, body {
10
- background: #e9e8e5 url(/assets/astrochimp/bg-noise.png);
11
- height: 100%;
12
- min-height: 100%;
13
- font-family: "Helvetica Neue", HelveticaNeue, Helvetica, Arial, sans-serif;
14
- font-size: 15px;
15
- font-weight: 300;
16
- line-height: 1.3em;
17
- color: #444444; }
18
-
19
- a {
20
- text-decoration: none; }
21
-
22
- h1, h2, h3, h4, h5 {
23
- font-weight: normal;
24
- clear: both;
25
- line-height: 1.5em;
26
- font-weight: 300; }
27
-
28
- h1 {
29
- font-size: 26px; }
30
-
31
- h2 {
32
- font-size: 18px; }
33
-
34
- h3 {
35
- font-size: 16px; }
36
-
37
- h4 {
38
- font-size: 16px; }
39
-
40
- h5 {
41
- font-size: 16px; }
42
-
43
- header {
44
- position: absolute;
45
- top: 0;
46
- bottom: 0;
47
- left: 0;
48
- width: 250px;
49
- background: #4b4946 url(/assets/astrochimp/bg-noise.png);
50
- border-right: 5px solid #f1be13;
51
- box-shadow: 1px 0 white;
52
- color: white; }
53
- header a {
54
- color: white; }
55
- header .logo-astrochimp {
56
- margin: 50px auto 0;
57
- text-align: center; }
58
- header .nav-main {
59
- border-top: 1px solid #403e3b;
60
- box-shadow: 0 1px #595753 inset;
61
- margin: 50px 10px; }
62
- header .nav-main a {
63
- display: block;
64
- padding: 10px 10px 10px 50px;
65
- border-bottom: 1px solid #403e3b;
66
- box-shadow: 0 1px #595753; }
67
-
68
- .unsent-count {
69
- float: right;
70
- margin: 8px 10px;
71
- padding: 2px 10px;
72
- background: #ea805c;
73
- border-radius: 10px;
74
- -moz-border-radius: 10px; }
75
-
76
- .nav-account {
77
- color: #888888;
78
- overflow: hidden;
79
- border-bottom: #c8c6c1;
80
- box-shadow: 0 1px white;
81
- -moz-box-shadow: 0 1px white; }
82
- .nav-account .link-account {
83
- float: left; }
84
- .nav-account ul {
85
- float: right; }
86
-
87
- .content {
88
- padding: 10px 20px 20px 280px; }
89
- .content h1, .content h2, .content h3, .content h4, .content h5 {
90
- text-transform: uppercase; }
91
- .content section {
92
- background: white;
93
- box-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
94
- overflow: hidden;
95
- margin-bottom: 50px; }
96
-
97
- .flash {
98
- padding: 10px;
99
- background: #fff4cb;
100
- box-shadow: 0 1px 1px rgba(0, 0, 0, 0.25), 0 1px white inset;
101
- border-radius: 5px;
102
- -moz-border-radius: 5px;
103
- margin-bottom: 20px;
104
- font-style: italic;
105
- font-size: 18px;
106
- color: #9b7437; }
107
-
108
- .chart {
109
- padding: 20px;
110
- float: left; }
111
-
112
- .legend {
113
- float: right;
114
- color: #999999; }
115
- html {
116
- margin: 0;
117
- padding: 0;
118
- border: 0;
119
- outline: 0;
120
- font-size: 100%;
121
- vertical-align: baseline;
122
- background: transparent; }
123
-
124
- body {
125
- margin: 0;
126
- padding: 0;
127
- border: 0;
128
- outline: 0;
129
- font-size: 100%;
130
- vertical-align: baseline;
131
- background: transparent;
132
- line-height: 1; }
133
-
134
- div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p {
135
- margin: 0;
136
- padding: 0;
137
- border: 0;
138
- outline: 0;
139
- font-size: 100%;
140
- vertical-align: baseline;
141
- background: transparent; }
142
-
143
- blockquote {
144
- margin: 0;
145
- padding: 0;
146
- border: 0;
147
- outline: 0;
148
- font-size: 100%;
149
- vertical-align: baseline;
150
- background: transparent;
151
- quotes: none; }
152
-
153
- pre, a, abbr, acronym, address, big, cite, code {
154
- margin: 0;
155
- padding: 0;
156
- border: 0;
157
- outline: 0;
158
- font-size: 100%;
159
- vertical-align: baseline;
160
- background: transparent; }
161
-
162
- del {
163
- margin: 0;
164
- padding: 0;
165
- border: 0;
166
- outline: 0;
167
- font-size: 100%;
168
- vertical-align: baseline;
169
- background: transparent;
170
- text-decoration: line-through; }
171
-
172
- dfn, em, font, img {
173
- margin: 0;
174
- padding: 0;
175
- border: 0;
176
- outline: 0;
177
- font-size: 100%;
178
- vertical-align: baseline;
179
- background: transparent; }
180
-
181
- ins {
182
- margin: 0;
183
- padding: 0;
184
- border: 0;
185
- outline: 0;
186
- font-size: 100%;
187
- vertical-align: baseline;
188
- background: transparent;
189
- text-decoration: none; }
190
-
191
- kbd {
192
- margin: 0;
193
- padding: 0;
194
- border: 0;
195
- outline: 0;
196
- font-size: 100%;
197
- vertical-align: baseline;
198
- background: transparent; }
199
-
200
- q {
201
- margin: 0;
202
- padding: 0;
203
- border: 0;
204
- outline: 0;
205
- font-size: 100%;
206
- vertical-align: baseline;
207
- background: transparent;
208
- quotes: none; }
209
-
210
- s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd {
211
- margin: 0;
212
- padding: 0;
213
- border: 0;
214
- outline: 0;
215
- font-size: 100%;
216
- vertical-align: baseline;
217
- background: transparent; }
218
-
219
- ol, ul {
220
- margin: 0;
221
- padding: 0;
222
- border: 0;
223
- outline: 0;
224
- font-size: 100%;
225
- vertical-align: baseline;
226
- background: transparent;
227
- list-style: none; }
228
-
229
- li, fieldset, form, label, legend {
230
- margin: 0;
231
- padding: 0;
232
- border: 0;
233
- outline: 0;
234
- font-size: 100%;
235
- vertical-align: baseline;
236
- background: transparent; }
237
-
238
- table {
239
- margin: 0;
240
- padding: 0;
241
- border: 0;
242
- outline: 0;
243
- font-size: 100%;
244
- vertical-align: baseline;
245
- background: transparent;
246
- border-collapse: collapse;
247
- border-spacing: 0; }
248
-
249
- caption, tbody, tfoot, thead, tr, th, td {
250
- margin: 0;
251
- padding: 0;
252
- border: 0;
253
- outline: 0;
254
- font-size: 100%;
255
- vertical-align: baseline;
256
- background: transparent; }
257
-
258
- *:focus {
259
- outline: 0; }
260
- ;
261
- FI"
262
- F"%5486faa771fab3accccf856726050c30