nextable 0.0.3 → 0.0.4

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 97a6297a5bc27b2e42c5479df30d2ed5c5cd70f5
4
- data.tar.gz: df886b86290abc0299f211bf862122b4592f640e
3
+ metadata.gz: b3f5feb29f9ec3498c811c2d2efe224d2936f2e5
4
+ data.tar.gz: 7d2f7fd6023670f82846b32a30ab1d69f838ff1a
5
5
  SHA512:
6
- metadata.gz: c4304028fc4270567318938ca86875d2e3a0505b005e7a10a2c7e5c6d104108c4b5f584d37e376c391b0c06bec604a85a87bf6190ee0d71ae6e31aa74c32224c
7
- data.tar.gz: bebaf75d552fe15d8d395f69721daaba6d5e084729620c73eaabfa06a9cd9e435ceaef341faca2d9264ec8202aa54bd668521e1922920ff499486e201987dbe4
6
+ metadata.gz: 90610a331fddbb5dd52cb5a32857454a7ed781e07998042c02d56889dee62bfd08c7f528235292e07ef9a45ff71517f0c00e7e23301d8bc573dca0160491e712
7
+ data.tar.gz: 9eb7e025f89b7172b2151223e559e99648c80592d33efe2670c9042d356e4ca6d427ff037adb7285c708955b653a01b5ca9397f7813967a4e94ed58be4e8e251
@@ -157,3 +157,91 @@ Migrating to CreateUsers (20160121233437)
157
157
   (1.9ms) INSERT INTO "schema_migrations" (version) VALUES ('20160121233437')
158
158
  ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
159
159
  User Load (1.3ms) SELECT "users".* FROM "users"
160
+  (0.0ms) begin transaction
161
+ SQL (22.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-01-22 18:42:11.932634"], ["updated_at", "2016-01-22 18:42:11.932634"]]
162
+  (1.3ms) commit transaction
163
+  (0.0ms) begin transaction
164
+ SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-01-22 18:42:11.975510"], ["updated_at", "2016-01-22 18:42:11.975510"]]
165
+  (1.6ms) commit transaction
166
+  (0.1ms) begin transaction
167
+ SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-01-22 18:42:11.978376"], ["updated_at", "2016-01-22 18:42:11.978376"]]
168
+  (2.1ms) commit transaction
169
+ User Load (0.2ms) SELECT "users".* FROM "users" ORDER BY "users"."id" ASC LIMIT 1
170
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE (id > 1) ORDER BY id asc LIMIT 1
171
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE (id > 2) ORDER BY id asc LIMIT 1
172
+ User Load (2.4ms) SELECT "users".* FROM "users" WHERE (id > 3) ORDER BY id asc LIMIT 1
173
+ User Load (0.6ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]
174
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE (id < 3) ORDER BY id desc LIMIT 1
175
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE (id > 2) ORDER BY id asc LIMIT 1
176
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE (id > 3) ORDER BY id asc LIMIT 1
177
+ User Load (0.3ms) SELECT "users".* FROM "users" WHERE (id < 3) ORDER BY id desc LIMIT 1
178
+  (0.2ms) begin transaction
179
+ SQL (1.2ms) INSERT INTO "users" ("created_at", "id", "updated_at") VALUES (?, ?, ?) [["created_at", "2016-01-22 18:58:48.147255"], ["id", 3], ["updated_at", "2016-01-22 18:58:48.147255"]]
180
+ SQLite3::ConstraintException: UNIQUE constraint failed: users.id: INSERT INTO "users" ("created_at", "id", "updated_at") VALUES (?, ?, ?)
181
+  (0.2ms) rollback transaction
182
+  (0.1ms) begin transaction
183
+ SQL (43.7ms) INSERT INTO "users" ("created_at", "id", "updated_at") VALUES (?, ?, ?) [["created_at", "2016-01-22 18:58:54.903515"], ["id", 9], ["updated_at", "2016-01-22 18:58:54.903515"]]
184
+  (1.5ms) commit transaction
185
+  (0.1ms) begin transaction
186
+ SQL (0.3ms) INSERT INTO "users" ("created_at", "id", "updated_at") VALUES (?, ?, ?) [["created_at", "2016-01-22 18:58:54.951128"], ["id", 8], ["updated_at", "2016-01-22 18:58:54.951128"]]
187
+  (1.7ms) commit transaction
188
+  (0.1ms) begin transaction
189
+ SQL (0.3ms) INSERT INTO "users" ("created_at", "id", "updated_at") VALUES (?, ?, ?) [["created_at", "2016-01-22 18:58:54.954791"], ["id", 7], ["updated_at", "2016-01-22 18:58:54.954791"]]
190
+  (1.6ms) commit transaction
191
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 9]]
192
+ User Load (0.3ms) SELECT "users".* FROM "users"
193
+ User Load (0.3ms) SELECT "users".* FROM "users" ORDER BY created_at
194
+  (0.1ms) begin transaction
195
+ SQL (22.5ms) INSERT INTO "users" ("created_at", "id", "updated_at") VALUES (?, ?, ?) [["created_at", "2016-01-22 19:00:31.218821"], ["id", 11], ["updated_at", "2016-01-22 19:00:31.218821"]]
196
+  (1.4ms) commit transaction
197
+  (0.1ms) begin transaction
198
+ SQL (0.3ms) INSERT INTO "users" ("created_at", "id", "updated_at") VALUES (?, ?, ?) [["created_at", "2016-01-22 19:00:31.244694"], ["id", 10], ["updated_at", "2016-01-22 19:00:31.244694"]]
199
+  (1.5ms) commit transaction
200
+  (0.1ms) begin transaction
201
+ SQL (0.3ms) INSERT INTO "users" ("created_at", "id", "updated_at") VALUES (?, ?, ?) [["created_at", "2016-01-22 19:00:31.249117"], ["id", 9], ["updated_at", "2016-01-22 19:00:31.249117"]]
202
+ SQLite3::ConstraintException: UNIQUE constraint failed: users.id: INSERT INTO "users" ("created_at", "id", "updated_at") VALUES (?, ?, ?)
203
+  (0.2ms) rollback transaction
204
+  (0.1ms) begin transaction
205
+ SQL (0.3ms) INSERT INTO "users" ("created_at", "id", "updated_at") VALUES (?, ?, ?) [["created_at", "2016-01-22 19:00:40.517938"], ["id", 99], ["updated_at", "2016-01-22 19:00:40.517938"]]
206
+  (5.9ms) commit transaction
207
+  (0.1ms) begin transaction
208
+ SQL (0.3ms) INSERT INTO "users" ("created_at", "id", "updated_at") VALUES (?, ?, ?) [["created_at", "2016-01-22 19:00:40.525728"], ["id", 88], ["updated_at", "2016-01-22 19:00:40.525728"]]
209
+  (1.4ms) commit transaction
210
+  (0.1ms) begin transaction
211
+ SQL (0.3ms) INSERT INTO "users" ("created_at", "id", "updated_at") VALUES (?, ?, ?) [["created_at", "2016-01-22 19:00:40.530179"], ["id", 77], ["updated_at", "2016-01-22 19:00:40.530179"]]
212
+  (1.7ms) commit transaction
213
+  (2.7ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "total_friends" integer, "birthday" date, "created_at" datetime, "updated_at" datetime) 
214
+  (2.5ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
215
+  (0.1ms) select sqlite_version(*)
216
+  (2.1ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
217
+  (0.1ms) SELECT version FROM "schema_migrations"
218
+  (1.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20160121233437')
219
+  (1.4ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "total_friends" integer, "birthday" date, "created_at" datetime, "updated_at" datetime) 
220
+  (1.7ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
221
+  (0.1ms) select sqlite_version(*)
222
+  (1.7ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
223
+  (0.1ms) SELECT version FROM "schema_migrations"
224
+  (1.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20160121233437')
225
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
226
+  (0.1ms) begin transaction
227
+ SQL (8.0ms) INSERT INTO "users" ("created_at", "id", "updated_at") VALUES (?, ?, ?) [["created_at", "2016-01-22 19:01:56.638413"], ["id", 9], ["updated_at", "2016-01-22 19:01:56.638413"]]
228
+  (2.3ms) commit transaction
229
+  (0.1ms) begin transaction
230
+ SQL (0.3ms) INSERT INTO "users" ("created_at", "id", "updated_at") VALUES (?, ?, ?) [["created_at", "2016-01-22 19:01:56.667657"], ["id", 8], ["updated_at", "2016-01-22 19:01:56.667657"]]
231
+  (1.5ms) commit transaction
232
+  (0.0ms) begin transaction
233
+ SQL (0.5ms) INSERT INTO "users" ("created_at", "id", "updated_at") VALUES (?, ?, ?) [["created_at", "2016-01-22 19:01:56.670853"], ["id", 7], ["updated_at", "2016-01-22 19:01:56.670853"]]
234
+  (2.3ms) commit transaction
235
+ User Load (0.3ms) SELECT "users".* FROM "users" ORDER BY "users"."id" ASC
236
+ User Load (0.2ms) SELECT "users".* FROM "users" ORDER BY "users"."id" ASC
237
+ User Load (0.2ms) SELECT "users".* FROM "users" ORDER BY "users"."id" ASC
238
+ User Load (0.2ms) SELECT "users".* FROM "users" ORDER BY "users"."created_at" ASC
239
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 9]]
240
+  (0.1ms) begin transaction
241
+ SQL (9.2ms) UPDATE "users" SET "name" = ?, "updated_at" = ? WHERE "users"."id" = 9 [["name", "Fubart"], ["updated_at", "2016-01-22 19:07:36.711151"]]
242
+  (1.9ms) commit transaction
243
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 7]]
244
+  (0.1ms) begin transaction
245
+ SQL (0.3ms) UPDATE "users" SET "name" = ?, "updated_at" = ? WHERE "users"."id" = 7 [["name", "Fubart"], ["updated_at", "2016-01-22 19:07:36.725853"]]
246
+  (1.5ms) commit transaction
247
+ User Load (0.2ms) SELECT "users".* FROM "users"
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: nextable
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.3
4
+ version: 0.0.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Thomas Brigham
@@ -44,8 +44,9 @@ dependencies:
44
44
  - - ">="
45
45
  - !ruby/object:Gem::Version
46
46
  version: '0'
47
- description: " ** NOT PRODUCTION READY ** Allows \"walking\" of a table of ActiveRecord
48
- records by implementing \n #next_record and #previous_record.\n"
47
+ description: " ** NOT PRODUCTION READY ** \nA plugin for Rails that enables 'walking'
48
+ of ActiveRecord models by implementing\nnext_record and #previous_record instance
49
+ methods.\nDocumentation: https://github.com/tkbrigham/nextable\n"
49
50
  email: thomas@thomasbrigham.me
50
51
  executables: []
51
52
  extensions: []