lando 0.2.0

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.
@@ -0,0 +1,6 @@
1
+ @charset "utf-8";
2
+
3
+ @import url('http://fonts.googleapis.com/css?family=Josefin+Slab:700,300');
4
+ @import url('http://fonts.googleapis.com/css?family=Lato:400,300,700&subset=latin,latin-ext');
5
+ @import url('http://fonts.googleapis.com/css?family=Cabin:700');
6
+ @import url(http://fonts.googleapis.com/css?family=Annie+Use+Your+Telescope);
@@ -0,0 +1,376 @@
1
+ /*! normalize.css v2.0.1 | MIT License | git.io/normalize */
2
+
3
+ /* ==========================================================================
4
+ HTML5 display definitions
5
+ ========================================================================== */
6
+
7
+ /*
8
+ * Corrects `block` display not defined in IE 8/9.
9
+ */
10
+
11
+
12
+ article,
13
+ aside,
14
+ details,
15
+ figcaption,
16
+ figure,
17
+ footer,
18
+ header,
19
+ hgroup,
20
+ nav,
21
+ section,
22
+ summary {
23
+ display: block;
24
+ }
25
+
26
+ /*
27
+ * Corrects `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
+ * Prevents 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
+ * Addresses styling for `hidden` attribute not present in IE 8/9.
48
+ */
49
+
50
+ [hidden] {
51
+ display: none;
52
+ }
53
+
54
+ /* ==========================================================================
55
+ Base
56
+ ========================================================================== */
57
+
58
+ /*
59
+ * 1. Sets default font family to sans-serif.
60
+ * 2. Prevents iOS text size adjust after orientation change, without disabling
61
+ * user zoom.
62
+ */
63
+
64
+ html {
65
+ font-family: sans-serif; /* 1 */
66
+ -webkit-text-size-adjust: 100%; /* 2 */
67
+ -ms-text-size-adjust: 100%; /* 2 */
68
+ }
69
+
70
+ /*
71
+ * Removes default margin.
72
+ */
73
+
74
+ body {
75
+ margin: 0;
76
+ }
77
+
78
+ /* ==========================================================================
79
+ Links
80
+ ========================================================================== */
81
+
82
+ /*
83
+ * Addresses `outline` inconsistency between Chrome and other browsers.
84
+ */
85
+
86
+ a:focus {
87
+ outline: thin dotted;
88
+ }
89
+
90
+ /*
91
+ * Improves readability when focused and also mouse hovered in all browsers.
92
+ */
93
+
94
+ a:active,
95
+ a:hover {
96
+ outline: 0;
97
+ }
98
+
99
+ /* ==========================================================================
100
+ Typography
101
+ ========================================================================== */
102
+
103
+ /*
104
+ * Addresses `h1` font sizes within `section` and `article` in Firefox 4+,
105
+ * Safari 5, and Chrome.
106
+ */
107
+
108
+ h1 {
109
+ font-size: 2em;
110
+ }
111
+
112
+ /*
113
+ * Addresses styling not present in IE 8/9, Safari 5, and Chrome.
114
+ */
115
+
116
+ abbr[title] {
117
+ border-bottom: 1px dotted;
118
+ }
119
+
120
+ /*
121
+ * Addresses style set to `bolder` in Firefox 4+, Safari 5, and Chrome.
122
+ */
123
+
124
+ b,
125
+ strong {
126
+ font-weight: bold;
127
+ }
128
+
129
+ /*
130
+ * Addresses styling not present in Safari 5 and Chrome.
131
+ */
132
+
133
+ dfn {
134
+ font-style: italic;
135
+ }
136
+
137
+ /*
138
+ * Addresses styling not present in IE 8/9.
139
+ */
140
+
141
+ mark {
142
+ background: #ff0;
143
+ color: #000;
144
+ }
145
+
146
+
147
+ /*
148
+ * Corrects font family set oddly in Safari 5 and Chrome.
149
+ */
150
+
151
+ code,
152
+ kbd,
153
+ pre,
154
+ samp {
155
+ font-family: monospace, serif;
156
+ font-size: 1em;
157
+ }
158
+
159
+ /*
160
+ * Improves readability of pre-formatted text in all browsers.
161
+ */
162
+
163
+ pre {
164
+ white-space: pre;
165
+ white-space: pre-wrap;
166
+ word-wrap: break-word;
167
+ }
168
+
169
+ /*
170
+ * Sets consistent quote types.
171
+ */
172
+
173
+ q {
174
+ quotes: "\201C" "\201D" "\2018" "\2019";
175
+ }
176
+
177
+ /*
178
+ * Addresses inconsistent and variable font size in all browsers.
179
+ */
180
+
181
+ small {
182
+ font-size: 80%;
183
+ }
184
+
185
+ /*
186
+ * Prevents `sub` and `sup` affecting `line-height` in all browsers.
187
+ */
188
+
189
+ sub,
190
+ sup {
191
+ font-size: 75%;
192
+ line-height: 0;
193
+ position: relative;
194
+ vertical-align: baseline;
195
+ }
196
+
197
+ sup {
198
+ top: -0.5em;
199
+ }
200
+
201
+ sub {
202
+ bottom: -0.25em;
203
+ }
204
+
205
+ /* ==========================================================================
206
+ Embedded content
207
+ ========================================================================== */
208
+
209
+ /*
210
+ * Removes border when inside `a` element in IE 8/9.
211
+ */
212
+
213
+ img {
214
+ border: 0;
215
+ }
216
+
217
+ /*
218
+ * Corrects overflow displayed oddly in IE 9.
219
+ */
220
+
221
+ svg:not(:root) {
222
+ overflow: hidden;
223
+ }
224
+
225
+ /* ==========================================================================
226
+ Figures
227
+ ========================================================================== */
228
+
229
+ /*
230
+ * Addresses margin not present in IE 8/9 and Safari 5.
231
+ */
232
+
233
+ figure {
234
+ margin: 0;
235
+ }
236
+
237
+ /* ==========================================================================
238
+ Forms
239
+ ========================================================================== */
240
+
241
+ /*
242
+ * Define consistent border, margin, and padding.
243
+ */
244
+
245
+ fieldset {
246
+ border: 1px solid #c0c0c0;
247
+ margin: 0 2px;
248
+ padding: 0.35em 0.625em 0.75em;
249
+ }
250
+
251
+ /*
252
+ * 1. Corrects color not being inherited in IE 8/9.
253
+ * 2. Remove padding so people aren't caught out if they zero out fieldsets.
254
+ */
255
+
256
+ legend {
257
+ border: 0; /* 1 */
258
+ padding: 0; /* 2 */
259
+ }
260
+
261
+ /*
262
+ * 1. Corrects font family not being inherited in all browsers.
263
+ * 2. Corrects font size not being inherited in all browsers.
264
+ * 3. Addresses margins set differently in Firefox 4+, Safari 5, and Chrome
265
+ */
266
+
267
+ button,
268
+ input,
269
+ select,
270
+ textarea {
271
+ font-family: inherit; /* 1 */
272
+ font-size: 100%; /* 2 */
273
+ margin: 0; /* 3 */
274
+ }
275
+
276
+ /*
277
+ * Addresses Firefox 4+ setting `line-height` on `input` using `!important` in
278
+ * the UA stylesheet.
279
+ */
280
+
281
+ button,
282
+ input {
283
+ line-height: normal;
284
+ }
285
+
286
+ /*
287
+ * 1. Avoid the WebKit bug in Android 4.0.* where (2) destroys native `audio`
288
+ * and `video` controls.
289
+ * 2. Corrects inability to style clickable `input` types in iOS.
290
+ * 3. Improves usability and consistency of cursor style between image-type
291
+ * `input` and others.
292
+ */
293
+
294
+ button,
295
+ html input[type="button"], /* 1 */
296
+ input[type="reset"],
297
+ input[type="submit"] {
298
+ -webkit-appearance: button; /* 2 */
299
+ cursor: pointer; /* 3 */
300
+ }
301
+
302
+ /*
303
+ * Re-set default cursor for disabled elements.
304
+ */
305
+
306
+ button[disabled],
307
+ input[disabled] {
308
+ cursor: default;
309
+ }
310
+
311
+ /*
312
+ * 1. Addresses box sizing set to `content-box` in IE 8/9.
313
+ * 2. Removes excess padding in IE 8/9.
314
+ */
315
+
316
+ input[type="checkbox"],
317
+ input[type="radio"] {
318
+ box-sizing: border-box; /* 1 */
319
+ padding: 0; /* 2 */
320
+ }
321
+
322
+ /*
323
+ * 1. Addresses `appearance` set to `searchfield` in Safari 5 and Chrome.
324
+ * 2. Addresses `box-sizing` set to `border-box` in Safari 5 and Chrome
325
+ * (include `-moz` to future-proof).
326
+ */
327
+
328
+ input[type="search"] {
329
+ -webkit-appearance: textfield; /* 1 */
330
+ -moz-box-sizing: content-box;
331
+ -webkit-box-sizing: content-box; /* 2 */
332
+ box-sizing: content-box;
333
+ }
334
+
335
+ /*
336
+ * Removes inner padding and search cancel button in Safari 5 and Chrome
337
+ * on OS X.
338
+ */
339
+
340
+ input[type="search"]::-webkit-search-cancel-button,
341
+ input[type="search"]::-webkit-search-decoration {
342
+ -webkit-appearance: none;
343
+ }
344
+
345
+ /*
346
+ * Removes inner padding and border in Firefox 4+.
347
+ */
348
+
349
+ button::-moz-focus-inner,
350
+ input::-moz-focus-inner {
351
+ border: 0;
352
+ padding: 0;
353
+ }
354
+
355
+ /*
356
+ * 1. Removes default vertical scrollbar in IE 8/9.
357
+ * 2. Improves readability and alignment in all browsers.
358
+ */
359
+
360
+ textarea {
361
+ overflow: auto; /* 1 */
362
+ vertical-align: top; /* 2 */
363
+ }
364
+
365
+ /* ==========================================================================
366
+ Tables
367
+ ========================================================================== */
368
+
369
+ /*
370
+ * Remove most spacing between table cells.
371
+ */
372
+
373
+ table {
374
+ border-collapse: collapse;
375
+ border-spacing: 0;
376
+ }
@@ -0,0 +1,9 @@
1
+ <html>
2
+ <body>
3
+
4
+ <h1>Demo page</h1>
5
+ <p>Hello Bespin</p>
6
+
7
+ </body>
8
+ </html>
9
+
@@ -0,0 +1,34 @@
1
+ require 'simplecov'
2
+
3
+ module SimpleCov::Configuration
4
+ def clean_filters
5
+ @filters = []
6
+ end
7
+ end
8
+
9
+ SimpleCov.configure do
10
+ clean_filters
11
+ load_adapter 'test_frameworks'
12
+ end
13
+
14
+ ENV["COVERAGE"] && SimpleCov.start do
15
+ add_filter "/.rvm/"
16
+ end
17
+ require 'rubygems'
18
+ require 'bundler'
19
+ begin
20
+ Bundler.setup(:default, :development)
21
+ rescue Bundler::BundlerError => e
22
+ $stderr.puts e.message
23
+ $stderr.puts "Run `bundle install` to install missing gems"
24
+ exit e.status_code
25
+ end
26
+ require 'test/unit'
27
+ require 'shoulda'
28
+
29
+ $LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..', 'lib'))
30
+ $LOAD_PATH.unshift(File.dirname(__FILE__))
31
+ require 'lando'
32
+
33
+ class Test::Unit::TestCase
34
+ end
@@ -0,0 +1,7 @@
1
+ require 'helper'
2
+
3
+ class TestLando < Test::Unit::TestCase
4
+ should "probably rename this file and start testing for real" do
5
+ flunk "hey buddy, you should probably rename this file and start testing for real"
6
+ end
7
+ end
metadata ADDED
@@ -0,0 +1,190 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: lando
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.2.0
5
+ platform: ruby
6
+ authors:
7
+ - Jānis Kiršteins
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2015-08-04 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: slop
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - "~>"
18
+ - !ruby/object:Gem::Version
19
+ version: 4.2.0
20
+ type: :runtime
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - "~>"
25
+ - !ruby/object:Gem::Version
26
+ version: 4.2.0
27
+ - !ruby/object:Gem::Dependency
28
+ name: colorize
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - "~>"
32
+ - !ruby/object:Gem::Version
33
+ version: 0.7.7
34
+ type: :runtime
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - "~>"
39
+ - !ruby/object:Gem::Version
40
+ version: 0.7.7
41
+ - !ruby/object:Gem::Dependency
42
+ name: shoulda
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - ">="
46
+ - !ruby/object:Gem::Version
47
+ version: '0'
48
+ type: :development
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - ">="
53
+ - !ruby/object:Gem::Version
54
+ version: '0'
55
+ - !ruby/object:Gem::Dependency
56
+ name: rdoc
57
+ requirement: !ruby/object:Gem::Requirement
58
+ requirements:
59
+ - - "~>"
60
+ - !ruby/object:Gem::Version
61
+ version: '3.12'
62
+ type: :development
63
+ prerelease: false
64
+ version_requirements: !ruby/object:Gem::Requirement
65
+ requirements:
66
+ - - "~>"
67
+ - !ruby/object:Gem::Version
68
+ version: '3.12'
69
+ - !ruby/object:Gem::Dependency
70
+ name: bundler
71
+ requirement: !ruby/object:Gem::Requirement
72
+ requirements:
73
+ - - "~>"
74
+ - !ruby/object:Gem::Version
75
+ version: '1.0'
76
+ type: :development
77
+ prerelease: false
78
+ version_requirements: !ruby/object:Gem::Requirement
79
+ requirements:
80
+ - - "~>"
81
+ - !ruby/object:Gem::Version
82
+ version: '1.0'
83
+ - !ruby/object:Gem::Dependency
84
+ name: jeweler
85
+ requirement: !ruby/object:Gem::Requirement
86
+ requirements:
87
+ - - "~>"
88
+ - !ruby/object:Gem::Version
89
+ version: 2.0.1
90
+ type: :development
91
+ prerelease: false
92
+ version_requirements: !ruby/object:Gem::Requirement
93
+ requirements:
94
+ - - "~>"
95
+ - !ruby/object:Gem::Version
96
+ version: 2.0.1
97
+ - !ruby/object:Gem::Dependency
98
+ name: simplecov
99
+ requirement: !ruby/object:Gem::Requirement
100
+ requirements:
101
+ - - ">="
102
+ - !ruby/object:Gem::Version
103
+ version: '0'
104
+ type: :development
105
+ prerelease: false
106
+ version_requirements: !ruby/object:Gem::Requirement
107
+ requirements:
108
+ - - ">="
109
+ - !ruby/object:Gem::Version
110
+ version: '0'
111
+ - !ruby/object:Gem::Dependency
112
+ name: lando
113
+ requirement: !ruby/object:Gem::Requirement
114
+ requirements:
115
+ - - ">="
116
+ - !ruby/object:Gem::Version
117
+ version: '0'
118
+ type: :development
119
+ prerelease: false
120
+ version_requirements: !ruby/object:Gem::Requirement
121
+ requirements:
122
+ - - ">="
123
+ - !ruby/object:Gem::Version
124
+ version: '0'
125
+ description: Lando generates empty landing pages, based on pre-made templates.
126
+ email: janis@montadigital.com
127
+ executables:
128
+ - lando
129
+ extensions: []
130
+ extra_rdoc_files:
131
+ - LICENSE.txt
132
+ - README.rdoc
133
+ files:
134
+ - ".document"
135
+ - Gemfile
136
+ - Gemfile.lock
137
+ - LICENSE.txt
138
+ - README.rdoc
139
+ - Rakefile
140
+ - VERSION
141
+ - bin/lando
142
+ - lando.gemspec
143
+ - lib/lando.rb
144
+ - lib/lando/generator.rb
145
+ - lib/lando/generator/application.rb
146
+ - lib/lando/generator/command/create.rb
147
+ - lib/lando/generator/command/ls.rb
148
+ - lib/lando/generator/command/preview.rb
149
+ - lib/lando/generator/command_helper.rb
150
+ - lib/lando/version.rb
151
+ - templates/coming-soon/example.html
152
+ - templates/coming-soon/images/Browser.svg
153
+ - templates/coming-soon/images/Modal.svg
154
+ - templates/coming-soon/images/arrow.png
155
+ - templates/coming-soon/images/background.png
156
+ - templates/coming-soon/images/hero.jpg
157
+ - templates/coming-soon/images/middleman.png
158
+ - templates/coming-soon/images/mobile.svg
159
+ - templates/coming-soon/index.html
160
+ - templates/coming-soon/javascripts/all.js
161
+ - templates/coming-soon/stylesheets/all.css
162
+ - templates/coming-soon/stylesheets/normalize.css
163
+ - templates/test/example.html
164
+ - test/helper.rb
165
+ - test/test_lando.rb
166
+ homepage: http://github.com/montadigital/lando
167
+ licenses:
168
+ - MIT
169
+ metadata: {}
170
+ post_install_message:
171
+ rdoc_options: []
172
+ require_paths:
173
+ - lib
174
+ required_ruby_version: !ruby/object:Gem::Requirement
175
+ requirements:
176
+ - - ">="
177
+ - !ruby/object:Gem::Version
178
+ version: '0'
179
+ required_rubygems_version: !ruby/object:Gem::Requirement
180
+ requirements:
181
+ - - ">="
182
+ - !ruby/object:Gem::Version
183
+ version: '0'
184
+ requirements: []
185
+ rubyforge_project:
186
+ rubygems_version: 2.4.5
187
+ signing_key:
188
+ specification_version: 4
189
+ summary: Tool for generating empty landing pages
190
+ test_files: []