llab-generators 0.1.2 → 0.1.3
Sign up to get free protection for your applications and to get access to all the features.
data/CHANGELOG
CHANGED
@@ -1,184 +1,188 @@
|
|
1
1
|
require 'rails/generators/migration'
|
2
2
|
require 'rails/generators/generated_attribute'
|
3
3
|
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
4
|
+
module Lab
|
5
|
+
module Generators
|
6
|
+
class ScaffoldGenerator < Rails::Generators::Base
|
7
|
+
include Rails::Generators::Migration
|
8
|
+
no_tasks { attr_accessor :model_name, :model_attributes, :controller_actions }
|
9
|
+
|
10
|
+
source_root File.expand_path('../templates', __FILE__)
|
11
|
+
argument :model_name, :type => :string, :required => true, :banner => 'ModelName'
|
12
|
+
argument :args_for_c_m, :type => :array, :default => [], :banner => 'controller_actions and model:attributes'
|
13
|
+
|
14
|
+
class_option :skip_model, :desc => 'Don\'t generate a model or migration file.', :type => :boolean
|
15
|
+
class_option :skip_migration, :desc => 'Dont generate migration file for model.', :type => :boolean
|
16
|
+
class_option :skip_timestamps, :desc => 'Don\'t add timestamps to migration file.', :type => :boolean
|
17
|
+
class_option :skip_controller, :desc => 'Don\'t generate controller, helper, or views.', :type => :boolean
|
18
|
+
class_option :haml, :desc => 'Generate HAML views instead of ERB.', :type => :boolean, :default => true
|
19
|
+
|
20
|
+
def initialize(*args, &block)
|
21
|
+
super
|
22
|
+
|
23
|
+
@controller_actions = []
|
24
|
+
@model_attributes = []
|
25
|
+
@skip_model = options.skip_model?
|
26
|
+
|
27
|
+
args_for_c_m.each do |arg|
|
28
|
+
if arg.include?(':')
|
29
|
+
@model_attributes << Rails::Generators::GeneratedAttribute.new(*arg.split(':'))
|
30
|
+
else
|
31
|
+
@controller_actions << arg
|
32
|
+
@controller_actions << 'create' if arg == 'new'
|
33
|
+
@controller_actions << 'update' if arg == 'edit'
|
34
|
+
end
|
35
|
+
end
|
34
36
|
|
35
|
-
|
36
|
-
|
37
|
+
@controller_actions.uniq!
|
38
|
+
@model_attributes.uniq!
|
37
39
|
|
38
|
-
|
39
|
-
|
40
|
-
|
40
|
+
if @controller_actions.empty?
|
41
|
+
@controller_actions = all_actions
|
42
|
+
end
|
41
43
|
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
44
|
+
if @model_attributes.empty?
|
45
|
+
@skip_model = true # skip model if no attributes
|
46
|
+
if model_exists?
|
47
|
+
model_columns_for_attributes.each do |column|
|
48
|
+
@model_attributes << Rails::Generators::GeneratedAttribute.new(column.name.to_s, column.type.to_s)
|
49
|
+
end
|
50
|
+
else
|
51
|
+
@model_attributes << Rails::Generators::GeneratedAttribute.new('name', 'string')
|
52
|
+
end
|
47
53
|
end
|
48
|
-
else
|
49
|
-
@model_attributes << Rails::Generators::GeneratedAttribute.new('name', 'string')
|
50
54
|
end
|
51
|
-
end
|
52
|
-
end
|
53
55
|
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
|
56
|
+
def create_model
|
57
|
+
unless @skip_model
|
58
|
+
template "model.rb", "app/models/#{singular_name}.rb"
|
59
|
+
end
|
60
|
+
end
|
59
61
|
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
|
62
|
+
def create_migration
|
63
|
+
unless @skip_model || options.skip_migration?
|
64
|
+
migration_template "migration.rb", "db/migrate/create_#{plural_name}.rb"
|
65
|
+
end
|
66
|
+
end
|
65
67
|
|
66
|
-
|
67
|
-
|
68
|
-
|
68
|
+
def create_controller
|
69
|
+
unless options.skip_controller?
|
70
|
+
template 'controller.rb', "app/controllers/#{plural_name}_controller.rb"
|
69
71
|
|
70
|
-
|
72
|
+
template 'helper.rb', "app/helpers/#{plural_name}_helper.rb"
|
71
73
|
|
72
|
-
|
73
|
-
|
74
|
-
|
75
|
-
|
76
|
-
|
74
|
+
controller_actions.each do |action|
|
75
|
+
if %w[index show new edit].include?(action) # Actions with templates
|
76
|
+
template "views/#{view_language}/#{action}.html.#{view_language}", "app/views/#{plural_name}/#{action}.html.#{view_language}"
|
77
|
+
end
|
78
|
+
end
|
77
79
|
|
78
|
-
|
79
|
-
|
80
|
-
|
80
|
+
if form_partial?
|
81
|
+
template "views/#{view_language}/_form.html.#{view_language}", "app/views/#{plural_name}/_form.html.#{view_language}"
|
82
|
+
end
|
81
83
|
|
82
|
-
|
83
|
-
|
84
|
-
|
84
|
+
route "resources #{plural_name.to_sym.inspect}"
|
85
|
+
end
|
86
|
+
end
|
85
87
|
|
86
|
-
|
87
|
-
|
88
|
-
|
89
|
-
|
88
|
+
private
|
89
|
+
def form_partial?
|
90
|
+
actions? :new, :edit
|
91
|
+
end
|
90
92
|
|
91
|
-
|
92
|
-
|
93
|
-
|
93
|
+
def all_actions
|
94
|
+
%w[index show new create edit update destroy]
|
95
|
+
end
|
94
96
|
|
95
|
-
|
96
|
-
|
97
|
-
|
97
|
+
def action?(name)
|
98
|
+
controller_actions.include? name.to_s
|
99
|
+
end
|
98
100
|
|
99
|
-
|
100
|
-
|
101
|
-
|
101
|
+
def actions?(*names)
|
102
|
+
names.all? { |name| action? name }
|
103
|
+
end
|
102
104
|
|
103
|
-
|
104
|
-
|
105
|
-
|
105
|
+
def singular_name
|
106
|
+
model_name.underscore
|
107
|
+
end
|
106
108
|
|
107
|
-
|
108
|
-
|
109
|
-
|
109
|
+
def plural_name
|
110
|
+
model_name.underscore.pluralize
|
111
|
+
end
|
110
112
|
|
111
|
-
|
112
|
-
|
113
|
-
|
113
|
+
def class_name
|
114
|
+
model_name.camelize
|
115
|
+
end
|
114
116
|
|
115
|
-
|
116
|
-
|
117
|
-
|
117
|
+
def plural_class_name
|
118
|
+
plural_name.camelize
|
119
|
+
end
|
118
120
|
|
119
|
-
|
120
|
-
|
121
|
-
|
122
|
-
|
123
|
-
|
121
|
+
def controller_methods(dir_name)
|
122
|
+
controller_actions.map do |action|
|
123
|
+
read_template("#{dir_name}/#{action}.rb")
|
124
|
+
end.join(" \n").strip
|
125
|
+
end
|
124
126
|
|
125
|
-
|
126
|
-
|
127
|
-
|
128
|
-
|
129
|
-
|
130
|
-
|
127
|
+
def render_form
|
128
|
+
if form_partial?
|
129
|
+
if options.haml?
|
130
|
+
"= render :partial => 'form', :locals => { :f => f, :submit_button => 'Go' }"
|
131
|
+
else
|
132
|
+
"<%= render :partial => 'form', :locals => { :f => f, :submit_button => 'Go' } %>"
|
133
|
+
end
|
134
|
+
else
|
135
|
+
read_template("views/#{view_language}/_form.html.#{view_language}")
|
136
|
+
end
|
131
137
|
end
|
132
|
-
else
|
133
|
-
read_template("views/#{view_language}/_form.html.#{view_language}")
|
134
|
-
end
|
135
|
-
end
|
136
138
|
|
137
|
-
|
138
|
-
|
139
|
-
|
140
|
-
|
141
|
-
|
142
|
-
|
143
|
-
|
139
|
+
def items_path(suffix = 'path')
|
140
|
+
if action? :index
|
141
|
+
"#{plural_name}_#{suffix}"
|
142
|
+
else
|
143
|
+
"root_#{suffix}"
|
144
|
+
end
|
145
|
+
end
|
144
146
|
|
145
|
-
|
146
|
-
|
147
|
-
|
148
|
-
|
149
|
-
|
150
|
-
|
151
|
-
|
147
|
+
def item_path(suffix = 'path')
|
148
|
+
if action? :show
|
149
|
+
"@#{singular_name}"
|
150
|
+
else
|
151
|
+
items_path(suffix)
|
152
|
+
end
|
153
|
+
end
|
152
154
|
|
153
|
-
|
154
|
-
|
155
|
-
|
156
|
-
|
157
|
-
|
155
|
+
def model_columns_for_attributes
|
156
|
+
class_name.constantize.columns.reject do |column|
|
157
|
+
column.name.to_s =~ /^(id|created_at|updated_at)$/
|
158
|
+
end
|
159
|
+
end
|
158
160
|
|
159
|
-
|
160
|
-
|
161
|
-
|
161
|
+
def model_exists?
|
162
|
+
File.exist? destination_path("app/models/#{singular_name}.rb")
|
163
|
+
end
|
162
164
|
|
163
|
-
|
164
|
-
|
165
|
-
|
165
|
+
def read_template(relative_path)
|
166
|
+
ERB.new(File.read(find_in_source_paths(relative_path)), nil, '-').result(binding)
|
167
|
+
end
|
166
168
|
|
167
|
-
|
168
|
-
|
169
|
-
|
169
|
+
def destination_path(path)
|
170
|
+
File.join(destination_root, path)
|
171
|
+
end
|
170
172
|
|
171
|
-
|
172
|
-
|
173
|
-
|
173
|
+
def view_language
|
174
|
+
options.haml? ? 'haml' : 'erb'
|
175
|
+
end
|
174
176
|
|
175
|
-
|
176
|
-
|
177
|
-
|
178
|
-
|
179
|
-
|
180
|
-
|
181
|
-
|
182
|
-
|
177
|
+
# FIXME: Should be proxied to ActiveRecord::Generators::Base
|
178
|
+
# Implement the required interface for Rails::Generators::Migration.
|
179
|
+
def self.next_migration_number(dirname) #:nodoc:
|
180
|
+
if ActiveRecord::Base.timestamped_migrations
|
181
|
+
Time.now.utc.strftime("%Y%m%d%H%M%S")
|
182
|
+
else
|
183
|
+
"%.3d" % (current_migration_number(dirname) + 1)
|
184
|
+
end
|
185
|
+
end
|
183
186
|
end
|
187
|
+
end
|
184
188
|
end
|
@@ -1,91 +1,95 @@
|
|
1
1
|
require 'rails/generators/migration'
|
2
2
|
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
3
|
+
module Lab
|
4
|
+
module Generators
|
5
|
+
class SetupGenerator < Rails::Generators::Base
|
6
|
+
include Rails::Generators::Migration
|
7
|
+
source_root File.expand_path('../templates', __FILE__)
|
8
|
+
argument :app_name, :type => :string, :default => "My App"
|
7
9
|
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
def setup_gems
|
16
|
-
append_file "Gemfile", "gem 'haml'\n"
|
17
|
-
append_file "Gemfile", "gem 'devise'\n"
|
18
|
-
append_file "Gemfile", "gem 'jquery-rails'\n"
|
19
|
-
append_file "Gemfile", "gem 'declarative_authorization'\n"
|
20
|
-
run "bundle install"
|
21
|
-
end
|
10
|
+
def initial_cleaning
|
11
|
+
remove_file "public/index.html"
|
12
|
+
remove_file "README"
|
13
|
+
remove_file "public/images/rails.png"
|
14
|
+
remove_file "app/views/layouts/application.html.erb"
|
15
|
+
end
|
22
16
|
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
copy_file "images/bullet_black.gif", "public/images/icons/bullet_black.gif"
|
31
|
-
copy_file "images/notice.gif", "public/images/icons/notice.gif"
|
32
|
-
copy_file "images/alert.gif", "public/images/icons/alert.gif"
|
33
|
-
copy_file "images/error.gif", "public/images/icons/error.gif"
|
34
|
-
copy_file "images/edit.gif", "public/images/icons/edit.gif"
|
35
|
-
copy_file "images/new.gif", "public/images/icons/new.gif"
|
36
|
-
end
|
17
|
+
def setup_gems
|
18
|
+
append_file "Gemfile", "gem 'haml'\n"
|
19
|
+
append_file "Gemfile", "gem 'devise'\n"
|
20
|
+
append_file "Gemfile", "gem 'jquery-rails'\n"
|
21
|
+
append_file "Gemfile", "gem 'declarative_authorization'\n"
|
22
|
+
run "bundle install"
|
23
|
+
end
|
37
24
|
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
25
|
+
def copy_static_assets
|
26
|
+
copy_file "css/blueprint.css", "public/stylesheets/blueprint.css"
|
27
|
+
copy_file "css/ie.css", "public/stylesheets/ie.css"
|
28
|
+
copy_file "css/print.css", "public/stylesheets/print.css"
|
29
|
+
copy_file "images/logo_learninglab.gif", "public/images/logo_learninglab.gif"
|
30
|
+
copy_file "images/navbar_bkg.gif", "public/images/navbar_bkg.gif"
|
31
|
+
copy_file "images/help_triangle.gif", "public/images/help_triangle.gif"
|
32
|
+
copy_file "images/bullet_black.gif", "public/images/icons/bullet_black.gif"
|
33
|
+
copy_file "images/notice.gif", "public/images/icons/notice.gif"
|
34
|
+
copy_file "images/alert.gif", "public/images/icons/alert.gif"
|
35
|
+
copy_file "images/error.gif", "public/images/icons/error.gif"
|
36
|
+
copy_file "images/edit.gif", "public/images/icons/edit.gif"
|
37
|
+
copy_file "images/new.gif", "public/images/icons/new.gif"
|
38
|
+
end
|
45
39
|
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
40
|
+
def create_layout
|
41
|
+
template "layout.erb", "app/views/layouts/application.html.haml"
|
42
|
+
copy_file "css/_constants.sass", "app/stylesheets/_constants.sass"
|
43
|
+
copy_file "css/_mixins.sass", "app/stylesheets/_mixins.sass"
|
44
|
+
copy_file "css/screen.sass", "app/stylesheets/screen.sass"
|
45
|
+
copy_file "layout_helper.rb", "app/helpers/layout_helper.rb"
|
46
|
+
end
|
52
47
|
|
53
|
-
|
54
|
-
|
55
|
-
|
48
|
+
def create_config
|
49
|
+
copy_file "sass_config.rb", "config/initializers/sass_config.rb"
|
50
|
+
template "root_index.erb", "app/views/info/index.html.haml"
|
51
|
+
copy_file "info_controller.rb", "app/controllers/info_controller.rb"
|
52
|
+
route "root :to => \"info#index\""
|
53
|
+
end
|
56
54
|
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
template "devise/devise_user.rb", "app/models/user.rb"
|
61
|
-
migration_template "devise/devise_migration.rb", "db/migrate/devise_create_users.rb"
|
62
|
-
route "resources :users"
|
63
|
-
route "devise_for :users"
|
64
|
-
template "devise/authorization_rules.rb", "config/authorization_rules.rb"
|
65
|
-
template "devise/users_controller.rb", "app/controllers/users_controller.rb"
|
66
|
-
copy_file "devise/views/login.haml", "app/views/devise/sessions/new.html.haml"
|
67
|
-
copy_file "devise/views/forgot_password.haml", "app/views/devise/passwords/new.html.haml"
|
68
|
-
copy_file "devise/views/change_password.haml", "app/views/devise/passwords/edit.html.haml"
|
69
|
-
copy_file "devise/views/_form.html.haml", "app/views/users/_form.html.haml"
|
70
|
-
copy_file "devise/views/edit.html.haml", "app/views/users/edit.html.haml"
|
71
|
-
copy_file "devise/views/index.html.haml", "app/views/users/index.html.haml"
|
72
|
-
copy_file "devise/views/new.html.haml", "app/views/users/new.html.haml"
|
73
|
-
copy_file "devise/views/show.html.haml", "app/views/users/show.html.haml"
|
74
|
-
inject_into_class "app/controllers/application_controller.rb", ApplicationController do
|
75
|
-
" def permission_denied\n" +
|
76
|
-
" redirect_to(root_url, :alert => \"You are not allowed to do this action.\")\n" +
|
77
|
-
" end\n"
|
78
|
-
end
|
79
|
-
end
|
55
|
+
def setup_jquery_rails
|
56
|
+
run "rails generate jquery:install --ui"
|
57
|
+
end
|
80
58
|
|
81
|
-
|
82
|
-
|
83
|
-
|
84
|
-
|
85
|
-
|
86
|
-
|
87
|
-
|
88
|
-
"
|
59
|
+
def setup_devise
|
60
|
+
run "rails generate devise:install"
|
61
|
+
inject_into_file "config/environments/development.rb", "config.action_mailer.default_url_options = { :host => 'localhost:3000' }", :before => "end\n"
|
62
|
+
template "devise/devise_user.rb", "app/models/user.rb"
|
63
|
+
migration_template "devise/devise_migration.rb", "db/migrate/devise_create_users.rb"
|
64
|
+
route "resources :users"
|
65
|
+
route "devise_for :users"
|
66
|
+
template "devise/authorization_rules.rb", "config/authorization_rules.rb"
|
67
|
+
template "devise/users_controller.rb", "app/controllers/users_controller.rb"
|
68
|
+
copy_file "devise/views/login.haml", "app/views/devise/sessions/new.html.haml"
|
69
|
+
copy_file "devise/views/forgot_password.haml", "app/views/devise/passwords/new.html.haml"
|
70
|
+
copy_file "devise/views/change_password.haml", "app/views/devise/passwords/edit.html.haml"
|
71
|
+
copy_file "devise/views/_form.html.haml", "app/views/users/_form.html.haml"
|
72
|
+
copy_file "devise/views/edit.html.haml", "app/views/users/edit.html.haml"
|
73
|
+
copy_file "devise/views/index.html.haml", "app/views/users/index.html.haml"
|
74
|
+
copy_file "devise/views/new.html.haml", "app/views/users/new.html.haml"
|
75
|
+
copy_file "devise/views/show.html.haml", "app/views/users/show.html.haml"
|
76
|
+
inject_into_class "app/controllers/application_controller.rb", ApplicationController do
|
77
|
+
" def permission_denied\n" +
|
78
|
+
" redirect_to(root_url, :alert => \"You are not allowed to do this action.\")\n" +
|
79
|
+
" end\n"
|
80
|
+
end
|
89
81
|
end
|
82
|
+
|
83
|
+
private
|
84
|
+
# FIXME: Should be proxied to ActiveRecord::Generators::Base
|
85
|
+
# Implement the required interface for Rails::Generators::Migration.
|
86
|
+
def self.next_migration_number(dirname) #:nodoc:
|
87
|
+
if ActiveRecord::Base.timestamped_migrations
|
88
|
+
Time.now.utc.strftime("%Y%m%d%H%M%S")
|
89
|
+
else
|
90
|
+
"%.3d" % (current_migration_number(dirname) + 1)
|
91
|
+
end
|
92
|
+
end
|
90
93
|
end
|
94
|
+
end
|
91
95
|
end
|
@@ -35,11 +35,11 @@
|
|
35
35
|
= javascript_tag "$('#flash_box').fadeIn(3000).fadeOut(3000);"
|
36
36
|
- if notice
|
37
37
|
#notice
|
38
|
-
= image_tag("icons/notice.gif"
|
38
|
+
= image_tag("icons/notice.gif", :class => "icon")
|
39
39
|
= notice
|
40
40
|
- if alert
|
41
41
|
#alert
|
42
|
-
= image_tag("icons/alert.gif"
|
42
|
+
= image_tag("icons/alert.gif", :class => "icon")
|
43
43
|
= alert
|
44
44
|
|
45
45
|
#content.container
|
data/llab-generators.gemspec
CHANGED
@@ -2,11 +2,11 @@
|
|
2
2
|
|
3
3
|
Gem::Specification.new do |s|
|
4
4
|
s.name = %q{llab-generators}
|
5
|
-
s.version = "0.1.
|
5
|
+
s.version = "0.1.3"
|
6
6
|
|
7
7
|
s.required_rubygems_version = Gem::Requirement.new(">= 1.2") if s.respond_to? :required_rubygems_version=
|
8
8
|
s.authors = ["Luca Tironi"]
|
9
|
-
s.date = %q{2010-
|
9
|
+
s.date = %q{2010-11-11}
|
10
10
|
s.description = %q{Some useful generators to setup and scaffold Rails applications.}
|
11
11
|
s.email = %q{luca.tironi@gmail.com}
|
12
12
|
s.extra_rdoc_files = ["CHANGELOG", "LICENSE", "README", "lib/generators/scaffold/USAGE", "lib/generators/scaffold/scaffold_generator.rb", "lib/generators/scaffold/templates/actions/create.rb", "lib/generators/scaffold/templates/actions/destroy.rb", "lib/generators/scaffold/templates/actions/edit.rb", "lib/generators/scaffold/templates/actions/index.rb", "lib/generators/scaffold/templates/actions/new.rb", "lib/generators/scaffold/templates/actions/show.rb", "lib/generators/scaffold/templates/actions/update.rb", "lib/generators/scaffold/templates/controller.rb", "lib/generators/scaffold/templates/helper.rb", "lib/generators/scaffold/templates/migration.rb", "lib/generators/scaffold/templates/model.rb", "lib/generators/scaffold/templates/views/haml/_form.html.haml", "lib/generators/scaffold/templates/views/haml/edit.html.haml", "lib/generators/scaffold/templates/views/haml/index.html.haml", "lib/generators/scaffold/templates/views/haml/new.html.haml", "lib/generators/scaffold/templates/views/haml/show.html.haml", "lib/generators/setup/USAGE", "lib/generators/setup/setup_generator.rb", "lib/generators/setup/templates/css/_constants.sass", "lib/generators/setup/templates/css/_mixins.sass", "lib/generators/setup/templates/css/blueprint.css", "lib/generators/setup/templates/css/ie.css", "lib/generators/setup/templates/css/print.css", "lib/generators/setup/templates/css/screen.sass", "lib/generators/setup/templates/devise/authorization_rules.rb", "lib/generators/setup/templates/devise/devise_migration.rb", "lib/generators/setup/templates/devise/devise_user.rb", "lib/generators/setup/templates/devise/users_controller.rb", "lib/generators/setup/templates/devise/views/_form.html.haml", "lib/generators/setup/templates/devise/views/change_password.haml", "lib/generators/setup/templates/devise/views/edit.html.haml", "lib/generators/setup/templates/devise/views/forgot_password.haml", "lib/generators/setup/templates/devise/views/index.html.haml", "lib/generators/setup/templates/devise/views/login.haml", "lib/generators/setup/templates/devise/views/new.html.haml", "lib/generators/setup/templates/devise/views/show.html.haml", "lib/generators/setup/templates/images/alert.gif", "lib/generators/setup/templates/images/bullet_black.gif", "lib/generators/setup/templates/images/edit.gif", "lib/generators/setup/templates/images/error.gif", "lib/generators/setup/templates/images/help_triangle.gif", "lib/generators/setup/templates/images/logo_learninglab.gif", "lib/generators/setup/templates/images/navbar_bkg.gif", "lib/generators/setup/templates/images/new.gif", "lib/generators/setup/templates/images/notice.gif", "lib/generators/setup/templates/info_controller.rb", "lib/generators/setup/templates/layout.erb", "lib/generators/setup/templates/layout_helper.rb", "lib/generators/setup/templates/root_index.erb", "lib/generators/setup/templates/sass_config.rb"]
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: llab-generators
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 29
|
5
5
|
prerelease: false
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 1
|
9
|
-
-
|
10
|
-
version: 0.1.
|
9
|
+
- 3
|
10
|
+
version: 0.1.3
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Luca Tironi
|
@@ -15,7 +15,7 @@ autorequire:
|
|
15
15
|
bindir: bin
|
16
16
|
cert_chain: []
|
17
17
|
|
18
|
-
date: 2010-
|
18
|
+
date: 2010-11-11 00:00:00 +01:00
|
19
19
|
default_executable:
|
20
20
|
dependencies:
|
21
21
|
- !ruby/object:Gem::Dependency
|