user_notifier 0.1.0 → 0.1.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.
- checksums.yaml +4 -4
- data/{app/models/user_notifier → lib/user_notifier/models}/base.rb +0 -0
- data/lib/user_notifier/version.rb +1 -1
- data/lib/user_notifier.rb +1 -0
- data/spec/dummy/db/development.sqlite3 +0 -0
- data/spec/dummy/db/schema.rb +4 -4
- data/spec/dummy/db/test.sqlite3 +0 -0
- data/spec/dummy/log/development.log +35 -70
- data/spec/dummy/log/test.log +446 -5073
- metadata +4 -4
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: a3745f08573552fb1d3a5e1dfec58bea283fa6a9
|
|
4
|
+
data.tar.gz: 72ef4d09dd95fd6caef2a764378a8737bd249155
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 5f7528293fd6e7ae9025d23c09e3c6cce2d1ef2e3a16d2597069fe9270ec0391f8e994b9c1abd7838e9dc0973eebb938c8a0b7e3375596420393d56305de572c
|
|
7
|
+
data.tar.gz: a577eba18afa8d42122fff6ae13c63df282a0f4970cc5d084a2b97d8b45c01fcd55e33b35088ab55f171365a0b8fa0ab869fa9f80f206212948b109f62e069dc
|
|
File without changes
|
data/lib/user_notifier.rb
CHANGED
|
Binary file
|
data/spec/dummy/db/schema.rb
CHANGED
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
|
|
14
14
|
ActiveRecord::Schema.define(version: 20140709170259) do
|
|
15
15
|
|
|
16
|
-
create_table "order_notifications", force:
|
|
16
|
+
create_table "order_notifications", force: :cascade do |t|
|
|
17
17
|
t.integer "user_id", null: false
|
|
18
18
|
t.integer "order_id", null: false
|
|
19
19
|
t.text "from_email", null: false
|
|
@@ -23,14 +23,14 @@ ActiveRecord::Schema.define(version: 20140709170259) do
|
|
|
23
23
|
t.datetime "sent_at"
|
|
24
24
|
end
|
|
25
25
|
|
|
26
|
-
create_table "orders", force:
|
|
26
|
+
create_table "orders", force: :cascade do |t|
|
|
27
27
|
t.integer "user_id"
|
|
28
28
|
t.text "title"
|
|
29
29
|
t.datetime "created_at"
|
|
30
30
|
t.datetime "updated_at"
|
|
31
31
|
end
|
|
32
32
|
|
|
33
|
-
create_table "user_notifications", force:
|
|
33
|
+
create_table "user_notifications", force: :cascade do |t|
|
|
34
34
|
t.integer "user_id"
|
|
35
35
|
t.text "from_email"
|
|
36
36
|
t.text "from_name"
|
|
@@ -39,7 +39,7 @@ ActiveRecord::Schema.define(version: 20140709170259) do
|
|
|
39
39
|
t.datetime "sent_at"
|
|
40
40
|
end
|
|
41
41
|
|
|
42
|
-
create_table "users", force:
|
|
42
|
+
create_table "users", force: :cascade do |t|
|
|
43
43
|
t.text "name"
|
|
44
44
|
t.text "email"
|
|
45
45
|
t.datetime "created_at"
|
data/spec/dummy/db/test.sqlite3
CHANGED
|
Binary file
|
|
@@ -1,74 +1,39 @@
|
|
|
1
|
-
[1m[36m (
|
|
2
|
-
[1m[35m (
|
|
3
|
-
[1m[
|
|
4
|
-
Migrating to CreateUsers (20140625163719)
|
|
5
|
-
[1m[35m (0.1ms)[0m begin transaction
|
|
6
|
-
[1m[36m (0.6ms)[0m [1mCREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" text, "email" text, "created_at" datetime, "updated_at" datetime) [0m
|
|
7
|
-
[1m[35mSQL (0.4ms)[0m INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20140625163719"]]
|
|
8
|
-
[1m[36m (2.2ms)[0m [1mcommit transaction[0m
|
|
9
|
-
[1m[35mActiveRecord::SchemaMigration Load (0.1ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
|
10
|
-
[1m[36m (2.5ms)[0m [1mCREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" text, "email" text, "created_at" datetime, "updated_at" datetime) [0m
|
|
11
|
-
[1m[35m (1.8ms)[0m CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
|
|
12
|
-
[1m[36m (1.9ms)[0m [1mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
|
|
13
|
-
[1m[35m (0.1ms)[0m SELECT version FROM "schema_migrations"
|
|
14
|
-
[1m[36m (1.7ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20140625163719')[0m
|
|
15
|
-
[1m[36mActiveRecord::SchemaMigration Load (0.2ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
|
16
|
-
Migrating to CreateUserNotifications (20140625183616)
|
|
17
|
-
[1m[35m (0.1ms)[0m begin transaction
|
|
18
|
-
[1m[36m (0.7ms)[0m [1mCREATE TABLE "user_notifications" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "origin_email" text, "origin_name" text, "template_name" text, "locale" text, "sent_at" datetime) [0m
|
|
19
|
-
[1m[35mSQL (0.3ms)[0m INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20140625183616"]]
|
|
20
|
-
[1m[36m (2.1ms)[0m [1mcommit transaction[0m
|
|
21
|
-
[1m[35mActiveRecord::SchemaMigration Load (0.1ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
|
22
|
-
[1m[36m (2.0ms)[0m [1mCREATE TABLE "user_notifications" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "origin_email" text, "origin_name" text, "template_name" text, "locale" text, "sent_at" datetime) [0m
|
|
23
|
-
[1m[35m (1.8ms)[0m CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" text, "email" text, "created_at" datetime, "updated_at" datetime)
|
|
24
|
-
[1m[36m (1.6ms)[0m [1mCREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) [0m
|
|
25
|
-
[1m[35m (1.5ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
|
26
|
-
[1m[36m (0.4ms)[0m [1mSELECT version FROM "schema_migrations"[0m
|
|
27
|
-
[1m[35m (1.5ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20140625183616')
|
|
28
|
-
[1m[36m (1.7ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20140625163719')[0m
|
|
29
|
-
[1m[36mActiveRecord::SchemaMigration Load (0.2ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
|
1
|
+
[1m[36m (1.7ms)[0m [1mCREATE TABLE "schema_migrations" ("version" varchar NOT NULL) [0m
|
|
2
|
+
[1m[35m (0.1ms)[0m select sqlite_version(*)
|
|
3
|
+
[1m[36m (0.7ms)[0m [1mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
|
|
30
4
|
[1m[35mActiveRecord::SchemaMigration Load (0.1ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
|
5
|
+
Migrating to CreateUsers (20140625163719)
|
|
6
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
|
7
|
+
DEPRECATION WARNING: `#timestamp` was called without specifying an option for `null`. In Rails 5, this behavior will change to `null: false`. You should manually specify `null: true` to prevent the behavior of your existing migrations from changing. (called from block in change at /Users/diogo/Projects/user_notifier/spec/dummy/db/migrate/20140625163719_create_users.rb:7)
|
|
8
|
+
[1m[35m (0.3ms)[0m CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" text, "email" text, "created_at" datetime, "updated_at" datetime)
|
|
9
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20140625163719"]]
|
|
10
|
+
[1m[35m (0.6ms)[0m commit transaction
|
|
31
11
|
Migrating to CreateUserNotifications (20140625183616)
|
|
32
|
-
[1m[36m (0.
|
|
33
|
-
[1m[35m (0.
|
|
34
|
-
[1m[36mSQL (0.
|
|
35
|
-
[1m[35m (
|
|
36
|
-
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
|
37
|
-
[1m[35mActiveRecord::SchemaMigration Load (0.2ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
|
38
|
-
Migrating to CreateUserNotifications (20140625183616)
|
|
39
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
40
|
-
[1m[35m (0.7ms)[0m CREATE TABLE "user_notifications" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "from_email" text, "from_name" text, "template_name" text, "locale" text, "sent_at" datetime)
|
|
41
|
-
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20140625183616"]]
|
|
42
|
-
[1m[35m (2.3ms)[0m commit transaction
|
|
43
|
-
[1m[36mActiveRecord::SchemaMigration Load (0.2ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
|
44
|
-
[1m[35m (2.0ms)[0m CREATE TABLE "user_notifications" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "from_email" text, "from_name" text, "template_name" text, "locale" text, "sent_at" datetime)
|
|
45
|
-
[1m[36m (1.8ms)[0m [1mCREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" text, "email" text, "created_at" datetime, "updated_at" datetime) [0m
|
|
46
|
-
[1m[35m (2.2ms)[0m CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
|
|
47
|
-
[1m[36m (1.6ms)[0m [1mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
|
|
48
|
-
[1m[35m (0.2ms)[0m SELECT version FROM "schema_migrations"
|
|
49
|
-
[1m[36m (1.6ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20140625183616')[0m
|
|
50
|
-
[1m[35m (1.6ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20140625163719')
|
|
51
|
-
[1m[36mActiveRecord::SchemaMigration Load (0.2ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
|
12
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
|
13
|
+
[1m[35m (0.3ms)[0m CREATE TABLE "user_notifications" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "from_email" text, "from_name" text, "template_name" text, "locale" text, "sent_at" datetime)
|
|
14
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20140625183616"]]
|
|
15
|
+
[1m[35m (0.6ms)[0m commit transaction
|
|
52
16
|
Migrating to CreateOrders (20140709164530)
|
|
53
|
-
[1m[
|
|
54
|
-
|
|
55
|
-
[1m[
|
|
56
|
-
[1m[
|
|
17
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
|
18
|
+
DEPRECATION WARNING: `#timestamp` was called without specifying an option for `null`. In Rails 5, this behavior will change to `null: false`. You should manually specify `null: true` to prevent the behavior of your existing migrations from changing. (called from block in change at /Users/diogo/Projects/user_notifier/spec/dummy/db/migrate/20140709164530_create_orders.rb:7)
|
|
19
|
+
[1m[35m (0.6ms)[0m CREATE TABLE "orders" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "title" text, "created_at" datetime, "updated_at" datetime)
|
|
20
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20140709164530"]]
|
|
21
|
+
[1m[35m (0.6ms)[0m commit transaction
|
|
57
22
|
Migrating to CreateOrderNotifications (20140709170259)
|
|
58
|
-
[1m[
|
|
59
|
-
[1m[
|
|
60
|
-
[1m[
|
|
61
|
-
[1m[
|
|
62
|
-
[1m[
|
|
63
|
-
[1m[36m (
|
|
64
|
-
[1m[35m (1.
|
|
65
|
-
[1m[36m (1.
|
|
66
|
-
[1m[35m (
|
|
67
|
-
[1m[36m (1.
|
|
68
|
-
[1m[35m (0.
|
|
69
|
-
[1m[36m (
|
|
70
|
-
[1m[35m (0.
|
|
71
|
-
[1m[36m (
|
|
72
|
-
[1m[35m (
|
|
73
|
-
[1m[36m (
|
|
74
|
-
[1m[35m (
|
|
23
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
|
24
|
+
[1m[35m (0.3ms)[0m CREATE TABLE "order_notifications" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer NOT NULL, "order_id" integer NOT NULL, "from_email" text NOT NULL, "from_name" text NOT NULL, "template_name" text NOT NULL, "locale" text NOT NULL, "sent_at" datetime)
|
|
25
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20140709170259"]]
|
|
26
|
+
[1m[35m (0.6ms)[0m commit transaction
|
|
27
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
|
28
|
+
[1m[36m (1.8ms)[0m [1mCREATE TABLE "order_notifications" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer NOT NULL, "order_id" integer NOT NULL, "from_email" text NOT NULL, "from_name" text NOT NULL, "template_name" text NOT NULL, "locale" text NOT NULL, "sent_at" datetime) [0m
|
|
29
|
+
[1m[35m (1.0ms)[0m CREATE TABLE "orders" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "title" text, "created_at" datetime, "updated_at" datetime)
|
|
30
|
+
[1m[36m (1.0ms)[0m [1mCREATE TABLE "user_notifications" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "from_email" text, "from_name" text, "template_name" text, "locale" text, "sent_at" datetime) [0m
|
|
31
|
+
[1m[35m (1.0ms)[0m CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" text, "email" text, "created_at" datetime, "updated_at" datetime)
|
|
32
|
+
[1m[36m (1.1ms)[0m [1mCREATE TABLE "schema_migrations" ("version" varchar NOT NULL) [0m
|
|
33
|
+
[1m[35m (0.1ms)[0m select sqlite_version(*)
|
|
34
|
+
[1m[36m (0.7ms)[0m [1mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
|
|
35
|
+
[1m[35m (0.1ms)[0m SELECT version FROM "schema_migrations"
|
|
36
|
+
[1m[36m (0.7ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20140709170259')[0m
|
|
37
|
+
[1m[35m (0.6ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20140625163719')
|
|
38
|
+
[1m[36m (0.7ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20140625183616')[0m
|
|
39
|
+
[1m[35m (0.7ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20140709164530')
|