cytoplasm 0.1.5 → 0.1.6

Sign up to get free protection for your applications and to get access to all the features.
Files changed (53) hide show
  1. data/app/assets/javascripts/cytoplasm/cytoLogo.js.erb +3 -0
  2. data/app/assets/javascripts/cytoplasm/cytoRadio.js.erb +3 -2
  3. data/app/assets/javascripts/cytoplasm/cytoplasm.js.erb +45 -18
  4. data/app/assets/stylesheets/cytoplasm/cytoplasm.less +1 -5
  5. data/app/controllers/cytoplasm/fonts_controller.rb +26 -6
  6. data/app/controllers/cytoplasm/settings_controller.rb +4 -0
  7. data/app/views/cytoplasm/fonts/_installer.html.erb +107 -0
  8. data/app/views/cytoplasm/fonts/_li.html.erb +65 -0
  9. data/app/views/cytoplasm/fonts/_list.html.erb +20 -0
  10. data/app/views/cytoplasm/fonts/index.html.erb +5 -159
  11. data/app/views/cytoplasm/fonts/show.html.erb +11 -0
  12. data/app/views/cytoplasm/settings/colors.html.erb +1 -0
  13. data/app/views/cytoplasm/settings/{edit.html.erb → general.html.erb} +3 -193
  14. data/app/views/cytoplasm/settings/index.html.erb +4 -6
  15. data/app/views/cytoplasm/settings/layout.html.erb +56 -0
  16. data/config/routes.rb +5 -2
  17. data/lib/cytoplasm.rb +13 -5
  18. data/lib/cytoplasm/version.rb +1 -1
  19. data/test/dummy/app/views/demos/index.html.erb +12 -11
  20. data/test/dummy/app/views/demos/jquery.html.erb +107 -0
  21. data/test/dummy/app/views/home/index.html.erb +26 -57
  22. data/test/dummy/app/views/layouts/application.html.erb +2 -2
  23. data/test/dummy/config/routes.rb +2 -0
  24. data/test/dummy/log/development.log +99955 -0
  25. data/test/dummy/log/test.log +20 -0
  26. data/test/dummy/public/cytoplasm/cytoplasm.vars.less +7 -1
  27. data/test/dummy/public/fonts/Vitamin/VITAMINO-webfont.eot +0 -0
  28. data/test/dummy/public/fonts/Vitamin/VITAMINO-webfont.svg +136 -0
  29. data/test/dummy/public/fonts/Vitamin/VITAMINO-webfont.ttf +0 -0
  30. data/test/dummy/public/fonts/Vitamin/VITAMINO-webfont.woff +0 -0
  31. data/test/dummy/public/fonts/Vitamin/VITAMIN_-webfont.eot +0 -0
  32. data/test/dummy/public/fonts/Vitamin/VITAMIN_-webfont.svg +137 -0
  33. data/test/dummy/public/fonts/Vitamin/VITAMIN_-webfont.ttf +0 -0
  34. data/test/dummy/public/fonts/Vitamin/VITAMIN_-webfont.woff +0 -0
  35. data/test/dummy/public/fonts/Vitamin/demo.html +38 -0
  36. data/test/dummy/public/fonts/Vitamin/pizzadude.dk License.txt +8 -0
  37. data/test/dummy/public/fonts/Vitamin/stylesheet.css +28 -0
  38. data/test/dummy/public/fonts/enabled.yml +6 -2
  39. data/test/dummy/tmp/cache/assets/C84/4A0/sprockets%2F8a760be2f29a644c90004cd461744978 +0 -0
  40. data/test/dummy/tmp/cache/assets/CAC/280/sprockets%2F408a235a236b0a3aa1302733211db5ba +0 -0
  41. data/test/dummy/tmp/cache/assets/CAE/FD0/sprockets%2F3bb22e4d409072c2278c1771893ec19e +0 -0
  42. data/test/dummy/tmp/cache/assets/D03/6B0/sprockets%2Fd3cfc780201b87a3439e35c5236bb71a +0 -0
  43. data/test/dummy/tmp/cache/assets/D0E/7D0/sprockets%2F89200785fe2710582a6c1b8d04ae7fbe +0 -0
  44. data/test/dummy/tmp/cache/assets/D14/170/sprockets%2F40a7b83bb067eea7ce2c8394e1529287 +0 -0
  45. data/test/dummy/tmp/cache/assets/D28/830/sprockets%2F1cd2012fe85799b84951d6fc7c8ff079 +0 -0
  46. data/test/dummy/tmp/cache/assets/D36/B20/sprockets%2F0dd47218aa33bc293a136c358f2eed67 +0 -0
  47. data/test/dummy/tmp/cache/assets/D50/750/sprockets%2F7fbcc321810c8f493f86364fee480ed9 +0 -0
  48. data/test/dummy/tmp/cache/assets/D73/5F0/sprockets%2F6aee922214ffea56b31595f1a5ed8c92 +0 -0
  49. data/test/dummy/tmp/cache/assets/DBE/210/sprockets%2Fbedb89fd02eac0dc7aa93c820c612343 +0 -0
  50. data/test/dummy/tmp/cache/assets/E69/B60/sprockets%2Ffdbf7ec615e9a92e4857cdade17f4daa +0 -0
  51. metadata +52 -16
  52. data/app/views/cytoplasm/fonts/_font_li.html.erb +0 -23
  53. data/test/dummy/tmp/pids/server.pid +0 -1
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cytoplasm
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.5
4
+ version: 0.1.6
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2013-01-09 00:00:00.000000000 Z
12
+ date: 2013-01-16 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rails
@@ -123,13 +123,15 @@ dependencies:
123
123
  - - ! '>='
124
124
  - !ruby/object:Gem::Version
125
125
  version: '0'
126
- description: Cytoplasm is the gel-like substance in which the contents of a cell are
127
- suspended, and also a gem for Rails 3 by MacKinley Smith, which builds upon Sass
128
- and jQuery/jQuery UI Frameworks to make your application beautiful, responsive,
129
- and recustomizable without diving into code. It comes complete with a partial that
130
- can be used to restyle any page of your site directly from the browser, as well
131
- as a small and lightweight jQuery library that transforms HTML5 complient form elements
132
- into sleek, sexy, and incredibly versatile counterparts.
126
+ description: Cytoplasm is the gel-like substance that houses the nucleus and organelles
127
+ of every cell of every organism on the planet Earth, as well as a jQuery-based bootstrap
128
+ library for Ruby 1.9/Rails 3 designed and developed independently by MacKinley Smith,
129
+ which builds upon LESS css and jQuery/jQuery UI Frameworks to make your application
130
+ beautiful, responsive, and recustomizable without diving into code. It comes complete
131
+ with a settings partial that can be used to restyle any page of your site directly
132
+ from your browser, a FontLoader class for you typographers, as well as a lightweight
133
+ jQuery library that transforms your HTML5 complient form elements into sleek, sexy,
134
+ and incredibly versatile counterparts.
133
135
  email:
134
136
  - smit1625@msu.edu
135
137
  executables: []
@@ -143,6 +145,7 @@ files:
143
145
  - app/assets/javascripts/cytoplasm/cytoAjax.js.erb
144
146
  - app/assets/javascripts/cytoplasm/cytoColorPicker.js.erb
145
147
  - app/assets/javascripts/cytoplasm/cytoField.js.erb
148
+ - app/assets/javascripts/cytoplasm/cytoLogo.js.erb
146
149
  - app/assets/javascripts/cytoplasm/cytoplasm.js.erb
147
150
  - app/assets/javascripts/cytoplasm/cytoRadio.js.erb
148
151
  - app/assets/javascripts/cytoplasm/cytoSelect.js.erb
@@ -155,10 +158,15 @@ files:
155
158
  - app/assets/stylesheets/cytoplasm/cytoplasm.less
156
159
  - app/controllers/cytoplasm/fonts_controller.rb
157
160
  - app/controllers/cytoplasm/settings_controller.rb
158
- - app/views/cytoplasm/fonts/_font_li.html.erb
161
+ - app/views/cytoplasm/fonts/_installer.html.erb
162
+ - app/views/cytoplasm/fonts/_li.html.erb
163
+ - app/views/cytoplasm/fonts/_list.html.erb
159
164
  - app/views/cytoplasm/fonts/index.html.erb
160
- - app/views/cytoplasm/settings/edit.html.erb
165
+ - app/views/cytoplasm/fonts/show.html.erb
166
+ - app/views/cytoplasm/settings/colors.html.erb
167
+ - app/views/cytoplasm/settings/general.html.erb
161
168
  - app/views/cytoplasm/settings/index.html.erb
169
+ - app/views/cytoplasm/settings/layout.html.erb
162
170
  - config/routes.rb
163
171
  - lib/cytoplasm/ajax.rb
164
172
  - lib/cytoplasm/railtie.rb
@@ -195,6 +203,7 @@ files:
195
203
  - test/dummy/app/helpers/home_helper.rb
196
204
  - test/dummy/app/views/about/index.html.erb
197
205
  - test/dummy/app/views/demos/index.html.erb
206
+ - test/dummy/app/views/demos/jquery.html.erb
198
207
  - test/dummy/app/views/docs/index.html.erb
199
208
  - test/dummy/app/views/downloads/index.html.erb
200
209
  - test/dummy/app/views/home/index.html.erb
@@ -279,6 +288,17 @@ files:
279
288
  - test/dummy/public/fonts/TitilliumText/TitilliumText25L005-webfont.svg
280
289
  - test/dummy/public/fonts/TitilliumText/TitilliumText25L005-webfont.ttf
281
290
  - test/dummy/public/fonts/TitilliumText/TitilliumText25L005-webfont.woff
291
+ - test/dummy/public/fonts/Vitamin/demo.html
292
+ - test/dummy/public/fonts/Vitamin/pizzadude.dk License.txt
293
+ - test/dummy/public/fonts/Vitamin/stylesheet.css
294
+ - test/dummy/public/fonts/Vitamin/VITAMIN_-webfont.eot
295
+ - test/dummy/public/fonts/Vitamin/VITAMIN_-webfont.svg
296
+ - test/dummy/public/fonts/Vitamin/VITAMIN_-webfont.ttf
297
+ - test/dummy/public/fonts/Vitamin/VITAMIN_-webfont.woff
298
+ - test/dummy/public/fonts/Vitamin/VITAMINO-webfont.eot
299
+ - test/dummy/public/fonts/Vitamin/VITAMINO-webfont.svg
300
+ - test/dummy/public/fonts/Vitamin/VITAMINO-webfont.ttf
301
+ - test/dummy/public/fonts/Vitamin/VITAMINO-webfont.woff
282
302
  - test/dummy/Rakefile
283
303
  - test/dummy/README.rdoc
284
304
  - test/dummy/script/rails
@@ -296,6 +316,7 @@ files:
296
316
  - test/dummy/tmp/cache/assets/C2E/4E0/sprockets%2F5b29288e435665a224409e7d76530c95
297
317
  - test/dummy/tmp/cache/assets/C75/590/sprockets%2Fc3abe8a0059292e1e3818278c0434027
298
318
  - test/dummy/tmp/cache/assets/C77/C20/sprockets%2F165a39476f3fa731c0af49432141049c
319
+ - test/dummy/tmp/cache/assets/C84/4A0/sprockets%2F8a760be2f29a644c90004cd461744978
299
320
  - test/dummy/tmp/cache/assets/C87/580/sprockets%2Fd904f7e82971fdde744127c702222195
300
321
  - test/dummy/tmp/cache/assets/C8F/0F0/sprockets%2F369f11075c8c5f939359cb5cb0569281
301
322
  - test/dummy/tmp/cache/assets/CA0/B40/sprockets%2F26961c657dc345435242accb433d260a
@@ -333,8 +354,10 @@ files:
333
354
  - test/dummy/tmp/cache/assets/D15/8E0/sprockets%2F4752afcb2967724e7e47b58b200d8ed2
334
355
  - test/dummy/tmp/cache/assets/D15/CE0/sprockets%2Fa1310379a19df3c1796f2f67dcd5915d
335
356
  - test/dummy/tmp/cache/assets/D21/A50/sprockets%2Feb094bfe70c49891ce65c0178d88d904
357
+ - test/dummy/tmp/cache/assets/D28/830/sprockets%2F1cd2012fe85799b84951d6fc7c8ff079
336
358
  - test/dummy/tmp/cache/assets/D2D/E60/sprockets%2F34ec37e4221a9a127bf1de1ee52951b0
337
359
  - test/dummy/tmp/cache/assets/D32/A10/sprockets%2F13fe41fee1fe35b49d145bcc06610705
360
+ - test/dummy/tmp/cache/assets/D36/B20/sprockets%2F0dd47218aa33bc293a136c358f2eed67
338
361
  - test/dummy/tmp/cache/assets/D47/930/sprockets%2F1a738430fd705a9dddde85a18dd29782
339
362
  - test/dummy/tmp/cache/assets/D49/450/sprockets%2F2b7712073416ff8853efff262ddec53f
340
363
  - test/dummy/tmp/cache/assets/D4E/1B0/sprockets%2Ff7cbd26ba1d28d48de824f0e94586655
@@ -374,7 +397,6 @@ files:
374
397
  - test/dummy/tmp/cache/assets/E71/0E0/sprockets%2Fcbbecea061be6e609adc04133b9badab
375
398
  - test/dummy/tmp/cache/assets/E8C/480/sprockets%2Fdacb331ac961cf7b7cbc69abe8fb74dd
376
399
  - test/dummy/tmp/cache/assets/E8D/B40/sprockets%2Fb862bf7fb4b4c634aeaa9dfc97babc6b
377
- - test/dummy/tmp/pids/server.pid
378
400
  - test/test_helper.rb
379
401
  homepage: http://www.mackinleysmith.com/
380
402
  licenses: []
@@ -390,7 +412,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
390
412
  version: '0'
391
413
  segments:
392
414
  - 0
393
- hash: -2166240487378532672
415
+ hash: 3511672985725787987
394
416
  required_rubygems_version: !ruby/object:Gem::Requirement
395
417
  none: false
396
418
  requirements:
@@ -399,13 +421,13 @@ required_rubygems_version: !ruby/object:Gem::Requirement
399
421
  version: '0'
400
422
  segments:
401
423
  - 0
402
- hash: -2166240487378532672
424
+ hash: 3511672985725787987
403
425
  requirements: []
404
426
  rubyforge_project:
405
427
  rubygems_version: 1.8.24
406
428
  signing_key:
407
429
  specification_version: 3
408
- summary: An advanced and highly configurable styling/theming utility
430
+ summary: One layout tool to rule them all.
409
431
  test_files:
410
432
  - test/cytoplasm_test.rb
411
433
  - test/dummy/app/assets/javascripts/about.js
@@ -434,6 +456,7 @@ test_files:
434
456
  - test/dummy/app/helpers/home_helper.rb
435
457
  - test/dummy/app/views/about/index.html.erb
436
458
  - test/dummy/app/views/demos/index.html.erb
459
+ - test/dummy/app/views/demos/jquery.html.erb
437
460
  - test/dummy/app/views/docs/index.html.erb
438
461
  - test/dummy/app/views/downloads/index.html.erb
439
462
  - test/dummy/app/views/home/index.html.erb
@@ -518,6 +541,17 @@ test_files:
518
541
  - test/dummy/public/fonts/TitilliumText/TitilliumText25L005-webfont.svg
519
542
  - test/dummy/public/fonts/TitilliumText/TitilliumText25L005-webfont.ttf
520
543
  - test/dummy/public/fonts/TitilliumText/TitilliumText25L005-webfont.woff
544
+ - test/dummy/public/fonts/Vitamin/demo.html
545
+ - test/dummy/public/fonts/Vitamin/pizzadude.dk License.txt
546
+ - test/dummy/public/fonts/Vitamin/stylesheet.css
547
+ - test/dummy/public/fonts/Vitamin/VITAMIN_-webfont.eot
548
+ - test/dummy/public/fonts/Vitamin/VITAMIN_-webfont.svg
549
+ - test/dummy/public/fonts/Vitamin/VITAMIN_-webfont.ttf
550
+ - test/dummy/public/fonts/Vitamin/VITAMIN_-webfont.woff
551
+ - test/dummy/public/fonts/Vitamin/VITAMINO-webfont.eot
552
+ - test/dummy/public/fonts/Vitamin/VITAMINO-webfont.svg
553
+ - test/dummy/public/fonts/Vitamin/VITAMINO-webfont.ttf
554
+ - test/dummy/public/fonts/Vitamin/VITAMINO-webfont.woff
521
555
  - test/dummy/Rakefile
522
556
  - test/dummy/README.rdoc
523
557
  - test/dummy/script/rails
@@ -535,6 +569,7 @@ test_files:
535
569
  - test/dummy/tmp/cache/assets/C2E/4E0/sprockets%2F5b29288e435665a224409e7d76530c95
536
570
  - test/dummy/tmp/cache/assets/C75/590/sprockets%2Fc3abe8a0059292e1e3818278c0434027
537
571
  - test/dummy/tmp/cache/assets/C77/C20/sprockets%2F165a39476f3fa731c0af49432141049c
572
+ - test/dummy/tmp/cache/assets/C84/4A0/sprockets%2F8a760be2f29a644c90004cd461744978
538
573
  - test/dummy/tmp/cache/assets/C87/580/sprockets%2Fd904f7e82971fdde744127c702222195
539
574
  - test/dummy/tmp/cache/assets/C8F/0F0/sprockets%2F369f11075c8c5f939359cb5cb0569281
540
575
  - test/dummy/tmp/cache/assets/CA0/B40/sprockets%2F26961c657dc345435242accb433d260a
@@ -572,8 +607,10 @@ test_files:
572
607
  - test/dummy/tmp/cache/assets/D15/8E0/sprockets%2F4752afcb2967724e7e47b58b200d8ed2
573
608
  - test/dummy/tmp/cache/assets/D15/CE0/sprockets%2Fa1310379a19df3c1796f2f67dcd5915d
574
609
  - test/dummy/tmp/cache/assets/D21/A50/sprockets%2Feb094bfe70c49891ce65c0178d88d904
610
+ - test/dummy/tmp/cache/assets/D28/830/sprockets%2F1cd2012fe85799b84951d6fc7c8ff079
575
611
  - test/dummy/tmp/cache/assets/D2D/E60/sprockets%2F34ec37e4221a9a127bf1de1ee52951b0
576
612
  - test/dummy/tmp/cache/assets/D32/A10/sprockets%2F13fe41fee1fe35b49d145bcc06610705
613
+ - test/dummy/tmp/cache/assets/D36/B20/sprockets%2F0dd47218aa33bc293a136c358f2eed67
577
614
  - test/dummy/tmp/cache/assets/D47/930/sprockets%2F1a738430fd705a9dddde85a18dd29782
578
615
  - test/dummy/tmp/cache/assets/D49/450/sprockets%2F2b7712073416ff8853efff262ddec53f
579
616
  - test/dummy/tmp/cache/assets/D4E/1B0/sprockets%2Ff7cbd26ba1d28d48de824f0e94586655
@@ -613,5 +650,4 @@ test_files:
613
650
  - test/dummy/tmp/cache/assets/E71/0E0/sprockets%2Fcbbecea061be6e609adc04133b9badab
614
651
  - test/dummy/tmp/cache/assets/E8C/480/sprockets%2Fdacb331ac961cf7b7cbc69abe8fb74dd
615
652
  - test/dummy/tmp/cache/assets/E8D/B40/sprockets%2Fb862bf7fb4b4c634aeaa9dfc97babc6b
616
- - test/dummy/tmp/pids/server.pid
617
653
  - test/test_helper.rb
@@ -1,23 +0,0 @@
1
- <% f["variants"] = f["familyinfo"] if dir == "fontsquirrel" %>
2
- <li data-family="<%=fam%>" data-directory="<%=dir%>" style="padding:10px;list-style:none;">
3
- <dt><p><%=link_to(fam,"#")%></p></dt>
4
- <dd style="margin-left:0px;">
5
- <ul>
6
- <% unless f["variants"].nil? or f["variants"].empty? %><% f["variants"].each do |v| %>
7
- <li>
8
- <% if dir=="fontsquirrel" %>
9
- <img src="<%=v["listing_image"]%>" />
10
- <% elsif dir=="googlewebfonts" %>
11
- <span class="gwf-preview" style="font-family:'<%=fam%>';">AaBbCcDdEeFfGgHhIiJjKk</span>
12
- <% end %>
13
- </li>
14
- <% end end %>
15
- </ul>
16
- <p>
17
- <%=link_to("Details",((dir=="fontsquirrel")?"http://www.fontsquirrel.com/fonts/":"http://www.google.com/webfonts/specimen/")+fam,:class => "font_details",:target => "_blank")%> |
18
- <%=link_to("Preview","#",:class => "font_preview")%> |
19
- <%=link_to((Cytoplasm::FontsController.is_enabled?(dir,fam))?"Disable":"Enable","#",:class => "font_enable_disable")%> |
20
- <%=link_to("Uninstall","#",:class => "font_uninstall")%>
21
- </p>
22
- </dd>
23
- </li>
@@ -1 +0,0 @@
1
- 42614