playmo 0.0.6 → 0.0.10
Sign up to get free protection for your applications and to get access to all the features.
- data/.rspec +2 -0
- data/Gemfile +1 -1
- data/README.md +9 -45
- data/TODO.md +65 -9
- data/bin/playmo +6 -0
- data/lib/generators/rails/controller_generator.rb +5 -0
- data/lib/generators/rails/layout_generator.rb +26 -0
- data/lib/generators/rails/scaffold_controller_generator.rb +13 -0
- data/lib/generators/rails/templates/controller.rb +11 -0
- data/lib/generators/rails/templates/layout.html.erb +46 -0
- data/lib/generators/rails/templates/layout.html.haml +26 -0
- data/lib/generators/rails/templates/layout.html.slim +26 -0
- data/lib/generators/rails/templates/scaffold_controller.rb +56 -0
- data/lib/playmo.rb +45 -7
- data/lib/playmo/answer.rb +18 -0
- data/lib/playmo/choice.rb +52 -0
- data/lib/playmo/cli.rb +25 -0
- data/lib/playmo/cookbook.rb +83 -0
- data/lib/playmo/event.rb +7 -0
- data/lib/playmo/options.rb +17 -0
- data/lib/playmo/question.rb +59 -0
- data/lib/playmo/recipe.rb +50 -0
- data/lib/playmo/recipes/_/sample_recipe.rb +46 -0
- data/lib/playmo/recipes/application_controller_recipe.rb +24 -0
- data/lib/playmo/recipes/application_helper_recipe.rb +18 -0
- data/lib/playmo/recipes/assets_recipe.rb +19 -0
- data/lib/playmo/recipes/can_can_recipe.rb +0 -0
- data/lib/playmo/recipes/capistrano_recipe.rb +25 -0
- data/lib/playmo/recipes/compass_recipe.rb +19 -0
- data/lib/playmo/recipes/congrats_recipe.rb +20 -0
- data/lib/playmo/recipes/devise_recipe.rb +172 -0
- data/lib/playmo/recipes/forms_recipe.rb +42 -0
- data/lib/playmo/recipes/git_recipe.rb +31 -0
- data/lib/playmo/recipes/home_controller_recipe.rb +86 -0
- data/lib/playmo/recipes/javascript_framework_recipe.rb +69 -0
- data/lib/playmo/recipes/layout_recipe.rb +21 -0
- data/lib/playmo/recipes/markup_recipe.rb +34 -0
- data/lib/playmo/recipes/rspec_recipe.rb +25 -0
- data/lib/playmo/recipes/rvm_recipe.rb +17 -0
- data/lib/playmo/recipes/setup_database_recipe.rb +21 -0
- data/lib/playmo/recipes/templates/application_controller_recipe/application_controller.rb +54 -0
- data/lib/playmo/recipes/templates/application_controller_recipe/internal_error.html.erb +5 -0
- data/lib/playmo/recipes/templates/application_controller_recipe/not_found.html.erb +5 -0
- data/lib/playmo/recipes/templates/application_helper_recipe/application_helper.rb +118 -0
- data/lib/playmo/recipes/templates/assets_recipe/images/bg.jpg +0 -0
- data/lib/playmo/recipes/templates/assets_recipe/images/input-bg.gif +0 -0
- data/lib/playmo/recipes/templates/assets_recipe/stylesheets/application.css.scss +29 -0
- data/lib/playmo/recipes/templates/assets_recipe/stylesheets/media.css.scss +0 -0
- data/lib/playmo/recipes/templates/assets_recipe/stylesheets/partials/_constants.css.scss +11 -0
- data/lib/playmo/recipes/templates/assets_recipe/stylesheets/partials/_forms.css.scss +134 -0
- data/{stylesheets/_playmo_rails.sass → lib/playmo/recipes/templates/assets_recipe/stylesheets/partials/_html5-boilerplate.css.scss} +1 -1
- data/lib/playmo/recipes/templates/assets_recipe/stylesheets/partials/_layout.css.scss +264 -0
- data/{templates/project/playmo/playmo.scss → lib/playmo/recipes/templates/assets_recipe/stylesheets/partials/_overrides.css.scss} +14 -23
- data/lib/playmo/recipes/templates/assets_recipe/stylesheets/partials/_simple_form.css.scss +7 -0
- data/{stylesheets/playmo-rails/_fonts.scss → lib/playmo/recipes/templates/assets_recipe/stylesheets/partials/html5-boilerplate/_fonts.css.scss} +5 -6
- data/{stylesheets/playmo-rails/_helpers.scss → lib/playmo/recipes/templates/assets_recipe/stylesheets/partials/html5-boilerplate/_helpers.css.scss} +6 -1
- data/{stylesheets/playmo-rails/_media.scss → lib/playmo/recipes/templates/assets_recipe/stylesheets/partials/html5-boilerplate/_media.css.scss} +10 -9
- data/lib/playmo/recipes/templates/assets_recipe/stylesheets/partials/html5-boilerplate/_reset.css.scss +47 -0
- data/{stylesheets/playmo-rails/_styles.scss → lib/playmo/recipes/templates/assets_recipe/stylesheets/partials/html5-boilerplate/_styles.css.scss} +24 -24
- data/lib/playmo/recipes/templates/capistrano_recipe/.gitkeep +0 -0
- data/lib/playmo/recipes/templates/devise_recipe/.gitkeep +0 -0
- data/lib/playmo/recipes/templates/forms_recipe/.gitkeep +0 -0
- data/lib/playmo/recipes/templates/home_controller_recipe/_sidebar.html.erb +3 -0
- data/lib/playmo/recipes/templates/layout_recipe/application.html.erb +40 -0
- data/lib/playmo/recipes/templates/rspec_recipe/.gitkeep +0 -0
- data/lib/playmo/recipes/templates/rvm_recipe/.gitkeep +0 -0
- data/lib/playmo/silent.rb +17 -0
- data/playmo.gemspec +6 -2
- data/spec/cookbook_spec.rb +23 -0
- data/spec/recipes/home_controller_recipe_spec.rb +13 -0
- data/spec/spec_helper.rb +16 -0
- data/spec/support/.gitkeep +0 -0
- metadata +144 -79
- data/lib/app/helpers/playmo_helper.rb +0 -54
- data/lib/generators/playmo/USAGE +0 -8
- data/lib/generators/playmo/install_generator.rb +0 -166
- data/lib/generators/playmo/templates/application.html.erb +0 -56
- data/lib/generators/playmo/templates/application_controller.rb +0 -9
- data/lib/generators/playmo/templates/application_helper.rb +0 -21
- data/lib/generators/playmo/templates/assets.yml +0 -32
- data/lib/generators/playmo/templates/deploy.rb +0 -50
- data/lib/generators/playmo/templates/jquery/jquery-1.5.2.min.js +0 -16
- data/lib/generators/playmo/templates/jquery/rails.js +0 -157
- data/lib/generators/playmo/templates/mootools/mootools-core-1.3.1.js +0 -485
- data/lib/generators/playmo/templates/mootools/mootools-more-1.3.1.1.js +0 -741
- data/lib/generators/playmo/templates/mootools/rails.js +0 -161
- data/lib/generators/playmo/templates/tasks/assets.rake +0 -10
- data/lib/generators/playmo/templates/tasks/sass.rake +0 -8
- data/stylesheets/playmo-rails/_handheld.scss +0 -8
- data/stylesheets/playmo-rails/_reset.scss +0 -56
- data/templates/project/boilerplate/css/handheld.scss +0 -7
- data/templates/project/boilerplate/css/style.scss +0 -141
- data/templates/project/boilerplate/files/apple-touch-icon.png +0 -0
- data/templates/project/boilerplate/files/crossdomain.xml +0 -25
- data/templates/project/boilerplate/files/favicon.ico +0 -0
- data/templates/project/boilerplate/files/robots.txt +0 -5
- data/templates/project/boilerplate/js/libs/dd_belatedpng.js +0 -13
- data/templates/project/boilerplate/js/libs/modernizr-1.7.min.js +0 -2
- data/templates/project/google/google.yml +0 -22
- data/templates/project/manifest.rb +0 -34
- data/templates/project/playmo/article.scss +0 -69
- data/templates/project/playmo/icons/outgoing.png +0 -0
- data/templates/project/rails/public/stylesheets/layout.scss +0 -20
- data/templates/project/rails/public/stylesheets/print.scss +0 -11
- data/templates/project/rails/public/stylesheets/screen.scss +0 -14
- 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
|
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
|
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;
|
63
|
+
white-space: pre; white-space: pre-wrap; word-wrap: break-word;
|
69
64
|
padding: 15px;
|
70
65
|
}
|
71
66
|
}
|
72
67
|
|
73
|
-
//
|
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
|
-
//
|
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
|
-
|
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
|
-
|
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
|
-
//
|
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
|
-
//
|
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; }
|
119
|
+
.ie6 legend, .ie7 legend { margin-left: -7px; }
|
120
120
|
}
|
121
121
|
|
122
122
|
@mixin no-nav-margins {
|
File without changes
|
File without changes
|
File without changes
|
@@ -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 %>
|
File without changes
|
File without changes
|
data/playmo.gemspec
CHANGED
@@ -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.
|
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("
|
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
|
data/spec/spec_helper.rb
ADDED
@@ -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
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
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
|
-
|
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.
|
40
|
+
requirements:
|
41
|
+
- - =
|
42
|
+
- !ruby/object:Gem::Version
|
43
|
+
version: 0.4.6
|
25
44
|
type: :runtime
|
26
|
-
|
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
|
-
-
|
43
|
-
- lib/generators/
|
44
|
-
- lib/generators/
|
45
|
-
- lib/generators/
|
46
|
-
- lib/generators/
|
47
|
-
- lib/generators/
|
48
|
-
- lib/generators/
|
49
|
-
- lib/generators/
|
50
|
-
- lib/generators/
|
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
|
-
-
|
60
|
-
-
|
61
|
-
-
|
62
|
-
-
|
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:
|
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:
|
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
|
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
|
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
|