beet 0.4.4 → 0.4.5

Sign up to get free protection for your applications and to get access to all the features.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.4.4
1
+ 0.4.5
data/beet.gemspec CHANGED
@@ -5,7 +5,7 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{beet}
8
- s.version = "0.4.4"
8
+ s.version = "0.4.5"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Jack Dempsey"]
@@ -54,6 +54,7 @@ Gem::Specification.new do |s|
54
54
  "lib/beet/recipes/rails/cms/bcms_blog.rb",
55
55
  "lib/beet/recipes/rails/cms/bcms_event.rb",
56
56
  "lib/beet/recipes/rails/css/blueprint.rb",
57
+ "lib/beet/recipes/rails/css/compass.rb",
57
58
  "lib/beet/recipes/rails/css/nifty_layout.rb",
58
59
  "lib/beet/recipes/rails/css/reset.rb",
59
60
  "lib/beet/recipes/rails/db/mongo.rb",
@@ -0,0 +1,35 @@
1
+ framework = ask "What framework would you like to use (default: blueprint)?"
2
+ framework = 'blueprint' if framework.blank?
3
+
4
+ in_root do
5
+ if yes? "Install haml in vendor/plugins (hit 'n' if you use it as a gem)?"
6
+ run 'haml --rails .'
7
+ end
8
+ run "compass --rails -f #{framework} ."
9
+ end
10
+
11
+ layout_file = <<-FILE
12
+ !!! XML
13
+ !!!
14
+ %html{:xmlns => "http://www.w3.org/1999/xhtml", "xml:lang" => "en", :lang => "en"}
15
+ %head
16
+ %meta{'http-equiv' => "content-type", :content => "text/html;charset=UTF-8"}
17
+ %title= @browser_title || 'Default Browser Title'
18
+ = stylesheet_link_tag 'compiled/screen.css', :media => 'screen, projection'
19
+ = stylesheet_link_tag 'compiled/print.css', :media => 'print'
20
+ /[if IE]
21
+ = stylesheet_link_tag 'compiled/ie.css', :media => 'screen, projection'
22
+ = stylesheet_link_tag 'scaffold'
23
+ %body
24
+ #container
25
+ %h1 Welcome to Compass
26
+ = yield
27
+ FILE
28
+
29
+ gem 'compass'
30
+
31
+ unless File.exists?('app/views/layouts/application.html.haml')
32
+ file 'app/views/layouts/application.html.haml', layout_file
33
+ puts "We've added a simple layout for you as well which includes the css. Enjoy!"
34
+ end
35
+
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: beet
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.4
4
+ version: 0.4.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jack Dempsey
@@ -68,6 +68,7 @@ files:
68
68
  - lib/beet/recipes/rails/cms/bcms_blog.rb
69
69
  - lib/beet/recipes/rails/cms/bcms_event.rb
70
70
  - lib/beet/recipes/rails/css/blueprint.rb
71
+ - lib/beet/recipes/rails/css/compass.rb
71
72
  - lib/beet/recipes/rails/css/nifty_layout.rb
72
73
  - lib/beet/recipes/rails/css/reset.rb
73
74
  - lib/beet/recipes/rails/db/mongo.rb