trust 0.5.0 → 0.5.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -70,7 +70,7 @@ module Trust
70
70
  # model :"customer/account"
71
71
  #
72
72
  def model(name = nil)
73
- @model = name if name
73
+ @model = name.to_s if name
74
74
  @model
75
75
  end
76
76
 
data/lib/trust/version.rb CHANGED
@@ -23,5 +23,5 @@
23
23
  # WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
24
24
 
25
25
  module Trust
26
- VERSION = "0.5.0"
26
+ VERSION = "0.5.1"
27
27
  end
Binary file
Binary file
@@ -0,0 +1,37 @@
1
+  (0.2ms) select sqlite_version(*)
2
+  (3.2ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
3
+  (0.0ms) PRAGMA index_list("schema_migrations")
4
+  (2.8ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
5
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
6
+ Migrating to CreateAccounts (20120522115011)
7
+  (0.0ms) begin transaction
8
+  (0.5ms) CREATE TABLE "accounts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "type" varchar(255), "client_id" integer, "created_by_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
9
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20120522115011')
10
+  (3.3ms) commit transaction
11
+ Migrating to CreateUsers (20120522130322)
12
+  (0.0ms) begin transaction
13
+  (0.4ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
14
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20120522130322')
15
+  (3.1ms) commit transaction
16
+ Migrating to CreateClients (20120523144144)
17
+  (0.0ms) begin transaction
18
+  (0.4ms) CREATE TABLE "clients" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "accountant_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
19
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20120523144144')
20
+  (2.8ms) commit transaction
21
+  (0.3ms) select sqlite_version(*)
22
+  (0.2ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
23
+  (0.0ms) PRAGMA index_list("accounts")
24
+  (0.0ms) PRAGMA index_list("clients")
25
+  (0.0ms) PRAGMA index_list("users")
26
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
27
+  (0.3ms) select sqlite_version(*)
28
+  (2.4ms) CREATE TABLE "accounts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "type" varchar(255), "client_id" integer, "created_by_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
29
+  (1.9ms) CREATE TABLE "clients" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "accountant_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
30
+  (1.8ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
31
+  (1.9ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
32
+  (0.0ms) PRAGMA index_list("schema_migrations")
33
+  (1.7ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
34
+  (0.1ms) SELECT version FROM "schema_migrations"
35
+  (1.9ms) INSERT INTO "schema_migrations" (version) VALUES ('20120523144144')
36
+  (1.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20120522115011')
37
+  (1.9ms) INSERT INTO "schema_migrations" (version) VALUES ('20120522130322')