rasputin 0.8.0 → 0.8.1

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.
data/README.md CHANGED
@@ -29,20 +29,30 @@ In Gemfile:
29
29
 
30
30
  gem 'rasputin'
31
31
 
32
- In your asset manifest (app/assets/javascripts/application.js) add the following:
32
+ In your javascript asset manifest (app/assets/javascripts/application.js) add the following:
33
33
 
34
34
  //= require sproutcore
35
35
 
36
- And and any of the following you want to include:
36
+ And any of the following you want to include:
37
37
 
38
38
  //= require sproutcore-datastore
39
39
  //= require sproutcore-statechart
40
40
  //= require sproutcore-touch
41
41
  //= require sproutcore-i18n
42
42
 
43
+ In your stylesheet asset manifest (app/assets/stylesheets/application.css) add the following:
44
+
45
+ /*
46
+ * = require normalize
47
+ */
48
+
43
49
  ChangeLog
44
50
  ----------
45
51
 
52
+ 0.8.1
53
+
54
+ * add normalize.css
55
+
46
56
  0.8.0
47
57
 
48
58
  * remove unofficial packages. Prepare for more stable releases in sync with upstream.
data/Rakefile CHANGED
@@ -1 +1,10 @@
1
1
  require 'bundler/gem_tasks'
2
+
3
+ desc "Update normalize.css"
4
+ task :update_normalize do
5
+ require 'open-uri'
6
+ res = open 'https://raw.github.com/necolas/normalize.css/master/normalize.css'
7
+ File.open('vendor/assets/stylesheets/normalize.css', 'w') do |f|
8
+ f << res.read
9
+ end
10
+ end
@@ -1,3 +1,3 @@
1
1
  module Rasputin
2
- VERSION = "0.8.0"
2
+ VERSION = "0.8.1"
3
3
  end
@@ -0,0 +1,439 @@
1
+ /*! normalize.css 2011-08-12T17:28 UTC · http://github.com/necolas/normalize.css */
2
+
3
+ /* =============================================================================
4
+ HTML5 display definitions
5
+ ========================================================================== */
6
+
7
+ /*
8
+ * Corrects block display not defined in IE6/7/8/9 & FF3
9
+ */
10
+
11
+ article,
12
+ aside,
13
+ details,
14
+ figcaption,
15
+ figure,
16
+ footer,
17
+ header,
18
+ hgroup,
19
+ nav,
20
+ section {
21
+ display: block;
22
+ }
23
+
24
+ /*
25
+ * Corrects inline-block display not defined in IE6/7/8/9 & FF3
26
+ */
27
+
28
+ audio,
29
+ canvas,
30
+ video {
31
+ display: inline-block;
32
+ *display: inline;
33
+ *zoom: 1;
34
+ }
35
+
36
+ /*
37
+ * Prevents modern browsers from displaying 'audio' without controls
38
+ */
39
+
40
+ audio:not([controls]) {
41
+ display: none;
42
+ }
43
+
44
+ /*
45
+ * Addresses styling for 'hidden' attribute not present in IE7/8/9, FF3, S4
46
+ * Known issue: no IE6 support
47
+ */
48
+
49
+ [hidden] {
50
+ display: none;
51
+ }
52
+
53
+
54
+ /* =============================================================================
55
+ Base
56
+ ========================================================================== */
57
+
58
+ /*
59
+ * 1. Corrects text resizing oddly in IE6/7 when body font-size is set using em units
60
+ * http://clagnut.com/blog/348/#c790
61
+ * 2. Keeps page centred in all browsers regardless of content height
62
+ * 3. Prevents iOS text size adjust after orientation change, without disabling user zoom
63
+ * www.456bereastreet.com/archive/201012/controlling_text_size_in_safari_for_ios_without_disabling_user_zoom/
64
+ */
65
+
66
+ html {
67
+ font-size: 100%; /* 1 */
68
+ overflow-y: scroll; /* 2 */
69
+ -webkit-text-size-adjust: 100%; /* 3 */
70
+ -ms-text-size-adjust: 100%; /* 3 */
71
+ }
72
+
73
+ /*
74
+ * Addresses margins handled incorrectly in IE6/7
75
+ */
76
+
77
+ body {
78
+ margin: 0;
79
+ }
80
+
81
+ /*
82
+ * Addresses font-family inconsistency between 'textarea' and other form elements.
83
+ */
84
+
85
+ body,
86
+ button,
87
+ input,
88
+ select,
89
+ textarea {
90
+ font-family: sans-serif;
91
+ }
92
+
93
+
94
+ /* =============================================================================
95
+ Links
96
+ ========================================================================== */
97
+
98
+ a {
99
+ color: #00e;
100
+ }
101
+
102
+ a:visited {
103
+ color: #551a8b;
104
+ }
105
+
106
+ /*
107
+ * Addresses outline displayed oddly in Chrome
108
+ */
109
+
110
+ a:focus {
111
+ outline: thin dotted;
112
+ }
113
+
114
+ /*
115
+ * Improves readability when focused and also mouse hovered in all browsers
116
+ * people.opera.com/patrickl/experiments/keyboard/test
117
+ */
118
+
119
+ a:hover,
120
+ a:active {
121
+ outline: 0;
122
+ }
123
+
124
+
125
+ /* =============================================================================
126
+ Typography
127
+ ========================================================================== */
128
+
129
+ /*
130
+ * Addresses styling not present in IE7/8/9, S5, Chrome
131
+ */
132
+
133
+ abbr[title] {
134
+ border-bottom: 1px dotted;
135
+ }
136
+
137
+ /*
138
+ * Addresses style set to 'bolder' in FF3/4, S4/5, Chrome
139
+ */
140
+
141
+ b,
142
+ strong {
143
+ font-weight: bold;
144
+ }
145
+
146
+ blockquote {
147
+ margin: 1em 40px;
148
+ }
149
+
150
+ /*
151
+ * Addresses styling not present in S5, Chrome
152
+ */
153
+
154
+ dfn {
155
+ font-style: italic;
156
+ }
157
+
158
+ /*
159
+ * Addresses styling not present in IE6/7/8/9
160
+ */
161
+
162
+ mark {
163
+ background: #ff0;
164
+ color: #000;
165
+ }
166
+
167
+ /*
168
+ * Corrects font family set oddly in IE6, S4/5, Chrome
169
+ * en.wikipedia.org/wiki/User:Davidgothberg/Test59
170
+ */
171
+
172
+ pre,
173
+ code,
174
+ kbd,
175
+ samp {
176
+ font-family: monospace, serif;
177
+ _font-family: 'courier new', monospace;
178
+ font-size: 1em;
179
+ }
180
+
181
+ /*
182
+ * Improves readability of pre-formatted text in all browsers
183
+ */
184
+
185
+ pre {
186
+ white-space: pre;
187
+ white-space: pre-wrap;
188
+ word-wrap: break-word;
189
+ }
190
+
191
+ /*
192
+ * 1. Addresses CSS quotes not supported in IE6/7
193
+ * 2. Addresses quote property not supported in S4
194
+ */
195
+
196
+ /* 1 */
197
+
198
+ q {
199
+ quotes: none;
200
+ }
201
+
202
+ /* 2 */
203
+
204
+ q:before,
205
+ q:after {
206
+ content: '';
207
+ content: none;
208
+ }
209
+
210
+ small {
211
+ font-size: 75%;
212
+ }
213
+
214
+ /*
215
+ * Prevents sub and sup affecting line-height in all browsers
216
+ * gist.github.com/413930
217
+ */
218
+
219
+ sub,
220
+ sup {
221
+ font-size: 75%;
222
+ line-height: 0;
223
+ position: relative;
224
+ vertical-align: baseline;
225
+ }
226
+
227
+ sup {
228
+ top: -0.5em;
229
+ }
230
+
231
+ sub {
232
+ bottom: -0.25em;
233
+ }
234
+
235
+
236
+ /* =============================================================================
237
+ Lists
238
+ ========================================================================== */
239
+
240
+ ul,
241
+ ol {
242
+ margin: 1em 0;
243
+ padding: 0 0 0 40px;
244
+ }
245
+
246
+ dd {
247
+ margin: 0 0 0 40px;
248
+ }
249
+
250
+ nav ul,
251
+ nav ol {
252
+ list-style: none;
253
+ list-style-image: none;
254
+ }
255
+
256
+
257
+ /* =============================================================================
258
+ Embedded content
259
+ ========================================================================== */
260
+
261
+ /*
262
+ * 1. Removes border when inside 'a' element in IE6/7/8/9
263
+ * 2. Improves image quality when scaled in IE7
264
+ * code.flickr.com/blog/2008/11/12/on-ui-quality-the-little-things-client-side-image-resizing/
265
+ */
266
+
267
+ img {
268
+ border: 0; /* 1 */
269
+ -ms-interpolation-mode: bicubic; /* 2 */
270
+ }
271
+
272
+ /*
273
+ * Corrects overflow displayed oddly in IE9
274
+ */
275
+
276
+ svg:not(:root) {
277
+ overflow: hidden;
278
+ }
279
+
280
+
281
+ /* =============================================================================
282
+ Figures
283
+ ========================================================================== */
284
+
285
+ /*
286
+ * Addresses margin not present in IE6/7/8/9, S5, O11
287
+ */
288
+
289
+ figure {
290
+ margin: 0;
291
+ }
292
+
293
+
294
+ /* =============================================================================
295
+ Forms
296
+ ========================================================================== */
297
+
298
+ /*
299
+ * Corrects margin displayed oddly in IE6/7
300
+ */
301
+
302
+ form {
303
+ margin: 0;
304
+ }
305
+
306
+ /*
307
+ * Define consistent margin and padding
308
+ */
309
+
310
+ fieldset {
311
+ margin: 0 2px;
312
+ padding: 0.35em 0.625em 0.75em;
313
+ }
314
+
315
+ /*
316
+ * 1. Corrects color not being inherited in IE6/7/8/9
317
+ * 2. Corrects alignment displayed oddly in IE6/7
318
+ */
319
+
320
+ legend {
321
+ border: 0; /* 1 */
322
+ *margin-left: -7px; /* 2 */
323
+ }
324
+
325
+ /*
326
+ * 1. Corrects font size not being inherited in all browsers
327
+ * 2. Addresses margins set differently in IE6/7, F3/4, S5, Chrome
328
+ * 3. Improves appearance and consistency in all browsers
329
+ */
330
+
331
+ button,
332
+ input,
333
+ select,
334
+ textarea {
335
+ font-size: 100%; /* 1 */
336
+ margin: 0; /* 2 */
337
+ vertical-align: baseline; /* 3 */
338
+ *vertical-align: middle; /* 3 */
339
+ }
340
+
341
+ /*
342
+ * 1. Addresses FF3/4 setting line-height using !important in the UA stylesheet
343
+ * 2. Corrects inner spacing displayed oddly in IE6/7
344
+ */
345
+
346
+ button,
347
+ input {
348
+ line-height: normal; /* 1 */
349
+ *overflow: visible; /* 2 */
350
+ }
351
+
352
+ /*
353
+ * Corrects overlap and whitespace issue for buttons and inputs in IE6/7
354
+ * Known issue: reintroduces inner spacing
355
+ */
356
+
357
+ table button,
358
+ table input {
359
+ *overflow: auto;
360
+ }
361
+
362
+ /*
363
+ * 1. Improves usability and consistency of cursor style between image-type 'input' and others
364
+ * 2. Corrects inability to style clickable 'input' types in iOS
365
+ */
366
+
367
+ button,
368
+ html input[type="button"],
369
+ input[type="reset"],
370
+ input[type="submit"] {
371
+ cursor: pointer; /* 1 */
372
+ -webkit-appearance: button; /* 2 */
373
+ }
374
+
375
+ /*
376
+ * 1. Addresses box sizing set to content-box in IE8/9
377
+ * 2. Addresses excess padding in IE8/9
378
+ */
379
+
380
+ input[type="checkbox"],
381
+ input[type="radio"] {
382
+ box-sizing: border-box; /* 1 */
383
+ padding: 0; /* 2 */
384
+ }
385
+
386
+ /*
387
+ * 1. Addresses appearance set to searchfield in S5, Chrome
388
+ * 2. Addresses box sizing set to border-box in S5, Chrome (include -moz to future-proof)
389
+ */
390
+
391
+ input[type="search"] {
392
+ -webkit-appearance: textfield; /* 1 */
393
+ -moz-box-sizing: content-box;
394
+ -webkit-box-sizing: content-box; /* 2 */
395
+ box-sizing: content-box;
396
+ }
397
+
398
+ /*
399
+ * Corrects inner padding displayed oddly in S5, Chrome on OSX
400
+ */
401
+
402
+ input[type="search"]::-webkit-search-decoration {
403
+ -webkit-appearance: none;
404
+ }
405
+
406
+ /*
407
+ * Corrects inner padding and border displayed oddly in FF3/4
408
+ * www.sitepen.com/blog/2008/05/14/the-devils-in-the-details-fixing-dojos-toolbar-buttons/
409
+ */
410
+
411
+ button::-moz-focus-inner,
412
+ input::-moz-focus-inner {
413
+ border: 0;
414
+ padding: 0;
415
+ }
416
+
417
+ /*
418
+ * 1. Removes default vertical scrollbar in IE6/7/8/9
419
+ * 2. Improves readability and alignment in all browsers
420
+ */
421
+
422
+ textarea {
423
+ overflow: auto; /* 1 */
424
+ vertical-align: top; /* 2 */
425
+ }
426
+
427
+
428
+ /* =============================================================================
429
+ Tables
430
+ ========================================================================== */
431
+
432
+ /*
433
+ * Remove most spacing between table cells
434
+ */
435
+
436
+ table {
437
+ border-collapse: collapse;
438
+ border-spacing: 0;
439
+ }
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: rasputin
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: 0.8.0
5
+ version: 0.8.1
6
6
  platform: ruby
7
7
  authors:
8
8
  - Paul Chavard
@@ -10,7 +10,7 @@ autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
12
 
13
- date: 2011-08-24 00:00:00 Z
13
+ date: 2011-08-25 00:00:00 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: railties
@@ -70,6 +70,7 @@ files:
70
70
  - vendor/assets/javascripts/sproutcore-statechart.js
71
71
  - vendor/assets/javascripts/sproutcore-touch.js
72
72
  - vendor/assets/javascripts/sproutcore.js
73
+ - vendor/assets/stylesheets/normalize.css
73
74
  homepage: http://github.com/tchak/rasputin
74
75
  licenses: []
75
76