annotator 0.0.8 → 0.0.8.1
Sign up to get free protection for your applications and to get access to all the features.
@@ -5,7 +5,7 @@ module Annotator
|
|
5
5
|
class Paperclip < Base
|
6
6
|
|
7
7
|
def check
|
8
|
-
if @model.respond_to?
|
8
|
+
if @model.respond_to?(:attachment_definitions) && @model.attachment_definitions
|
9
9
|
@model.attachment_definitions.keys.each do |att|
|
10
10
|
cols = ["#{att}_file_name", "#{att}_content_type", "#{att}_file_size", "#{att}_updated_at"]
|
11
11
|
if cols.include? @column
|
data/lib/annotator/version.rb
CHANGED
Binary file
|
@@ -0,0 +1,170 @@
|
|
1
|
+
[1m[36m (0.0ms)[0m [1mselect sqlite_version(*)[0m
|
2
|
+
[1m[35m (14.5ms)[0m CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
|
3
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_list("schema_migrations")[0m
|
4
|
+
[1m[35m (3.3ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
5
|
+
[1m[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
6
|
+
Migrating to CreateFoos (20120219112425)
|
7
|
+
[1m[35m (0.1ms)[0m begin transaction
|
8
|
+
[1m[36m (0.4ms)[0m [1mCREATE TABLE "foos" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "body" text, "title" varchar(255), "random_number" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
9
|
+
[1m[35m (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ('20120219112425')
|
10
|
+
[1m[36m (2.8ms)[0m [1mcommit transaction[0m
|
11
|
+
[1m[35m (0.2ms)[0m select sqlite_version(*)
|
12
|
+
[1m[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
13
|
+
[1m[35m (0.0ms)[0m PRAGMA index_list("foos")
|
14
|
+
[1m[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
15
|
+
[1m[35m (0.2ms)[0m select sqlite_version(*)
|
16
|
+
[1m[36m (15.7ms)[0m [1mCREATE TABLE "foos" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "body" text, "title" varchar(255), "random_number" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
17
|
+
[1m[35m (3.6ms)[0m CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
|
18
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_list("schema_migrations")[0m
|
19
|
+
[1m[35m (3.4ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
20
|
+
[1m[36m (0.1ms)[0m [1mSELECT version FROM "schema_migrations"[0m
|
21
|
+
[1m[35m (4.7ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20120219112425')
|
22
|
+
[1m[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
23
|
+
[1m[35m (0.1ms)[0m select sqlite_version(*)
|
24
|
+
[1m[36m (5.8ms)[0m [1mCREATE TABLE "foos" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "body" text, "title" varchar(255), "random_number" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
25
|
+
[1m[35m (3.2ms)[0m CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
|
26
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_list("schema_migrations")[0m
|
27
|
+
[1m[35m (3.4ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
28
|
+
[1m[36m (0.1ms)[0m [1mSELECT version FROM "schema_migrations"[0m
|
29
|
+
[1m[35m (3.1ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20120219112425')
|
30
|
+
[1m[36m (0.0ms)[0m [1mselect sqlite_version(*)[0m
|
31
|
+
[1m[35m (5.2ms)[0m CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
|
32
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_list("schema_migrations")[0m
|
33
|
+
[1m[35m (4.8ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
34
|
+
[1m[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
35
|
+
Migrating to CreateFoos (20120219112425)
|
36
|
+
[1m[35m (0.0ms)[0m begin transaction
|
37
|
+
[1m[36m (0.4ms)[0m [1mCREATE TABLE "foos" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "body" text, "title" varchar(255), "random_number" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
38
|
+
[1m[35m (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ('20120219112425')
|
39
|
+
[1m[36m (3.3ms)[0m [1mcommit transaction[0m
|
40
|
+
Migrating to DeviseCreateUsers (20120527020350)
|
41
|
+
[1m[35m (0.0ms)[0m begin transaction
|
42
|
+
[1m[36m (0.3ms)[0m [1mCREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "email" varchar(255) DEFAULT '' NOT NULL, "encrypted_password" varchar(255) DEFAULT '' NOT NULL, "reset_password_token" varchar(255), "reset_password_sent_at" datetime, "remember_created_at" datetime, "sign_in_count" integer DEFAULT 0, "current_sign_in_at" datetime, "last_sign_in_at" datetime, "current_sign_in_ip" varchar(255), "last_sign_in_ip" varchar(255), "password_salt" varchar(255), "confirmation_token" varchar(255), "confirmed_at" datetime, "confirmation_sent_at" datetime, "unconfirmed_email" varchar(255), "failed_attempts" integer DEFAULT 0, "unlock_token" varchar(255), "locked_at" datetime, "authentication_token" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
43
|
+
[1m[35m (0.0ms)[0m PRAGMA index_list("users")
|
44
|
+
[1m[36m (0.1ms)[0m [1mCREATE UNIQUE INDEX "index_users_on_email" ON "users" ("email")[0m
|
45
|
+
[1m[35m (0.0ms)[0m PRAGMA index_list("users")
|
46
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_info('index_users_on_email')[0m
|
47
|
+
[1m[35m (0.1ms)[0m CREATE UNIQUE INDEX "index_users_on_reset_password_token" ON "users" ("reset_password_token")
|
48
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_list("users")[0m
|
49
|
+
[1m[35m (0.0ms)[0m PRAGMA index_info('index_users_on_reset_password_token')
|
50
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_info('index_users_on_email')[0m
|
51
|
+
[1m[35m (0.1ms)[0m CREATE UNIQUE INDEX "index_users_on_confirmation_token" ON "users" ("confirmation_token")
|
52
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_list("users")[0m
|
53
|
+
[1m[35m (0.0ms)[0m PRAGMA index_info('index_users_on_confirmation_token')
|
54
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_info('index_users_on_reset_password_token')[0m
|
55
|
+
[1m[35m (0.0ms)[0m PRAGMA index_info('index_users_on_email')
|
56
|
+
[1m[36m (0.1ms)[0m [1mCREATE UNIQUE INDEX "index_users_on_unlock_token" ON "users" ("unlock_token")[0m
|
57
|
+
[1m[35m (0.0ms)[0m PRAGMA index_list("users")
|
58
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_info('index_users_on_unlock_token')[0m
|
59
|
+
[1m[35m (0.0ms)[0m PRAGMA index_info('index_users_on_confirmation_token')
|
60
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_info('index_users_on_reset_password_token')[0m
|
61
|
+
[1m[35m (0.0ms)[0m PRAGMA index_info('index_users_on_email')
|
62
|
+
[1m[36m (0.1ms)[0m [1mCREATE UNIQUE INDEX "index_users_on_authentication_token" ON "users" ("authentication_token")[0m
|
63
|
+
[1m[35m (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ('20120527020350')
|
64
|
+
[1m[36m (3.6ms)[0m [1mcommit transaction[0m
|
65
|
+
[1m[35m (0.2ms)[0m select sqlite_version(*)
|
66
|
+
[1m[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
67
|
+
[1m[35m (0.0ms)[0m PRAGMA index_list("foos")
|
68
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_list("users")[0m
|
69
|
+
[1m[35m (0.0ms)[0m PRAGMA index_info('index_users_on_authentication_token')
|
70
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_info('index_users_on_unlock_token')[0m
|
71
|
+
[1m[35m (0.0ms)[0m PRAGMA index_info('index_users_on_confirmation_token')
|
72
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_info('index_users_on_reset_password_token')[0m
|
73
|
+
[1m[35m (0.0ms)[0m PRAGMA index_info('index_users_on_email')
|
74
|
+
[1m[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
75
|
+
Migrating to CreateFoos (20120219112425)
|
76
|
+
Migrating to DeviseCreateUsers (20120527020350)
|
77
|
+
Migrating to CreatePapers (20120527023350)
|
78
|
+
[1m[35m (0.0ms)[0m select sqlite_version(*)
|
79
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
80
|
+
[1m[35m (0.2ms)[0m CREATE TABLE "papers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
81
|
+
[1m[36m (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ('20120527023350')[0m
|
82
|
+
[1m[35m (5.4ms)[0m commit transaction
|
83
|
+
Migrating to AddAttachmentAvatarToPapers (20120527023417)
|
84
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
85
|
+
[1m[35m (0.3ms)[0m ALTER TABLE "papers" ADD "avatar_file_name" varchar(255)
|
86
|
+
[1m[36m (0.2ms)[0m [1mALTER TABLE "papers" ADD "avatar_content_type" varchar(255)[0m
|
87
|
+
[1m[35m (0.2ms)[0m ALTER TABLE "papers" ADD "avatar_file_size" integer
|
88
|
+
[1m[36m (0.2ms)[0m [1mALTER TABLE "papers" ADD "avatar_updated_at" datetime[0m
|
89
|
+
[1m[35m (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ('20120527023417')
|
90
|
+
[1m[36m (3.8ms)[0m [1mcommit transaction[0m
|
91
|
+
Migrating to CreateBoos (20120527025142)
|
92
|
+
[1m[35m (0.0ms)[0m begin transaction
|
93
|
+
[1m[36m (0.4ms)[0m [1mCREATE TABLE "boos" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "foo_id" integer, "poly_id" integer, "poly_type" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
94
|
+
[1m[35m (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ('20120527025142')
|
95
|
+
[1m[36m (4.0ms)[0m [1mcommit transaction[0m
|
96
|
+
[1m[35m (0.4ms)[0m select sqlite_version(*)
|
97
|
+
[1m[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
98
|
+
[1m[35m (0.0ms)[0m PRAGMA index_list("boos")
|
99
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_list("foos")[0m
|
100
|
+
[1m[35m (0.0ms)[0m PRAGMA index_list("papers")
|
101
|
+
[1m[36m (0.1ms)[0m [1mPRAGMA index_list("users")[0m
|
102
|
+
[1m[35m (0.1ms)[0m PRAGMA index_info('index_users_on_authentication_token')
|
103
|
+
[1m[36m (0.1ms)[0m [1mPRAGMA index_info('index_users_on_unlock_token')[0m
|
104
|
+
[1m[35m (0.0ms)[0m PRAGMA index_info('index_users_on_confirmation_token')
|
105
|
+
[1m[36m (0.1ms)[0m [1mPRAGMA index_info('index_users_on_reset_password_token')[0m
|
106
|
+
[1m[35m (0.0ms)[0m PRAGMA index_info('index_users_on_email')
|
107
|
+
[1m[36m (0.1ms)[0m [1mselect sqlite_version(*)[0m
|
108
|
+
[1m[35m (14.9ms)[0m CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
|
109
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_list("schema_migrations")[0m
|
110
|
+
[1m[35m (4.1ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
111
|
+
[1m[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
112
|
+
Migrating to CreateFoos (20120219112425)
|
113
|
+
[1m[35m (0.0ms)[0m begin transaction
|
114
|
+
[1m[36m (0.4ms)[0m [1mCREATE TABLE "foos" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "body" text, "title" varchar(255), "random_number" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
115
|
+
[1m[35m (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ('20120219112425')
|
116
|
+
[1m[36m (7.1ms)[0m [1mcommit transaction[0m
|
117
|
+
Migrating to DeviseCreateUsers (20120527020350)
|
118
|
+
[1m[35m (0.0ms)[0m begin transaction
|
119
|
+
[1m[36m (0.4ms)[0m [1mCREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "email" varchar(255) DEFAULT '' NOT NULL, "encrypted_password" varchar(255) DEFAULT '' NOT NULL, "reset_password_token" varchar(255), "reset_password_sent_at" datetime, "remember_created_at" datetime, "sign_in_count" integer DEFAULT 0, "current_sign_in_at" datetime, "last_sign_in_at" datetime, "current_sign_in_ip" varchar(255), "last_sign_in_ip" varchar(255), "password_salt" varchar(255), "confirmation_token" varchar(255), "confirmed_at" datetime, "confirmation_sent_at" datetime, "unconfirmed_email" varchar(255), "failed_attempts" integer DEFAULT 0, "unlock_token" varchar(255), "locked_at" datetime, "authentication_token" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
120
|
+
[1m[35m (0.0ms)[0m PRAGMA index_list("users")
|
121
|
+
[1m[36m (0.3ms)[0m [1mCREATE UNIQUE INDEX "index_users_on_email" ON "users" ("email")[0m
|
122
|
+
[1m[35m (0.1ms)[0m PRAGMA index_list("users")
|
123
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_info('index_users_on_email')[0m
|
124
|
+
[1m[35m (0.2ms)[0m CREATE UNIQUE INDEX "index_users_on_reset_password_token" ON "users" ("reset_password_token")
|
125
|
+
[1m[36m (0.1ms)[0m [1mPRAGMA index_list("users")[0m
|
126
|
+
[1m[35m (0.1ms)[0m PRAGMA index_info('index_users_on_reset_password_token')
|
127
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_info('index_users_on_email')[0m
|
128
|
+
[1m[35m (0.2ms)[0m CREATE UNIQUE INDEX "index_users_on_confirmation_token" ON "users" ("confirmation_token")
|
129
|
+
[1m[36m (0.1ms)[0m [1mPRAGMA index_list("users")[0m
|
130
|
+
[1m[35m (0.1ms)[0m PRAGMA index_info('index_users_on_confirmation_token')
|
131
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_info('index_users_on_reset_password_token')[0m
|
132
|
+
[1m[35m (0.0ms)[0m PRAGMA index_info('index_users_on_email')
|
133
|
+
[1m[36m (0.2ms)[0m [1mCREATE UNIQUE INDEX "index_users_on_unlock_token" ON "users" ("unlock_token")[0m
|
134
|
+
[1m[35m (0.1ms)[0m PRAGMA index_list("users")
|
135
|
+
[1m[36m (0.1ms)[0m [1mPRAGMA index_info('index_users_on_unlock_token')[0m
|
136
|
+
[1m[35m (0.0ms)[0m PRAGMA index_info('index_users_on_confirmation_token')
|
137
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_info('index_users_on_reset_password_token')[0m
|
138
|
+
[1m[35m (0.0ms)[0m PRAGMA index_info('index_users_on_email')
|
139
|
+
[1m[36m (0.2ms)[0m [1mCREATE UNIQUE INDEX "index_users_on_authentication_token" ON "users" ("authentication_token")[0m
|
140
|
+
[1m[35m (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ('20120527020350')
|
141
|
+
[1m[36m (3.8ms)[0m [1mcommit transaction[0m
|
142
|
+
Migrating to CreatePapers (20120527023350)
|
143
|
+
[1m[35m (0.0ms)[0m begin transaction
|
144
|
+
[1m[36m (0.2ms)[0m [1mCREATE TABLE "papers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
145
|
+
[1m[35m (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ('20120527023350')
|
146
|
+
[1m[36m (3.8ms)[0m [1mcommit transaction[0m
|
147
|
+
Migrating to AddAttachmentAvatarToPapers (20120527023417)
|
148
|
+
[1m[35m (0.0ms)[0m begin transaction
|
149
|
+
[1m[36m (0.3ms)[0m [1mALTER TABLE "papers" ADD "avatar_file_name" varchar(255)[0m
|
150
|
+
[1m[35m (0.1ms)[0m ALTER TABLE "papers" ADD "avatar_content_type" varchar(255)
|
151
|
+
[1m[36m (0.2ms)[0m [1mALTER TABLE "papers" ADD "avatar_file_size" integer[0m
|
152
|
+
[1m[35m (0.2ms)[0m ALTER TABLE "papers" ADD "avatar_updated_at" datetime
|
153
|
+
[1m[36m (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ('20120527023417')[0m
|
154
|
+
[1m[35m (3.2ms)[0m commit transaction
|
155
|
+
Migrating to CreateBoos (20120527025142)
|
156
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
157
|
+
[1m[35m (0.3ms)[0m CREATE TABLE "boos" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "foo_id" integer, "poly_id" integer, "poly_type" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
158
|
+
[1m[36m (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ('20120527025142')[0m
|
159
|
+
[1m[35m (3.7ms)[0m commit transaction
|
160
|
+
[1m[36m (0.4ms)[0m [1mselect sqlite_version(*)[0m
|
161
|
+
[1m[35m (0.1ms)[0m SELECT "schema_migrations"."version" FROM "schema_migrations"
|
162
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_list("boos")[0m
|
163
|
+
[1m[35m (0.0ms)[0m PRAGMA index_list("foos")
|
164
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_list("papers")[0m
|
165
|
+
[1m[35m (0.0ms)[0m PRAGMA index_list("users")
|
166
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_info('index_users_on_authentication_token')[0m
|
167
|
+
[1m[35m (0.0ms)[0m PRAGMA index_info('index_users_on_unlock_token')
|
168
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_info('index_users_on_confirmation_token')[0m
|
169
|
+
[1m[35m (0.0ms)[0m PRAGMA index_info('index_users_on_reset_password_token')
|
170
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_info('index_users_on_email')[0m
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: annotator
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.8
|
4
|
+
version: 0.0.8.1
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -14,7 +14,7 @@ date: 2012-07-09 00:00:00.000000000 Z
|
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: activerecord
|
17
|
-
requirement:
|
17
|
+
requirement: !ruby/object:Gem::Requirement
|
18
18
|
none: false
|
19
19
|
requirements:
|
20
20
|
- - ~>
|
@@ -22,10 +22,15 @@ dependencies:
|
|
22
22
|
version: '3.0'
|
23
23
|
type: :runtime
|
24
24
|
prerelease: false
|
25
|
-
version_requirements:
|
25
|
+
version_requirements: !ruby/object:Gem::Requirement
|
26
|
+
none: false
|
27
|
+
requirements:
|
28
|
+
- - ~>
|
29
|
+
- !ruby/object:Gem::Version
|
30
|
+
version: '3.0'
|
26
31
|
- !ruby/object:Gem::Dependency
|
27
32
|
name: sqlite3
|
28
|
-
requirement:
|
33
|
+
requirement: !ruby/object:Gem::Requirement
|
29
34
|
none: false
|
30
35
|
requirements:
|
31
36
|
- - ! '>='
|
@@ -33,10 +38,15 @@ dependencies:
|
|
33
38
|
version: '0'
|
34
39
|
type: :development
|
35
40
|
prerelease: false
|
36
|
-
version_requirements:
|
41
|
+
version_requirements: !ruby/object:Gem::Requirement
|
42
|
+
none: false
|
43
|
+
requirements:
|
44
|
+
- - ! '>='
|
45
|
+
- !ruby/object:Gem::Version
|
46
|
+
version: '0'
|
37
47
|
- !ruby/object:Gem::Dependency
|
38
48
|
name: rails
|
39
|
-
requirement:
|
49
|
+
requirement: !ruby/object:Gem::Requirement
|
40
50
|
none: false
|
41
51
|
requirements:
|
42
52
|
- - ~>
|
@@ -44,7 +54,12 @@ dependencies:
|
|
44
54
|
version: '3.0'
|
45
55
|
type: :development
|
46
56
|
prerelease: false
|
47
|
-
version_requirements:
|
57
|
+
version_requirements: !ruby/object:Gem::Requirement
|
58
|
+
none: false
|
59
|
+
requirements:
|
60
|
+
- - ~>
|
61
|
+
- !ruby/object:Gem::Version
|
62
|
+
version: '3.0'
|
48
63
|
description: ''
|
49
64
|
email:
|
50
65
|
- kacper.ciesla@tech-angels.com
|
@@ -52,90 +67,93 @@ executables: []
|
|
52
67
|
extensions: []
|
53
68
|
extra_rdoc_files: []
|
54
69
|
files:
|
70
|
+
- lib/tasks/annotator_tasks.rake
|
55
71
|
- lib/annotator.rb
|
56
|
-
- lib/annotator/
|
57
|
-
- lib/annotator/attributes.rb
|
58
|
-
- lib/annotator/version.rb
|
59
|
-
- lib/annotator/initial_description.rb
|
60
|
-
- lib/annotator/initial_description/rails.rb
|
61
|
-
- lib/annotator/initial_description/belongs_to.rb
|
72
|
+
- lib/annotator/railtie.rb
|
62
73
|
- lib/annotator/initial_description/devise.rb
|
63
|
-
- lib/annotator/initial_description/
|
74
|
+
- lib/annotator/initial_description/rails.rb
|
64
75
|
- lib/annotator/initial_description/base.rb
|
65
|
-
- lib/annotator/
|
66
|
-
- lib/
|
76
|
+
- lib/annotator/initial_description/paperclip.rb
|
77
|
+
- lib/annotator/initial_description/belongs_to.rb
|
78
|
+
- lib/annotator/initial_description.rb
|
79
|
+
- lib/annotator/version.rb
|
80
|
+
- lib/annotator/attributes.rb
|
81
|
+
- lib/annotator/model.rb
|
67
82
|
- MIT-LICENSE
|
68
83
|
- Rakefile
|
69
84
|
- README.rdoc
|
70
|
-
- test/
|
71
|
-
- test/
|
72
|
-
- test/
|
73
|
-
- test/
|
74
|
-
- test/
|
75
|
-
- test/
|
76
|
-
- test/
|
77
|
-
- test/
|
78
|
-
- test/
|
79
|
-
- test/
|
80
|
-
- test/
|
81
|
-
- test/
|
82
|
-
- test/
|
83
|
-
- test/
|
84
|
-
- test/
|
85
|
+
- test/assets/foo_require_first.rb
|
86
|
+
- test/assets/user_annotated.rb
|
87
|
+
- test/assets/moo_hoo_annotated.rb
|
88
|
+
- test/assets/boo_encoding_annotated.rb
|
89
|
+
- test/assets/boo_encoding.rb
|
90
|
+
- test/assets/roo_initially_annotated.rb
|
91
|
+
- test/assets/foo_annotated.rb
|
92
|
+
- test/assets/foo_annotated_with_comments.rb
|
93
|
+
- test/assets/boo_annotated.rb
|
94
|
+
- test/assets/foo_annotated_bad_column_nodoc.rb
|
95
|
+
- test/assets/paper_annotated.rb
|
96
|
+
- test/assets/foo_annotated_bad_column.rb
|
97
|
+
- test/assets/foo_annotated_column_fixed.rb
|
98
|
+
- test/assets/roo_reannotated.rb
|
99
|
+
- test/annotator_test.rb
|
100
|
+
- test/test_helper.rb
|
101
|
+
- test/dummy/app/helpers/application_helper.rb
|
102
|
+
- test/dummy/app/assets/stylesheets/application.css
|
103
|
+
- test/dummy/app/assets/javascripts/application.js
|
104
|
+
- test/dummy/app/controllers/application_controller.rb
|
105
|
+
- test/dummy/app/models/user.rb
|
106
|
+
- test/dummy/app/models/nomodel.rb
|
107
|
+
- test/dummy/app/models/foo.rb
|
108
|
+
- test/dummy/app/models/paper.rb
|
109
|
+
- test/dummy/app/models/moo/hoo.rb
|
110
|
+
- test/dummy/app/models/roo.rb
|
111
|
+
- test/dummy/app/models/boo.rb
|
112
|
+
- test/dummy/app/views/layouts/application.html.erb
|
113
|
+
- test/dummy/config/routes.rb
|
114
|
+
- test/dummy/config/environment.rb
|
85
115
|
- test/dummy/config/environments/production.rb
|
86
|
-
- test/dummy/config/environments/test.rb
|
87
116
|
- test/dummy/config/environments/development.rb
|
117
|
+
- test/dummy/config/environments/test.rb
|
118
|
+
- test/dummy/config/application.rb
|
119
|
+
- test/dummy/config/locales/en.yml
|
88
120
|
- test/dummy/config/database.yml
|
89
121
|
- test/dummy/config/boot.rb
|
90
|
-
- test/dummy/config/
|
122
|
+
- test/dummy/config/initializers/wrap_parameters.rb
|
123
|
+
- test/dummy/config/initializers/mime_types.rb
|
91
124
|
- test/dummy/config/initializers/session_store.rb
|
92
125
|
- test/dummy/config/initializers/backtrace_silencers.rb
|
93
|
-
- test/dummy/config/initializers/mime_types.rb
|
94
|
-
- test/dummy/config/initializers/inflections.rb
|
95
126
|
- test/dummy/config/initializers/secret_token.rb
|
96
|
-
- test/dummy/config/initializers/
|
97
|
-
- test/dummy/
|
98
|
-
- test/dummy/
|
99
|
-
- test/dummy/
|
100
|
-
- test/dummy/
|
101
|
-
- test/dummy/
|
127
|
+
- test/dummy/config/initializers/inflections.rb
|
128
|
+
- test/dummy/script/rails
|
129
|
+
- test/dummy/log/development.log
|
130
|
+
- test/dummy/log/test.log
|
131
|
+
- test/dummy/config.ru
|
132
|
+
- test/dummy/Rakefile
|
133
|
+
- test/dummy/db/development.sqlite3
|
102
134
|
- test/dummy/db/migrate/20120527023350_create_papers.rb
|
135
|
+
- test/dummy/db/migrate/20120527020350_devise_create_users.rb
|
103
136
|
- test/dummy/db/migrate/20120527023417_add_attachment_avatar_to_papers.rb
|
137
|
+
- test/dummy/db/migrate/20120708043543_create_roos.rb
|
138
|
+
- test/dummy/db/migrate/20120219112425_create_foos.rb
|
139
|
+
- test/dummy/db/migrate/20120527025142_create_boos.rb
|
104
140
|
- test/dummy/db/schema.rb
|
141
|
+
- test/dummy/test/fixtures/boos.yml
|
142
|
+
- test/dummy/test/fixtures/papers.yml
|
143
|
+
- test/dummy/test/fixtures/users.yml
|
144
|
+
- test/dummy/test/fixtures/foos.yml
|
145
|
+
- test/dummy/test/fixtures/roos.yml
|
146
|
+
- test/dummy/test/unit/paper_test.rb
|
147
|
+
- test/dummy/test/unit/boo_test.rb
|
148
|
+
- test/dummy/test/unit/user_test.rb
|
149
|
+
- test/dummy/test/unit/roo_test.rb
|
150
|
+
- test/dummy/test/unit/foo_test.rb
|
105
151
|
- test/dummy/README.rdoc
|
106
|
-
- test/dummy/
|
107
|
-
- test/dummy/app/views/layouts/application.html.erb
|
108
|
-
- test/dummy/app/models/roo.rb
|
109
|
-
- test/dummy/app/models/boo.rb
|
110
|
-
- test/dummy/app/models/nomodel.rb
|
111
|
-
- test/dummy/app/models/foo.rb
|
112
|
-
- test/dummy/app/models/user.rb
|
113
|
-
- test/dummy/app/models/paper.rb
|
114
|
-
- test/dummy/app/models/moo/hoo.rb
|
115
|
-
- test/dummy/app/assets/javascripts/application.js
|
116
|
-
- test/dummy/app/assets/stylesheets/application.css
|
117
|
-
- test/dummy/app/controllers/application_controller.rb
|
118
|
-
- test/dummy/config.ru
|
152
|
+
- test/dummy/public/favicon.ico
|
119
153
|
- test/dummy/public/404.html
|
120
154
|
- test/dummy/public/500.html
|
121
|
-
- test/dummy/public/favicon.ico
|
122
155
|
- test/dummy/public/422.html
|
123
|
-
- test/
|
124
|
-
- test/assets/roo_reannotated.rb
|
125
|
-
- test/assets/user_annotated.rb
|
126
|
-
- test/assets/foo_annotated_column_fixed.rb
|
127
|
-
- test/assets/foo_annotated_with_comments.rb
|
128
|
-
- test/assets/boo_encoding.rb
|
129
|
-
- test/assets/roo_initially_annotated.rb
|
130
|
-
- test/assets/paper_annotated.rb
|
131
|
-
- test/assets/foo_require_first.rb
|
132
|
-
- test/assets/boo_encoding_annotated.rb
|
133
|
-
- test/assets/boo_annotated.rb
|
134
|
-
- test/assets/foo_annotated_bad_column.rb
|
135
|
-
- test/assets/moo_hoo_annotated.rb
|
136
|
-
- test/assets/foo_annotated.rb
|
137
|
-
- test/assets/foo_annotated_bad_column_nodoc.rb
|
138
|
-
- test/test_helper.rb
|
156
|
+
- test/support/test_app.rb
|
139
157
|
homepage: https://github.com/tech-angels/annotator
|
140
158
|
licenses: []
|
141
159
|
post_install_message:
|
@@ -156,77 +174,80 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
156
174
|
version: '0'
|
157
175
|
requirements: []
|
158
176
|
rubyforge_project:
|
159
|
-
rubygems_version: 1.8.
|
177
|
+
rubygems_version: 1.8.23
|
160
178
|
signing_key:
|
161
179
|
specification_version: 3
|
162
180
|
summary: Annotate your models and keep your comments about fields.
|
163
181
|
test_files:
|
164
|
-
- test/
|
165
|
-
- test/
|
166
|
-
- test/
|
167
|
-
- test/
|
168
|
-
- test/
|
169
|
-
- test/
|
170
|
-
- test/
|
171
|
-
- test/
|
172
|
-
- test/
|
173
|
-
- test/
|
174
|
-
- test/
|
175
|
-
- test/
|
176
|
-
- test/
|
177
|
-
- test/
|
178
|
-
- test/
|
182
|
+
- test/assets/foo_require_first.rb
|
183
|
+
- test/assets/user_annotated.rb
|
184
|
+
- test/assets/moo_hoo_annotated.rb
|
185
|
+
- test/assets/boo_encoding_annotated.rb
|
186
|
+
- test/assets/boo_encoding.rb
|
187
|
+
- test/assets/roo_initially_annotated.rb
|
188
|
+
- test/assets/foo_annotated.rb
|
189
|
+
- test/assets/foo_annotated_with_comments.rb
|
190
|
+
- test/assets/boo_annotated.rb
|
191
|
+
- test/assets/foo_annotated_bad_column_nodoc.rb
|
192
|
+
- test/assets/paper_annotated.rb
|
193
|
+
- test/assets/foo_annotated_bad_column.rb
|
194
|
+
- test/assets/foo_annotated_column_fixed.rb
|
195
|
+
- test/assets/roo_reannotated.rb
|
196
|
+
- test/annotator_test.rb
|
197
|
+
- test/test_helper.rb
|
198
|
+
- test/dummy/app/helpers/application_helper.rb
|
199
|
+
- test/dummy/app/assets/stylesheets/application.css
|
200
|
+
- test/dummy/app/assets/javascripts/application.js
|
201
|
+
- test/dummy/app/controllers/application_controller.rb
|
202
|
+
- test/dummy/app/models/user.rb
|
203
|
+
- test/dummy/app/models/nomodel.rb
|
204
|
+
- test/dummy/app/models/foo.rb
|
205
|
+
- test/dummy/app/models/paper.rb
|
206
|
+
- test/dummy/app/models/moo/hoo.rb
|
207
|
+
- test/dummy/app/models/roo.rb
|
208
|
+
- test/dummy/app/models/boo.rb
|
209
|
+
- test/dummy/app/views/layouts/application.html.erb
|
210
|
+
- test/dummy/config/routes.rb
|
211
|
+
- test/dummy/config/environment.rb
|
179
212
|
- test/dummy/config/environments/production.rb
|
180
|
-
- test/dummy/config/environments/test.rb
|
181
213
|
- test/dummy/config/environments/development.rb
|
214
|
+
- test/dummy/config/environments/test.rb
|
215
|
+
- test/dummy/config/application.rb
|
216
|
+
- test/dummy/config/locales/en.yml
|
182
217
|
- test/dummy/config/database.yml
|
183
218
|
- test/dummy/config/boot.rb
|
184
|
-
- test/dummy/config/
|
219
|
+
- test/dummy/config/initializers/wrap_parameters.rb
|
220
|
+
- test/dummy/config/initializers/mime_types.rb
|
185
221
|
- test/dummy/config/initializers/session_store.rb
|
186
222
|
- test/dummy/config/initializers/backtrace_silencers.rb
|
187
|
-
- test/dummy/config/initializers/mime_types.rb
|
188
|
-
- test/dummy/config/initializers/inflections.rb
|
189
223
|
- test/dummy/config/initializers/secret_token.rb
|
190
|
-
- test/dummy/config/initializers/
|
191
|
-
- test/dummy/
|
192
|
-
- test/dummy/
|
193
|
-
- test/dummy/
|
194
|
-
- test/dummy/
|
195
|
-
- test/dummy/
|
224
|
+
- test/dummy/config/initializers/inflections.rb
|
225
|
+
- test/dummy/script/rails
|
226
|
+
- test/dummy/log/development.log
|
227
|
+
- test/dummy/log/test.log
|
228
|
+
- test/dummy/config.ru
|
229
|
+
- test/dummy/Rakefile
|
230
|
+
- test/dummy/db/development.sqlite3
|
196
231
|
- test/dummy/db/migrate/20120527023350_create_papers.rb
|
232
|
+
- test/dummy/db/migrate/20120527020350_devise_create_users.rb
|
197
233
|
- test/dummy/db/migrate/20120527023417_add_attachment_avatar_to_papers.rb
|
234
|
+
- test/dummy/db/migrate/20120708043543_create_roos.rb
|
235
|
+
- test/dummy/db/migrate/20120219112425_create_foos.rb
|
236
|
+
- test/dummy/db/migrate/20120527025142_create_boos.rb
|
198
237
|
- test/dummy/db/schema.rb
|
238
|
+
- test/dummy/test/fixtures/boos.yml
|
239
|
+
- test/dummy/test/fixtures/papers.yml
|
240
|
+
- test/dummy/test/fixtures/users.yml
|
241
|
+
- test/dummy/test/fixtures/foos.yml
|
242
|
+
- test/dummy/test/fixtures/roos.yml
|
243
|
+
- test/dummy/test/unit/paper_test.rb
|
244
|
+
- test/dummy/test/unit/boo_test.rb
|
245
|
+
- test/dummy/test/unit/user_test.rb
|
246
|
+
- test/dummy/test/unit/roo_test.rb
|
247
|
+
- test/dummy/test/unit/foo_test.rb
|
199
248
|
- test/dummy/README.rdoc
|
200
|
-
- test/dummy/
|
201
|
-
- test/dummy/app/views/layouts/application.html.erb
|
202
|
-
- test/dummy/app/models/roo.rb
|
203
|
-
- test/dummy/app/models/boo.rb
|
204
|
-
- test/dummy/app/models/nomodel.rb
|
205
|
-
- test/dummy/app/models/foo.rb
|
206
|
-
- test/dummy/app/models/user.rb
|
207
|
-
- test/dummy/app/models/paper.rb
|
208
|
-
- test/dummy/app/models/moo/hoo.rb
|
209
|
-
- test/dummy/app/assets/javascripts/application.js
|
210
|
-
- test/dummy/app/assets/stylesheets/application.css
|
211
|
-
- test/dummy/app/controllers/application_controller.rb
|
212
|
-
- test/dummy/config.ru
|
249
|
+
- test/dummy/public/favicon.ico
|
213
250
|
- test/dummy/public/404.html
|
214
251
|
- test/dummy/public/500.html
|
215
|
-
- test/dummy/public/favicon.ico
|
216
252
|
- test/dummy/public/422.html
|
217
|
-
- test/
|
218
|
-
- test/assets/roo_reannotated.rb
|
219
|
-
- test/assets/user_annotated.rb
|
220
|
-
- test/assets/foo_annotated_column_fixed.rb
|
221
|
-
- test/assets/foo_annotated_with_comments.rb
|
222
|
-
- test/assets/boo_encoding.rb
|
223
|
-
- test/assets/roo_initially_annotated.rb
|
224
|
-
- test/assets/paper_annotated.rb
|
225
|
-
- test/assets/foo_require_first.rb
|
226
|
-
- test/assets/boo_encoding_annotated.rb
|
227
|
-
- test/assets/boo_annotated.rb
|
228
|
-
- test/assets/foo_annotated_bad_column.rb
|
229
|
-
- test/assets/moo_hoo_annotated.rb
|
230
|
-
- test/assets/foo_annotated.rb
|
231
|
-
- test/assets/foo_annotated_bad_column_nodoc.rb
|
232
|
-
- test/test_helper.rb
|
253
|
+
- test/support/test_app.rb
|