enju_export 0.1.1.pre3 → 0.1.1.pre4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/views/export_files/index.html.erb +1 -1
- data/lib/enju_export/version.rb +1 -1
- data/lib/generators/enju_export/setup/USAGE +8 -0
- data/lib/generators/enju_export/setup/setup_generator.rb +12 -0
- data/spec/dummy/db/test.sqlite3 +0 -0
- data/spec/dummy/log/test.log +115 -0
- metadata +7 -34
- data/lib/generators/enju_export/views_generator.rb +0 -17
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 13898a1ac3f32f86bba7b13bc8862dd9a43d91d4
|
4
|
+
data.tar.gz: dcfbcac8c37bd3b08b93b14f345ed6beeede3522
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4b8db88702ce648f1162aa7da850b18a7492797fcd78e6e29fb50d2457590f2681424d09045e5124c3d1dbf8396b71c9d181654ccaff1779e219bf3af02d0afc
|
7
|
+
data.tar.gz: 8711bda254771e6f0e774c5314078c6b393259aed710523bc1170797c9375a1b2b5a9dbbb50b8052c87cf39d0acf461492154afa2eaff9d28787c24a57b34606
|
data/lib/enju_export/version.rb
CHANGED
@@ -0,0 +1,12 @@
|
|
1
|
+
class EnjuExport::SetupGenerator < Rails::Generators::Base
|
2
|
+
source_root File.expand_path('../templates', __FILE__)
|
3
|
+
|
4
|
+
def setup
|
5
|
+
inject_into_class 'app/models/manifestation.rb', Manifestation,
|
6
|
+
" enju_export\n"
|
7
|
+
inject_into_class 'app/models/item.rb', Item,
|
8
|
+
" enju_export\n"
|
9
|
+
inject_into_class 'app/models/patron.rb', Patron,
|
10
|
+
" enju_export\n"
|
11
|
+
end
|
12
|
+
end
|
data/spec/dummy/db/test.sqlite3
CHANGED
Binary file
|
data/spec/dummy/log/test.log
CHANGED
@@ -228,3 +228,118 @@ Completed 302 Found in 8ms (ActiveRecord: 0.0ms)
|
|
228
228
|
[1m[35m (0.1ms)[0m rollback transaction
|
229
229
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
230
230
|
[1m[35m (0.1ms)[0m rollback transaction
|
231
|
+
Connecting to database specified by database.yml
|
232
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
233
|
+
[1m[35mFixture Delete (0.3ms)[0m DELETE FROM "roles"
|
234
|
+
[1m[36mFixture Insert (0.2ms)[0m [1mINSERT INTO "roles" ("name", "display_name", "id", "note", "created_at", "updated_at") VALUES ('Guest', 'Guest', 1, NULL, '2013-04-17 01:45:49', '2013-04-17 01:45:49')[0m
|
235
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "roles" ("name", "display_name", "id", "note", "created_at", "updated_at") VALUES ('User', 'User', 2, NULL, '2013-04-17 01:45:49', '2013-04-17 01:45:49')
|
236
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "roles" ("name", "display_name", "id", "note", "created_at", "updated_at") VALUES ('Librarian', 'Librarian', 3, NULL, '2013-04-17 01:45:49', '2013-04-17 01:45:49')[0m
|
237
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "roles" ("name", "display_name", "id", "note", "created_at", "updated_at") VALUES ('Administrator', 'Administrator', 4, NULL, '2013-04-17 01:45:49', '2013-04-17 01:45:49')
|
238
|
+
[1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "user_has_roles"[0m
|
239
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "user_has_roles" ("user_id", "role_id", "created_at", "updated_at", "id") VALUES (1, 4, '2013-04-17 01:45:49', '2013-04-17 01:45:49', 135138680)
|
240
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "user_has_roles" ("user_id", "role_id", "created_at", "updated_at", "id") VALUES (2, 3, '2013-04-17 01:45:49', '2013-04-17 01:45:49', 344583537)[0m
|
241
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "user_has_roles" ("user_id", "role_id", "created_at", "updated_at", "id") VALUES (3, 2, '2013-04-17 01:45:49', '2013-04-17 01:45:49', 206669143)
|
242
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "user_has_roles" ("user_id", "role_id", "created_at", "updated_at", "id") VALUES (4, 3, '2013-04-17 01:45:49', '2013-04-17 01:45:49', 226540757)[0m
|
243
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "user_has_roles" ("user_id", "role_id", "created_at", "updated_at", "id") VALUES (5, 2, '2013-04-17 01:45:49', '2013-04-17 01:45:49', 358143215)
|
244
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "user_has_roles" ("user_id", "role_id", "created_at", "updated_at", "id") VALUES (6, 2, '2013-04-17 01:45:49', '2013-04-17 01:45:49', 576709754)[0m
|
245
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "user_has_roles" ("user_id", "role_id", "created_at", "updated_at", "id") VALUES (7, 2, '2013-04-17 01:45:49', '2013-04-17 01:45:49', 1010528733)
|
246
|
+
[1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "users"[0m
|
247
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("updated_at", "encrypted_password", "user_group_id", "id", "note", "username", "email", "created_at", "required_role_id") VALUES ('2008-05-31 04:16:30.163731', '$2a$10$vHohD1WflnTIqAa8zMkF9evwAgIZRw3XuR4d3bi29M.jph/MB/AJi', 2, 1, NULL, 'admin', 'tanabe@kamata.lib.teu.ac.jp', '2007-11-19 07:58:32.111941', 4)
|
248
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("updated_at", "encrypted_password", "user_group_id", "id", "note", "username", "email", "created_at", "required_role_id") VALUES ('2008-05-31 03:41:16.337474', '$2a$10$9O2VuTccN4gHq36ARg0QReSrb1D7WrBBhZZ759RM9moHbB0W5zCzS', 1, 2, NULL, 'librarian1', 'librarian1@kamata.lib.teu.ac.jp', '2007-11-19 07:58:33.172441', 1)[0m
|
249
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("updated_at", "encrypted_password", "user_group_id", "id", "note", "username", "email", "created_at", "required_role_id") VALUES ('2008-05-31 04:02:25.101261', '$2a$10$JthS59A0BNkDOoFpCXM0V.GhhffKaoWKbzpPahYp/vTFrOyM7h/uW', 1, 3, NULL, 'user1', 'user1@kamata.lib.teu.ac.jp', '2007-11-19 07:58:34.637413', 3)
|
250
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("updated_at", "encrypted_password", "user_group_id", "id", "note", "username", "created_at", "required_role_id") VALUES ('2008-05-31 03:42:23.340575', '$2a$10$YmmTGrYQ1Ir6oc7wXnp.GuNeO1eYLoP3sv8wMSIrTdaGw2BPwRrpS', 1, 4, NULL, 'librarian2', '2008-01-18 03:24:04.222344', 1)[0m
|
251
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("updated_at", "encrypted_password", "user_group_id", "id", "note", "username", "created_at", "required_role_id") VALUES ('2008-05-31 03:42:44.711117', '$2a$10$i7UjJhLVrJM/J7qaTwW39OXw1NiwowUEbtNHVDV0sqMLjX9.UO9ca', 1, 5, NULL, 'user2', '2008-01-18 04:29:06.922728', 2)
|
252
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("updated_at", "encrypted_password", "user_group_id", "id", "note", "username", "email", "created_at", "required_role_id") VALUES ('2008-05-31 04:02:25.101261', 'cc53de0c2d9a1a228daa9a673ec824473747e17507a6c3c4f7e5eff8821f531d4b9e23616b3ddc66fe17006b2298a556fbd567ac080e87f00f37eef8cee6c417', 1, 6, NULL, 'user3', 'user3@kamata.lib.teu.ac.jp', '2007-11-19 07:58:34.637413', 3)[0m
|
253
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("updated_at", "encrypted_password", "user_group_id", "id", "note", "username", "email", "created_at", "required_role_id") VALUES ('2008-05-31 04:02:25.101261', 'cc53de0c2d9a1a228daa9a673ec824473747e17507a6c3c4f7e5eff8821f531d4b9e23616b3ddc66fe17006b2298a556fbd567ac080e87f00f37eef8cee6c417', 1, 7, NULL, 'user4', 'user4@kamata.lib.teu.ac.jp', '2007-11-19 07:58:34.637413', 3)
|
254
|
+
[1m[36m (5.1ms)[0m [1mcommit transaction[0m
|
255
|
+
[1m[35m (0.1ms)[0m begin transaction
|
256
|
+
[1m[36mUser Load (0.4ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 1]]
|
257
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
258
|
+
[1m[36mSQL (1.7ms)[0m [1mINSERT INTO "export_files" ("created_at", "export_content_type", "export_file_name", "export_file_size", "state", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Wed, 17 Apr 2013 01:45:49 UTC +00:00], ["export_content_type", nil], ["export_file_name", nil], ["export_file_size", nil], ["state", "pending"], ["updated_at", Wed, 17 Apr 2013 01:45:49 UTC +00:00], ["user_id", nil]]
|
259
|
+
[paperclip] Saving attachments.
|
260
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
261
|
+
Processing by ExportFilesController#index as HTML
|
262
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1[0m
|
263
|
+
[1m[35mRole Load (0.2ms)[0m SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 1 ORDER BY roles.position LIMIT 1
|
264
|
+
Rendered /Users/kosuke/enju_export/app/views/export_files/index.html.erb within layouts/application (0.3ms)
|
265
|
+
Completed 200 OK in 91ms (Views: 12.8ms | ActiveRecord: 0.3ms | Solr: 0.0ms)
|
266
|
+
[1m[36mExportFile Load (0.1ms)[0m [1mSELECT "export_files".* FROM "export_files" LIMIT 25 OFFSET 0[0m
|
267
|
+
[1m[35m (0.5ms)[0m rollback transaction
|
268
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
269
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]
|
270
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
271
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "export_files" ("created_at", "export_content_type", "export_file_name", "export_file_size", "state", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 17 Apr 2013 01:45:49 UTC +00:00], ["export_content_type", nil], ["export_file_name", nil], ["export_file_size", nil], ["state", "pending"], ["updated_at", Wed, 17 Apr 2013 01:45:49 UTC +00:00], ["user_id", nil]]
|
272
|
+
[paperclip] Saving attachments.
|
273
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
274
|
+
Processing by ExportFilesController#show as HTML
|
275
|
+
Parameters: {"id"=>"1"}
|
276
|
+
[1m[35mExportFile Load (0.2ms)[0m SELECT "export_files".* FROM "export_files" WHERE "export_files"."id" = ? LIMIT 1 [["id", "1"]]
|
277
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1[0m
|
278
|
+
[1m[35mRole Load (0.1ms)[0m SELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 1 ORDER BY roles.position LIMIT 1
|
279
|
+
[1m[36mExportFile Load (0.0ms)[0m [1mSELECT "export_files".* FROM "export_files" WHERE "export_files"."id" = ? LIMIT 1[0m [["id", "1"]]
|
280
|
+
Completed 200 OK in 16ms (Views: 7.5ms | ActiveRecord: 0.4ms | Solr: 0.0ms)
|
281
|
+
[1m[35m (0.5ms)[0m rollback transaction
|
282
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
283
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]
|
284
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
285
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "export_files" ("created_at", "export_content_type", "export_file_name", "export_file_size", "state", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 17 Apr 2013 01:45:49 UTC +00:00], ["export_content_type", nil], ["export_file_name", nil], ["export_file_size", nil], ["state", "pending"], ["updated_at", Wed, 17 Apr 2013 01:45:49 UTC +00:00], ["user_id", nil]]
|
286
|
+
[paperclip] Saving attachments.
|
287
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
288
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "export_files"
|
289
|
+
Processing by ExportFilesController#destroy as HTML
|
290
|
+
Parameters: {"id"=>"1"}
|
291
|
+
[1m[36mExportFile Load (0.1ms)[0m [1mSELECT "export_files".* FROM "export_files" WHERE "export_files"."id" = ? LIMIT 1[0m [["id", "1"]]
|
292
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
|
293
|
+
[1m[36mRole Load (0.1ms)[0m [1mSELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 1 ORDER BY roles.position LIMIT 1[0m
|
294
|
+
[1m[35mExportFile Load (0.0ms)[0m SELECT "export_files".* FROM "export_files" WHERE "export_files"."id" = ? LIMIT 1 [["id", "1"]]
|
295
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
296
|
+
[paperclip] Scheduling attachments for deletion.
|
297
|
+
[1m[35mSQL (0.4ms)[0m DELETE FROM "export_files" WHERE "export_files"."id" = ? [["id", 1]]
|
298
|
+
[paperclip] Deleting attachments.
|
299
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
300
|
+
Redirected to http://test.host/export_files
|
301
|
+
Completed 302 Found in 10ms (ActiveRecord: 0.8ms)
|
302
|
+
[1m[35m (0.0ms)[0m SELECT COUNT(*) FROM "export_files"
|
303
|
+
[1m[36m (0.5ms)[0m [1mrollback transaction[0m
|
304
|
+
[1m[35m (0.0ms)[0m begin transaction
|
305
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 1]]
|
306
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
307
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "export_files" ("created_at", "export_content_type", "export_file_name", "export_file_size", "state", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Wed, 17 Apr 2013 01:45:49 UTC +00:00], ["export_content_type", nil], ["export_file_name", nil], ["export_file_size", nil], ["state", "pending"], ["updated_at", Wed, 17 Apr 2013 01:45:49 UTC +00:00], ["user_id", nil]]
|
308
|
+
[paperclip] Saving attachments.
|
309
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
310
|
+
Processing by ExportFilesController#destroy as HTML
|
311
|
+
Parameters: {"id"=>"1"}
|
312
|
+
[1m[36mExportFile Load (0.1ms)[0m [1mSELECT "export_files".* FROM "export_files" WHERE "export_files"."id" = ? LIMIT 1[0m [["id", "1"]]
|
313
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
|
314
|
+
[1m[36mRole Load (0.1ms)[0m [1mSELECT "roles".* FROM "roles" INNER JOIN "user_has_roles" ON "roles"."id" = "user_has_roles"."role_id" WHERE "user_has_roles"."user_id" = 1 ORDER BY roles.position LIMIT 1[0m
|
315
|
+
[1m[35mExportFile Load (0.0ms)[0m SELECT "export_files".* FROM "export_files" WHERE "export_files"."id" = ? LIMIT 1 [["id", "1"]]
|
316
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
317
|
+
[paperclip] Scheduling attachments for deletion.
|
318
|
+
[1m[35mSQL (0.3ms)[0m DELETE FROM "export_files" WHERE "export_files"."id" = ? [["id", 1]]
|
319
|
+
[paperclip] Deleting attachments.
|
320
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
321
|
+
Redirected to http://test.host/export_files
|
322
|
+
Completed 302 Found in 9ms (ActiveRecord: 0.7ms)
|
323
|
+
[1m[35m (0.4ms)[0m rollback transaction
|
324
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
325
|
+
Started GET "/export_files" for 127.0.0.1 at 2013-04-17 10:45:49 +0900
|
326
|
+
Processing by ExportFilesController#index as HTML
|
327
|
+
Redirected to http://www.example.com/users/sign_in
|
328
|
+
Completed 302 Found in 8ms (ActiveRecord: 0.0ms)
|
329
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
330
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
331
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
332
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
333
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
334
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
335
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
336
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
337
|
+
Rendered /Users/kosuke/enju_export/app/views/export_files/_form.html.erb (11.3ms)
|
338
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
339
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
340
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
341
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
342
|
+
Rendered /Users/kosuke/enju_export/app/views/export_files/_form.html.erb (5.6ms)
|
343
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
344
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
345
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
metadata
CHANGED
@@ -1,29 +1,29 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: enju_export
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.1.
|
4
|
+
version: 0.1.1.pre4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Kosuke Tanabe
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2013-
|
11
|
+
date: 2013-04-17 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
|
-
name:
|
14
|
+
name: enju_biblio
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
17
|
- - ~>
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version:
|
19
|
+
version: 0.1.0.pre31
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
24
|
- - ~>
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version:
|
26
|
+
version: 0.1.0.pre31
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: state_machine
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
@@ -38,34 +38,6 @@ dependencies:
|
|
38
38
|
- - '>='
|
39
39
|
- !ruby/object:Gem::Version
|
40
40
|
version: '0'
|
41
|
-
- !ruby/object:Gem::Dependency
|
42
|
-
name: simple_form
|
43
|
-
requirement: !ruby/object:Gem::Requirement
|
44
|
-
requirements:
|
45
|
-
- - '>='
|
46
|
-
- !ruby/object:Gem::Version
|
47
|
-
version: '0'
|
48
|
-
type: :runtime
|
49
|
-
prerelease: false
|
50
|
-
version_requirements: !ruby/object:Gem::Requirement
|
51
|
-
requirements:
|
52
|
-
- - '>='
|
53
|
-
- !ruby/object:Gem::Version
|
54
|
-
version: '0'
|
55
|
-
- !ruby/object:Gem::Dependency
|
56
|
-
name: enju_biblio
|
57
|
-
requirement: !ruby/object:Gem::Requirement
|
58
|
-
requirements:
|
59
|
-
- - ~>
|
60
|
-
- !ruby/object:Gem::Version
|
61
|
-
version: 0.1.0.pre25
|
62
|
-
type: :runtime
|
63
|
-
prerelease: false
|
64
|
-
version_requirements: !ruby/object:Gem::Requirement
|
65
|
-
requirements:
|
66
|
-
- - ~>
|
67
|
-
- !ruby/object:Gem::Version
|
68
|
-
version: 0.1.0.pre25
|
69
41
|
- !ruby/object:Gem::Dependency
|
70
42
|
name: sqlite3
|
71
43
|
requirement: !ruby/object:Gem::Requirement
|
@@ -120,7 +92,8 @@ files:
|
|
120
92
|
- lib/enju_export/engine.rb
|
121
93
|
- lib/enju_export/version.rb
|
122
94
|
- lib/enju_export.rb
|
123
|
-
- lib/generators/enju_export/
|
95
|
+
- lib/generators/enju_export/setup/setup_generator.rb
|
96
|
+
- lib/generators/enju_export/setup/USAGE
|
124
97
|
- lib/tasks/enju_export_tasks.rake
|
125
98
|
- MIT-LICENSE
|
126
99
|
- Rakefile
|
@@ -1,17 +0,0 @@
|
|
1
|
-
module EnjuExport
|
2
|
-
module Generators
|
3
|
-
class ViewsGenerator < Rails::Generators::Base
|
4
|
-
source_root File.expand_path('../../../../app/views', __FILE__)
|
5
|
-
|
6
|
-
def copy_files
|
7
|
-
directories = %w(
|
8
|
-
export_files
|
9
|
-
)
|
10
|
-
|
11
|
-
directories.each do |dir|
|
12
|
-
directory dir, "app/views/#{dir}"
|
13
|
-
end
|
14
|
-
end
|
15
|
-
end
|
16
|
-
end
|
17
|
-
end
|