rails_wizard 0.1.4 → 0.1.5
Sign up to get free protection for your applications and to get access to all the features.
- data/recipes/env_yaml.rb +1 -2
- data/recipes/rails_admin.rb +21 -0
- data/version.rb +1 -1
- metadata +17 -5
data/recipes/env_yaml.rb
CHANGED
@@ -12,7 +12,6 @@ require 'yaml'
|
|
12
12
|
begin
|
13
13
|
env_yaml = YAML.load_file(File.dirname(__FILE__) + '/../config/env.yml')
|
14
14
|
if env_hash = env_yaml[ENV['RACK_ENV'] || ENV['RAILS_ENV'] || 'development']
|
15
|
-
puts env_hash.inspect
|
16
15
|
env_hash.each_pair do |k,v|
|
17
16
|
ENV[k] = v.to_s
|
18
17
|
end
|
@@ -23,7 +22,7 @@ end
|
|
23
22
|
RUBY
|
24
23
|
|
25
24
|
create_file "config/env.yml", <<-YAML
|
26
|
-
defaults:
|
25
|
+
defaults: &defaults
|
27
26
|
ENV_YAML: true
|
28
27
|
|
29
28
|
development:
|
@@ -0,0 +1,21 @@
|
|
1
|
+
gem 'rails_admin', :git => 'git://github.com/sferik/rails_admin.git'
|
2
|
+
|
3
|
+
after_bundler do
|
4
|
+
generate 'rails_admin:install_admin'
|
5
|
+
rake 'admin:copy_assets'
|
6
|
+
rake 'admin:ckeditor_download' if config['ckeditor']
|
7
|
+
end
|
8
|
+
|
9
|
+
__END__
|
10
|
+
|
11
|
+
name: RailsAdmin
|
12
|
+
description: "Install RailsAdmin to manage data in your application"
|
13
|
+
author: alno
|
14
|
+
|
15
|
+
category: other
|
16
|
+
|
17
|
+
config:
|
18
|
+
- ckeditor:
|
19
|
+
type: boolean
|
20
|
+
prompt: Install CKEditor?
|
21
|
+
|
data/version.rb
CHANGED
metadata
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
name: rails_wizard
|
3
3
|
version: !ruby/object:Gem::Version
|
4
4
|
prerelease:
|
5
|
-
version: 0.1.
|
5
|
+
version: 0.1.5
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
8
8
|
- Michael Bleigh
|
@@ -10,7 +10,7 @@ autorequire:
|
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
12
|
|
13
|
-
date: 2011-04-
|
13
|
+
date: 2011-04-22 00:00:00 -05:00
|
14
14
|
default_executable:
|
15
15
|
dependencies:
|
16
16
|
- !ruby/object:Gem::Dependency
|
@@ -29,7 +29,7 @@ dependencies:
|
|
29
29
|
requirement: &id002 !ruby/object:Gem::Requirement
|
30
30
|
none: false
|
31
31
|
requirements:
|
32
|
-
- -
|
32
|
+
- - ">="
|
33
33
|
- !ruby/object:Gem::Version
|
34
34
|
version: 3.0.0
|
35
35
|
type: :runtime
|
@@ -68,6 +68,17 @@ dependencies:
|
|
68
68
|
type: :development
|
69
69
|
prerelease: false
|
70
70
|
version_requirements: *id005
|
71
|
+
- !ruby/object:Gem::Dependency
|
72
|
+
name: rails
|
73
|
+
requirement: &id006 !ruby/object:Gem::Requirement
|
74
|
+
none: false
|
75
|
+
requirements:
|
76
|
+
- - ">="
|
77
|
+
- !ruby/object:Gem::Version
|
78
|
+
version: 3.0.0
|
79
|
+
type: :development
|
80
|
+
prerelease: false
|
81
|
+
version_requirements: *id006
|
71
82
|
description: Quickly and easily create Rails application templates featuring dozens of popular libraries.
|
72
83
|
email:
|
73
84
|
- michael@intridea.com
|
@@ -103,6 +114,7 @@ files:
|
|
103
114
|
- recipes/omniauth.rb
|
104
115
|
- recipes/pow.rb
|
105
116
|
- recipes/prototype.rb
|
117
|
+
- recipes/rails_admin.rb
|
106
118
|
- recipes/redis.rb
|
107
119
|
- recipes/redistogo.rb
|
108
120
|
- recipes/rightjs.rb
|
@@ -140,7 +152,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
140
152
|
requirements:
|
141
153
|
- - ">="
|
142
154
|
- !ruby/object:Gem::Version
|
143
|
-
hash: -
|
155
|
+
hash: -2032257278066002060
|
144
156
|
segments:
|
145
157
|
- 0
|
146
158
|
version: "0"
|
@@ -149,7 +161,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
149
161
|
requirements:
|
150
162
|
- - ">="
|
151
163
|
- !ruby/object:Gem::Version
|
152
|
-
hash: -
|
164
|
+
hash: -2032257278066002060
|
153
165
|
segments:
|
154
166
|
- 0
|
155
167
|
version: "0"
|