uuid_ids 0.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/MIT-LICENSE +20 -0
- data/README.md +29 -0
- data/Rakefile +28 -0
- data/lib/tasks/uuid_ids_tasks.rake +4 -0
- data/lib/uuid_ids.rb +4 -0
- data/lib/uuid_ids/model_helper.rb +25 -0
- data/lib/uuid_ids/version.rb +3 -0
- data/spec/dummy/README.rdoc +261 -0
- data/spec/dummy/Rakefile +7 -0
- data/spec/dummy/app/assets/javascripts/application.js +15 -0
- data/spec/dummy/app/assets/stylesheets/application.css +13 -0
- data/spec/dummy/app/controllers/application_controller.rb +3 -0
- data/spec/dummy/app/helpers/application_helper.rb +2 -0
- data/spec/dummy/app/models/thing.rb +6 -0
- data/spec/dummy/app/views/layouts/application.html.erb +14 -0
- data/spec/dummy/config.ru +4 -0
- data/spec/dummy/config/application.rb +65 -0
- data/spec/dummy/config/boot.rb +10 -0
- data/spec/dummy/config/database.yml +25 -0
- data/spec/dummy/config/environment.rb +5 -0
- data/spec/dummy/config/environments/development.rb +37 -0
- data/spec/dummy/config/environments/production.rb +67 -0
- data/spec/dummy/config/environments/test.rb +37 -0
- data/spec/dummy/config/initializers/backtrace_silencers.rb +7 -0
- data/spec/dummy/config/initializers/inflections.rb +15 -0
- data/spec/dummy/config/initializers/mime_types.rb +5 -0
- data/spec/dummy/config/initializers/secret_token.rb +7 -0
- data/spec/dummy/config/initializers/session_store.rb +8 -0
- data/spec/dummy/config/initializers/wrap_parameters.rb +14 -0
- data/spec/dummy/config/locales/en.yml +5 -0
- data/spec/dummy/config/routes.rb +58 -0
- data/spec/dummy/db/development.sqlite3 +0 -0
- data/spec/dummy/db/migrate/20130510232457_create_things.rb +9 -0
- data/spec/dummy/db/schema.rb +24 -0
- data/spec/dummy/db/test.sqlite3 +0 -0
- data/spec/dummy/log/development.log +25 -0
- data/spec/dummy/log/test.log +256 -0
- data/spec/dummy/public/404.html +26 -0
- data/spec/dummy/public/422.html +26 -0
- data/spec/dummy/public/500.html +25 -0
- data/spec/dummy/public/favicon.ico +0 -0
- data/spec/dummy/script/rails +6 -0
- data/spec/models/thing_spec.rb +24 -0
- data/spec/spec_helper.rb +39 -0
- metadata +196 -0
|
@@ -0,0 +1,256 @@
|
|
|
1
|
+
Connecting to database specified by database.yml
|
|
2
|
+
Connecting to database specified by database.yml
|
|
3
|
+
Connecting to database specified by database.yml
|
|
4
|
+
Connecting to database specified by database.yml
|
|
5
|
+
Connecting to database specified by database.yml
|
|
6
|
+
[1m[36m (0.3ms)[0m [1mbegin transaction[0m
|
|
7
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
|
8
|
+
Connecting to database specified by database.yml
|
|
9
|
+
[1m[36m (0.3ms)[0m [1mbegin transaction[0m
|
|
10
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
|
11
|
+
Connecting to database specified by database.yml
|
|
12
|
+
[1m[36m (0.1ms)[0m [1mselect sqlite_version(*)[0m
|
|
13
|
+
[1m[35m (1.0ms)[0m CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
|
|
14
|
+
[1m[36m (0.8ms)[0m [1mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
|
|
15
|
+
[1m[35m (0.9ms)[0m SELECT "schema_migrations"."version" FROM "schema_migrations"
|
|
16
|
+
Migrating to CreateThings (20130510232457)
|
|
17
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
|
18
|
+
[1m[35m (0.2ms)[0m CREATE TABLE "things" ("id" blob, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
|
19
|
+
[1m[36m (0.2ms)[0m [1mCREATE UNIQUE INDEX "index_things_on_id" ON "things" ("id")[0m
|
|
20
|
+
[1m[35m (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ('20130510232457')
|
|
21
|
+
[1m[36m (0.6ms)[0m [1mcommit transaction[0m
|
|
22
|
+
[1m[35m (0.1ms)[0m SELECT "schema_migrations"."version" FROM "schema_migrations"
|
|
23
|
+
Connecting to database specified by database.yml
|
|
24
|
+
[1m[36m (0.3ms)[0m [1mbegin transaction[0m
|
|
25
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
26
|
+
[1m[36m (0.0ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
|
27
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
|
28
|
+
Connecting to database specified by database.yml
|
|
29
|
+
[1m[36m (0.3ms)[0m [1mbegin transaction[0m
|
|
30
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
31
|
+
[1m[36m (0.0ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
|
32
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
|
33
|
+
Connecting to database specified by database.yml
|
|
34
|
+
[1m[36m (0.3ms)[0m [1mbegin transaction[0m
|
|
35
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
36
|
+
[1m[36m (0.9ms)[0m [1mSELECT COUNT(*) FROM "things" WHERE "things"."id" = x'66356635343633612d373766392d346130612d623038362d303766306464306564636338'[0m
|
|
37
|
+
[1m[35mSQL (3.0ms)[0m INSERT INTO "things" ("created_at", "id", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 10 May 2013 23:35:04 UTC +00:00], ["id", "f5f5463a-77f9-4a0a-b086-07f0dd0edcc8"], ["updated_at", Fri, 10 May 2013 23:35:04 UTC +00:00]]
|
|
38
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
39
|
+
[1m[35m (4.4ms)[0m rollback transaction
|
|
40
|
+
Connecting to database specified by database.yml
|
|
41
|
+
[1m[36m (0.3ms)[0m [1mbegin transaction[0m
|
|
42
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
43
|
+
[1m[36m (0.8ms)[0m [1mSELECT COUNT(*) FROM "things" WHERE "things"."id" = x'66366364336263642d613331382d343134382d623234612d363332313337636164343537'[0m
|
|
44
|
+
[1m[35mSQL (2.7ms)[0m INSERT INTO "things" ("created_at", "id", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 10 May 2013 23:36:11 UTC +00:00], ["id", "f6cd3bcd-a318-4148-b24a-632137cad457"], ["updated_at", Fri, 10 May 2013 23:36:11 UTC +00:00]]
|
|
45
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
46
|
+
[1m[35m (4.3ms)[0m rollback transaction
|
|
47
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
|
48
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
49
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "things" WHERE "things"."id" = x'39366466366631302d393633312d343264352d386430642d303630356539326231323032'[0m
|
|
50
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "things" ("created_at", "id", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 10 May 2013 23:36:11 UTC +00:00], ["id", "96df6f10-9631-42d5-8d0d-0605e92b1202"], ["updated_at", Fri, 10 May 2013 23:36:11 UTC +00:00]]
|
|
51
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
52
|
+
[1m[35m (0.3ms)[0m rollback transaction
|
|
53
|
+
Connecting to database specified by database.yml
|
|
54
|
+
[1m[36m (0.3ms)[0m [1mbegin transaction[0m
|
|
55
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
56
|
+
[1m[36m (0.9ms)[0m [1mSELECT COUNT(*) FROM "things" WHERE "things"."id" = x'62306364353034612d336365662d343163652d623434332d666233613762336663373531'[0m
|
|
57
|
+
[1m[35mSQL (3.1ms)[0m INSERT INTO "things" ("created_at", "id", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 10 May 2013 23:36:22 UTC +00:00], ["id", "b0cd504a-3cef-41ce-b443-fb3a7b3fc751"], ["updated_at", Fri, 10 May 2013 23:36:22 UTC +00:00]]
|
|
58
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
59
|
+
[1m[35m (4.3ms)[0m rollback transaction
|
|
60
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
|
61
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
62
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "things" WHERE "things"."id" = x'37663762646265312d366535662d343237632d616565352d646433323536623632613366'[0m
|
|
63
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "things" ("created_at", "id", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 10 May 2013 23:36:22 UTC +00:00], ["id", "7f7bdbe1-6e5f-427c-aee5-dd3256b62a3f"], ["updated_at", Fri, 10 May 2013 23:36:22 UTC +00:00]]
|
|
64
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
65
|
+
[1m[35m (0.3ms)[0m rollback transaction
|
|
66
|
+
Connecting to database specified by database.yml
|
|
67
|
+
[1m[36m (0.3ms)[0m [1mbegin transaction[0m
|
|
68
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
69
|
+
[1m[36m (0.8ms)[0m [1mSELECT COUNT(*) FROM "things" WHERE "things"."id" = x'62343564643137392d363537312d343436612d396335392d313665386663646236666335'[0m
|
|
70
|
+
[1m[35mSQL (2.8ms)[0m INSERT INTO "things" ("created_at", "id", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 10 May 2013 23:45:46 UTC +00:00], ["id", "b45dd179-6571-446a-9c59-16e8fcdb6fc5"], ["updated_at", Fri, 10 May 2013 23:45:46 UTC +00:00]]
|
|
71
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
72
|
+
[1m[35m (0.4ms)[0m rollback transaction
|
|
73
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
|
74
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
75
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "things" WHERE "things"."id" = x'66323462383966322d633462632d343736642d623938652d383932626337376131346461'[0m
|
|
76
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "things" ("created_at", "id", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 10 May 2013 23:45:46 UTC +00:00], ["id", "f24b89f2-c4bc-476d-b98e-892bc77a14da"], ["updated_at", Fri, 10 May 2013 23:45:46 UTC +00:00]]
|
|
77
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
78
|
+
[1m[35m (0.3ms)[0m rollback transaction
|
|
79
|
+
Connecting to database specified by database.yml
|
|
80
|
+
[1m[36m (0.3ms)[0m [1mbegin transaction[0m
|
|
81
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
82
|
+
[1m[36m (0.0ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
|
83
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
|
84
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
|
85
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
86
|
+
[1m[36m (0.0ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
|
87
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
|
88
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
|
89
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
90
|
+
[1m[36m (0.0ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
|
91
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
|
92
|
+
Connecting to database specified by database.yml
|
|
93
|
+
[1m[36m (0.3ms)[0m [1mbegin transaction[0m
|
|
94
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
95
|
+
[1m[36m (1.1ms)[0m [1mSELECT COUNT(*) FROM "things" WHERE "things"."id" = x'31383031363465612d623963632d313165322d616262652d303030613237303230303432'[0m
|
|
96
|
+
[1m[35mSQL (3.3ms)[0m INSERT INTO "things" ("created_at", "id", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 10 May 2013 23:48:20 UTC +00:00], ["id", "180164ea-b9cc-11e2-abbe-000a27020042"], ["updated_at", Fri, 10 May 2013 23:48:20 UTC +00:00]]
|
|
97
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
98
|
+
[1m[35m (4.3ms)[0m rollback transaction
|
|
99
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
|
100
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
101
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "things" WHERE "things"."id" = x'31383034663563342d623963632d313165322d616262652d303030613237303230303432'[0m
|
|
102
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "things" ("created_at", "id", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 10 May 2013 23:48:20 UTC +00:00], ["id", "1804f5c4-b9cc-11e2-abbe-000a27020042"], ["updated_at", Fri, 10 May 2013 23:48:20 UTC +00:00]]
|
|
103
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
104
|
+
[1m[35m (0.4ms)[0m rollback transaction
|
|
105
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
|
106
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
107
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "things" WHERE "things"."id" = x'31383035383030632d623963632d313165322d616262652d303030613237303230303432'[0m
|
|
108
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "things" ("created_at", "id", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 10 May 2013 23:48:20 UTC +00:00], ["id", "1805800c-b9cc-11e2-abbe-000a27020042"], ["updated_at", Fri, 10 May 2013 23:48:20 UTC +00:00]]
|
|
109
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
110
|
+
[1m[35m (0.2ms)[0m rollback transaction
|
|
111
|
+
Connecting to database specified by database.yml
|
|
112
|
+
[1m[36m (0.4ms)[0m [1mbegin transaction[0m
|
|
113
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
114
|
+
[1m[36m (1.1ms)[0m [1mSELECT COUNT(*) FROM "things" WHERE "things"."id" = x'33313062303732612d623963632d313165322d616261612d303030613237303230303432'[0m
|
|
115
|
+
[1m[35mSQL (3.8ms)[0m INSERT INTO "things" ("created_at", "id", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 10 May 2013 23:49:02 UTC +00:00], ["id", "310b072a-b9cc-11e2-abaa-000a27020042"], ["updated_at", Fri, 10 May 2013 23:49:02 UTC +00:00]]
|
|
116
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
117
|
+
[1m[35m (4.3ms)[0m rollback transaction
|
|
118
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
|
119
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
120
|
+
[1m[36m (0.6ms)[0m [1mSELECT COUNT(*) FROM "things" WHERE "things"."id" = x'33313065613166302d623963632d313165322d616261612d303030613237303230303432'[0m
|
|
121
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "things" ("created_at", "id", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 10 May 2013 23:49:02 UTC +00:00], ["id", "310ea1f0-b9cc-11e2-abaa-000a27020042"], ["updated_at", Fri, 10 May 2013 23:49:02 UTC +00:00]]
|
|
122
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
123
|
+
[1m[35m (0.4ms)[0m rollback transaction
|
|
124
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
|
125
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
126
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "things" WHERE "things"."id" = x'33313066346334302d623963632d313165322d616261612d303030613237303230303432'[0m
|
|
127
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "things" ("created_at", "id", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 10 May 2013 23:49:02 UTC +00:00], ["id", "310f4c40-b9cc-11e2-abaa-000a27020042"], ["updated_at", Fri, 10 May 2013 23:49:02 UTC +00:00]]
|
|
128
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
129
|
+
[1m[35m (0.2ms)[0m rollback transaction
|
|
130
|
+
Connecting to database specified by database.yml
|
|
131
|
+
[1m[36m (0.3ms)[0m [1mbegin transaction[0m
|
|
132
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
133
|
+
[1m[36m (1.1ms)[0m [1mSELECT COUNT(*) FROM "things" WHERE "things"."id" = x'33666637346336322d623963632d313165322d393234382d303030613237303230303432'[0m
|
|
134
|
+
[1m[35mSQL (3.6ms)[0m INSERT INTO "things" ("created_at", "id", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 10 May 2013 23:49:27 UTC +00:00], ["id", "3ff74c62-b9cc-11e2-9248-000a27020042"], ["updated_at", Fri, 10 May 2013 23:49:27 UTC +00:00]]
|
|
135
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
136
|
+
[1m[35m (4.4ms)[0m rollback transaction
|
|
137
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
138
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
139
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "things" WHERE "things"."id" = x'33666661646366362d623963632d313165322d393234382d303030613237303230303432'[0m
|
|
140
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "things" ("created_at", "id", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 10 May 2013 23:49:27 UTC +00:00], ["id", "3ffadcf6-b9cc-11e2-9248-000a27020042"], ["updated_at", Fri, 10 May 2013 23:49:27 UTC +00:00]]
|
|
141
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
142
|
+
[1m[35m (0.3ms)[0m rollback transaction
|
|
143
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
144
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
145
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "things" ("created_at", "id", "updated_at") VALUES (?, ?, ?)[0m [["created_at", Fri, 10 May 2013 23:49:27 UTC +00:00], ["id", "3ffb9718-b9cc-11e2-9248-000a27020042"], ["updated_at", Fri, 10 May 2013 23:49:27 UTC +00:00]]
|
|
146
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
|
147
|
+
[1m[36m (0.3ms)[0m [1mrollback transaction[0m
|
|
148
|
+
Connecting to database specified by database.yml
|
|
149
|
+
[1m[36m (0.3ms)[0m [1mbegin transaction[0m
|
|
150
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
151
|
+
[1m[36m (1.1ms)[0m [1mSELECT COUNT(*) FROM "things" WHERE "things"."id" = x'34626135653134612d623963632d313165322d616264642d303030613237303230303432'[0m
|
|
152
|
+
[1m[35mSQL (3.6ms)[0m INSERT INTO "things" ("created_at", "id", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 10 May 2013 23:49:46 UTC +00:00], ["id", "4ba5e14a-b9cc-11e2-abdd-000a27020042"], ["updated_at", Fri, 10 May 2013 23:49:46 UTC +00:00]]
|
|
153
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
154
|
+
[1m[35m (4.4ms)[0m rollback transaction
|
|
155
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
156
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
157
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "things" WHERE "things"."id" = x'34626139383266612d623963632d313165322d616264642d303030613237303230303432'[0m
|
|
158
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "things" ("created_at", "id", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 10 May 2013 23:49:46 UTC +00:00], ["id", "4ba982fa-b9cc-11e2-abdd-000a27020042"], ["updated_at", Fri, 10 May 2013 23:49:46 UTC +00:00]]
|
|
159
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
160
|
+
[1m[35m (0.3ms)[0m rollback transaction
|
|
161
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
162
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
163
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "things" WHERE "things"."id" = x'34626161353631632d623963632d313165322d616264642d303030613237303230303432'[0m
|
|
164
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "things" ("created_at", "id", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 10 May 2013 23:49:46 UTC +00:00], ["id", "4baa561c-b9cc-11e2-abdd-000a27020042"], ["updated_at", Fri, 10 May 2013 23:49:46 UTC +00:00]]
|
|
165
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
166
|
+
[1m[35m (0.3ms)[0m rollback transaction
|
|
167
|
+
Connecting to database specified by database.yml
|
|
168
|
+
[1m[36m (0.3ms)[0m [1mbegin transaction[0m
|
|
169
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
170
|
+
[1m[36m (1.1ms)[0m [1mSELECT COUNT(*) FROM "things" WHERE "things"."id" = x'36306332386431632d623963632d313165322d616664322d303030613237303230303432'[0m
|
|
171
|
+
[1m[35mSQL (3.4ms)[0m INSERT INTO "things" ("created_at", "id", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 10 May 2013 23:50:22 UTC +00:00], ["id", "60c28d1c-b9cc-11e2-afd2-000a27020042"], ["updated_at", Fri, 10 May 2013 23:50:22 UTC +00:00]]
|
|
172
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
173
|
+
[1m[35m (4.4ms)[0m rollback transaction
|
|
174
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
|
175
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
176
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "things" WHERE "things"."id" = x'36306335663235342d623963632d313165322d616664322d303030613237303230303432'[0m
|
|
177
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "things" ("created_at", "id", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 10 May 2013 23:50:22 UTC +00:00], ["id", "60c5f254-b9cc-11e2-afd2-000a27020042"], ["updated_at", Fri, 10 May 2013 23:50:22 UTC +00:00]]
|
|
178
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
179
|
+
[1m[35m (0.2ms)[0m rollback transaction
|
|
180
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
|
181
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
182
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "things" ("created_at", "id", "updated_at") VALUES (?, ?, ?)[0m [["created_at", Fri, 10 May 2013 23:50:22 UTC +00:00], ["id", "60c673b4-b9cc-11e2-afd2-000a27020042"], ["updated_at", Fri, 10 May 2013 23:50:22 UTC +00:00]]
|
|
183
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
|
184
|
+
[1m[36m (0.2ms)[0m [1mrollback transaction[0m
|
|
185
|
+
Connecting to database specified by database.yml
|
|
186
|
+
[1m[36m (0.3ms)[0m [1mbegin transaction[0m
|
|
187
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
|
188
|
+
[1m[36mSQL (4.5ms)[0m [1mINSERT INTO "things" ("created_at", "id", "updated_at") VALUES (?, ?, ?)[0m [["created_at", Fri, 10 May 2013 23:51:05 UTC +00:00], ["id", "7a755186-b9cc-11e2-b92f-000a27020042"], ["updated_at", Fri, 10 May 2013 23:51:05 UTC +00:00]]
|
|
189
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
|
190
|
+
[1m[36m (0.4ms)[0m [1mrollback transaction[0m
|
|
191
|
+
[1m[35m (0.0ms)[0m begin transaction
|
|
192
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
193
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "things" WHERE "things"."id" = x'37613738663262652d623963632d313165322d623932662d303030613237303230303432'
|
|
194
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "things" ("created_at", "id", "updated_at") VALUES (?, ?, ?)[0m [["created_at", Fri, 10 May 2013 23:51:05 UTC +00:00], ["id", "7a78f2be-b9cc-11e2-b92f-000a27020042"], ["updated_at", Fri, 10 May 2013 23:51:05 UTC +00:00]]
|
|
195
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
|
196
|
+
[1m[36m (0.2ms)[0m [1mrollback transaction[0m
|
|
197
|
+
[1m[35m (0.0ms)[0m begin transaction
|
|
198
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
199
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "things" WHERE "things"."id" = x'37613739623639302d623963632d313165322d623932662d303030613237303230303432'
|
|
200
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "things" ("created_at", "id", "updated_at") VALUES (?, ?, ?)[0m [["created_at", Fri, 10 May 2013 23:51:05 UTC +00:00], ["id", "7a79b690-b9cc-11e2-b92f-000a27020042"], ["updated_at", Fri, 10 May 2013 23:51:05 UTC +00:00]]
|
|
201
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
|
202
|
+
[1m[36m (0.3ms)[0m [1mrollback transaction[0m
|
|
203
|
+
Connecting to database specified by database.yml
|
|
204
|
+
[1m[36m (0.3ms)[0m [1mbegin transaction[0m
|
|
205
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
206
|
+
[1m[36m (1.0ms)[0m [1mSELECT COUNT(*) FROM "things" WHERE "things"."id" = x'61373432656562322d623963632d313165322d616461332d303030613237303230303432'[0m
|
|
207
|
+
[1m[35mSQL (3.5ms)[0m INSERT INTO "things" ("created_at", "id", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 10 May 2013 23:52:20 UTC +00:00], ["id", "a742eeb2-b9cc-11e2-ada3-000a27020042"], ["updated_at", Fri, 10 May 2013 23:52:20 UTC +00:00]]
|
|
208
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
209
|
+
[1m[35m (4.4ms)[0m rollback transaction
|
|
210
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
211
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
212
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "things" WHERE "things"."id" = x'61373436393335302d623963632d313165322d616461332d303030613237303230303432'[0m
|
|
213
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "things" ("created_at", "id", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 10 May 2013 23:52:20 UTC +00:00], ["id", "a7469350-b9cc-11e2-ada3-000a27020042"], ["updated_at", Fri, 10 May 2013 23:52:20 UTC +00:00]]
|
|
214
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
215
|
+
[1m[35m (0.3ms)[0m rollback transaction
|
|
216
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
|
217
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
218
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "things" ("created_at", "id", "updated_at") VALUES (?, ?, ?)[0m [["created_at", Fri, 10 May 2013 23:52:20 UTC +00:00], ["id", "a747453e-b9cc-11e2-ada3-000a27020042"], ["updated_at", Fri, 10 May 2013 23:52:20 UTC +00:00]]
|
|
219
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
|
220
|
+
[1m[36m (0.3ms)[0m [1mrollback transaction[0m
|
|
221
|
+
Connecting to database specified by database.yml
|
|
222
|
+
[1m[36m (0.3ms)[0m [1mbegin transaction[0m
|
|
223
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
|
224
|
+
[1m[36mSQL (4.6ms)[0m [1mINSERT INTO "things" ("created_at", "id", "updated_at") VALUES (?, ?, ?)[0m [["created_at", Fri, 10 May 2013 23:52:51 UTC +00:00], ["id", "b974e4c8-b9cc-11e2-a528-000a27020042"], ["updated_at", Fri, 10 May 2013 23:52:51 UTC +00:00]]
|
|
225
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
|
226
|
+
[1m[36m (4.4ms)[0m [1mrollback transaction[0m
|
|
227
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
228
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
229
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "things" WHERE "things"."id" = x'62393739316638342d623963632d313165322d613532382d303030613237303230303432'
|
|
230
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "things" ("created_at", "id", "updated_at") VALUES (?, ?, ?)[0m [["created_at", Fri, 10 May 2013 23:52:51 UTC +00:00], ["id", "b9791f84-b9cc-11e2-a528-000a27020042"], ["updated_at", Fri, 10 May 2013 23:52:51 UTC +00:00]]
|
|
231
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
|
232
|
+
[1m[36m (0.3ms)[0m [1mrollback transaction[0m
|
|
233
|
+
[1m[35m (0.0ms)[0m begin transaction
|
|
234
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
235
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "things" WHERE "things"."id" = x'62393761326666302d623963632d313165322d613532382d303030613237303230303432'
|
|
236
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "things" ("created_at", "id", "updated_at") VALUES (?, ?, ?)[0m [["created_at", Fri, 10 May 2013 23:52:51 UTC +00:00], ["id", "b97a2ff0-b9cc-11e2-a528-000a27020042"], ["updated_at", Fri, 10 May 2013 23:52:51 UTC +00:00]]
|
|
237
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
|
238
|
+
[1m[36m (0.3ms)[0m [1mrollback transaction[0m
|
|
239
|
+
Connecting to database specified by database.yml
|
|
240
|
+
[1m[36m (0.3ms)[0m [1mbegin transaction[0m
|
|
241
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
242
|
+
[1m[36m (1.0ms)[0m [1mSELECT COUNT(*) FROM "things" WHERE "things"."id" = x'33333636643439652d623963642d313165322d386433612d303030613237303230303432'[0m
|
|
243
|
+
[1m[35mSQL (3.4ms)[0m INSERT INTO "things" ("created_at", "id", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 10 May 2013 23:56:15 UTC +00:00], ["id", "3366d49e-b9cd-11e2-8d3a-000a27020042"], ["updated_at", Fri, 10 May 2013 23:56:15 UTC +00:00]]
|
|
244
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
245
|
+
[1m[35m (4.4ms)[0m rollback transaction
|
|
246
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
247
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
248
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "things" WHERE "things"."id" = x'33333661373131632d623963642d313165322d386433612d303030613237303230303432'[0m
|
|
249
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "things" ("created_at", "id", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 10 May 2013 23:56:15 UTC +00:00], ["id", "336a711c-b9cd-11e2-8d3a-000a27020042"], ["updated_at", Fri, 10 May 2013 23:56:15 UTC +00:00]]
|
|
250
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
251
|
+
[1m[35m (0.3ms)[0m rollback transaction
|
|
252
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
253
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
254
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "things" ("created_at", "id", "updated_at") VALUES (?, ?, ?)[0m [["created_at", Fri, 10 May 2013 23:56:15 UTC +00:00], ["id", "336b2d14-b9cd-11e2-8d3a-000a27020042"], ["updated_at", Fri, 10 May 2013 23:56:15 UTC +00:00]]
|
|
255
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
|
256
|
+
[1m[36m (0.3ms)[0m [1mrollback transaction[0m
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
<!DOCTYPE html>
|
|
2
|
+
<html>
|
|
3
|
+
<head>
|
|
4
|
+
<title>The page you were looking for doesn't exist (404)</title>
|
|
5
|
+
<style type="text/css">
|
|
6
|
+
body { background-color: #fff; color: #666; text-align: center; font-family: arial, sans-serif; }
|
|
7
|
+
div.dialog {
|
|
8
|
+
width: 25em;
|
|
9
|
+
padding: 0 4em;
|
|
10
|
+
margin: 4em auto 0 auto;
|
|
11
|
+
border: 1px solid #ccc;
|
|
12
|
+
border-right-color: #999;
|
|
13
|
+
border-bottom-color: #999;
|
|
14
|
+
}
|
|
15
|
+
h1 { font-size: 100%; color: #f00; line-height: 1.5em; }
|
|
16
|
+
</style>
|
|
17
|
+
</head>
|
|
18
|
+
|
|
19
|
+
<body>
|
|
20
|
+
<!-- This file lives in public/404.html -->
|
|
21
|
+
<div class="dialog">
|
|
22
|
+
<h1>The page you were looking for doesn't exist.</h1>
|
|
23
|
+
<p>You may have mistyped the address or the page may have moved.</p>
|
|
24
|
+
</div>
|
|
25
|
+
</body>
|
|
26
|
+
</html>
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
<!DOCTYPE html>
|
|
2
|
+
<html>
|
|
3
|
+
<head>
|
|
4
|
+
<title>The change you wanted was rejected (422)</title>
|
|
5
|
+
<style type="text/css">
|
|
6
|
+
body { background-color: #fff; color: #666; text-align: center; font-family: arial, sans-serif; }
|
|
7
|
+
div.dialog {
|
|
8
|
+
width: 25em;
|
|
9
|
+
padding: 0 4em;
|
|
10
|
+
margin: 4em auto 0 auto;
|
|
11
|
+
border: 1px solid #ccc;
|
|
12
|
+
border-right-color: #999;
|
|
13
|
+
border-bottom-color: #999;
|
|
14
|
+
}
|
|
15
|
+
h1 { font-size: 100%; color: #f00; line-height: 1.5em; }
|
|
16
|
+
</style>
|
|
17
|
+
</head>
|
|
18
|
+
|
|
19
|
+
<body>
|
|
20
|
+
<!-- This file lives in public/422.html -->
|
|
21
|
+
<div class="dialog">
|
|
22
|
+
<h1>The change you wanted was rejected.</h1>
|
|
23
|
+
<p>Maybe you tried to change something you didn't have access to.</p>
|
|
24
|
+
</div>
|
|
25
|
+
</body>
|
|
26
|
+
</html>
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
<!DOCTYPE html>
|
|
2
|
+
<html>
|
|
3
|
+
<head>
|
|
4
|
+
<title>We're sorry, but something went wrong (500)</title>
|
|
5
|
+
<style type="text/css">
|
|
6
|
+
body { background-color: #fff; color: #666; text-align: center; font-family: arial, sans-serif; }
|
|
7
|
+
div.dialog {
|
|
8
|
+
width: 25em;
|
|
9
|
+
padding: 0 4em;
|
|
10
|
+
margin: 4em auto 0 auto;
|
|
11
|
+
border: 1px solid #ccc;
|
|
12
|
+
border-right-color: #999;
|
|
13
|
+
border-bottom-color: #999;
|
|
14
|
+
}
|
|
15
|
+
h1 { font-size: 100%; color: #f00; line-height: 1.5em; }
|
|
16
|
+
</style>
|
|
17
|
+
</head>
|
|
18
|
+
|
|
19
|
+
<body>
|
|
20
|
+
<!-- This file lives in public/500.html -->
|
|
21
|
+
<div class="dialog">
|
|
22
|
+
<h1>We're sorry, but something went wrong.</h1>
|
|
23
|
+
</div>
|
|
24
|
+
</body>
|
|
25
|
+
</html>
|
|
File without changes
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
#!/usr/bin/env ruby
|
|
2
|
+
# This command will automatically be run when you run "rails" with Rails 3 gems installed from the root of your application.
|
|
3
|
+
|
|
4
|
+
APP_PATH = File.expand_path('../../config/application', __FILE__)
|
|
5
|
+
require File.expand_path('../../config/boot', __FILE__)
|
|
6
|
+
require 'rails/commands'
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
require 'spec_helper'
|
|
2
|
+
|
|
3
|
+
describe Thing do
|
|
4
|
+
describe "autmatically setting an id" do
|
|
5
|
+
before do
|
|
6
|
+
@thing = Thing.create!
|
|
7
|
+
end
|
|
8
|
+
it "should happen when an object is created" do
|
|
9
|
+
@thing.id.should_not be_nil
|
|
10
|
+
end
|
|
11
|
+
it "should have a UUID as the id" do
|
|
12
|
+
@thing.id.should match(/[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}/)
|
|
13
|
+
end
|
|
14
|
+
end
|
|
15
|
+
describe "manually setting an id" do
|
|
16
|
+
before do
|
|
17
|
+
@uuid = UUIDTools::UUID.timestamp_create.to_s
|
|
18
|
+
@thing = Thing.create! :id => @uuid
|
|
19
|
+
end
|
|
20
|
+
it "should work" do
|
|
21
|
+
@thing.id.should == @uuid
|
|
22
|
+
end
|
|
23
|
+
end
|
|
24
|
+
end
|
data/spec/spec_helper.rb
ADDED
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
# This file is copied to spec/ when you run 'rails generate rspec:install'
|
|
2
|
+
ENV["RAILS_ENV"] ||= 'test'
|
|
3
|
+
require File.expand_path("../dummy/config/environment", __FILE__)
|
|
4
|
+
require 'rspec/rails'
|
|
5
|
+
require 'rspec/autorun'
|
|
6
|
+
|
|
7
|
+
# Requires supporting ruby files with custom matchers and macros, etc,
|
|
8
|
+
# in spec/support/ and its subdirectories.
|
|
9
|
+
Dir[Rails.root.join("spec/support/**/*.rb")].each { |f| require f }
|
|
10
|
+
|
|
11
|
+
RSpec.configure do |config|
|
|
12
|
+
# ## Mock Framework
|
|
13
|
+
#
|
|
14
|
+
# If you prefer to use mocha, flexmock or RR, uncomment the appropriate line:
|
|
15
|
+
#
|
|
16
|
+
# config.mock_with :mocha
|
|
17
|
+
# config.mock_with :flexmock
|
|
18
|
+
# config.mock_with :rr
|
|
19
|
+
|
|
20
|
+
# Remove this line if you're not using ActiveRecord or ActiveRecord fixtures
|
|
21
|
+
config.fixture_path = "#{::Rails.root}/spec/fixtures"
|
|
22
|
+
|
|
23
|
+
# If you're not using ActiveRecord, or you'd prefer not to run each of your
|
|
24
|
+
# examples within a transaction, remove the following line or assign false
|
|
25
|
+
# instead of true.
|
|
26
|
+
config.use_transactional_fixtures = true
|
|
27
|
+
|
|
28
|
+
# If true, the base class of anonymous controllers will be inferred
|
|
29
|
+
# automatically. This will be the default behavior in future versions of
|
|
30
|
+
# rspec-rails.
|
|
31
|
+
config.infer_base_class_for_anonymous_controllers = false
|
|
32
|
+
|
|
33
|
+
# Run specs in random order to surface order dependencies. If you find an
|
|
34
|
+
# order dependency and want to debug it, you can fix the order by providing
|
|
35
|
+
# the seed, which is printed after each run.
|
|
36
|
+
# --seed 1234
|
|
37
|
+
config.order = "random"
|
|
38
|
+
end
|
|
39
|
+
|
metadata
ADDED
|
@@ -0,0 +1,196 @@
|
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
|
2
|
+
name: uuid_ids
|
|
3
|
+
version: !ruby/object:Gem::Version
|
|
4
|
+
version: 0.0.1
|
|
5
|
+
prerelease:
|
|
6
|
+
platform: ruby
|
|
7
|
+
authors:
|
|
8
|
+
- Jeremy Green
|
|
9
|
+
autorequire:
|
|
10
|
+
bindir: bin
|
|
11
|
+
cert_chain: []
|
|
12
|
+
date: 2013-05-11 00:00:00.000000000 Z
|
|
13
|
+
dependencies:
|
|
14
|
+
- !ruby/object:Gem::Dependency
|
|
15
|
+
name: rails
|
|
16
|
+
requirement: !ruby/object:Gem::Requirement
|
|
17
|
+
none: false
|
|
18
|
+
requirements:
|
|
19
|
+
- - ~>
|
|
20
|
+
- !ruby/object:Gem::Version
|
|
21
|
+
version: 3.2.13
|
|
22
|
+
type: :runtime
|
|
23
|
+
prerelease: false
|
|
24
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
25
|
+
none: false
|
|
26
|
+
requirements:
|
|
27
|
+
- - ~>
|
|
28
|
+
- !ruby/object:Gem::Version
|
|
29
|
+
version: 3.2.13
|
|
30
|
+
- !ruby/object:Gem::Dependency
|
|
31
|
+
name: uuidtools
|
|
32
|
+
requirement: !ruby/object:Gem::Requirement
|
|
33
|
+
none: false
|
|
34
|
+
requirements:
|
|
35
|
+
- - ~>
|
|
36
|
+
- !ruby/object:Gem::Version
|
|
37
|
+
version: 2.1.4
|
|
38
|
+
type: :runtime
|
|
39
|
+
prerelease: false
|
|
40
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
41
|
+
none: false
|
|
42
|
+
requirements:
|
|
43
|
+
- - ~>
|
|
44
|
+
- !ruby/object:Gem::Version
|
|
45
|
+
version: 2.1.4
|
|
46
|
+
- !ruby/object:Gem::Dependency
|
|
47
|
+
name: sqlite3
|
|
48
|
+
requirement: !ruby/object:Gem::Requirement
|
|
49
|
+
none: false
|
|
50
|
+
requirements:
|
|
51
|
+
- - ! '>='
|
|
52
|
+
- !ruby/object:Gem::Version
|
|
53
|
+
version: '0'
|
|
54
|
+
type: :development
|
|
55
|
+
prerelease: false
|
|
56
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
57
|
+
none: false
|
|
58
|
+
requirements:
|
|
59
|
+
- - ! '>='
|
|
60
|
+
- !ruby/object:Gem::Version
|
|
61
|
+
version: '0'
|
|
62
|
+
- !ruby/object:Gem::Dependency
|
|
63
|
+
name: rspec-rails
|
|
64
|
+
requirement: !ruby/object:Gem::Requirement
|
|
65
|
+
none: false
|
|
66
|
+
requirements:
|
|
67
|
+
- - ! '>='
|
|
68
|
+
- !ruby/object:Gem::Version
|
|
69
|
+
version: '0'
|
|
70
|
+
type: :development
|
|
71
|
+
prerelease: false
|
|
72
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
73
|
+
none: false
|
|
74
|
+
requirements:
|
|
75
|
+
- - ! '>='
|
|
76
|
+
- !ruby/object:Gem::Version
|
|
77
|
+
version: '0'
|
|
78
|
+
description: A simple gem to auto generate UUIDs for the id field of models.
|
|
79
|
+
email:
|
|
80
|
+
- jeremy@octolabs.com
|
|
81
|
+
executables: []
|
|
82
|
+
extensions: []
|
|
83
|
+
extra_rdoc_files: []
|
|
84
|
+
files:
|
|
85
|
+
- lib/tasks/uuid_ids_tasks.rake
|
|
86
|
+
- lib/uuid_ids/model_helper.rb
|
|
87
|
+
- lib/uuid_ids/version.rb
|
|
88
|
+
- lib/uuid_ids.rb
|
|
89
|
+
- MIT-LICENSE
|
|
90
|
+
- Rakefile
|
|
91
|
+
- README.md
|
|
92
|
+
- spec/dummy/app/assets/javascripts/application.js
|
|
93
|
+
- spec/dummy/app/assets/stylesheets/application.css
|
|
94
|
+
- spec/dummy/app/controllers/application_controller.rb
|
|
95
|
+
- spec/dummy/app/helpers/application_helper.rb
|
|
96
|
+
- spec/dummy/app/models/thing.rb
|
|
97
|
+
- spec/dummy/app/views/layouts/application.html.erb
|
|
98
|
+
- spec/dummy/config/application.rb
|
|
99
|
+
- spec/dummy/config/boot.rb
|
|
100
|
+
- spec/dummy/config/database.yml
|
|
101
|
+
- spec/dummy/config/environment.rb
|
|
102
|
+
- spec/dummy/config/environments/development.rb
|
|
103
|
+
- spec/dummy/config/environments/production.rb
|
|
104
|
+
- spec/dummy/config/environments/test.rb
|
|
105
|
+
- spec/dummy/config/initializers/backtrace_silencers.rb
|
|
106
|
+
- spec/dummy/config/initializers/inflections.rb
|
|
107
|
+
- spec/dummy/config/initializers/mime_types.rb
|
|
108
|
+
- spec/dummy/config/initializers/secret_token.rb
|
|
109
|
+
- spec/dummy/config/initializers/session_store.rb
|
|
110
|
+
- spec/dummy/config/initializers/wrap_parameters.rb
|
|
111
|
+
- spec/dummy/config/locales/en.yml
|
|
112
|
+
- spec/dummy/config/routes.rb
|
|
113
|
+
- spec/dummy/config.ru
|
|
114
|
+
- spec/dummy/db/development.sqlite3
|
|
115
|
+
- spec/dummy/db/migrate/20130510232457_create_things.rb
|
|
116
|
+
- spec/dummy/db/schema.rb
|
|
117
|
+
- spec/dummy/db/test.sqlite3
|
|
118
|
+
- spec/dummy/log/development.log
|
|
119
|
+
- spec/dummy/log/test.log
|
|
120
|
+
- spec/dummy/public/404.html
|
|
121
|
+
- spec/dummy/public/422.html
|
|
122
|
+
- spec/dummy/public/500.html
|
|
123
|
+
- spec/dummy/public/favicon.ico
|
|
124
|
+
- spec/dummy/Rakefile
|
|
125
|
+
- spec/dummy/README.rdoc
|
|
126
|
+
- spec/dummy/script/rails
|
|
127
|
+
- spec/models/thing_spec.rb
|
|
128
|
+
- spec/spec_helper.rb
|
|
129
|
+
homepage: https://github.com/jagthedrummer/uuid_ids
|
|
130
|
+
licenses: []
|
|
131
|
+
post_install_message:
|
|
132
|
+
rdoc_options: []
|
|
133
|
+
require_paths:
|
|
134
|
+
- lib
|
|
135
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
|
136
|
+
none: false
|
|
137
|
+
requirements:
|
|
138
|
+
- - ! '>='
|
|
139
|
+
- !ruby/object:Gem::Version
|
|
140
|
+
version: '0'
|
|
141
|
+
segments:
|
|
142
|
+
- 0
|
|
143
|
+
hash: -3181629830934013621
|
|
144
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
145
|
+
none: false
|
|
146
|
+
requirements:
|
|
147
|
+
- - ! '>='
|
|
148
|
+
- !ruby/object:Gem::Version
|
|
149
|
+
version: '0'
|
|
150
|
+
segments:
|
|
151
|
+
- 0
|
|
152
|
+
hash: -3181629830934013621
|
|
153
|
+
requirements: []
|
|
154
|
+
rubyforge_project:
|
|
155
|
+
rubygems_version: 1.8.25
|
|
156
|
+
signing_key:
|
|
157
|
+
specification_version: 3
|
|
158
|
+
summary: A simple gem to auto generate UUIDs for the id field of models.
|
|
159
|
+
test_files:
|
|
160
|
+
- spec/dummy/app/assets/javascripts/application.js
|
|
161
|
+
- spec/dummy/app/assets/stylesheets/application.css
|
|
162
|
+
- spec/dummy/app/controllers/application_controller.rb
|
|
163
|
+
- spec/dummy/app/helpers/application_helper.rb
|
|
164
|
+
- spec/dummy/app/models/thing.rb
|
|
165
|
+
- spec/dummy/app/views/layouts/application.html.erb
|
|
166
|
+
- spec/dummy/config/application.rb
|
|
167
|
+
- spec/dummy/config/boot.rb
|
|
168
|
+
- spec/dummy/config/database.yml
|
|
169
|
+
- spec/dummy/config/environment.rb
|
|
170
|
+
- spec/dummy/config/environments/development.rb
|
|
171
|
+
- spec/dummy/config/environments/production.rb
|
|
172
|
+
- spec/dummy/config/environments/test.rb
|
|
173
|
+
- spec/dummy/config/initializers/backtrace_silencers.rb
|
|
174
|
+
- spec/dummy/config/initializers/inflections.rb
|
|
175
|
+
- spec/dummy/config/initializers/mime_types.rb
|
|
176
|
+
- spec/dummy/config/initializers/secret_token.rb
|
|
177
|
+
- spec/dummy/config/initializers/session_store.rb
|
|
178
|
+
- spec/dummy/config/initializers/wrap_parameters.rb
|
|
179
|
+
- spec/dummy/config/locales/en.yml
|
|
180
|
+
- spec/dummy/config/routes.rb
|
|
181
|
+
- spec/dummy/config.ru
|
|
182
|
+
- spec/dummy/db/development.sqlite3
|
|
183
|
+
- spec/dummy/db/migrate/20130510232457_create_things.rb
|
|
184
|
+
- spec/dummy/db/schema.rb
|
|
185
|
+
- spec/dummy/db/test.sqlite3
|
|
186
|
+
- spec/dummy/log/development.log
|
|
187
|
+
- spec/dummy/log/test.log
|
|
188
|
+
- spec/dummy/public/404.html
|
|
189
|
+
- spec/dummy/public/422.html
|
|
190
|
+
- spec/dummy/public/500.html
|
|
191
|
+
- spec/dummy/public/favicon.ico
|
|
192
|
+
- spec/dummy/Rakefile
|
|
193
|
+
- spec/dummy/README.rdoc
|
|
194
|
+
- spec/dummy/script/rails
|
|
195
|
+
- spec/models/thing_spec.rb
|
|
196
|
+
- spec/spec_helper.rb
|