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/recipes/prototype.rb DELETED
@@ -1,11 +0,0 @@
1
- # No extra code required.
2
-
3
- __END__
4
-
5
- name: Prototype
6
- description: "Use the default Javascript libraries and helpers."
7
- author: mbleigh
8
-
9
- exclusive: javascript_framework
10
- category: assets
11
- tags: [javascript, framework, defaults]
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
@@ -1,13 +0,0 @@
1
- gem 'sequel-rails'
2
-
3
- application "require 'sequel-rails/railtie'"
4
-
5
- __END__
6
-
7
- name: Sequel
8
- description: "Utilize Sequel as the primary ORM for your application."
9
- author: mbleigh
10
-
11
- exclusive: orm
12
- category: persistence
13
- tags: [orm, sql]
data/recipes/slim.rb DELETED
@@ -1,11 +0,0 @@
1
- gem 'slim'
2
- gem 'slim-rails'
3
-
4
- __END__
5
-
6
- name: Slim
7
- description: "Use Slim as the default templating engine."
8
- author: mbleigh
9
-
10
- category: templating
11
- exclusive: templating
data/recipes/test_unit.rb DELETED
@@ -1,11 +0,0 @@
1
- # No additional code required.
2
-
3
- __END__
4
-
5
- name: Test::Unit
6
- description: "Utilize the default Rails test facilities."
7
- author: mbleigh
8
-
9
- exclusive: unit_testing
10
- category: testing
11
- tags: [defaults]