notifiable-rails 0.28.1 → 0.29.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 27808574ff051bba3df13af4897286041b24ec37
4
- data.tar.gz: 4964c21ec26c41a807c5916f32679296659e2fc6
3
+ metadata.gz: 3f85de44140c5c9b4fac635511af09885d4b3f4b
4
+ data.tar.gz: 596aaa1c50f3c6ee1688125b831309fbbf1dcbb7
5
5
  SHA512:
6
- metadata.gz: a8ddb7d1dc4f60d3d3889f7c2a73fba84760249ee88023209fd4c3bcfd2287ac89ac5af99c0621a72f11344d260c876f3e173b644014f1df7afe9af4ae7b56e8
7
- data.tar.gz: 2210fcd470130b6a69ded874891bd8875d717c2c32c7ad13735aade30b7477b007d3fb14ac715a815d6e610f1d2db7c1dad8fcdd4e68b1541c69339e13db1bcc
6
+ metadata.gz: f923297cdc25561cc950740c50a60c6c45692538f3603103ddfa92205c3047aa963e7099566c7fc428c0d3b4e6d59cd33bfada0e60c516fd201ae506c7250f9d
7
+ data.tar.gz: a1dc1dabf7dad4658606fa253d11bc8e4adab8f834de4d40896f287a87ba1cdde80be14d0a0a650e2bdf6ea6881d1f13ec422b9c281fd89736ef3f62792733f1
@@ -0,0 +1,5 @@
1
+ class AddCategoryToNotifications < ActiveRecord::Migration[4.2]
2
+ def change
3
+ add_column :notifiable_notifications, :category, :string
4
+ end
5
+ end
@@ -1,3 +1,3 @@
1
1
  module Notifiable
2
- VERSION = "0.28.1"
2
+ VERSION = "0.29.0"
3
3
  end
@@ -10,7 +10,7 @@
10
10
  #
11
11
  # It's strongly recommended that you check this file into your version control system.
12
12
 
13
- ActiveRecord::Schema.define(version: 201806182135000) do
13
+ ActiveRecord::Schema.define(version: 201806242135000) do
14
14
 
15
15
  # These are extensions that must be enabled in order to support this database
16
16
  enable_extension "plpgsql"
@@ -34,7 +34,7 @@ ActiveRecord::Schema.define(version: 201806182135000) do
34
34
  t.string "name"
35
35
  t.geography "lonlat", limit: {:srid=>4326, :type=>"st_point", :geographic=>true}
36
36
  t.string "language"
37
- t.string "country"
37
+ t.string "region"
38
38
  t.index ["app_id", "token"], name: "index_notifiable_device_tokens_on_app_id_and_token", unique: true
39
39
  t.index ["user_alias"], name: "index_notifiable_device_tokens_on_user_alias"
40
40
  end
@@ -56,7 +56,8 @@ ActiveRecord::Schema.define(version: 201806182135000) do
56
56
  t.integer "badge_count"
57
57
  t.text "last_error_message"
58
58
  t.string "title"
59
- t.string "thead_id"
59
+ t.string "thread_id"
60
+ t.string "category"
60
61
  end
61
62
 
62
63
  create_table "notifiable_statuses", id: :serial, force: :cascade do |t|
@@ -235,3 +235,24 @@ Migrating to AddLanguageAndRegionToDeviceTokens (201805292135000)
235
235
   (0.4ms) COMMIT
236
236
   (0.3ms) SELECT pg_advisory_unlock(1477033930387646610)
237
237
   (0.2ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
238
+  (1.0ms) SELECT pg_try_advisory_lock(1477033930387646610)
239
+  (3.0ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
240
+ Migrating to AddThreadIdToNotifications (201806182135000)
241
+  (0.6ms) BEGIN
242
+  (10.2ms) ALTER TABLE "notifiable_notifications" ADD "thread_id" character varying
243
+ SQL (2.9ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "201806182135000"]]
244
+  (1.1ms) COMMIT
245
+ Migrating to AddCategoryToNotifications (201806242135000)
246
+  (0.2ms) SELECT pg_advisory_unlock(1477033930387646610)
247
+  (0.2ms) SELECT pg_try_advisory_lock(1477033930387646610)
248
+  (0.9ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
249
+ Migrating to AddCategoryToNotifications (201806242135000)
250
+  (0.1ms) BEGIN
251
+  (0.7ms) ALTER TABLE "notifiable_notifications" ADD "category" character varying
252
+ SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "201806242135000"]]
253
+  (6.3ms) COMMIT
254
+ ActiveRecord::InternalMetadata Load (3.4ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", "environment"], ["LIMIT", 1]]
255
+  (0.3ms) BEGIN
256
+  (0.2ms) COMMIT
257
+  (0.3ms) SELECT pg_advisory_unlock(1477033930387646610)
258
+  (0.3ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: notifiable-rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.28.1
4
+ version: 0.29.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Matt Brooke-Smith
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-06-18 00:00:00.000000000 Z
11
+ date: 2018-06-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
@@ -200,6 +200,7 @@ files:
200
200
  - db/migrate/201803142135000_add_title_to_notifications.rb
201
201
  - db/migrate/201805292135000_add_language_and_country_to_device_tokens.rb
202
202
  - db/migrate/201806182135000_add_thread_id_to_notifications.rb
203
+ - db/migrate/201806242135000_add_category_to_notifications.rb
203
204
  - lib/generators/notifiable/install/install_generator.rb
204
205
  - lib/generators/notifiable/install/templates/initializer.rb
205
206
  - lib/notifiable.rb