locomotivecms_wagon 2.0.0.rc3 → 2.0.0.rc4

Sign up to get free protection for your applications and to get access to all the features.
Files changed (114) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile +1 -1
  3. data/generators/blank/Gemfile.tt +8 -5
  4. data/generators/blank/Guardfile +22 -0
  5. data/generators/bootstrap/Gemfile.tt +7 -4
  6. data/generators/bootstrap/Guardfile +22 -0
  7. data/generators/bootstrap/public/stylesheets/bootstrap.css +1 -1
  8. data/generators/bootstrap/public/stylesheets/bootstrap.scss +1 -1
  9. data/generators/cloned/Gemfile.tt +7 -4
  10. data/generators/cloned/Guardfile +22 -0
  11. data/generators/foundation5/Gemfile.tt +7 -4
  12. data/generators/foundation5/Guardfile +22 -0
  13. data/lib/locomotive/wagon/cli.rb +1 -1
  14. data/lib/locomotive/wagon/commands/pull_sub_commands/concerns/assets_concern.rb +1 -1
  15. data/lib/locomotive/wagon/commands/push_sub_commands/push_theme_assets_command.rb +23 -3
  16. data/lib/locomotive/wagon/commands/serve_command.rb +2 -2
  17. data/lib/locomotive/wagon/version.rb +1 -1
  18. data/locomotivecms_wagon.gemspec +4 -3
  19. data/spec/fixtures/cassettes/authenticate.yml +27 -27
  20. data/spec/fixtures/cassettes/push.yml +1036 -1110
  21. data/spec/unit/commands/pull_sub_commands/concerns/assets_concern_spec.rb +24 -4
  22. data/spec/unit/commands/push_sub_commands/push_theme_assets_command_spec.rb +42 -0
  23. metadata +28 -99
  24. data/generators/foundation5/favicon.ico +0 -0
  25. data/generators/line_case/Gemfile.tt +0 -21
  26. data/generators/line_case/app/content_types/categories.yml +0 -56
  27. data/generators/line_case/app/content_types/emails.yml +0 -35
  28. data/generators/line_case/app/content_types/projects.yml +0 -58
  29. data/generators/line_case/app/views/pages/404.liquid.haml +0 -11
  30. data/generators/line_case/app/views/pages/email-registered.liquid.haml +0 -13
  31. data/generators/line_case/app/views/pages/index.liquid.haml +0 -110
  32. data/generators/line_case/app/views/pages/projects/content_type_template.liquid.haml +0 -32
  33. data/generators/line_case/app/views/snippets/newsletter_form.liquid.haml +0 -14
  34. data/generators/line_case/app/views/snippets/projects.liquid.haml +0 -17
  35. data/generators/line_case/app/views/snippets/social_links.liquid.haml +0 -19
  36. data/generators/line_case/config/deploy.yml +0 -15
  37. data/generators/line_case/config/site.yml.tt +0 -33
  38. data/generators/line_case/config/translations.yml +0 -8
  39. data/generators/line_case/data/categories.yml +0 -8
  40. data/generators/line_case/data/emails.yml +0 -2
  41. data/generators/line_case/data/projects.yml +0 -39
  42. data/generators/line_case/icon.png +0 -0
  43. data/generators/line_case/public/images/banner-header.png +0 -0
  44. data/generators/line_case/public/javascripts/foundation.min.js +0 -15
  45. data/generators/line_case/public/javascripts/foundation/foundation.abide.js +0 -194
  46. data/generators/line_case/public/javascripts/foundation/foundation.alerts.js +0 -57
  47. data/generators/line_case/public/javascripts/foundation/foundation.clearing.js +0 -516
  48. data/generators/line_case/public/javascripts/foundation/foundation.cookie.js +0 -74
  49. data/generators/line_case/public/javascripts/foundation/foundation.dropdown.js +0 -183
  50. data/generators/line_case/public/javascripts/foundation/foundation.forms.js +0 -556
  51. data/generators/line_case/public/javascripts/foundation/foundation.interchange.js +0 -280
  52. data/generators/line_case/public/javascripts/foundation/foundation.joyride.js +0 -852
  53. data/generators/line_case/public/javascripts/foundation/foundation.js +0 -464
  54. data/generators/line_case/public/javascripts/foundation/foundation.magellan.js +0 -136
  55. data/generators/line_case/public/javascripts/foundation/foundation.orbit.js +0 -432
  56. data/generators/line_case/public/javascripts/foundation/foundation.placeholder.js +0 -426
  57. data/generators/line_case/public/javascripts/foundation/foundation.reveal.js +0 -353
  58. data/generators/line_case/public/javascripts/foundation/foundation.section.js +0 -430
  59. data/generators/line_case/public/javascripts/foundation/foundation.tooltips.js +0 -209
  60. data/generators/line_case/public/javascripts/foundation/foundation.topbar.js +0 -370
  61. data/generators/line_case/public/javascripts/vendor/custom.modernizr.js +0 -4
  62. data/generators/line_case/public/javascripts/vendor/jquery.js +0 -9789
  63. data/generators/line_case/public/javascripts/vendor/zepto.js +0 -2000
  64. data/generators/line_case/public/samples/projects/sample.jpeg +0 -0
  65. data/generators/line_case/public/samples/projects/sample2.jpeg +0 -0
  66. data/generators/line_case/public/samples/projects/sample3.jpeg +0 -0
  67. data/generators/line_case/public/samples/projects/sample4.jpeg +0 -0
  68. data/generators/line_case/public/samples/projects/sample5.jpeg +0 -0
  69. data/generators/line_case/public/samples/projects/sample6.jpeg +0 -0
  70. data/generators/line_case/public/samples/projects/sample7.jpeg +0 -0
  71. data/generators/line_case/public/samples/projects/sample8.jpeg +0 -0
  72. data/generators/line_case/public/stylesheets/_variables.css.sass +0 -20
  73. data/generators/line_case/public/stylesheets/foundation.css.scss +0 -43
  74. data/generators/line_case/public/stylesheets/foundation.min.css +0 -1
  75. data/generators/line_case/public/stylesheets/foundation/_variables.scss +0 -1290
  76. data/generators/line_case/public/stylesheets/foundation/components/_alert-boxes.scss +0 -107
  77. data/generators/line_case/public/stylesheets/foundation/components/_block-grid.scss +0 -71
  78. data/generators/line_case/public/stylesheets/foundation/components/_breadcrumbs.scss +0 -124
  79. data/generators/line_case/public/stylesheets/foundation/components/_button-groups.scss +0 -89
  80. data/generators/line_case/public/stylesheets/foundation/components/_buttons.scss +0 -230
  81. data/generators/line_case/public/stylesheets/foundation/components/_clearing.scss +0 -227
  82. data/generators/line_case/public/stylesheets/foundation/components/_custom-forms.scss +0 -278
  83. data/generators/line_case/public/stylesheets/foundation/components/_dropdown-buttons.scss +0 -115
  84. data/generators/line_case/public/stylesheets/foundation/components/_dropdown.scss +0 -151
  85. data/generators/line_case/public/stylesheets/foundation/components/_flex-video.scss +0 -46
  86. data/generators/line_case/public/stylesheets/foundation/components/_forms.scss +0 -411
  87. data/generators/line_case/public/stylesheets/foundation/components/_global.scss +0 -366
  88. data/generators/line_case/public/stylesheets/foundation/components/_grid-5.scss +0 -214
  89. data/generators/line_case/public/stylesheets/foundation/components/_grid.scss +0 -188
  90. data/generators/line_case/public/stylesheets/foundation/components/_inline-lists.scss +0 -53
  91. data/generators/line_case/public/stylesheets/foundation/components/_joyride.scss +0 -217
  92. data/generators/line_case/public/stylesheets/foundation/components/_keystrokes.scss +0 -57
  93. data/generators/line_case/public/stylesheets/foundation/components/_labels.scss +0 -85
  94. data/generators/line_case/public/stylesheets/foundation/components/_magellan.scss +0 -23
  95. data/generators/line_case/public/stylesheets/foundation/components/_orbit.scss +0 -340
  96. data/generators/line_case/public/stylesheets/foundation/components/_pagination.scss +0 -140
  97. data/generators/line_case/public/stylesheets/foundation/components/_panels.scss +0 -83
  98. data/generators/line_case/public/stylesheets/foundation/components/_pricing-tables.scss +0 -131
  99. data/generators/line_case/public/stylesheets/foundation/components/_progress-bars.scss +0 -71
  100. data/generators/line_case/public/stylesheets/foundation/components/_reveal.scss +0 -136
  101. data/generators/line_case/public/stylesheets/foundation/components/_section.scss +0 -391
  102. data/generators/line_case/public/stylesheets/foundation/components/_side-nav.scss +0 -69
  103. data/generators/line_case/public/stylesheets/foundation/components/_split-buttons.scss +0 -167
  104. data/generators/line_case/public/stylesheets/foundation/components/_sub-nav.scss +0 -84
  105. data/generators/line_case/public/stylesheets/foundation/components/_switch.scss +0 -266
  106. data/generators/line_case/public/stylesheets/foundation/components/_tables.scss +0 -84
  107. data/generators/line_case/public/stylesheets/foundation/components/_thumbs.scss +0 -53
  108. data/generators/line_case/public/stylesheets/foundation/components/_tooltips.scss +0 -117
  109. data/generators/line_case/public/stylesheets/foundation/components/_top-bar.scss +0 -576
  110. data/generators/line_case/public/stylesheets/foundation/components/_type.scss +0 -435
  111. data/generators/line_case/public/stylesheets/foundation/components/_visibility.scss +0 -322
  112. data/generators/line_case/public/stylesheets/normalize.css.scss +0 -410
  113. data/generators/line_case/public/stylesheets/pages.css.sass +0 -163
  114. data/lib/locomotive/wagon/tools/livereload.rb +0 -45
@@ -1,410 +0,0 @@
1
- /*! normalize.css v2.1.3 | MIT License | git.io/normalize */
2
-
3
- /* ==========================================================================
4
- HTML5 display definitions
5
- ========================================================================== */
6
-
7
- /**
8
- * Correct `block` display not defined in IE 8/9.
9
- */
10
-
11
- article,
12
- aside,
13
- details,
14
- figcaption,
15
- figure,
16
- footer,
17
- header,
18
- hgroup,
19
- main,
20
- nav,
21
- section,
22
- summary {
23
- display: block;
24
- }
25
-
26
- /**
27
- * Correct `inline-block` display not defined in IE 8/9.
28
- */
29
-
30
- audio,
31
- canvas,
32
- video {
33
- display: inline-block;
34
- }
35
-
36
- /**
37
- * Prevent modern browsers from displaying `audio` without controls.
38
- * Remove excess height in iOS 5 devices.
39
- */
40
-
41
- audio:not([controls]) {
42
- display: none;
43
- height: 0;
44
- }
45
-
46
- /**
47
- * Address `[hidden]` styling not present in IE 8/9.
48
- * Hide the `template` element in IE, Safari, and Firefox < 22.
49
- */
50
-
51
- [hidden],
52
- template {
53
- display: none;
54
- }
55
-
56
- script {
57
- display: none !important;
58
- }
59
-
60
- /* ==========================================================================
61
- Base
62
- ========================================================================== */
63
-
64
- /**
65
- * 1. Set default font family to sans-serif.
66
- * 2. Prevent iOS text size adjust after orientation change, without disabling
67
- * user zoom.
68
- */
69
-
70
- html {
71
- font-family: sans-serif; /* 1 */
72
- -ms-text-size-adjust: 100%; /* 2 */
73
- -webkit-text-size-adjust: 100%; /* 2 */
74
- }
75
-
76
- /**
77
- * Remove default margin.
78
- */
79
-
80
- body {
81
- margin: 0;
82
- }
83
-
84
- /* ==========================================================================
85
- Links
86
- ========================================================================== */
87
-
88
- /**
89
- * Remove the gray background color from active links in IE 10.
90
- */
91
-
92
- a {
93
- background: transparent;
94
- }
95
-
96
- /**
97
- * Address `outline` inconsistency between Chrome and other browsers.
98
- */
99
-
100
- a:focus {
101
- outline: thin dotted;
102
- }
103
-
104
- /**
105
- * Improve readability when focused and also mouse hovered in all browsers.
106
- */
107
-
108
- a:active,
109
- a:hover {
110
- outline: 0;
111
- }
112
-
113
- /* ==========================================================================
114
- Typography
115
- ========================================================================== */
116
-
117
- /**
118
- * Address variable `h1` font-size and margin within `section` and `article`
119
- * contexts in Firefox 4+, Safari 5, and Chrome.
120
- */
121
-
122
- h1 {
123
- font-size: 2em;
124
- margin: 0.67em 0;
125
- }
126
-
127
- /**
128
- * Address styling not present in IE 8/9, Safari 5, and Chrome.
129
- */
130
-
131
- abbr[title] {
132
- border-bottom: 1px dotted;
133
- }
134
-
135
- /**
136
- * Address style set to `bolder` in Firefox 4+, Safari 5, and Chrome.
137
- */
138
-
139
- b,
140
- strong {
141
- font-weight: bold;
142
- }
143
-
144
- /**
145
- * Address styling not present in Safari 5 and Chrome.
146
- */
147
-
148
- dfn {
149
- font-style: italic;
150
- }
151
-
152
- /**
153
- * Address differences between Firefox and other browsers.
154
- */
155
-
156
- hr {
157
- -moz-box-sizing: content-box;
158
- box-sizing: content-box;
159
- height: 0;
160
- }
161
-
162
- /**
163
- * Address styling not present in IE 8/9.
164
- */
165
-
166
- mark {
167
- background: #ff0;
168
- color: #000;
169
- }
170
-
171
- /**
172
- * Correct font family set oddly in Safari 5 and Chrome.
173
- */
174
-
175
- code,
176
- kbd,
177
- pre,
178
- samp {
179
- font-family: monospace, serif;
180
- font-size: 1em;
181
- }
182
-
183
- /**
184
- * Improve readability of pre-formatted text in all browsers.
185
- */
186
-
187
- pre {
188
- white-space: pre-wrap;
189
- }
190
-
191
- /**
192
- * Set consistent quote types.
193
- */
194
-
195
- q {
196
- quotes: "\201C" "\201D" "\2018" "\2019";
197
- }
198
-
199
- /**
200
- * Address inconsistent and variable font size in all browsers.
201
- */
202
-
203
- small {
204
- font-size: 80%;
205
- }
206
-
207
- /**
208
- * Prevent `sub` and `sup` affecting `line-height` in all browsers.
209
- */
210
-
211
- sub,
212
- sup {
213
- font-size: 75%;
214
- line-height: 0;
215
- position: relative;
216
- vertical-align: baseline;
217
- }
218
-
219
- sup {
220
- top: -0.5em;
221
- }
222
-
223
- sub {
224
- bottom: -0.25em;
225
- }
226
-
227
- /* ==========================================================================
228
- Embedded content
229
- ========================================================================== */
230
-
231
- /**
232
- * Remove border when inside `a` element in IE 8/9.
233
- */
234
-
235
- img {
236
- border: 0;
237
- }
238
-
239
- /**
240
- * Correct overflow displayed oddly in IE 9.
241
- */
242
-
243
- svg:not(:root) {
244
- overflow: hidden;
245
- }
246
-
247
- /* ==========================================================================
248
- Figures
249
- ========================================================================== */
250
-
251
- /**
252
- * Address margin not present in IE 8/9 and Safari 5.
253
- */
254
-
255
- figure {
256
- margin: 0;
257
- }
258
-
259
- /* ==========================================================================
260
- Forms
261
- ========================================================================== */
262
-
263
- /**
264
- * Define consistent border, margin, and padding.
265
- */
266
-
267
- fieldset {
268
- border: 1px solid #c0c0c0;
269
- margin: 0 2px;
270
- padding: 0.35em 0.625em 0.75em;
271
- }
272
-
273
- /**
274
- * 1. Correct `color` not being inherited in IE 8/9.
275
- * 2. Remove padding so people aren't caught out if they zero out fieldsets.
276
- */
277
-
278
- legend {
279
- border: 0; /* 1 */
280
- padding: 0; /* 2 */
281
- }
282
-
283
- /**
284
- * 1. Correct font family not being inherited in all browsers.
285
- * 2. Correct font size not being inherited in all browsers.
286
- * 3. Address margins set differently in Firefox 4+, Safari 5, and Chrome.
287
- */
288
-
289
- button,
290
- input,
291
- select,
292
- textarea {
293
- font-family: inherit; /* 1 */
294
- font-size: 100%; /* 2 */
295
- margin: 0; /* 3 */
296
- }
297
-
298
- /**
299
- * Address Firefox 4+ setting `line-height` on `input` using `!important` in
300
- * the UA stylesheet.
301
- */
302
-
303
- button,
304
- input {
305
- line-height: normal;
306
- }
307
-
308
- /**
309
- * Address inconsistent `text-transform` inheritance for `button` and `select`.
310
- * All other form control elements do not inherit `text-transform` values.
311
- * Correct `button` style inheritance in Chrome, Safari 5+, and IE 8+.
312
- * Correct `select` style inheritance in Firefox 4+ and Opera.
313
- */
314
-
315
- button,
316
- select {
317
- text-transform: none;
318
- }
319
-
320
- /**
321
- * 1. Avoid the WebKit bug in Android 4.0.* where (2) destroys native `audio`
322
- * and `video` controls.
323
- * 2. Correct inability to style clickable `input` types in iOS.
324
- * 3. Improve usability and consistency of cursor style between image-type
325
- * `input` and others.
326
- */
327
-
328
- button,
329
- html input[type="button"], /* 1 */
330
- input[type="reset"],
331
- input[type="submit"] {
332
- -webkit-appearance: button; /* 2 */
333
- cursor: pointer; /* 3 */
334
- }
335
-
336
- /**
337
- * Re-set default cursor for disabled elements.
338
- */
339
-
340
- button[disabled],
341
- html input[disabled] {
342
- cursor: default;
343
- }
344
-
345
- /**
346
- * 1. Address box sizing set to `content-box` in IE 8/9/10.
347
- * 2. Remove excess padding in IE 8/9/10.
348
- */
349
-
350
- input[type="checkbox"],
351
- input[type="radio"] {
352
- box-sizing: border-box; /* 1 */
353
- padding: 0; /* 2 */
354
- }
355
-
356
- /**
357
- * 1. Address `appearance` set to `searchfield` in Safari 5 and Chrome.
358
- * 2. Address `box-sizing` set to `border-box` in Safari 5 and Chrome
359
- * (include `-moz` to future-proof).
360
- */
361
-
362
- input[type="search"] {
363
- -webkit-appearance: textfield; /* 1 */
364
- -moz-box-sizing: content-box;
365
- -webkit-box-sizing: content-box; /* 2 */
366
- box-sizing: content-box;
367
- }
368
-
369
- /**
370
- * Remove inner padding and search cancel button in Safari 5 and Chrome
371
- * on OS X.
372
- */
373
-
374
- input[type="search"]::-webkit-search-cancel-button,
375
- input[type="search"]::-webkit-search-decoration {
376
- -webkit-appearance: none;
377
- }
378
-
379
- /**
380
- * Remove inner padding and border in Firefox 4+.
381
- */
382
-
383
- button::-moz-focus-inner,
384
- input::-moz-focus-inner {
385
- border: 0;
386
- padding: 0;
387
- }
388
-
389
- /**
390
- * 1. Remove default vertical scrollbar in IE 8/9.
391
- * 2. Improve readability and alignment in all browsers.
392
- */
393
-
394
- textarea {
395
- overflow: auto; /* 1 */
396
- vertical-align: top; /* 2 */
397
- }
398
-
399
- /* ==========================================================================
400
- Tables
401
- ========================================================================== */
402
-
403
- /**
404
- * Remove most spacing between table cells.
405
- */
406
-
407
- table {
408
- border-collapse: collapse;
409
- border-spacing: 0;
410
- }
@@ -1,163 +0,0 @@
1
- @import "compass/css3/border-radius"
2
- @import "compass/css3/transform"
3
- @import "compass/css3/box-shadow"
4
- @import "variables"
5
-
6
- body
7
- font-family: $default-font
8
-
9
- h1, h2, h3
10
- font-family: $title-font
11
-
12
- p, li
13
- font-size: 15px
14
-
15
- .alert-box.success
16
- h3
17
- color: #fff
18
-
19
- h1
20
- font-size: 18px
21
- line-height: 18px
22
- text-transform: uppercase
23
- color: #fff
24
-
25
- a
26
- color: #fff
27
-
28
- &:hover
29
- color: #fff
30
-
31
- header
32
- background: $header-color
33
- padding: 20px 0px 40px 0px
34
-
35
- position: relative
36
-
37
- #background-image
38
- display: block
39
- position: absolute
40
- top: 0
41
- left: 0
42
- background: transparent url("/images/banner-header.png") no-repeat right -30px
43
- background-size: 1024px
44
- width: 100%
45
- height: 100%
46
- opacity: 0.2
47
- z-index: 2
48
-
49
- #logo, #banner
50
- position: relative
51
- z-index: 3
52
-
53
- #banner
54
- margin-top: 40px
55
-
56
- h2
57
- color: #fff
58
- font-size: 64px
59
- line-height: 50px
60
- margin-bottom: 20px
61
-
62
- p
63
- color: rgba(#fff, 0.6)
64
- font-size: 20px
65
- font-style: italic
66
- font-family: $title-font
67
-
68
- #content
69
- padding: 40px 0px
70
-
71
- min-height: 300px
72
-
73
- h2
74
- color: $title-color
75
- text-transform: uppercase
76
- font-size: 20px
77
- line-height: 20px
78
-
79
- p, ul, ol, dl
80
- color: $paragraph-color
81
- font-weight: 100
82
-
83
- ul, ol
84
- list-style-position: inside
85
-
86
- .projects
87
- margin-bottom: 20px
88
-
89
-
90
- footer
91
- background: $footer-color
92
- padding: 40px 0px
93
- height: 100%
94
-
95
- #contact
96
- p
97
- color: rgba(#fff, 0.3)
98
- font-style: italic
99
- font-weight: 100
100
-
101
- form
102
- input[type=text]
103
- background: #080c11
104
- color: #fff
105
- font-size: 20px
106
- font-family: $title-font
107
- text-transform: uppercase
108
- border: none
109
-
110
- +border-radius(3px)
111
-
112
- span.postfix
113
- position: relative
114
- right: 40px
115
-
116
- background: #080c11
117
- border: none
118
- height: 46px
119
- line-height: 46px
120
-
121
- i
122
- font-size: 20px
123
- color: #fff
124
-
125
- #social
126
- a
127
- display: inline-block
128
- width: 60px
129
- height: 50px
130
- line-height: 50px
131
- color: #fff
132
- margin-right: 20px
133
- text-align: center
134
- font-size: 32px
135
-
136
- +border-radius(2px)
137
-
138
- &.rss
139
- background-color: $rss-color
140
- +box-shadow(0px 3px 0px $rss-border-color)
141
- &:active
142
- +box-shadow(0px 1px 0px $rss-border-color)
143
-
144
- &.twitter
145
- background-color: $twitter-color
146
- +box-shadow(0px 3px 0px $twitter-border-color)
147
- &:active
148
- +box-shadow(0px 1px 0px $twitter-border-color)
149
-
150
- &.dribbble
151
- background-color: $dribble-color
152
- +box-shadow(0px 3px 0px $dribble-border-color)
153
- &:active
154
- +box-shadow(0px 1px 0px $dribble-border-color)
155
-
156
- &.linkedin
157
- background-color: $linkedin-color
158
- +box-shadow(0px 3px 0px $linkedin-border-color)
159
- &:active
160
- +box-shadow(0px 1px 0px $linkedin-border-color)
161
-
162
- &:active
163
- +transform(translate(0, 2px))