rails_apps_composer 1.0.26 → 1.1.0
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.textile +13 -17
- data/recipes/activerecord.rb +0 -5
- data/recipes/application_layout.rb +2 -7
- data/recipes/backbone.rb +3 -11
- data/recipes/cleanup.rb +2 -11
- data/recipes/compass.rb +6 -15
- data/recipes/css_setup.rb +7 -8
- data/recipes/cucumber.rb +4 -13
- data/recipes/devise.rb +1 -8
- data/recipes/guard.rb +18 -10
- data/recipes/haml.rb +2 -9
- data/recipes/heroku.rb +6 -2
- data/recipes/html5.rb +47 -53
- data/recipes/mongoid.rb +4 -11
- data/recipes/mongolab.rb +59 -0
- data/recipes/omniauth.rb +12 -20
- data/recipes/rspec.rb +18 -30
- data/recipes/sass.rb +1 -3
- data/recipes/static_page.rb +43 -0
- data/recipes/subdomains.rb +38 -44
- data/templates/layout.erb +9 -31
- data/version.rb +1 -1
- metadata +24 -36
- data/recipes/draggable.rb +0 -39
- data/recipes/env_yaml.rb +0 -54
- data/recipes/jammit.rb +0 -43
- data/recipes/jquery.rb +0 -70
- data/recipes/mongo_mapper.rb +0 -18
- data/recipes/mootools.rb +0 -23
- data/recipes/pow.rb +0 -12
- data/recipes/prototype.rb +0 -11
- data/recipes/redis.rb +0 -17
- data/recipes/redistogo.rb +0 -40
- data/recipes/rightjs.rb +0 -17
- data/recipes/sequel.rb +0 -13
- data/recipes/slim.rb +0 -11
- data/recipes/test_unit.rb +0 -11
data/recipes/prototype.rb
DELETED
data/recipes/redis.rb
DELETED
@@ -1,17 +0,0 @@
|
|
1
|
-
gem 'redis'
|
2
|
-
|
3
|
-
say_wizard "Generating Redis initializer..."
|
4
|
-
|
5
|
-
initializer "redis.rb", <<-RUBY
|
6
|
-
REDIS = Redis.new
|
7
|
-
RUBY
|
8
|
-
|
9
|
-
__END__
|
10
|
-
|
11
|
-
name: Redis
|
12
|
-
description: "Add Redis as a persistence engine to your application."
|
13
|
-
author: mbleigh
|
14
|
-
|
15
|
-
exclusive: key_value
|
16
|
-
category: persistence
|
17
|
-
tags: [key_value, cache, session_store]
|
data/recipes/redistogo.rb
DELETED
@@ -1,40 +0,0 @@
|
|
1
|
-
prepend_file "config/initializers/redis.rb", <<-RUBY
|
2
|
-
uri = URI.parse(ENV['REDISTOGO_URL'])
|
3
|
-
|
4
|
-
RUBY
|
5
|
-
|
6
|
-
inject_into_file "config/initializers/redis.rb", :after => "Redis.new" do
|
7
|
-
"(:host => uri.host, :port => uri.port, :password => uri.password)"
|
8
|
-
end
|
9
|
-
|
10
|
-
env("REDISTOGO_URL", "redis://localhost:6379")
|
11
|
-
|
12
|
-
after_everything do
|
13
|
-
if config['use_heroku']
|
14
|
-
say_wizard "Adding redistogo:nano Heroku addon, you can always upgrade later."
|
15
|
-
run "heroku addons:add redistogo:nano"
|
16
|
-
else
|
17
|
-
env("REDISTOGO_URL", config['url'], 'production') if config['url']
|
18
|
-
end
|
19
|
-
end
|
20
|
-
|
21
|
-
__END__
|
22
|
-
|
23
|
-
name: RedisToGo
|
24
|
-
description: "Use RedisToGo hosting for this app's Redis."
|
25
|
-
author: mbleigh
|
26
|
-
|
27
|
-
requires: [redis, env_yaml]
|
28
|
-
run_after: [redis, env_yaml]
|
29
|
-
category: services
|
30
|
-
|
31
|
-
config:
|
32
|
-
- use_heroku:
|
33
|
-
type: boolean
|
34
|
-
prompt: "Use the RedisToGo Heroku addon?"
|
35
|
-
if_recipe: heroku
|
36
|
-
- url:
|
37
|
-
type: string
|
38
|
-
prompt: "Enter your RedisToGo URL:"
|
39
|
-
unless: use_heroku
|
40
|
-
|
data/recipes/rightjs.rb
DELETED
@@ -1,17 +0,0 @@
|
|
1
|
-
gem 'right-rails'
|
2
|
-
|
3
|
-
after_bundler do
|
4
|
-
generate 'right_rails'
|
5
|
-
end
|
6
|
-
|
7
|
-
__END__
|
8
|
-
|
9
|
-
name: RightJS
|
10
|
-
description: "Use RightJS in place of Prototype for this application."
|
11
|
-
author: mbleigh
|
12
|
-
|
13
|
-
exclusive: javascript_framework
|
14
|
-
category: assets
|
15
|
-
tags: [javascript, framework]
|
16
|
-
|
17
|
-
args: ["-J"]
|
data/recipes/sequel.rb
DELETED
data/recipes/slim.rb
DELETED