protokoll 0.3.0 → 0.3.1
Sign up to get free protection for your applications and to get access to all the features.
- data/README.rdoc +2 -2
- data/Rakefile +1 -1
- data/lib/protokoll/version.rb +1 -1
- data/lib/protokoll.rb +1 -1
- data/test/dummy/log/development.log +37 -0
- data/test/dummy/log/test.log +19125 -0
- metadata +7 -7
data/README.rdoc
CHANGED
@@ -1,5 +1,4 @@
|
|
1
|
-
= Protokoll
|
2
|
-
|
1
|
+
= Protokoll {<img src="http://travis-ci.org/celsodantas/protokoll.png"/>}[http://travis-ci.org/celsodantas/protokoll]
|
3
2
|
Protokoll is a simple Rails 3 pluggin to simplify the management of a custom autoincrement value for a model.
|
4
3
|
|
5
4
|
If you want to create an autoincrement information on the database, just like those callcenter registration number (2011000001, 2011000002, 20110000003 and on) this gem is for you! If you want to create just an custom autoincrement value, this gem is for you too! =)
|
@@ -72,4 +71,5 @@ Ex:
|
|
72
71
|
This is my _first_ public gem, so if you have any questions os sugestions, feel free to contact me (use github msg system for that). It will be awesome to hear feedback to improve the code.
|
73
72
|
|
74
73
|
|
74
|
+
|
75
75
|
This piece of software is free to use.
|
data/Rakefile
CHANGED
data/lib/protokoll/version.rb
CHANGED
data/lib/protokoll.rb
CHANGED
@@ -195,3 +195,40 @@ Migrating to CreateCalls (20110928013630)
|
|
195
195
|
[1m[35m (9.8ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20110928013630')
|
196
196
|
[1m[36m (15.2ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20110923024431')[0m
|
197
197
|
[1m[35m (12.0ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20110923101536')
|
198
|
+
[1m[36m (1.0ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
199
|
+
Migrating to CreateProtocols (20110923024431)
|
200
|
+
Migrating to CreatePrincipals (20110923101536)
|
201
|
+
Migrating to CreateCalls (20110928013630)
|
202
|
+
[1m[35m (25.7ms)[0m select sqlite_version(*)
|
203
|
+
[1m[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
204
|
+
[1m[35m (0.0ms)[0m PRAGMA index_list("calls")
|
205
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_list("principals")[0m
|
206
|
+
[1m[35m (0.0ms)[0m PRAGMA index_list("protocols")
|
207
|
+
[1m[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
208
|
+
Migrating to CreateProtocols (20110923024431)
|
209
|
+
Migrating to CreatePrincipals (20110923101536)
|
210
|
+
Migrating to CreateCalls (20110928013630)
|
211
|
+
[1m[35m (0.3ms)[0m select sqlite_version(*)
|
212
|
+
[1m[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
213
|
+
[1m[35m (0.0ms)[0m PRAGMA index_list("calls")
|
214
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_list("principals")[0m
|
215
|
+
[1m[35m (0.0ms)[0m PRAGMA index_list("protocols")
|
216
|
+
[1m[36m (0.1ms)[0m [1mselect sqlite_version(*)[0m
|
217
|
+
[1m[35m (44.9ms)[0m CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
|
218
|
+
[1m[36m (0.1ms)[0m [1mPRAGMA index_list("schema_migrations")[0m
|
219
|
+
[1m[35m (4.3ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
220
|
+
[1m[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
221
|
+
Migrating to CreateProtocols (20110923024431)
|
222
|
+
[1m[35m (0.5ms)[0m CREATE TABLE "protocols" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "number" varchar(255), "created_at" datetime, "updated_at" datetime)
|
223
|
+
[1m[36m (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ('20110923024431')[0m
|
224
|
+
Migrating to CreatePrincipals (20110923101536)
|
225
|
+
[1m[35m (0.4ms)[0m CREATE TABLE "principals" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "protokoll_number" varchar(255), "created_at" datetime, "updated_at" datetime)
|
226
|
+
[1m[36m (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ('20110923101536')[0m
|
227
|
+
Migrating to CreateCalls (20110928013630)
|
228
|
+
[1m[35m (0.4ms)[0m CREATE TABLE "calls" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "number" varchar(255), "created_at" datetime, "updated_at" datetime)
|
229
|
+
[1m[36m (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ('20110928013630')[0m
|
230
|
+
[1m[35m (0.3ms)[0m select sqlite_version(*)
|
231
|
+
[1m[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
232
|
+
[1m[35m (0.0ms)[0m PRAGMA index_list("calls")
|
233
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_list("principals")[0m
|
234
|
+
[1m[35m (0.0ms)[0m PRAGMA index_list("protocols")
|