wisper-activerecord-publisher 0.1.1 → 0.1.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.gitx.yml +4 -0
- data/.ruby-version +1 -0
- data/circle.yml +5 -0
- data/lib/wisper/activerecord/publisher.rb +6 -3
- data/lib/wisper/activerecord/publisher/version.rb +1 -1
- data/wisper-activerecord-publisher.gemspec +2 -2
- metadata +17 -15
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f481f3a7e215a299ad8852ed13ca58015e567a26
|
4
|
+
data.tar.gz: d9103ee22d6a60efc68694c7ebceac390516acff
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d91617efd5bec3e16f0533d28fa1e37b27f0d50e872bfededbe884b1c9745bcc5c5f6d8ac5b9e47771c92270ce7f998051d898588f0ca9a1c9f55afe7a74f408
|
7
|
+
data.tar.gz: 61ba29218c5f18db8a79e9c3c1f592a430d56148589774f8fd827339e2ba998c6fac893e91e762d31ae2695c793f59f9c35f7777f735f4c76f17042e74f42f01
|
data/.gitx.yml
ADDED
data/.ruby-version
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
2.3.1
|
data/circle.yml
ADDED
@@ -13,9 +13,12 @@ module Wisper
|
|
13
13
|
included do
|
14
14
|
include Wisper::Publisher
|
15
15
|
|
16
|
-
|
17
|
-
|
18
|
-
|
16
|
+
# NOTE: do not need to silence deprecations on Rails 5+
|
17
|
+
ActiveSupport::Deprecation.silence do
|
18
|
+
after_commit :broadcast_create, on: :create
|
19
|
+
after_commit :broadcast_update, on: :update
|
20
|
+
after_commit :broadcast_destroy, on: :destroy
|
21
|
+
end
|
19
22
|
end
|
20
23
|
|
21
24
|
private
|
@@ -21,7 +21,7 @@ Gem::Specification.new do |spec|
|
|
21
21
|
spec.add_runtime_dependency 'wisper'
|
22
22
|
spec.add_runtime_dependency 'activerecord'
|
23
23
|
|
24
|
-
spec.add_development_dependency '
|
25
|
-
spec.add_development_dependency 'rake', '~> 10.0'
|
24
|
+
spec.add_development_dependency 'rake'
|
26
25
|
spec.add_development_dependency 'rspec'
|
26
|
+
spec.add_development_dependency "sqlite3"
|
27
27
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: wisper-activerecord-publisher
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- BetterUp Developers
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-
|
11
|
+
date: 2016-09-08 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: wisper
|
@@ -39,35 +39,35 @@ dependencies:
|
|
39
39
|
- !ruby/object:Gem::Version
|
40
40
|
version: '0'
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
|
-
name:
|
42
|
+
name: rake
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
44
44
|
requirements:
|
45
|
-
- - "
|
45
|
+
- - ">="
|
46
46
|
- !ruby/object:Gem::Version
|
47
|
-
version: '
|
47
|
+
version: '0'
|
48
48
|
type: :development
|
49
49
|
prerelease: false
|
50
50
|
version_requirements: !ruby/object:Gem::Requirement
|
51
51
|
requirements:
|
52
|
-
- - "
|
52
|
+
- - ">="
|
53
53
|
- !ruby/object:Gem::Version
|
54
|
-
version: '
|
54
|
+
version: '0'
|
55
55
|
- !ruby/object:Gem::Dependency
|
56
|
-
name:
|
56
|
+
name: rspec
|
57
57
|
requirement: !ruby/object:Gem::Requirement
|
58
58
|
requirements:
|
59
|
-
- - "
|
59
|
+
- - ">="
|
60
60
|
- !ruby/object:Gem::Version
|
61
|
-
version: '
|
61
|
+
version: '0'
|
62
62
|
type: :development
|
63
63
|
prerelease: false
|
64
64
|
version_requirements: !ruby/object:Gem::Requirement
|
65
65
|
requirements:
|
66
|
-
- - "
|
66
|
+
- - ">="
|
67
67
|
- !ruby/object:Gem::Version
|
68
|
-
version: '
|
68
|
+
version: '0'
|
69
69
|
- !ruby/object:Gem::Dependency
|
70
|
-
name:
|
70
|
+
name: sqlite3
|
71
71
|
requirement: !ruby/object:Gem::Requirement
|
72
72
|
requirements:
|
73
73
|
- - ">="
|
@@ -88,7 +88,9 @@ extensions: []
|
|
88
88
|
extra_rdoc_files: []
|
89
89
|
files:
|
90
90
|
- ".gitignore"
|
91
|
+
- ".gitx.yml"
|
91
92
|
- ".rspec"
|
93
|
+
- ".ruby-version"
|
92
94
|
- ".travis.yml"
|
93
95
|
- Gemfile
|
94
96
|
- MIT-LICENSE
|
@@ -96,6 +98,7 @@ files:
|
|
96
98
|
- Rakefile
|
97
99
|
- bin/console
|
98
100
|
- bin/setup
|
101
|
+
- circle.yml
|
99
102
|
- lib/wisper/activerecord/publisher.rb
|
100
103
|
- lib/wisper/activerecord/publisher/version.rb
|
101
104
|
- wisper-activerecord-publisher.gemspec
|
@@ -119,9 +122,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
119
122
|
version: '0'
|
120
123
|
requirements: []
|
121
124
|
rubyforge_project:
|
122
|
-
rubygems_version: 2.6.
|
125
|
+
rubygems_version: 2.6.6
|
123
126
|
signing_key:
|
124
127
|
specification_version: 4
|
125
128
|
summary: Publish wisper events for activerecord model lifecycle
|
126
129
|
test_files: []
|
127
|
-
has_rdoc:
|