playmo 0.0.6 → 0.0.10

Sign up to get free protection for your applications and to get access to all the features.
Files changed (106) hide show
  1. data/.rspec +2 -0
  2. data/Gemfile +1 -1
  3. data/README.md +9 -45
  4. data/TODO.md +65 -9
  5. data/bin/playmo +6 -0
  6. data/lib/generators/rails/controller_generator.rb +5 -0
  7. data/lib/generators/rails/layout_generator.rb +26 -0
  8. data/lib/generators/rails/scaffold_controller_generator.rb +13 -0
  9. data/lib/generators/rails/templates/controller.rb +11 -0
  10. data/lib/generators/rails/templates/layout.html.erb +46 -0
  11. data/lib/generators/rails/templates/layout.html.haml +26 -0
  12. data/lib/generators/rails/templates/layout.html.slim +26 -0
  13. data/lib/generators/rails/templates/scaffold_controller.rb +56 -0
  14. data/lib/playmo.rb +45 -7
  15. data/lib/playmo/answer.rb +18 -0
  16. data/lib/playmo/choice.rb +52 -0
  17. data/lib/playmo/cli.rb +25 -0
  18. data/lib/playmo/cookbook.rb +83 -0
  19. data/lib/playmo/event.rb +7 -0
  20. data/lib/playmo/options.rb +17 -0
  21. data/lib/playmo/question.rb +59 -0
  22. data/lib/playmo/recipe.rb +50 -0
  23. data/lib/playmo/recipes/_/sample_recipe.rb +46 -0
  24. data/lib/playmo/recipes/application_controller_recipe.rb +24 -0
  25. data/lib/playmo/recipes/application_helper_recipe.rb +18 -0
  26. data/lib/playmo/recipes/assets_recipe.rb +19 -0
  27. data/lib/playmo/recipes/can_can_recipe.rb +0 -0
  28. data/lib/playmo/recipes/capistrano_recipe.rb +25 -0
  29. data/lib/playmo/recipes/compass_recipe.rb +19 -0
  30. data/lib/playmo/recipes/congrats_recipe.rb +20 -0
  31. data/lib/playmo/recipes/devise_recipe.rb +172 -0
  32. data/lib/playmo/recipes/forms_recipe.rb +42 -0
  33. data/lib/playmo/recipes/git_recipe.rb +31 -0
  34. data/lib/playmo/recipes/home_controller_recipe.rb +86 -0
  35. data/lib/playmo/recipes/javascript_framework_recipe.rb +69 -0
  36. data/lib/playmo/recipes/layout_recipe.rb +21 -0
  37. data/lib/playmo/recipes/markup_recipe.rb +34 -0
  38. data/lib/playmo/recipes/rspec_recipe.rb +25 -0
  39. data/lib/playmo/recipes/rvm_recipe.rb +17 -0
  40. data/lib/playmo/recipes/setup_database_recipe.rb +21 -0
  41. data/lib/playmo/recipes/templates/application_controller_recipe/application_controller.rb +54 -0
  42. data/lib/playmo/recipes/templates/application_controller_recipe/internal_error.html.erb +5 -0
  43. data/lib/playmo/recipes/templates/application_controller_recipe/not_found.html.erb +5 -0
  44. data/lib/playmo/recipes/templates/application_helper_recipe/application_helper.rb +118 -0
  45. data/lib/playmo/recipes/templates/assets_recipe/images/bg.jpg +0 -0
  46. data/lib/playmo/recipes/templates/assets_recipe/images/input-bg.gif +0 -0
  47. data/lib/playmo/recipes/templates/assets_recipe/stylesheets/application.css.scss +29 -0
  48. data/lib/playmo/recipes/templates/assets_recipe/stylesheets/media.css.scss +0 -0
  49. data/lib/playmo/recipes/templates/assets_recipe/stylesheets/partials/_constants.css.scss +11 -0
  50. data/lib/playmo/recipes/templates/assets_recipe/stylesheets/partials/_forms.css.scss +134 -0
  51. data/{stylesheets/_playmo_rails.sass → lib/playmo/recipes/templates/assets_recipe/stylesheets/partials/_html5-boilerplate.css.scss} +1 -1
  52. data/lib/playmo/recipes/templates/assets_recipe/stylesheets/partials/_layout.css.scss +264 -0
  53. data/{templates/project/playmo/playmo.scss → lib/playmo/recipes/templates/assets_recipe/stylesheets/partials/_overrides.css.scss} +14 -23
  54. data/lib/playmo/recipes/templates/assets_recipe/stylesheets/partials/_simple_form.css.scss +7 -0
  55. data/{stylesheets/playmo-rails/_fonts.scss → lib/playmo/recipes/templates/assets_recipe/stylesheets/partials/html5-boilerplate/_fonts.css.scss} +5 -6
  56. data/{stylesheets/playmo-rails/_helpers.scss → lib/playmo/recipes/templates/assets_recipe/stylesheets/partials/html5-boilerplate/_helpers.css.scss} +6 -1
  57. data/{stylesheets/playmo-rails/_media.scss → lib/playmo/recipes/templates/assets_recipe/stylesheets/partials/html5-boilerplate/_media.css.scss} +10 -9
  58. data/lib/playmo/recipes/templates/assets_recipe/stylesheets/partials/html5-boilerplate/_reset.css.scss +47 -0
  59. data/{stylesheets/playmo-rails/_styles.scss → lib/playmo/recipes/templates/assets_recipe/stylesheets/partials/html5-boilerplate/_styles.css.scss} +24 -24
  60. data/lib/playmo/recipes/templates/capistrano_recipe/.gitkeep +0 -0
  61. data/lib/playmo/recipes/templates/devise_recipe/.gitkeep +0 -0
  62. data/lib/playmo/recipes/templates/forms_recipe/.gitkeep +0 -0
  63. data/lib/playmo/recipes/templates/home_controller_recipe/_sidebar.html.erb +3 -0
  64. data/lib/playmo/recipes/templates/layout_recipe/application.html.erb +40 -0
  65. data/lib/playmo/recipes/templates/rspec_recipe/.gitkeep +0 -0
  66. data/lib/playmo/recipes/templates/rvm_recipe/.gitkeep +0 -0
  67. data/lib/playmo/silent.rb +17 -0
  68. data/playmo.gemspec +6 -2
  69. data/spec/cookbook_spec.rb +23 -0
  70. data/spec/recipes/home_controller_recipe_spec.rb +13 -0
  71. data/spec/spec_helper.rb +16 -0
  72. data/spec/support/.gitkeep +0 -0
  73. metadata +144 -79
  74. data/lib/app/helpers/playmo_helper.rb +0 -54
  75. data/lib/generators/playmo/USAGE +0 -8
  76. data/lib/generators/playmo/install_generator.rb +0 -166
  77. data/lib/generators/playmo/templates/application.html.erb +0 -56
  78. data/lib/generators/playmo/templates/application_controller.rb +0 -9
  79. data/lib/generators/playmo/templates/application_helper.rb +0 -21
  80. data/lib/generators/playmo/templates/assets.yml +0 -32
  81. data/lib/generators/playmo/templates/deploy.rb +0 -50
  82. data/lib/generators/playmo/templates/jquery/jquery-1.5.2.min.js +0 -16
  83. data/lib/generators/playmo/templates/jquery/rails.js +0 -157
  84. data/lib/generators/playmo/templates/mootools/mootools-core-1.3.1.js +0 -485
  85. data/lib/generators/playmo/templates/mootools/mootools-more-1.3.1.1.js +0 -741
  86. data/lib/generators/playmo/templates/mootools/rails.js +0 -161
  87. data/lib/generators/playmo/templates/tasks/assets.rake +0 -10
  88. data/lib/generators/playmo/templates/tasks/sass.rake +0 -8
  89. data/stylesheets/playmo-rails/_handheld.scss +0 -8
  90. data/stylesheets/playmo-rails/_reset.scss +0 -56
  91. data/templates/project/boilerplate/css/handheld.scss +0 -7
  92. data/templates/project/boilerplate/css/style.scss +0 -141
  93. data/templates/project/boilerplate/files/apple-touch-icon.png +0 -0
  94. data/templates/project/boilerplate/files/crossdomain.xml +0 -25
  95. data/templates/project/boilerplate/files/favicon.ico +0 -0
  96. data/templates/project/boilerplate/files/robots.txt +0 -5
  97. data/templates/project/boilerplate/js/libs/dd_belatedpng.js +0 -13
  98. data/templates/project/boilerplate/js/libs/modernizr-1.7.min.js +0 -2
  99. data/templates/project/google/google.yml +0 -22
  100. data/templates/project/manifest.rb +0 -34
  101. data/templates/project/playmo/article.scss +0 -69
  102. data/templates/project/playmo/icons/outgoing.png +0 -0
  103. data/templates/project/rails/public/stylesheets/layout.scss +0 -20
  104. data/templates/project/rails/public/stylesheets/print.scss +0 -11
  105. data/templates/project/rails/public/stylesheets/screen.scss +0 -14
  106. data/templates/project/rails/public/stylesheets/wysiwyg.scss +0 -19
@@ -0,0 +1,47 @@
1
+ // html5doctor.com Reset Stylesheet (Eric Meyer's Reset Reloaded + HTML5 baseline)
2
+ // v1.6.1 2010-09-17 | Authors: Eric Meyer & Richard Clark
3
+ // html5doctor.com/html-5-reset-stylesheet/
4
+
5
+ @mixin html5-boilerplate-reset {
6
+ html, body, div, span, object, iframe,
7
+ h1, h2, h3, h4, h5, h6, p, blockquote, pre,
8
+ abbr, address, cite, code, del, dfn, em, img, ins, kbd, q, samp,
9
+ small, strong, sub, sup, var, b, i, dl, dt, dd, ol, ul, li,
10
+ fieldset, form, label, legend,
11
+ table, caption, tbody, tfoot, thead, tr, th, td,
12
+ article, aside, canvas, details, figcaption, figure,
13
+ footer, header, hgroup, menu, nav, section, summary,
14
+ time, mark, audio, video {
15
+ margin: 0;
16
+ padding: 0;
17
+ border: 0;
18
+ font-size: 100%;
19
+ font: inherit;
20
+ vertical-align: baseline;
21
+ }
22
+
23
+ article, aside, details, figcaption, figure,
24
+ footer, header, hgroup, menu, nav, section {
25
+ display: block;
26
+ }
27
+
28
+ blockquote, q { quotes: none; }
29
+
30
+ blockquote:before, blockquote:after,
31
+ q:before, q:after { content: ""; content: none; }
32
+
33
+ ins { background-color: #ff9; color: #000; text-decoration: none; }
34
+
35
+ mark { background-color: #ff9; color: #000; font-style: italic; font-weight: bold; }
36
+
37
+ del { text-decoration: line-through; }
38
+
39
+ abbr[title], dfn[title] { border-bottom: 1px dotted; cursor: help; }
40
+
41
+ table { border-collapse: collapse; border-spacing: 0; }
42
+
43
+ hr { display: block; height: 1px; border: 0; border-top: 1px solid #ccc; margin: 1em 0; padding: 0; }
44
+
45
+ input, select { vertical-align: middle; }
46
+ }
47
+
@@ -12,17 +12,12 @@ $list-left-margin: 1.8em !default;
12
12
  //
13
13
 
14
14
  @mixin html5-boilerplate-styles {
15
- body, select, input, textarea { color: $font-color; }
16
-
17
15
  html { @include force-scrollbar; }
18
16
 
19
- a, a:active, a:visited { color: $link-color; }
20
- a:hover { color: $link-hover-color; }
21
-
22
17
  ul, ol { margin-left: $list-left-margin; }
23
18
  ol { list-style-type: decimal; }
24
19
 
25
- td, td img { vertical-align: top; }
20
+ td { vertical-align: top; }
26
21
 
27
22
  sub { @include sub; }
28
23
 
@@ -38,7 +33,7 @@ $list-left-margin: 1.8em !default;
38
33
 
39
34
  @include hand-cursor-inputs;
40
35
 
41
- @include webkit-reset-form-elements;
36
+ @include reset-form-elements;
42
37
 
43
38
  @include selected-text;
44
39
 
@@ -50,10 +45,10 @@ $list-left-margin: 1.8em !default;
50
45
  }
51
46
 
52
47
  // set sub, sup without affecting line-height: gist.github.com/413930
53
- @mixin sub{
48
+ @mixin sub{
54
49
  font-size: 75%; line-height: 0; position: relative; bottom: -0.25em;
55
50
  }
56
- @mixin sup{
51
+ @mixin sup{
57
52
  font-size: 75%; line-height: 0; position: relative; top: -0.5em;
58
53
  }
59
54
 
@@ -65,13 +60,12 @@ $list-left-margin: 1.8em !default;
65
60
  // www.pathf.com/blogs/2008/05/formatting-quoted-code-in-blog-posts-css21-white-space-pre-wrap
66
61
  @mixin quoted-pre {
67
62
  pre {
68
- white-space: pre; white-space: pre-wrap; white-space: pre-line; word-wrap: break-word;
63
+ white-space: pre; white-space: pre-wrap; word-wrap: break-word;
69
64
  padding: 15px;
70
65
  }
71
66
  }
72
67
 
73
- // align checkboxes, radios, text inputs with their label
74
- // by: Thierry Koblentz tjkdesign.com/ez-css/css/base.css
68
+ // Align checkboxes, radios, text inputs with their label by: Thierry Koblentz tjkdesign.com/ez-css/css/base.css
75
69
  @mixin align-input-labels {
76
70
  input[type="radio"] { vertical-align: text-bottom; }
77
71
  input[type="checkbox"] { vertical-align: bottom; }
@@ -79,19 +73,29 @@ $list-left-margin: 1.8em !default;
79
73
  .ie6 input { vertical-align: text-bottom; }
80
74
  }
81
75
 
82
- // hand cursor on clickable input elements
76
+ // Hand cursor on clickable input elements
83
77
  @mixin hand-cursor-inputs {
84
78
  label, input[type="button"], input[type="submit"], input[type="image"], button { cursor: pointer; }
85
79
  }
86
80
 
87
- // webkit browsers add a 2px margin outside the chrome of form elements
81
+ @mixin reset-form-elements {
82
+ // 1) Make inputs and buttons play nice in IE: www.viget.com/inspire/styling-the-button-element-in-internet-explorer/
83
+ // 2) WebKit browsers add a 2px margin outside the chrome of form elements.
84
+ // Firefox adds a 1px margin above and below textareas
85
+ button, input, select, textarea { width: auto; overflow: visible; margin: 0; }
86
+
87
+ // Remove extra padding and inner border in Firefox
88
+ input::-moz-focus-inner,
89
+ button::-moz-focus-inner { border: 0; padding: 0; }
90
+ }
91
+
88
92
  @mixin webkit-reset-form-elements {
89
- button, input, select, textarea { margin: 0; }
93
+ @warn "The 'webkit-reset-form-elements' mixin has been deprecated. Use 'reset-form-elements' instead.";
90
94
  }
91
95
 
92
96
  // These selection declarations have to be separate.
93
- // No text-shadow: twitter.com/miketaylr/status/12228805301
94
- // Also: hot pink.
97
+ // No text-shadow: twitter.com/miketaylr/status/12228805301
98
+ // Also: hot pink!
95
99
  @mixin selected-text {
96
100
  ::-moz-selection{ background:$selected-background-color; color: $selected-font-color; text-shadow: none; }
97
101
  ::selection { background: $selected-background-color; color: $selected-font-color; text-shadow: none; }
@@ -102,21 +106,17 @@ $list-left-margin: 1.8em !default;
102
106
  a:link { -webkit-tap-highlight-color: $selected-background-color; }
103
107
  }
104
108
 
105
- // always force a scrollbar in non-IE
109
+ // Always force a scrollbar in non-IE
106
110
  @mixin force-scrollbar {
107
111
  overflow-y: scroll;
108
112
  }
109
113
 
110
114
  @mixin ie-hacks {
111
- // make buttons play nice in IE:
112
- // www.viget.com/inspire/styling-the-button-element-in-internet-explorer/
113
- button { width: auto; overflow: visible; }
114
-
115
- // bicubic resizing for non-native sized IMG:
115
+ // Bicubic resizing for non-native sized IMG:
116
116
  // code.flickr.com/blog/2008/11/12/on-ui-quality-the-little-things-client-side-image-resizing/
117
117
  .ie7 img { -ms-interpolation-mode: bicubic; }
118
118
 
119
- .ie6 legend, .ie7 legend { margin-left: -7px; } // thnx ivannikolic!
119
+ .ie6 legend, .ie7 legend { margin-left: -7px; }
120
120
  }
121
121
 
122
122
  @mixin no-nav-margins {
@@ -0,0 +1,3 @@
1
+ <h3>Sidebar</h3>
2
+ <p>Content for sidebar.</p>
3
+ <p>This content displayed at inner pages.</p>
@@ -0,0 +1,40 @@
1
+ <!DOCTYPE html>
2
+ <%%= ie_html :class => 'no-js', :lang => :en do %>
3
+
4
+ <head>
5
+ <meta charset="utf-8">
6
+ <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
7
+ <%%= csrf_meta_tag %>
8
+
9
+ <title><%%= page_title "Default title" %></title>
10
+ <meta name="description" content="<%%= yield :description %>">
11
+ <meta name="author" content="<%%= yield :author %>">
12
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
13
+
14
+ <link rel="shortcut icon" href="/favicon.ico">
15
+ </head>
16
+ <body id="<%%= page_id %>">
17
+
18
+ <div id="container">
19
+ <header>
20
+ <h1><%%= link_to_unless_current 'Welcome aboard!', root_path %></h1>
21
+ </header>
22
+
23
+ <div id="main">
24
+ <%%= flash_messages %>
25
+
26
+ <article class="article">
27
+ <%%= yield %>
28
+ </article>
29
+
30
+ <aside>
31
+ <%%= content_for?(:sidebar) ? yield(:sidebar) : render("shared/sidebar") %>
32
+ </aside>
33
+
34
+ </div>
35
+
36
+ <footer>This application was generated with Playmo gem.</footer>
37
+ </div>
38
+
39
+ </body>
40
+ <%% end %>
@@ -0,0 +1,17 @@
1
+ module Playmo
2
+ class Silent
3
+ attr_accessor :caller, :block
4
+
5
+ def initialize(&block)
6
+ @block = block
7
+ end
8
+
9
+ def set_caller(caller)
10
+ @caller = caller
11
+ end
12
+
13
+ def execute!
14
+ block.call
15
+ end
16
+ end
17
+ end
@@ -2,7 +2,7 @@
2
2
  $:.push File.expand_path("../lib", __FILE__)
3
3
 
4
4
  Gem::Specification.new do |s|
5
- s.version = "0.0.6"
5
+ s.version = "0.0.10"
6
6
  s.name = "playmo"
7
7
  s.platform = Gem::Platform::RUBY
8
8
  s.authors = ["Andrew Kozloff"]
@@ -18,5 +18,9 @@ Gem::Specification.new do |s|
18
18
  s.require_paths = ["lib"]
19
19
  s.has_rdoc = false
20
20
  s.rubygems_version = %q{1.3.7}
21
- s.add_dependency("compass", [">= 0.10.6"])
21
+ s.add_dependency("rails", ["~> 3.0"])
22
+ s.add_dependency("ruby_events")
23
+ s.add_dependency("haml2slim", ["=0.4.6"])
24
+ s.add_dependency("haml", ["=3.1.3"])
25
+ s.add_development_dependency("rspec-rails", ["~> 2.5"])
22
26
  end
@@ -0,0 +1,23 @@
1
+ require File.join(File.dirname(__FILE__), 'spec_helper')
2
+ require File.join(File.dirname(__FILE__), '/../lib/playmo/cookbook.rb')
3
+
4
+ describe Playmo::Cookbook do
5
+ before(:each) do
6
+ @cookbook = Playmo::Cookbook.new
7
+ end
8
+
9
+ context "when instantiated" do
10
+ it "should be with no recipes" do
11
+ @cookbook.size.should be_zero
12
+ end
13
+ end
14
+
15
+ context "when insert recipes" do
16
+ context "when insert one recipe" do
17
+ it "should be with one recipe" do
18
+ @cookbook.use(Playmo::Generators::Recipes::HomeControllerRecipe)
19
+ @cookbook.size.should eq(1)
20
+ end
21
+ end
22
+ end
23
+ end
@@ -0,0 +1,13 @@
1
+ #require File.join(File.dirname(__FILE__), '/../spec_helper')
2
+ require 'spec_helper'
3
+ require File.join(File.dirname(__FILE__), '/../../lib/generators/playmo/recipes/home_controller_recipe')
4
+
5
+ describe Playmo::Generators::Recipes::HomeControllerRecipe do
6
+ =begin
7
+ context "when instantiated" do
8
+ it "should be with no recipes" do
9
+ pending "do something"
10
+ end
11
+ end
12
+ =end
13
+ end
@@ -0,0 +1,16 @@
1
+ # encoding: utf-8
2
+ require 'rubygems'
3
+ require 'bundler'
4
+ Bundler.setup
5
+
6
+ require 'rails/all'
7
+
8
+ require File.expand_path(File.join(File.dirname(__FILE__), '../lib/playmo'))
9
+
10
+ # Requires supporting files with custom matchers and macros, etc,
11
+ # in ./support/ and its subdirectories in alphabetic order.
12
+ Dir["#{File.dirname(__FILE__)}/support/**/*.rb"].sort.each { |f| require f }
13
+
14
+ RSpec.configure do |config|
15
+ # nothing yet ...
16
+ end
File without changes
metadata CHANGED
@@ -1,112 +1,177 @@
1
- --- !ruby/object:Gem::Specification
1
+ --- !ruby/object:Gem::Specification
2
2
  name: playmo
3
- version: !ruby/object:Gem::Version
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.0.10
4
5
  prerelease:
5
- version: 0.0.6
6
6
  platform: ruby
7
- authors:
7
+ authors:
8
8
  - Andrew Kozloff
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
-
13
- date: 2011-04-13 00:00:00 +06:00
14
- default_executable:
15
- dependencies:
16
- - !ruby/object:Gem::Dependency
17
- name: compass
12
+ date: 2011-10-29 00:00:00.000000000Z
13
+ dependencies:
14
+ - !ruby/object:Gem::Dependency
15
+ name: rails
16
+ requirement: &13015240 !ruby/object:Gem::Requirement
17
+ none: false
18
+ requirements:
19
+ - - ~>
20
+ - !ruby/object:Gem::Version
21
+ version: '3.0'
22
+ type: :runtime
23
+ prerelease: false
24
+ version_requirements: *13015240
25
+ - !ruby/object:Gem::Dependency
26
+ name: ruby_events
27
+ requirement: &13014680 !ruby/object:Gem::Requirement
28
+ none: false
29
+ requirements:
30
+ - - ! '>='
31
+ - !ruby/object:Gem::Version
32
+ version: '0'
33
+ type: :runtime
18
34
  prerelease: false
19
- requirement: &id001 !ruby/object:Gem::Requirement
35
+ version_requirements: *13014680
36
+ - !ruby/object:Gem::Dependency
37
+ name: haml2slim
38
+ requirement: &13013940 !ruby/object:Gem::Requirement
20
39
  none: false
21
- requirements:
22
- - - ">="
23
- - !ruby/object:Gem::Version
24
- version: 0.10.6
40
+ requirements:
41
+ - - =
42
+ - !ruby/object:Gem::Version
43
+ version: 0.4.6
25
44
  type: :runtime
26
- version_requirements: *id001
45
+ prerelease: false
46
+ version_requirements: *13013940
47
+ - !ruby/object:Gem::Dependency
48
+ name: haml
49
+ requirement: &13013240 !ruby/object:Gem::Requirement
50
+ none: false
51
+ requirements:
52
+ - - =
53
+ - !ruby/object:Gem::Version
54
+ version: 3.1.3
55
+ type: :runtime
56
+ prerelease: false
57
+ version_requirements: *13013240
58
+ - !ruby/object:Gem::Dependency
59
+ name: rspec-rails
60
+ requirement: &13012640 !ruby/object:Gem::Requirement
61
+ none: false
62
+ requirements:
63
+ - - ~>
64
+ - !ruby/object:Gem::Version
65
+ version: '2.5'
66
+ type: :development
67
+ prerelease: false
68
+ version_requirements: *13012640
27
69
  description:
28
- email:
70
+ email:
29
71
  - andrew@tanraya.com
30
- executables: []
31
-
72
+ executables:
73
+ - playmo
32
74
  extensions: []
33
-
34
75
  extra_rdoc_files: []
35
-
36
- files:
76
+ files:
37
77
  - .gitignore
78
+ - .rspec
38
79
  - Gemfile
39
80
  - README.md
40
81
  - Rakefile
41
82
  - TODO.md
42
- - lib/app/helpers/playmo_helper.rb
43
- - lib/generators/playmo/USAGE
44
- - lib/generators/playmo/install_generator.rb
45
- - lib/generators/playmo/templates/application.html.erb
46
- - lib/generators/playmo/templates/application_controller.rb
47
- - lib/generators/playmo/templates/application_helper.rb
48
- - lib/generators/playmo/templates/assets.yml
49
- - lib/generators/playmo/templates/deploy.rb
50
- - lib/generators/playmo/templates/jquery/jquery-1.5.2.min.js
51
- - lib/generators/playmo/templates/jquery/rails.js
52
- - lib/generators/playmo/templates/mootools/mootools-core-1.3.1.js
53
- - lib/generators/playmo/templates/mootools/mootools-more-1.3.1.1.js
54
- - lib/generators/playmo/templates/mootools/rails.js
55
- - lib/generators/playmo/templates/tasks/assets.rake
56
- - lib/generators/playmo/templates/tasks/sass.rake
83
+ - bin/playmo
84
+ - lib/generators/rails/controller_generator.rb
85
+ - lib/generators/rails/layout_generator.rb
86
+ - lib/generators/rails/scaffold_controller_generator.rb
87
+ - lib/generators/rails/templates/controller.rb
88
+ - lib/generators/rails/templates/layout.html.erb
89
+ - lib/generators/rails/templates/layout.html.haml
90
+ - lib/generators/rails/templates/layout.html.slim
91
+ - lib/generators/rails/templates/scaffold_controller.rb
57
92
  - lib/playmo.rb
93
+ - lib/playmo/answer.rb
94
+ - lib/playmo/choice.rb
95
+ - lib/playmo/cli.rb
96
+ - lib/playmo/cookbook.rb
97
+ - lib/playmo/event.rb
98
+ - lib/playmo/options.rb
99
+ - lib/playmo/question.rb
100
+ - lib/playmo/recipe.rb
101
+ - lib/playmo/recipes/_/sample_recipe.rb
102
+ - lib/playmo/recipes/application_controller_recipe.rb
103
+ - lib/playmo/recipes/application_helper_recipe.rb
104
+ - lib/playmo/recipes/assets_recipe.rb
105
+ - lib/playmo/recipes/can_can_recipe.rb
106
+ - lib/playmo/recipes/capistrano_recipe.rb
107
+ - lib/playmo/recipes/compass_recipe.rb
108
+ - lib/playmo/recipes/congrats_recipe.rb
109
+ - lib/playmo/recipes/devise_recipe.rb
110
+ - lib/playmo/recipes/forms_recipe.rb
111
+ - lib/playmo/recipes/git_recipe.rb
112
+ - lib/playmo/recipes/home_controller_recipe.rb
113
+ - lib/playmo/recipes/javascript_framework_recipe.rb
114
+ - lib/playmo/recipes/layout_recipe.rb
115
+ - lib/playmo/recipes/markup_recipe.rb
116
+ - lib/playmo/recipes/rspec_recipe.rb
117
+ - lib/playmo/recipes/rvm_recipe.rb
118
+ - lib/playmo/recipes/setup_database_recipe.rb
119
+ - lib/playmo/recipes/templates/application_controller_recipe/application_controller.rb
120
+ - lib/playmo/recipes/templates/application_controller_recipe/internal_error.html.erb
121
+ - lib/playmo/recipes/templates/application_controller_recipe/not_found.html.erb
122
+ - lib/playmo/recipes/templates/application_helper_recipe/application_helper.rb
123
+ - lib/playmo/recipes/templates/assets_recipe/images/bg.jpg
124
+ - lib/playmo/recipes/templates/assets_recipe/images/input-bg.gif
125
+ - lib/playmo/recipes/templates/assets_recipe/stylesheets/application.css.scss
126
+ - lib/playmo/recipes/templates/assets_recipe/stylesheets/media.css.scss
127
+ - lib/playmo/recipes/templates/assets_recipe/stylesheets/partials/_constants.css.scss
128
+ - lib/playmo/recipes/templates/assets_recipe/stylesheets/partials/_forms.css.scss
129
+ - lib/playmo/recipes/templates/assets_recipe/stylesheets/partials/_html5-boilerplate.css.scss
130
+ - lib/playmo/recipes/templates/assets_recipe/stylesheets/partials/_layout.css.scss
131
+ - lib/playmo/recipes/templates/assets_recipe/stylesheets/partials/_overrides.css.scss
132
+ - lib/playmo/recipes/templates/assets_recipe/stylesheets/partials/_simple_form.css.scss
133
+ - lib/playmo/recipes/templates/assets_recipe/stylesheets/partials/html5-boilerplate/_fonts.css.scss
134
+ - lib/playmo/recipes/templates/assets_recipe/stylesheets/partials/html5-boilerplate/_helpers.css.scss
135
+ - lib/playmo/recipes/templates/assets_recipe/stylesheets/partials/html5-boilerplate/_media.css.scss
136
+ - lib/playmo/recipes/templates/assets_recipe/stylesheets/partials/html5-boilerplate/_reset.css.scss
137
+ - lib/playmo/recipes/templates/assets_recipe/stylesheets/partials/html5-boilerplate/_styles.css.scss
138
+ - lib/playmo/recipes/templates/capistrano_recipe/.gitkeep
139
+ - lib/playmo/recipes/templates/devise_recipe/.gitkeep
140
+ - lib/playmo/recipes/templates/forms_recipe/.gitkeep
141
+ - lib/playmo/recipes/templates/home_controller_recipe/_sidebar.html.erb
142
+ - lib/playmo/recipes/templates/layout_recipe/application.html.erb
143
+ - lib/playmo/recipes/templates/rspec_recipe/.gitkeep
144
+ - lib/playmo/recipes/templates/rvm_recipe/.gitkeep
145
+ - lib/playmo/silent.rb
58
146
  - playmo.gemspec
59
- - stylesheets/_playmo_rails.sass
60
- - stylesheets/playmo-rails/_fonts.scss
61
- - stylesheets/playmo-rails/_handheld.scss
62
- - stylesheets/playmo-rails/_helpers.scss
63
- - stylesheets/playmo-rails/_media.scss
64
- - stylesheets/playmo-rails/_reset.scss
65
- - stylesheets/playmo-rails/_styles.scss
66
- - templates/project/boilerplate/css/handheld.scss
67
- - templates/project/boilerplate/css/style.scss
68
- - templates/project/boilerplate/files/apple-touch-icon.png
69
- - templates/project/boilerplate/files/crossdomain.xml
70
- - templates/project/boilerplate/files/favicon.ico
71
- - templates/project/boilerplate/files/robots.txt
72
- - templates/project/boilerplate/js/libs/dd_belatedpng.js
73
- - templates/project/boilerplate/js/libs/modernizr-1.7.min.js
74
- - templates/project/google/google.yml
75
- - templates/project/manifest.rb
76
- - templates/project/playmo/article.scss
77
- - templates/project/playmo/icons/outgoing.png
78
- - templates/project/playmo/playmo.scss
79
- - templates/project/rails/public/stylesheets/layout.scss
80
- - templates/project/rails/public/stylesheets/print.scss
81
- - templates/project/rails/public/stylesheets/screen.scss
82
- - templates/project/rails/public/stylesheets/wysiwyg.scss
83
- has_rdoc: true
147
+ - spec/cookbook_spec.rb
148
+ - spec/recipes/home_controller_recipe_spec.rb
149
+ - spec/spec_helper.rb
150
+ - spec/support/.gitkeep
84
151
  homepage: https://github.com/tanraya/playmo
85
152
  licenses: []
86
-
87
153
  post_install_message:
88
154
  rdoc_options: []
89
-
90
- require_paths:
155
+ require_paths:
91
156
  - lib
92
- required_ruby_version: !ruby/object:Gem::Requirement
157
+ required_ruby_version: !ruby/object:Gem::Requirement
93
158
  none: false
94
- requirements:
95
- - - ">="
96
- - !ruby/object:Gem::Version
97
- version: "0"
98
- required_rubygems_version: !ruby/object:Gem::Requirement
159
+ requirements:
160
+ - - ! '>='
161
+ - !ruby/object:Gem::Version
162
+ version: '0'
163
+ required_rubygems_version: !ruby/object:Gem::Requirement
99
164
  none: false
100
- requirements:
101
- - - ">="
102
- - !ruby/object:Gem::Version
103
- version: "0"
165
+ requirements:
166
+ - - ! '>='
167
+ - !ruby/object:Gem::Version
168
+ version: '0'
104
169
  requirements: []
105
-
106
170
  rubyforge_project: playmo
107
- rubygems_version: 1.6.1
171
+ rubygems_version: 1.8.6
108
172
  signing_key:
109
173
  specification_version: 3
110
- summary: Special kit that allows you create html5-ready Rails 3 apps quick with pre-included few useful libs in your app
174
+ summary: Special kit that allows you create html5-ready Rails 3 apps quick with pre-included
175
+ few useful libs in your app
111
176
  test_files: []
112
-
177
+ has_rdoc: false