enju_export 0.1.1.pre2 → 0.1.1.pre3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/app/models/enju_export/ability.rb +18 -0
- data/lib/enju_export/version.rb +1 -1
- data/spec/dummy/app/models/ability.rb +15 -11
- data/spec/dummy/db/test.sqlite3 +0 -0
- data/spec/dummy/log/test.log +230 -0
- metadata +20 -50
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: bf241997329fd9cfc87b2caf6e6797540b869196
|
4
|
+
data.tar.gz: 764ad10163876b925e6fb84f1e6e4a75e1419347
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: cb969a61f641efa3b4b067f987cb9d4e8f219555daa6f20bd254693fa27c9b26a8cb96b2b4bba30697025f778283a3c52d88cc3bfe5eac742634da9f0fbdf6e1
|
7
|
+
data.tar.gz: 8f9fbbb6275d395fbda80befcbf7639eeae9e990f5572e8a2a2f5119715318ba00d8724b8c6c317867e8474bd2763af8f186faa06254ee65e736ad4c3300ea13
|
@@ -0,0 +1,18 @@
|
|
1
|
+
module EnjuExport
|
2
|
+
class Ability
|
3
|
+
include CanCan::Ability
|
4
|
+
|
5
|
+
def initialize(user, ip_address = nil)
|
6
|
+
case user.try(:role).try(:name)
|
7
|
+
when 'Administrator'
|
8
|
+
can [:read, :destroy], ExportFile
|
9
|
+
when 'Librarian'
|
10
|
+
can [:read, :destroy], ExportFile
|
11
|
+
when 'User'
|
12
|
+
can :read, ExportFile do |export_file|
|
13
|
+
export_file.user == user
|
14
|
+
end
|
15
|
+
end
|
16
|
+
end
|
17
|
+
end
|
18
|
+
end
|
data/lib/enju_export/version.rb
CHANGED
@@ -1,14 +1,18 @@
|
|
1
|
-
|
2
|
-
|
1
|
+
#module EnjuExport
|
2
|
+
class Ability
|
3
|
+
include CanCan::Ability
|
3
4
|
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
5
|
+
def initialize(user, ip_address = nil)
|
6
|
+
case user.try(:role).try(:name)
|
7
|
+
when 'Administrator'
|
8
|
+
can [:read, :destroy], ExportFile
|
9
|
+
when 'Librarian'
|
10
|
+
can [:read, :destroy], ExportFile
|
11
|
+
when 'User'
|
12
|
+
can :read, ExportFile do |export_file|
|
13
|
+
export_file.user == user
|
14
|
+
end
|
15
|
+
end
|
12
16
|
end
|
13
17
|
end
|
14
|
-
end
|
18
|
+
#end
|
data/spec/dummy/db/test.sqlite3
CHANGED
Binary file
|
@@ -0,0 +1,230 @@
|
|
1
|
+
Connecting to database specified by database.yml
|
2
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
3
|
+
[1m[35mFixture Delete (0.3ms)[0m DELETE FROM "roles"
|
4
|
+
[1m[36mFixture Insert (0.2ms)[0m [1mINSERT INTO "roles" ("name", "display_name", "id", "note", "created_at", "updated_at") VALUES ('Guest', 'Guest', 1, NULL, '2013-03-13 03:00:12', '2013-03-13 03:00:12')[0m
|
5
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "roles" ("name", "display_name", "id", "note", "created_at", "updated_at") VALUES ('User', 'User', 2, NULL, '2013-03-13 03:00:12', '2013-03-13 03:00:12')
|
6
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "roles" ("name", "display_name", "id", "note", "created_at", "updated_at") VALUES ('Librarian', 'Librarian', 3, NULL, '2013-03-13 03:00:12', '2013-03-13 03:00:12')[0m
|
7
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "roles" ("name", "display_name", "id", "note", "created_at", "updated_at") VALUES ('Administrator', 'Administrator', 4, NULL, '2013-03-13 03:00:12', '2013-03-13 03:00:12')
|
8
|
+
[1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "user_has_roles"[0m
|
9
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "user_has_roles" ("user_id", "role_id", "created_at", "updated_at", "id") VALUES (1, 4, '2013-03-13 03:00:12', '2013-03-13 03:00:12', 135138680)
|
10
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "user_has_roles" ("user_id", "role_id", "created_at", "updated_at", "id") VALUES (2, 3, '2013-03-13 03:00:12', '2013-03-13 03:00:12', 344583537)[0m
|
11
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "user_has_roles" ("user_id", "role_id", "created_at", "updated_at", "id") VALUES (3, 2, '2013-03-13 03:00:12', '2013-03-13 03:00:12', 206669143)
|
12
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "user_has_roles" ("user_id", "role_id", "created_at", "updated_at", "id") VALUES (4, 3, '2013-03-13 03:00:12', '2013-03-13 03:00:12', 226540757)[0m
|
13
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "user_has_roles" ("user_id", "role_id", "created_at", "updated_at", "id") VALUES (5, 2, '2013-03-13 03:00:12', '2013-03-13 03:00:12', 358143215)
|
14
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "user_has_roles" ("user_id", "role_id", "created_at", "updated_at", "id") VALUES (6, 2, '2013-03-13 03:00:12', '2013-03-13 03:00:12', 576709754)[0m
|
15
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "user_has_roles" ("user_id", "role_id", "created_at", "updated_at", "id") VALUES (7, 2, '2013-03-13 03:00:12', '2013-03-13 03:00:12', 1010528733)
|
16
|
+
[1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "users"[0m
|
17
|
+
[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)
|
18
|
+
[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
|
19
|
+
[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)
|
20
|
+
[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
|
21
|
+
[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)
|
22
|
+
[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
|
23
|
+
[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)
|
24
|
+
[1m[36m (6.5ms)[0m [1mcommit transaction[0m
|
25
|
+
[1m[35m (0.1ms)[0m begin transaction
|
26
|
+
[1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 1]]
|
27
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
28
|
+
[1m[36mSQL (2.2ms)[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, 13 Mar 2013 03:00:12 UTC +00:00], ["export_content_type", nil], ["export_file_name", nil], ["export_file_size", nil], ["state", "pending"], ["updated_at", Wed, 13 Mar 2013 03:00:12 UTC +00:00], ["user_id", nil]]
|
29
|
+
[paperclip] Saving attachments.
|
30
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
31
|
+
Processing by ExportFilesController#index as HTML
|
32
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1[0m
|
33
|
+
[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
|
34
|
+
Rendered /Users/kosuke/enju_export/app/views/export_files/index.html.erb within layouts/application (0.2ms)
|
35
|
+
Completed 200 OK in 98ms (Views: 18.0ms | ActiveRecord: 0.4ms | Solr: 0.0ms)
|
36
|
+
[1m[36mExportFile Load (0.1ms)[0m [1mSELECT "export_files".* FROM "export_files" LIMIT 25 OFFSET 0[0m
|
37
|
+
[1m[35m (0.4ms)[0m rollback transaction
|
38
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
39
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]
|
40
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
41
|
+
[1m[35mSQL (0.4ms)[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, 13 Mar 2013 03:00:12 UTC +00:00], ["export_content_type", nil], ["export_file_name", nil], ["export_file_size", nil], ["state", "pending"], ["updated_at", Wed, 13 Mar 2013 03:00:12 UTC +00:00], ["user_id", nil]]
|
42
|
+
[paperclip] Saving attachments.
|
43
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
44
|
+
Processing by ExportFilesController#show as HTML
|
45
|
+
Parameters: {"id"=>"1"}
|
46
|
+
[1m[35mExportFile Load (0.2ms)[0m SELECT "export_files".* FROM "export_files" WHERE "export_files"."id" = ? LIMIT 1 [["id", "1"]]
|
47
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1[0m
|
48
|
+
[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
|
49
|
+
[1m[36mExportFile Load (0.0ms)[0m [1mSELECT "export_files".* FROM "export_files" WHERE "export_files"."id" = ? LIMIT 1[0m [["id", "1"]]
|
50
|
+
Completed 200 OK in 11ms (Views: 1.4ms | ActiveRecord: 0.4ms | Solr: 0.0ms)
|
51
|
+
[1m[35m (0.5ms)[0m rollback transaction
|
52
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
53
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]
|
54
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
55
|
+
[1m[35mSQL (0.4ms)[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, 13 Mar 2013 03:00:13 UTC +00:00], ["export_content_type", nil], ["export_file_name", nil], ["export_file_size", nil], ["state", "pending"], ["updated_at", Wed, 13 Mar 2013 03:00:13 UTC +00:00], ["user_id", nil]]
|
56
|
+
[paperclip] Saving attachments.
|
57
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
58
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "export_files"
|
59
|
+
Processing by ExportFilesController#destroy as HTML
|
60
|
+
Parameters: {"id"=>"1"}
|
61
|
+
[1m[36mExportFile Load (0.1ms)[0m [1mSELECT "export_files".* FROM "export_files" WHERE "export_files"."id" = ? LIMIT 1[0m [["id", "1"]]
|
62
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
|
63
|
+
[1m[36mRole Load (0.2ms)[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
|
64
|
+
[1m[35mExportFile Load (0.0ms)[0m SELECT "export_files".* FROM "export_files" WHERE "export_files"."id" = ? LIMIT 1 [["id", "1"]]
|
65
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
66
|
+
[paperclip] Scheduling attachments for deletion.
|
67
|
+
[1m[35mSQL (0.3ms)[0m DELETE FROM "export_files" WHERE "export_files"."id" = ? [["id", 1]]
|
68
|
+
[paperclip] Deleting attachments.
|
69
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
70
|
+
Redirected to http://test.host/export_files
|
71
|
+
Completed 302 Found in 12ms (ActiveRecord: 0.9ms)
|
72
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "export_files"
|
73
|
+
[1m[36m (0.6ms)[0m [1mrollback transaction[0m
|
74
|
+
[1m[35m (0.0ms)[0m begin transaction
|
75
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 1]]
|
76
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
77
|
+
[1m[36mSQL (0.5ms)[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, 13 Mar 2013 03:00:13 UTC +00:00], ["export_content_type", nil], ["export_file_name", nil], ["export_file_size", nil], ["state", "pending"], ["updated_at", Wed, 13 Mar 2013 03:00:13 UTC +00:00], ["user_id", nil]]
|
78
|
+
[paperclip] Saving attachments.
|
79
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
80
|
+
Processing by ExportFilesController#destroy as HTML
|
81
|
+
Parameters: {"id"=>"1"}
|
82
|
+
[1m[36mExportFile Load (0.1ms)[0m [1mSELECT "export_files".* FROM "export_files" WHERE "export_files"."id" = ? LIMIT 1[0m [["id", "1"]]
|
83
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
|
84
|
+
[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
|
85
|
+
[1m[35mExportFile Load (0.0ms)[0m SELECT "export_files".* FROM "export_files" WHERE "export_files"."id" = ? LIMIT 1 [["id", "1"]]
|
86
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
87
|
+
[paperclip] Scheduling attachments for deletion.
|
88
|
+
[1m[35mSQL (0.3ms)[0m DELETE FROM "export_files" WHERE "export_files"."id" = ? [["id", 1]]
|
89
|
+
[paperclip] Deleting attachments.
|
90
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
91
|
+
Redirected to http://test.host/export_files
|
92
|
+
Completed 302 Found in 9ms (ActiveRecord: 0.7ms)
|
93
|
+
[1m[35m (0.6ms)[0m rollback transaction
|
94
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
95
|
+
Started GET "/export_files" for 127.0.0.1 at 2013-03-13 12:00:13 +0900
|
96
|
+
Processing by ExportFilesController#index as HTML
|
97
|
+
Redirected to http://www.example.com/users/sign_in
|
98
|
+
Completed 302 Found in 11ms (ActiveRecord: 0.0ms)
|
99
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
100
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
101
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
102
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
103
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
104
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
105
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
106
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
107
|
+
Rendered /Users/kosuke/enju_export/app/views/export_files/_form.html.erb (127.3ms)
|
108
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
109
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
110
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
111
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
112
|
+
Rendered /Users/kosuke/enju_export/app/views/export_files/_form.html.erb (5.8ms)
|
113
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
114
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
115
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
116
|
+
Connecting to database specified by database.yml
|
117
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
118
|
+
[1m[35mFixture Delete (0.3ms)[0m DELETE FROM "roles"
|
119
|
+
[1m[36mFixture Insert (0.2ms)[0m [1mINSERT INTO "roles" ("name", "display_name", "id", "note", "created_at", "updated_at") VALUES ('Guest', 'Guest', 1, NULL, '2013-03-16 05:44:39', '2013-03-16 05:44:39')[0m
|
120
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "roles" ("name", "display_name", "id", "note", "created_at", "updated_at") VALUES ('User', 'User', 2, NULL, '2013-03-16 05:44:39', '2013-03-16 05:44:39')
|
121
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "roles" ("name", "display_name", "id", "note", "created_at", "updated_at") VALUES ('Librarian', 'Librarian', 3, NULL, '2013-03-16 05:44:39', '2013-03-16 05:44:39')[0m
|
122
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "roles" ("name", "display_name", "id", "note", "created_at", "updated_at") VALUES ('Administrator', 'Administrator', 4, NULL, '2013-03-16 05:44:39', '2013-03-16 05:44:39')
|
123
|
+
[1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "user_has_roles"[0m
|
124
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "user_has_roles" ("user_id", "role_id", "created_at", "updated_at", "id") VALUES (1, 4, '2013-03-16 05:44:40', '2013-03-16 05:44:40', 135138680)
|
125
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "user_has_roles" ("user_id", "role_id", "created_at", "updated_at", "id") VALUES (2, 3, '2013-03-16 05:44:40', '2013-03-16 05:44:40', 344583537)[0m
|
126
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "user_has_roles" ("user_id", "role_id", "created_at", "updated_at", "id") VALUES (3, 2, '2013-03-16 05:44:40', '2013-03-16 05:44:40', 206669143)
|
127
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "user_has_roles" ("user_id", "role_id", "created_at", "updated_at", "id") VALUES (4, 3, '2013-03-16 05:44:40', '2013-03-16 05:44:40', 226540757)[0m
|
128
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "user_has_roles" ("user_id", "role_id", "created_at", "updated_at", "id") VALUES (5, 2, '2013-03-16 05:44:40', '2013-03-16 05:44:40', 358143215)
|
129
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "user_has_roles" ("user_id", "role_id", "created_at", "updated_at", "id") VALUES (6, 2, '2013-03-16 05:44:40', '2013-03-16 05:44:40', 576709754)[0m
|
130
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "user_has_roles" ("user_id", "role_id", "created_at", "updated_at", "id") VALUES (7, 2, '2013-03-16 05:44:40', '2013-03-16 05:44:40', 1010528733)
|
131
|
+
[1m[36mFixture Delete (0.2ms)[0m [1mDELETE FROM "users"[0m
|
132
|
+
[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)
|
133
|
+
[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
|
134
|
+
[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)
|
135
|
+
[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
|
136
|
+
[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)
|
137
|
+
[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
|
138
|
+
[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)
|
139
|
+
[1m[36m (8.2ms)[0m [1mcommit transaction[0m
|
140
|
+
[1m[35m (0.1ms)[0m begin transaction
|
141
|
+
[1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 1]]
|
142
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
143
|
+
[1m[36mSQL (2.5ms)[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", Sat, 16 Mar 2013 05:44:40 UTC +00:00], ["export_content_type", nil], ["export_file_name", nil], ["export_file_size", nil], ["state", "pending"], ["updated_at", Sat, 16 Mar 2013 05:44:40 UTC +00:00], ["user_id", nil]]
|
144
|
+
[paperclip] Saving attachments.
|
145
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
146
|
+
Processing by ExportFilesController#index as HTML
|
147
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1[0m
|
148
|
+
[1m[35mRole Load (0.3ms)[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
|
149
|
+
Rendered /Users/kosuke/enju_export/app/views/export_files/index.html.erb within layouts/application (0.4ms)
|
150
|
+
Completed 200 OK in 69ms (Views: 12.4ms | ActiveRecord: 0.4ms | Solr: 0.0ms)
|
151
|
+
[1m[36mExportFile Load (0.1ms)[0m [1mSELECT "export_files".* FROM "export_files" LIMIT 25 OFFSET 0[0m
|
152
|
+
[1m[35m (0.4ms)[0m rollback transaction
|
153
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
154
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]
|
155
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
156
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "export_files" ("created_at", "export_content_type", "export_file_name", "export_file_size", "state", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 16 Mar 2013 05:44:40 UTC +00:00], ["export_content_type", nil], ["export_file_name", nil], ["export_file_size", nil], ["state", "pending"], ["updated_at", Sat, 16 Mar 2013 05:44:40 UTC +00:00], ["user_id", nil]]
|
157
|
+
[paperclip] Saving attachments.
|
158
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
159
|
+
Processing by ExportFilesController#show as HTML
|
160
|
+
Parameters: {"id"=>"1"}
|
161
|
+
[1m[35mExportFile Load (0.1ms)[0m SELECT "export_files".* FROM "export_files" WHERE "export_files"."id" = ? LIMIT 1 [["id", "1"]]
|
162
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1[0m
|
163
|
+
[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
|
164
|
+
[1m[36mExportFile Load (0.0ms)[0m [1mSELECT "export_files".* FROM "export_files" WHERE "export_files"."id" = ? LIMIT 1[0m [["id", "1"]]
|
165
|
+
Completed 200 OK in 11ms (Views: 1.8ms | ActiveRecord: 0.4ms | Solr: 0.0ms)
|
166
|
+
[1m[35m (0.4ms)[0m rollback transaction
|
167
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
168
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]
|
169
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
170
|
+
[1m[35mSQL (0.5ms)[0m INSERT INTO "export_files" ("created_at", "export_content_type", "export_file_name", "export_file_size", "state", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 16 Mar 2013 05:44:40 UTC +00:00], ["export_content_type", nil], ["export_file_name", nil], ["export_file_size", nil], ["state", "pending"], ["updated_at", Sat, 16 Mar 2013 05:44:40 UTC +00:00], ["user_id", nil]]
|
171
|
+
[paperclip] Saving attachments.
|
172
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
173
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "export_files"
|
174
|
+
Processing by ExportFilesController#destroy as HTML
|
175
|
+
Parameters: {"id"=>"1"}
|
176
|
+
[1m[36mExportFile Load (0.1ms)[0m [1mSELECT "export_files".* FROM "export_files" WHERE "export_files"."id" = ? LIMIT 1[0m [["id", "1"]]
|
177
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
|
178
|
+
[1m[36mRole Load (0.2ms)[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
|
179
|
+
[1m[35mExportFile Load (0.0ms)[0m SELECT "export_files".* FROM "export_files" WHERE "export_files"."id" = ? LIMIT 1 [["id", "1"]]
|
180
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
181
|
+
[paperclip] Scheduling attachments for deletion.
|
182
|
+
[1m[35mSQL (0.3ms)[0m DELETE FROM "export_files" WHERE "export_files"."id" = ? [["id", 1]]
|
183
|
+
[paperclip] Deleting attachments.
|
184
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
185
|
+
Redirected to http://test.host/export_files
|
186
|
+
Completed 302 Found in 12ms (ActiveRecord: 0.8ms)
|
187
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "export_files"
|
188
|
+
[1m[36m (0.4ms)[0m [1mrollback transaction[0m
|
189
|
+
[1m[35m (0.0ms)[0m begin transaction
|
190
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 1]]
|
191
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
192
|
+
[1m[36mSQL (0.3ms)[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", Sat, 16 Mar 2013 05:44:40 UTC +00:00], ["export_content_type", nil], ["export_file_name", nil], ["export_file_size", nil], ["state", "pending"], ["updated_at", Sat, 16 Mar 2013 05:44:40 UTC +00:00], ["user_id", nil]]
|
193
|
+
[paperclip] Saving attachments.
|
194
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
195
|
+
Processing by ExportFilesController#destroy as HTML
|
196
|
+
Parameters: {"id"=>"1"}
|
197
|
+
[1m[36mExportFile Load (0.1ms)[0m [1mSELECT "export_files".* FROM "export_files" WHERE "export_files"."id" = ? LIMIT 1[0m [["id", "1"]]
|
198
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
|
199
|
+
[1m[36mRole Load (0.2ms)[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
|
200
|
+
[1m[35mExportFile Load (0.0ms)[0m SELECT "export_files".* FROM "export_files" WHERE "export_files"."id" = ? LIMIT 1 [["id", "1"]]
|
201
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
202
|
+
[paperclip] Scheduling attachments for deletion.
|
203
|
+
[1m[35mSQL (0.2ms)[0m DELETE FROM "export_files" WHERE "export_files"."id" = ? [["id", 1]]
|
204
|
+
[paperclip] Deleting attachments.
|
205
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
206
|
+
Redirected to http://test.host/export_files
|
207
|
+
Completed 302 Found in 11ms (ActiveRecord: 0.8ms)
|
208
|
+
[1m[35m (0.5ms)[0m rollback transaction
|
209
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
210
|
+
Started GET "/export_files" for 127.0.0.1 at 2013-03-16 14:44:40 +0900
|
211
|
+
Processing by ExportFilesController#index as HTML
|
212
|
+
Redirected to http://www.example.com/users/sign_in
|
213
|
+
Completed 302 Found in 8ms (ActiveRecord: 0.0ms)
|
214
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
215
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
216
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
217
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
218
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
219
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
220
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
221
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
222
|
+
Rendered /Users/kosuke/enju_export/app/views/export_files/_form.html.erb (136.8ms)
|
223
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
224
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
225
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
226
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
227
|
+
Rendered /Users/kosuke/enju_export/app/views/export_files/_form.html.erb (54.0ms)
|
228
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
229
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
230
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
metadata
CHANGED
@@ -1,20 +1,18 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: enju_export
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.1.
|
5
|
-
prerelease: 6
|
4
|
+
version: 0.1.1.pre3
|
6
5
|
platform: ruby
|
7
6
|
authors:
|
8
7
|
- Kosuke Tanabe
|
9
8
|
autorequire:
|
10
9
|
bindir: bin
|
11
10
|
cert_chain: []
|
12
|
-
date:
|
11
|
+
date: 2013-03-16 00:00:00.000000000 Z
|
13
12
|
dependencies:
|
14
13
|
- !ruby/object:Gem::Dependency
|
15
14
|
name: rails
|
16
15
|
requirement: !ruby/object:Gem::Requirement
|
17
|
-
none: false
|
18
16
|
requirements:
|
19
17
|
- - ~>
|
20
18
|
- !ruby/object:Gem::Version
|
@@ -22,7 +20,6 @@ dependencies:
|
|
22
20
|
type: :runtime
|
23
21
|
prerelease: false
|
24
22
|
version_requirements: !ruby/object:Gem::Requirement
|
25
|
-
none: false
|
26
23
|
requirements:
|
27
24
|
- - ~>
|
28
25
|
- !ruby/object:Gem::Version
|
@@ -30,97 +27,71 @@ dependencies:
|
|
30
27
|
- !ruby/object:Gem::Dependency
|
31
28
|
name: state_machine
|
32
29
|
requirement: !ruby/object:Gem::Requirement
|
33
|
-
none: false
|
34
30
|
requirements:
|
35
|
-
- -
|
31
|
+
- - '>='
|
36
32
|
- !ruby/object:Gem::Version
|
37
33
|
version: '0'
|
38
34
|
type: :runtime
|
39
35
|
prerelease: false
|
40
36
|
version_requirements: !ruby/object:Gem::Requirement
|
41
|
-
none: false
|
42
37
|
requirements:
|
43
|
-
- -
|
38
|
+
- - '>='
|
44
39
|
- !ruby/object:Gem::Version
|
45
40
|
version: '0'
|
46
|
-
- !ruby/object:Gem::Dependency
|
47
|
-
name: paperclip
|
48
|
-
requirement: !ruby/object:Gem::Requirement
|
49
|
-
none: false
|
50
|
-
requirements:
|
51
|
-
- - ~>
|
52
|
-
- !ruby/object:Gem::Version
|
53
|
-
version: '3.3'
|
54
|
-
type: :runtime
|
55
|
-
prerelease: false
|
56
|
-
version_requirements: !ruby/object:Gem::Requirement
|
57
|
-
none: false
|
58
|
-
requirements:
|
59
|
-
- - ~>
|
60
|
-
- !ruby/object:Gem::Version
|
61
|
-
version: '3.3'
|
62
41
|
- !ruby/object:Gem::Dependency
|
63
42
|
name: simple_form
|
64
43
|
requirement: !ruby/object:Gem::Requirement
|
65
|
-
none: false
|
66
44
|
requirements:
|
67
|
-
- -
|
45
|
+
- - '>='
|
68
46
|
- !ruby/object:Gem::Version
|
69
47
|
version: '0'
|
70
48
|
type: :runtime
|
71
49
|
prerelease: false
|
72
50
|
version_requirements: !ruby/object:Gem::Requirement
|
73
|
-
none: false
|
74
51
|
requirements:
|
75
|
-
- -
|
52
|
+
- - '>='
|
76
53
|
- !ruby/object:Gem::Version
|
77
54
|
version: '0'
|
78
55
|
- !ruby/object:Gem::Dependency
|
79
56
|
name: enju_biblio
|
80
57
|
requirement: !ruby/object:Gem::Requirement
|
81
|
-
none: false
|
82
58
|
requirements:
|
83
59
|
- - ~>
|
84
60
|
- !ruby/object:Gem::Version
|
85
|
-
version: 0.1.0.
|
61
|
+
version: 0.1.0.pre25
|
86
62
|
type: :runtime
|
87
63
|
prerelease: false
|
88
64
|
version_requirements: !ruby/object:Gem::Requirement
|
89
|
-
none: false
|
90
65
|
requirements:
|
91
66
|
- - ~>
|
92
67
|
- !ruby/object:Gem::Version
|
93
|
-
version: 0.1.0.
|
68
|
+
version: 0.1.0.pre25
|
94
69
|
- !ruby/object:Gem::Dependency
|
95
70
|
name: sqlite3
|
96
71
|
requirement: !ruby/object:Gem::Requirement
|
97
|
-
none: false
|
98
72
|
requirements:
|
99
|
-
- -
|
73
|
+
- - '>='
|
100
74
|
- !ruby/object:Gem::Version
|
101
75
|
version: '0'
|
102
76
|
type: :development
|
103
77
|
prerelease: false
|
104
78
|
version_requirements: !ruby/object:Gem::Requirement
|
105
|
-
none: false
|
106
79
|
requirements:
|
107
|
-
- -
|
80
|
+
- - '>='
|
108
81
|
- !ruby/object:Gem::Version
|
109
82
|
version: '0'
|
110
83
|
- !ruby/object:Gem::Dependency
|
111
84
|
name: rspec-rails
|
112
85
|
requirement: !ruby/object:Gem::Requirement
|
113
|
-
none: false
|
114
86
|
requirements:
|
115
|
-
- -
|
87
|
+
- - '>='
|
116
88
|
- !ruby/object:Gem::Version
|
117
89
|
version: '0'
|
118
90
|
type: :development
|
119
91
|
prerelease: false
|
120
92
|
version_requirements: !ruby/object:Gem::Requirement
|
121
|
-
none: false
|
122
93
|
requirements:
|
123
|
-
- -
|
94
|
+
- - '>='
|
124
95
|
- !ruby/object:Gem::Version
|
125
96
|
version: '0'
|
126
97
|
description: Exporting records of Next-L Enju
|
@@ -131,6 +102,7 @@ extensions: []
|
|
131
102
|
extra_rdoc_files: []
|
132
103
|
files:
|
133
104
|
- app/controllers/export_files_controller.rb
|
105
|
+
- app/models/enju_export/ability.rb
|
134
106
|
- app/models/export_file.rb
|
135
107
|
- app/views/export_files/_download.html.erb
|
136
108
|
- app/views/export_files/_form.html.erb
|
@@ -194,6 +166,7 @@ files:
|
|
194
166
|
- spec/dummy/db/migrate/20111201163718_create_user_has_roles.rb
|
195
167
|
- spec/dummy/db/schema.rb
|
196
168
|
- spec/dummy/db/test.sqlite3
|
169
|
+
- spec/dummy/log/test.log
|
197
170
|
- spec/dummy/public/404.html
|
198
171
|
- spec/dummy/public/422.html
|
199
172
|
- spec/dummy/public/500.html
|
@@ -216,30 +189,26 @@ files:
|
|
216
189
|
- spec/views/export_files/show.html.erb_spec.rb
|
217
190
|
homepage: https://github.com/next-l/enju_export
|
218
191
|
licenses: []
|
192
|
+
metadata: {}
|
219
193
|
post_install_message:
|
220
194
|
rdoc_options: []
|
221
195
|
require_paths:
|
222
196
|
- lib
|
223
197
|
required_ruby_version: !ruby/object:Gem::Requirement
|
224
|
-
none: false
|
225
198
|
requirements:
|
226
|
-
- -
|
199
|
+
- - '>='
|
227
200
|
- !ruby/object:Gem::Version
|
228
201
|
version: '0'
|
229
|
-
segments:
|
230
|
-
- 0
|
231
|
-
hash: 2285808321931970454
|
232
202
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
233
|
-
none: false
|
234
203
|
requirements:
|
235
|
-
- -
|
204
|
+
- - '>'
|
236
205
|
- !ruby/object:Gem::Version
|
237
206
|
version: 1.3.1
|
238
207
|
requirements: []
|
239
208
|
rubyforge_project:
|
240
|
-
rubygems_version:
|
209
|
+
rubygems_version: 2.0.0
|
241
210
|
signing_key:
|
242
|
-
specification_version:
|
211
|
+
specification_version: 4
|
243
212
|
summary: enju_export plugin
|
244
213
|
test_files:
|
245
214
|
- spec/controllers/export_files_controller_spec.rb
|
@@ -283,6 +252,7 @@ test_files:
|
|
283
252
|
- spec/dummy/db/migrate/20111201163718_create_user_has_roles.rb
|
284
253
|
- spec/dummy/db/schema.rb
|
285
254
|
- spec/dummy/db/test.sqlite3
|
255
|
+
- spec/dummy/log/test.log
|
286
256
|
- spec/dummy/public/404.html
|
287
257
|
- spec/dummy/public/422.html
|
288
258
|
- spec/dummy/public/500.html
|