live_record 0.0.1 → 0.0.2

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: '00451863c5ada349c3b74b4c4ad8fd6332e748fe'
4
- data.tar.gz: ed18de46bdb44a11f5d54fa7ff76af65202381d9
3
+ metadata.gz: d2aa0fed64ac30322d4fdb3a0da9547bb1105fab
4
+ data.tar.gz: f68a40057334d0cf4357b23082cff7fa8b85dc03
5
5
  SHA512:
6
- metadata.gz: 064c14f91640de8fb7ef723fc147c7ee475d4c2223469b1eb4fa0c2c0131e95a9b2df308f195f688bd833bdf7dd110807f15d7cceb71a6a355d87da53edf6d72
7
- data.tar.gz: 0a4f1d3fc4312cd88757c2f4dbb434944bd7cc52d2f665d0a8a5e3d4bf58296030cae6fe6334ca31daf1005cc3e0f43dae64b1eac92f924638ecbcc4829d5bd7
6
+ metadata.gz: 4ab01f197af30bb89b31cc4b642d72ebd76af6ae413dff5d5f76e7fa2d12fd90e9aaca1283cb26027d5fa8a8a242f0c0fe0d20ae5be4cff3bbee0ca85fb9ebfe
7
+ data.tar.gz: 4749d79c4ed436e753c0a01558bb63451ed9cd6751f57d731b68c96bba08fc1c143372818d5e38aeb20ebb869613c9098d1b8b4d41ea022c4e3131d1ba1b5783
data/README.md CHANGED
@@ -14,7 +14,7 @@
14
14
 
15
15
  ## Demo
16
16
 
17
- * https://obscure-refuge-63797.herokuapp.com/
17
+ * https://live-record-example.herokuapp.com/posts
18
18
 
19
19
  ## Usage Example
20
20
 
@@ -62,7 +62,7 @@
62
62
  end
63
63
  ```
64
64
 
65
- * whenever a Book (or any other Model record that you specified) has been updated / destroyed, there exists an `after_update_commit` and an `after_destroy_commit` ActiveRecord callback that will broadcast changes to all subscribed JS clients
65
+ * whenever a Book (or any other Model record that you specified) has been updated / destroyed, there exists an `after_update_commit` and an `after_destroy` ActiveRecord callback that will broadcast changes to all subscribed JS clients
66
66
 
67
67
  ## Setup
68
68
  * Add the following to your `Gemfile`:
@@ -7,7 +7,7 @@ module LiveRecord
7
7
 
8
8
  after_update :__live_record_reference_changed_attributes__
9
9
  after_update_commit :__live_record_broadcast_record_update__
10
- after_destroy_commit :__live_record_broadcast_record_destroy__
10
+ after_destroy :__live_record_broadcast_record_destroy__
11
11
 
12
12
  def self.live_record_whitelisted_attributes(record, current_user)
13
13
  []
@@ -1,3 +1,3 @@
1
1
  module LiveRecord
2
- VERSION = '0.0.1'.freeze
2
+ VERSION = '0.0.2'.freeze
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: live_record
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jules Roman B. Polidario