padrino-gen 0.14.0.1 → 0.14.0.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/padrino-gen/generators/actions.rb +6 -3
- data/lib/padrino-gen/padrino-tasks/activerecord.rb +26 -26
- data/test/test_migration_generator.rb +27 -25
- metadata +9 -9
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a86e25c6f9ce2bd438f782020867cc1a807716a7
|
4
|
+
data.tar.gz: 7518be6e979a87db7354f89c782f470442e432b4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 035d9fde49b0ce00726eb5a64c1a7d0631f53c237e68d6f1682faf808a38d18545ad7cb0efd6a196b7fe74487f01015e07231905c16d77b04ccb8d3a0c748afd
|
7
|
+
data.tar.gz: c5ac2f3af444a1b54ca4c432573dc2ae919495b3e692adafe272d2b3a22bb45f1232dc6cfc06097aee24e3fcde004f98efa33ef50d8c4dd6e98ebed1d6ef55cb
|
@@ -507,7 +507,7 @@ WARNING
|
|
507
507
|
end
|
508
508
|
|
509
509
|
##
|
510
|
-
#
|
510
|
+
# Ensures that project name is valid, else raise an NameError.
|
511
511
|
#
|
512
512
|
# @param [String] name
|
513
513
|
# Name of project.
|
@@ -529,6 +529,9 @@ WARNING
|
|
529
529
|
##
|
530
530
|
# Validates namespace name (controller name, etc.) or fails with an error.
|
531
531
|
#
|
532
|
+
# @param [String] name
|
533
|
+
# Name of namespace
|
534
|
+
#
|
532
535
|
# @example
|
533
536
|
# validate_namespace 'Project_One1' #=> pass
|
534
537
|
# validate_namespace 'Erroneous/name' #=> fail
|
@@ -601,14 +604,14 @@ WARNING
|
|
601
604
|
end
|
602
605
|
|
603
606
|
##
|
604
|
-
#
|
607
|
+
# Tells Padrino that for this Thor::Group it is a necessary task to run.
|
605
608
|
#
|
606
609
|
def require_arguments!
|
607
610
|
@require_arguments = true
|
608
611
|
end
|
609
612
|
|
610
613
|
##
|
611
|
-
#
|
614
|
+
# Returns true if we need an arguments for our Thor::Group.
|
612
615
|
#
|
613
616
|
def require_arguments?
|
614
617
|
@require_arguments
|
@@ -10,7 +10,7 @@ if PadrinoTasks.load?(:activerecord, defined?(ActiveRecord))
|
|
10
10
|
|
11
11
|
namespace :ar do
|
12
12
|
namespace :create do
|
13
|
-
desc
|
13
|
+
desc "Create all the local databases defined in config/database.yml"
|
14
14
|
task :all => :skeleton do
|
15
15
|
ActiveRecord::Base.configurations.each_value do |config|
|
16
16
|
# Skip entries that don't have a database key, such as the first entry here:
|
@@ -31,7 +31,7 @@ if PadrinoTasks.load?(:activerecord, defined?(ActiveRecord))
|
|
31
31
|
end
|
32
32
|
end
|
33
33
|
|
34
|
-
desc
|
34
|
+
desc "Creates the database defined in config/database.yml for the current Padrino.env"
|
35
35
|
task :create => :skeleton do
|
36
36
|
create_database(ActiveRecord::Base.configurations.with_indifferent_access[Padrino.env])
|
37
37
|
end
|
@@ -40,7 +40,7 @@ if PadrinoTasks.load?(:activerecord, defined?(ActiveRecord))
|
|
40
40
|
begin
|
41
41
|
if config[:adapter] =~ /sqlite/
|
42
42
|
if File.exist?(config[:database])
|
43
|
-
$stderr.puts "#{config[:database]} already exists"
|
43
|
+
$stderr.puts "#{config[:database]} already exists."
|
44
44
|
else
|
45
45
|
begin
|
46
46
|
# Create the SQLite database
|
@@ -88,7 +88,7 @@ if PadrinoTasks.load?(:activerecord, defined?(ActiveRecord))
|
|
88
88
|
end
|
89
89
|
|
90
90
|
namespace :drop do
|
91
|
-
desc
|
91
|
+
desc "Drops all the local databases defined in config/database.yml"
|
92
92
|
task :all => :skeleton do
|
93
93
|
ActiveRecord::Base.configurations.each_value do |config|
|
94
94
|
# Skip entries that don't have a database key
|
@@ -103,7 +103,7 @@ if PadrinoTasks.load?(:activerecord, defined?(ActiveRecord))
|
|
103
103
|
end
|
104
104
|
end
|
105
105
|
|
106
|
-
desc
|
106
|
+
desc "Drops the database for the current Padrino.env"
|
107
107
|
task :drop => :skeleton do
|
108
108
|
config = ActiveRecord::Base.configurations.with_indifferent_access[Padrino.env || :development]
|
109
109
|
begin
|
@@ -129,7 +129,7 @@ if PadrinoTasks.load?(:activerecord, defined?(ActiveRecord))
|
|
129
129
|
end
|
130
130
|
|
131
131
|
namespace :migrate do
|
132
|
-
desc
|
132
|
+
desc "Rollbacks the database one migration and re migrate up. If you want to rollback more than one step, define STEP=x. Target specific version with MIGRATION_VERSION=x."
|
133
133
|
task :redo => :skeleton do
|
134
134
|
if env_migration_version
|
135
135
|
Rake::Task["ar:migrate:down"].invoke
|
@@ -140,23 +140,23 @@ if PadrinoTasks.load?(:activerecord, defined?(ActiveRecord))
|
|
140
140
|
end
|
141
141
|
end
|
142
142
|
|
143
|
-
desc
|
143
|
+
desc "Resets your database using your migrations for the current environment."
|
144
144
|
task :reset => ["ar:drop", "ar:create", "ar:migrate"]
|
145
145
|
|
146
|
-
desc
|
146
|
+
desc "Runs the "up" for a given MIGRATION_VERSION."
|
147
147
|
task(:up => :skeleton){ migrate_as(:up) }
|
148
148
|
|
149
|
-
desc
|
149
|
+
desc "Runs the "down" for a given MIGRATION_VERSION."
|
150
150
|
task(:down => :skeleton){ migrate_as(:down) }
|
151
151
|
end
|
152
152
|
|
153
|
-
desc
|
153
|
+
desc "Rolls the schema back to the previous version. Specify the number of steps with STEP=n"
|
154
154
|
task(:rollback => :skeleton){ move_as(:rollback) }
|
155
155
|
|
156
|
-
desc
|
156
|
+
desc "Pushes the schema to the next version. Specify the number of steps with STEP=n"
|
157
157
|
task(:forward => :skeleton){ move_as(:forward) }
|
158
158
|
|
159
|
-
desc
|
159
|
+
desc "Drops and recreates the database from db/schema.rb for the current environment and loads the seeds."
|
160
160
|
task :reset => [ 'ar:drop', 'ar:setup' ]
|
161
161
|
|
162
162
|
desc "Retrieves the charset for the current environment's database"
|
@@ -170,11 +170,11 @@ if PadrinoTasks.load?(:activerecord, defined?(ActiveRecord))
|
|
170
170
|
ActiveRecord::Base.establish_connection(config)
|
171
171
|
puts ActiveRecord::Base.connection.encoding
|
172
172
|
else
|
173
|
-
puts '
|
173
|
+
puts 'Sorry, your database adapter is not supported yet, feel free to submit a patch.'
|
174
174
|
end
|
175
175
|
end
|
176
176
|
|
177
|
-
desc "Retrieves the collation for the current environment's database"
|
177
|
+
desc "Retrieves the collation for the current environment's database."
|
178
178
|
task :collation => :skeleton do
|
179
179
|
config = ActiveRecord::Base.configurations.with_indifferent_access[Padrino.env || :development]
|
180
180
|
case config[:adapter]
|
@@ -186,12 +186,12 @@ if PadrinoTasks.load?(:activerecord, defined?(ActiveRecord))
|
|
186
186
|
end
|
187
187
|
end
|
188
188
|
|
189
|
-
desc "Retrieves the current schema version number"
|
189
|
+
desc "Retrieves the current schema version number."
|
190
190
|
task :version => :skeleton do
|
191
191
|
puts "Current version: #{ActiveRecord::Migrator.current_version}"
|
192
192
|
end
|
193
193
|
|
194
|
-
desc "Raises an error if there are pending migrations"
|
194
|
+
desc "Raises an error if there are pending migrations."
|
195
195
|
task :abort_if_pending_migrations => :skeleton do
|
196
196
|
if defined? ActiveRecord
|
197
197
|
pending_migrations = ActiveRecord::Migrator.open(ActiveRecord::Migrator.migrations_paths).pending_migrations
|
@@ -206,11 +206,11 @@ if PadrinoTasks.load?(:activerecord, defined?(ActiveRecord))
|
|
206
206
|
end
|
207
207
|
end
|
208
208
|
|
209
|
-
desc
|
209
|
+
desc "Create the database, load the schema, and initialize with the seed data."
|
210
210
|
task :setup => [ 'ar:create', 'ar:schema:load', 'seed' ]
|
211
211
|
|
212
212
|
namespace :schema do
|
213
|
-
desc "Create a db/schema.rb file that can be portably used against any DB supported by AR"
|
213
|
+
desc "Create a db/schema.rb file that can be portably used against any DB supported by AR."
|
214
214
|
task :dump => :skeleton do
|
215
215
|
require 'active_record/schema_dumper'
|
216
216
|
File.open(ENV['SCHEMA'] || Padrino.root("db", "schema.rb"), "w") do |file|
|
@@ -219,7 +219,7 @@ if PadrinoTasks.load?(:activerecord, defined?(ActiveRecord))
|
|
219
219
|
Rake::Task["ar:schema:dump"].reenable
|
220
220
|
end
|
221
221
|
|
222
|
-
desc "Load a schema.rb file into the database"
|
222
|
+
desc "Load a schema.rb file into the database."
|
223
223
|
task :load => :skeleton do
|
224
224
|
file = ENV['SCHEMA'] || Padrino.root("db", "schema.rb")
|
225
225
|
if File.exist?(file)
|
@@ -231,7 +231,7 @@ if PadrinoTasks.load?(:activerecord, defined?(ActiveRecord))
|
|
231
231
|
end
|
232
232
|
|
233
233
|
namespace :structure do
|
234
|
-
desc "Dump the database structure to a SQL file"
|
234
|
+
desc "Dump the database structure to a SQL file."
|
235
235
|
task :dump => :skeleton do
|
236
236
|
config = ActiveRecord::Base.configurations.with_indifferent_access[Padrino.env]
|
237
237
|
case config[:adapter]
|
@@ -259,7 +259,7 @@ if PadrinoTasks.load?(:activerecord, defined?(ActiveRecord))
|
|
259
259
|
db_string = firebird_db_string(config)
|
260
260
|
sh "isql -a #{db_string} > #{Padrino.root}/db/#{Padrino.env}_structure.sql"
|
261
261
|
else
|
262
|
-
raise "Task not supported by '#{config[:adapter]}'"
|
262
|
+
raise "Task not supported by '#{config[:adapter]}'."
|
263
263
|
end
|
264
264
|
|
265
265
|
if ActiveRecord::Base.connection.supports_migrations?
|
@@ -268,23 +268,23 @@ if PadrinoTasks.load?(:activerecord, defined?(ActiveRecord))
|
|
268
268
|
end
|
269
269
|
end
|
270
270
|
|
271
|
-
desc "Generates .yml files for I18n translations"
|
271
|
+
desc "Generates .yml files for I18n translations."
|
272
272
|
task :translate => :environment do
|
273
273
|
models = Dir["#{Padrino.root}/{app,}/models/**/*.rb"].map { |m| File.basename(m, ".rb") }
|
274
274
|
|
275
275
|
models.each do |m|
|
276
|
-
#
|
276
|
+
# get the model class
|
277
277
|
klass = m.camelize.constantize
|
278
278
|
|
279
|
-
#
|
279
|
+
# avoid non ActiveRecord models
|
280
280
|
next unless klass.ancestors.include?(ActiveRecord::Base)
|
281
281
|
|
282
|
-
#
|
282
|
+
# init the processing
|
283
283
|
print "Processing #{m.humanize}: "
|
284
284
|
FileUtils.mkdir_p("#{Padrino.root}/app/locale/models/#{m}")
|
285
285
|
langs = Array(I18n.locale)
|
286
286
|
|
287
|
-
#
|
287
|
+
# create models for it and en locales
|
288
288
|
langs.each do |lang|
|
289
289
|
filename = "#{Padrino.root}/app/locale/models/#{m}/#{lang}.yml"
|
290
290
|
columns = klass.columns.map(&:name)
|
@@ -52,7 +52,7 @@ describe "MigrationGenerator" do
|
|
52
52
|
|
53
53
|
describe "the default migration numbering" do
|
54
54
|
it 'should properly calculate version number' do
|
55
|
-
capture_io { generate(:project, 'sample_project',
|
55
|
+
capture_io { generate(:project, 'sample_project', '--migration_format=number', "--root=#{@apptmp}", '--script=none', '-t=bacon', '-d=sequel') }
|
56
56
|
capture_io { generate(:migration, 'add_email_to_person', "email:string", "-r=#{@apptmp}/sample_project") }
|
57
57
|
capture_io { generate(:migration, 'add_name_to_person', "email:string", "-r=#{@apptmp}/sample_project") }
|
58
58
|
capture_io { generate(:migration, 'add_age_to_user', "email:string", "-r=#{@apptmp}/sample_project") }
|
@@ -64,7 +64,7 @@ describe "MigrationGenerator" do
|
|
64
64
|
|
65
65
|
describe "the timestamped migration numbering" do
|
66
66
|
it 'should properly calculate version number' do
|
67
|
-
capture_io { generate(:project, 'sample_project',
|
67
|
+
capture_io { generate(:project, 'sample_project', '--migration_format=timestamp', "--root=#{@apptmp}", '--script=none', '-t=bacon', '-d=sequel') }
|
68
68
|
|
69
69
|
time = stop_time_for_test.utc.strftime("%Y%m%d%H%M%S")
|
70
70
|
|
@@ -90,8 +90,11 @@ describe "MigrationGenerator" do
|
|
90
90
|
end
|
91
91
|
|
92
92
|
describe 'the migration generator for activerecord' do
|
93
|
-
|
93
|
+
before do
|
94
94
|
capture_io { generate(:project, 'sample_project', "--root=#{@apptmp}", '--script=none', '-t=bacon', '-d=activerecord') }
|
95
|
+
end
|
96
|
+
|
97
|
+
it 'should generate migration for generic needs' do
|
95
98
|
response_success = capture_io { generate(:migration, 'ModifyUserFields', "-r=#{@apptmp}/sample_project") }
|
96
99
|
migration_file_path = "#{@apptmp}/sample_project/db/migrate/001_modify_user_fields.rb"
|
97
100
|
assert_match_in_file(/class ModifyUserFields/m, migration_file_path)
|
@@ -100,8 +103,7 @@ describe "MigrationGenerator" do
|
|
100
103
|
end
|
101
104
|
|
102
105
|
it 'should generate migration for adding columns' do
|
103
|
-
|
104
|
-
migration_params = ['AddEmailToUsers', "email:string", "age:integer", "-r=#{@apptmp}/sample_project"]
|
106
|
+
migration_params = ['AddEmailToUsers', 'email:string', 'age:integer', "-r=#{@apptmp}/sample_project"]
|
105
107
|
response_success = capture_io { generate(:migration, *migration_params) }
|
106
108
|
migration_file_path = "#{@apptmp}/sample_project/db/migrate/001_add_email_to_users.rb"
|
107
109
|
assert_match_in_file(/class AddEmailToUsers/m, migration_file_path)
|
@@ -112,8 +114,7 @@ describe "MigrationGenerator" do
|
|
112
114
|
end
|
113
115
|
|
114
116
|
it 'should generate migration for removing columns' do
|
115
|
-
|
116
|
-
migration_params = ['RemoveEmailFromUsers', "email:string", "age:integer", "-r=#{@apptmp}/sample_project"]
|
117
|
+
migration_params = ['RemoveEmailFromUsers', 'email:string', 'age:integer', "-r=#{@apptmp}/sample_project"]
|
117
118
|
response_success = capture_io { generate(:migration, *migration_params) }
|
118
119
|
migration_file_path = "#{@apptmp}/sample_project/db/migrate/001_remove_email_from_users.rb"
|
119
120
|
assert_match_in_file(/class RemoveEmailFromUsers/m, migration_file_path)
|
@@ -125,8 +126,11 @@ describe "MigrationGenerator" do
|
|
125
126
|
end
|
126
127
|
|
127
128
|
describe 'the migration generator for datamapper' do
|
128
|
-
|
129
|
+
before do
|
129
130
|
capture_io { generate(:project, 'sample_project', "--root=#{@apptmp}", '--script=none', '-t=bacon', '-d=datamapper') }
|
131
|
+
end
|
132
|
+
|
133
|
+
it 'should generate migration for generic needs' do
|
130
134
|
response_success = capture_io { generate(:migration, 'ModifyUserFields', "-r=#{@apptmp}/sample_project") }
|
131
135
|
migration_file_path = "#{@apptmp}/sample_project/db/migrate/001_modify_user_fields.rb"
|
132
136
|
assert_match_in_file(/migration\s1.*?:modify_user_fields/m, migration_file_path)
|
@@ -135,8 +139,7 @@ describe "MigrationGenerator" do
|
|
135
139
|
end
|
136
140
|
|
137
141
|
it 'should generate migration for adding columns' do
|
138
|
-
|
139
|
-
migration_params = ['AddEmailToUsers', "email:string", "age:integer", "-r=#{@apptmp}/sample_project"]
|
142
|
+
migration_params = ['AddEmailToUsers', 'email:string', 'age:integer', "-r=#{@apptmp}/sample_project"]
|
140
143
|
response_success = capture_io { generate(:migration, *migration_params) }
|
141
144
|
migration_file_path = "#{@apptmp}/sample_project/db/migrate/001_add_email_to_users.rb"
|
142
145
|
assert_match_in_file(/migration\s1.*?:add_email_to_users/m, migration_file_path)
|
@@ -147,8 +150,7 @@ describe "MigrationGenerator" do
|
|
147
150
|
end
|
148
151
|
|
149
152
|
it 'should generate migration for removing columns' do
|
150
|
-
|
151
|
-
migration_params = ['RemoveEmailFromUsers', "email:string", "age:integer", "-r=#{@apptmp}/sample_project"]
|
153
|
+
migration_params = ['RemoveEmailFromUsers', 'email:string', 'age:integer', "-r=#{@apptmp}/sample_project"]
|
152
154
|
response_success = capture_io { generate(:migration, *migration_params) }
|
153
155
|
migration_file_path = "#{@apptmp}/sample_project/db/migrate/001_remove_email_from_users.rb"
|
154
156
|
assert_match_in_file(/migration\s1.*?:remove_email_from_users/m, migration_file_path)
|
@@ -159,7 +161,6 @@ describe "MigrationGenerator" do
|
|
159
161
|
end
|
160
162
|
|
161
163
|
it 'should properly version migration files' do
|
162
|
-
capture_io { generate(:project, 'sample_project', "--root=#{@apptmp}", '--script=none', '-t=bacon', '-d=datamapper') }
|
163
164
|
response_success = capture_io { generate(:migration, 'ModifyUserFields', "-r=#{@apptmp}/sample_project") }
|
164
165
|
response_success = capture_io { generate(:migration, 'ModifyUserFields2', "-r=#{@apptmp}/sample_project") }
|
165
166
|
response_success = capture_io { generate(:migration, 'ModifyUserFields3', "-r=#{@apptmp}/sample_project") }
|
@@ -170,8 +171,11 @@ describe "MigrationGenerator" do
|
|
170
171
|
end
|
171
172
|
|
172
173
|
describe 'the migration generator for sequel' do
|
173
|
-
|
174
|
+
before do
|
174
175
|
capture_io { generate(:project, 'sample_project', "--root=#{@apptmp}", '--script=none', '-t=bacon', '-d=sequel') }
|
176
|
+
end
|
177
|
+
|
178
|
+
it 'should generate migration for generic needs' do
|
175
179
|
response_success = capture_io { generate(:migration, 'ModifyUserFields', "-r=#{@apptmp}/sample_project") }
|
176
180
|
migration_file_path = "#{@apptmp}/sample_project/db/migrate/001_modify_user_fields.rb"
|
177
181
|
assert_match_in_file(/Sequel\.migration/m, migration_file_path)
|
@@ -180,8 +184,7 @@ describe "MigrationGenerator" do
|
|
180
184
|
end
|
181
185
|
|
182
186
|
it 'should generate migration for adding columns' do
|
183
|
-
|
184
|
-
migration_params = ['AddEmailToUsers', "email:string", "age:integer", "-r=#{@apptmp}/sample_project"]
|
187
|
+
migration_params = ['AddEmailToUsers', 'email:string', 'age:integer', "-r=#{@apptmp}/sample_project"]
|
185
188
|
response_success = capture_io { generate(:migration, *migration_params) }
|
186
189
|
migration_file_path = "#{@apptmp}/sample_project/db/migrate/001_add_email_to_users.rb"
|
187
190
|
assert_match_in_file(/Sequel\.migration/m, migration_file_path)
|
@@ -192,8 +195,7 @@ describe "MigrationGenerator" do
|
|
192
195
|
end
|
193
196
|
|
194
197
|
it 'should generate migration for removing columns' do
|
195
|
-
|
196
|
-
migration_params = ['RemoveEmailFromUsers', "email:string", "age:integer", "-r=#{@apptmp}/sample_project"]
|
198
|
+
migration_params = ['RemoveEmailFromUsers', 'email:string', 'age:integer', "-r=#{@apptmp}/sample_project"]
|
197
199
|
response_success = capture_io { generate(:migration, *migration_params) }
|
198
200
|
migration_file_path = "#{@apptmp}/sample_project/db/migrate/001_remove_email_from_users.rb"
|
199
201
|
assert_match_in_file(/Sequel\.migration/m, migration_file_path)
|
@@ -205,21 +207,21 @@ describe "MigrationGenerator" do
|
|
205
207
|
end
|
206
208
|
|
207
209
|
describe "the migration destroy option" do
|
210
|
+
before do
|
211
|
+
capture_io { generate(:project, 'sample_project', "--root=#{@apptmp}", '--script=none', '-t=bacon', '-d=sequel') }
|
212
|
+
@migration_params = ['RemoveEmailFromUsers', 'email:string', 'age:integer', "-r=#{@apptmp}/sample_project"]
|
213
|
+
end
|
208
214
|
|
209
215
|
it 'should destroy the migration files' do
|
210
|
-
capture_io { generate(:
|
211
|
-
migration_params = ['RemoveEmailFromUsers', "email:string", "age:integer", "-r=#{@apptmp}/sample_project"]
|
212
|
-
capture_io { generate(:migration, *migration_params) }
|
216
|
+
capture_io { generate(:migration, *@migration_params) }
|
213
217
|
capture_io { generate(:migration, 'RemoveEmailFromUsers', "-r=#{@apptmp}/sample_project",'-d') }
|
214
218
|
assert_no_file_exists("#{@apptmp}/sample_project/db/migrate/001_remove_email_from_users.rb")
|
215
219
|
end
|
216
220
|
|
217
221
|
it 'should destroy the migration file regardless of number' do
|
218
|
-
|
219
|
-
migration_params = ['RemoveEmailFromUsers', "email:string", "age:integer", "-r=#{@apptmp}/sample_project"]
|
220
|
-
migration_param2 = ['AddEmailFromUsers', "email:string", "age:integer", "-r=#{@apptmp}/sample_project"]
|
222
|
+
migration_param2 = ['AddEmailFromUsers', 'email:string', 'age:integer', "-r=#{@apptmp}/sample_project"]
|
221
223
|
capture_io { generate(:migration, *migration_param2) }
|
222
|
-
capture_io { generate(:migration,
|
224
|
+
capture_io { generate(:migration, *@migration_params) }
|
223
225
|
capture_io { generate(:migration, 'RemoveEmailFromUsers', "-r=#{@apptmp}/sample_project",'-d') }
|
224
226
|
assert_no_file_exists("#{@apptmp}/sample_project/db/migrate/002_remove_email_from_users.rb")
|
225
227
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: padrino-gen
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.14.0.
|
4
|
+
version: 0.14.0.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Padrino Team
|
@@ -11,7 +11,7 @@ authors:
|
|
11
11
|
autorequire:
|
12
12
|
bindir: bin
|
13
13
|
cert_chain: []
|
14
|
-
date: 2017-
|
14
|
+
date: 2017-05-08 00:00:00.000000000 Z
|
15
15
|
dependencies:
|
16
16
|
- !ruby/object:Gem::Dependency
|
17
17
|
name: padrino-core
|
@@ -19,14 +19,14 @@ dependencies:
|
|
19
19
|
requirements:
|
20
20
|
- - '='
|
21
21
|
- !ruby/object:Gem::Version
|
22
|
-
version: 0.14.0.
|
22
|
+
version: 0.14.0.2
|
23
23
|
type: :runtime
|
24
24
|
prerelease: false
|
25
25
|
version_requirements: !ruby/object:Gem::Requirement
|
26
26
|
requirements:
|
27
27
|
- - '='
|
28
28
|
- !ruby/object:Gem::Version
|
29
|
-
version: 0.14.0.
|
29
|
+
version: 0.14.0.2
|
30
30
|
- !ruby/object:Gem::Dependency
|
31
31
|
name: bundler
|
32
32
|
requirement: !ruby/object:Gem::Requirement
|
@@ -47,28 +47,28 @@ dependencies:
|
|
47
47
|
requirements:
|
48
48
|
- - '='
|
49
49
|
- !ruby/object:Gem::Version
|
50
|
-
version: 0.14.0.
|
50
|
+
version: 0.14.0.2
|
51
51
|
type: :development
|
52
52
|
prerelease: false
|
53
53
|
version_requirements: !ruby/object:Gem::Requirement
|
54
54
|
requirements:
|
55
55
|
- - '='
|
56
56
|
- !ruby/object:Gem::Version
|
57
|
-
version: 0.14.0.
|
57
|
+
version: 0.14.0.2
|
58
58
|
- !ruby/object:Gem::Dependency
|
59
59
|
name: padrino-mailer
|
60
60
|
requirement: !ruby/object:Gem::Requirement
|
61
61
|
requirements:
|
62
62
|
- - '='
|
63
63
|
- !ruby/object:Gem::Version
|
64
|
-
version: 0.14.0.
|
64
|
+
version: 0.14.0.2
|
65
65
|
type: :development
|
66
66
|
prerelease: false
|
67
67
|
version_requirements: !ruby/object:Gem::Requirement
|
68
68
|
requirements:
|
69
69
|
- - '='
|
70
70
|
- !ruby/object:Gem::Version
|
71
|
-
version: 0.14.0.
|
71
|
+
version: 0.14.0.2
|
72
72
|
description: Generators for easily creating and building padrino applications from
|
73
73
|
the console
|
74
74
|
email: padrinorb@gmail.com
|
@@ -217,7 +217,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
217
217
|
version: 1.3.6
|
218
218
|
requirements: []
|
219
219
|
rubyforge_project: padrino-gen
|
220
|
-
rubygems_version: 2.6.
|
220
|
+
rubygems_version: 2.6.11
|
221
221
|
signing_key:
|
222
222
|
specification_version: 4
|
223
223
|
summary: Generators for easily creating and building padrino applications
|