notifiable-rails 0.7.2 → 0.8.0
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/lib/generators/notifiable/install/install_generator.rb +1 -0
- data/lib/generators/notifiable/install/templates/create_notifiable_apps.rb +10 -0
- data/lib/generators/notifiable/install/templates/create_notifiable_device_tokens.rb +1 -0
- data/lib/generators/notifiable/install/templates/create_notifiable_notifications.rb +5 -0
- data/lib/notifiable.rb +4 -3
- data/lib/notifiable/app.rb +8 -0
- data/lib/notifiable/batch.rb +22 -6
- data/lib/notifiable/device_token.rb +2 -4
- data/lib/notifiable/notification.rb +3 -0
- data/lib/notifiable/version.rb +1 -1
- data/spec/batch_spec.rb +27 -14
- data/spec/controllers/device_tokens_controller_spec.rb +21 -7
- data/spec/notifiable_server_spec.rb +5 -3
- data/spec/notifiable_spec.rb +5 -2
- data/spec/notification_spec.rb +3 -3
- data/spec/support/factories.rb +9 -2
- data/spec/test_app/db/migrate/20131210115649_create_notifiable_apps.rb +10 -0
- data/spec/test_app/db/migrate/20131228225139_create_notifiable_device_tokens.rb +3 -2
- data/spec/test_app/db/migrate/20131228225140_create_notifiable_notifications.rb +14 -4
- data/spec/test_app/db/schema.rb +11 -4
- data/spec/test_app/db/test.sqlite3 +0 -0
- data/spec/test_app/log/test.log +34718 -0
- metadata +6 -2
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: notifiable-rails
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.8.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Kamil Kocemba
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2014-
|
12
|
+
date: 2014-03-11 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: rails
|
@@ -176,11 +176,13 @@ files:
|
|
176
176
|
- app/controllers/notifiable/device_tokens_controller.rb
|
177
177
|
- config/routes.rb
|
178
178
|
- lib/generators/notifiable/install/install_generator.rb
|
179
|
+
- lib/generators/notifiable/install/templates/create_notifiable_apps.rb
|
179
180
|
- lib/generators/notifiable/install/templates/create_notifiable_device_tokens.rb
|
180
181
|
- lib/generators/notifiable/install/templates/create_notifiable_notification_statuses.rb
|
181
182
|
- lib/generators/notifiable/install/templates/create_notifiable_notifications.rb
|
182
183
|
- lib/generators/notifiable/install/templates/initializer.rb
|
183
184
|
- lib/notifiable/active_record.rb
|
185
|
+
- lib/notifiable/app.rb
|
184
186
|
- lib/notifiable/batch.rb
|
185
187
|
- lib/notifiable/device_token.rb
|
186
188
|
- lib/notifiable/engine.rb
|
@@ -232,6 +234,7 @@ files:
|
|
232
234
|
- spec/test_app/config.ru
|
233
235
|
- spec/test_app/db/development.sqlite3
|
234
236
|
- spec/test_app/db/migrate/20131210115648_create_users.rb
|
237
|
+
- spec/test_app/db/migrate/20131210115649_create_notifiable_apps.rb
|
235
238
|
- spec/test_app/db/migrate/20131228225139_create_notifiable_device_tokens.rb
|
236
239
|
- spec/test_app/db/migrate/20131228225140_create_notifiable_notifications.rb
|
237
240
|
- spec/test_app/db/migrate/20131229104039_create_notifiable_notification_statuses.rb
|
@@ -308,6 +311,7 @@ test_files:
|
|
308
311
|
- spec/test_app/config.ru
|
309
312
|
- spec/test_app/db/development.sqlite3
|
310
313
|
- spec/test_app/db/migrate/20131210115648_create_users.rb
|
314
|
+
- spec/test_app/db/migrate/20131210115649_create_notifiable_apps.rb
|
311
315
|
- spec/test_app/db/migrate/20131228225139_create_notifiable_device_tokens.rb
|
312
316
|
- spec/test_app/db/migrate/20131228225140_create_notifiable_notifications.rb
|
313
317
|
- spec/test_app/db/migrate/20131229104039_create_notifiable_notification_statuses.rb
|