fhwang-wisper-mongoid 0.2.4 → 0.3.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.travis.yml +3 -6
- data/Gemfile.mongoid6 +11 -0
- data/Gemfile.mongoid6.lock +59 -0
- data/Gemfile.mongoid7 +11 -0
- data/Gemfile.mongoid7.lock +61 -0
- data/Rakefile +8 -1
- data/lib/wisper/mongoid/publisher.rb +3 -3
- data/lib/wisper/mongoid/version.rb +1 -1
- data/wisper-mongoid.gemspec +2 -1
- metadata +20 -10
- data/gemfiles/mongoid-3.1 +0 -9
- data/gemfiles/mongoid-4.0 +0 -9
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 98163815954e7962f3296cfa468ac34fbd95f0ad9be764f8ab33644adeb1a6bf
|
4
|
+
data.tar.gz: 1bc92d54738540bd9029f04b090c4db6ceddf92b9059d2966a1e606aad5d0d59
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b6dc11cb241b82311f18d7ad42b76dc36b26d75f69fb45790ad04ced90d21a969d92426c033a749522e454a7e73a4e17cd4a298d2dc11700a964649aed716786
|
7
|
+
data.tar.gz: 44d0a6e167291a860a9250694da8308b4a667cf898ec67b6769275578d1b652ed658fc842846efca4388057400fb5d99f2cf7b0e3875dc658f25d0ef55beb500
|
data/.travis.yml
CHANGED
@@ -2,12 +2,9 @@ language: ruby
|
|
2
2
|
bundler_args: --without=metrics
|
3
3
|
script: bundle exec rspec spec
|
4
4
|
gemfile:
|
5
|
-
-
|
6
|
-
-
|
5
|
+
- Gemfile.mongoid6
|
6
|
+
- Gemfile.mongoid7
|
7
7
|
rvm:
|
8
|
-
-
|
9
|
-
- '2.2.0'
|
10
|
-
- jruby
|
11
|
-
- rbx-2
|
8
|
+
- 2.6.3
|
12
9
|
services:
|
13
10
|
- mongodb
|
data/Gemfile.mongoid6
ADDED
@@ -0,0 +1,59 @@
|
|
1
|
+
PATH
|
2
|
+
remote: .
|
3
|
+
specs:
|
4
|
+
fhwang-wisper-mongoid (0.2.4)
|
5
|
+
activesupport
|
6
|
+
mongoid (>= 6)
|
7
|
+
wisper
|
8
|
+
|
9
|
+
GEM
|
10
|
+
remote: https://rubygems.org/
|
11
|
+
specs:
|
12
|
+
activemodel (5.2.3)
|
13
|
+
activesupport (= 5.2.3)
|
14
|
+
activesupport (5.2.3)
|
15
|
+
concurrent-ruby (~> 1.0, >= 1.0.2)
|
16
|
+
i18n (>= 0.7, < 2)
|
17
|
+
minitest (~> 5.1)
|
18
|
+
tzinfo (~> 1.1)
|
19
|
+
bson (4.6.0)
|
20
|
+
concurrent-ruby (1.1.5)
|
21
|
+
diff-lcs (1.3)
|
22
|
+
gemika (0.4.0)
|
23
|
+
i18n (1.7.0)
|
24
|
+
concurrent-ruby (~> 1.0)
|
25
|
+
minitest (5.13.0)
|
26
|
+
mongo (2.11.1)
|
27
|
+
bson (>= 4.6.0, < 5.0.0)
|
28
|
+
mongoid (6.4.4)
|
29
|
+
activemodel (>= 5.1, < 6.0.0)
|
30
|
+
mongo (>= 2.5.1, < 3.0.0)
|
31
|
+
rspec (3.9.0)
|
32
|
+
rspec-core (~> 3.9.0)
|
33
|
+
rspec-expectations (~> 3.9.0)
|
34
|
+
rspec-mocks (~> 3.9.0)
|
35
|
+
rspec-core (3.9.0)
|
36
|
+
rspec-support (~> 3.9.0)
|
37
|
+
rspec-expectations (3.9.0)
|
38
|
+
diff-lcs (>= 1.2.0, < 2.0)
|
39
|
+
rspec-support (~> 3.9.0)
|
40
|
+
rspec-mocks (3.9.0)
|
41
|
+
diff-lcs (>= 1.2.0, < 2.0)
|
42
|
+
rspec-support (~> 3.9.0)
|
43
|
+
rspec-support (3.9.0)
|
44
|
+
thread_safe (0.3.6)
|
45
|
+
tzinfo (1.2.5)
|
46
|
+
thread_safe (~> 0.1)
|
47
|
+
wisper (2.0.1)
|
48
|
+
|
49
|
+
PLATFORMS
|
50
|
+
ruby
|
51
|
+
|
52
|
+
DEPENDENCIES
|
53
|
+
fhwang-wisper-mongoid!
|
54
|
+
gemika
|
55
|
+
mongoid (>= 6, < 7)
|
56
|
+
rspec
|
57
|
+
|
58
|
+
BUNDLED WITH
|
59
|
+
2.0.2
|
data/Gemfile.mongoid7
ADDED
@@ -0,0 +1,61 @@
|
|
1
|
+
PATH
|
2
|
+
remote: .
|
3
|
+
specs:
|
4
|
+
fhwang-wisper-mongoid (0.2.4)
|
5
|
+
activesupport
|
6
|
+
mongoid (>= 6)
|
7
|
+
wisper
|
8
|
+
|
9
|
+
GEM
|
10
|
+
remote: https://rubygems.org/
|
11
|
+
specs:
|
12
|
+
activemodel (6.0.1)
|
13
|
+
activesupport (= 6.0.1)
|
14
|
+
activesupport (6.0.1)
|
15
|
+
concurrent-ruby (~> 1.0, >= 1.0.2)
|
16
|
+
i18n (>= 0.7, < 2)
|
17
|
+
minitest (~> 5.1)
|
18
|
+
tzinfo (~> 1.1)
|
19
|
+
zeitwerk (~> 2.2)
|
20
|
+
bson (4.6.0)
|
21
|
+
concurrent-ruby (1.1.5)
|
22
|
+
diff-lcs (1.3)
|
23
|
+
gemika (0.4.0)
|
24
|
+
i18n (1.7.0)
|
25
|
+
concurrent-ruby (~> 1.0)
|
26
|
+
minitest (5.13.0)
|
27
|
+
mongo (2.11.1)
|
28
|
+
bson (>= 4.6.0, < 5.0.0)
|
29
|
+
mongoid (7.0.5)
|
30
|
+
activemodel (>= 5.1, < 6.1)
|
31
|
+
mongo (>= 2.5.1, < 3.0.0)
|
32
|
+
rspec (3.9.0)
|
33
|
+
rspec-core (~> 3.9.0)
|
34
|
+
rspec-expectations (~> 3.9.0)
|
35
|
+
rspec-mocks (~> 3.9.0)
|
36
|
+
rspec-core (3.9.0)
|
37
|
+
rspec-support (~> 3.9.0)
|
38
|
+
rspec-expectations (3.9.0)
|
39
|
+
diff-lcs (>= 1.2.0, < 2.0)
|
40
|
+
rspec-support (~> 3.9.0)
|
41
|
+
rspec-mocks (3.9.0)
|
42
|
+
diff-lcs (>= 1.2.0, < 2.0)
|
43
|
+
rspec-support (~> 3.9.0)
|
44
|
+
rspec-support (3.9.0)
|
45
|
+
thread_safe (0.3.6)
|
46
|
+
tzinfo (1.2.5)
|
47
|
+
thread_safe (~> 0.1)
|
48
|
+
wisper (2.0.1)
|
49
|
+
zeitwerk (2.2.1)
|
50
|
+
|
51
|
+
PLATFORMS
|
52
|
+
ruby
|
53
|
+
|
54
|
+
DEPENDENCIES
|
55
|
+
fhwang-wisper-mongoid!
|
56
|
+
gemika
|
57
|
+
mongoid (>= 7)
|
58
|
+
rspec
|
59
|
+
|
60
|
+
BUNDLED WITH
|
61
|
+
2.0.2
|
data/Rakefile
CHANGED
@@ -3,6 +3,13 @@ require 'bundler/gem_tasks'
|
|
3
3
|
begin
|
4
4
|
require 'rspec/core/rake_task'
|
5
5
|
RSpec::Core::RakeTask.new(:spec)
|
6
|
-
task default: :spec
|
7
6
|
rescue LoadError
|
8
7
|
end
|
8
|
+
|
9
|
+
begin
|
10
|
+
require 'gemika/tasks'
|
11
|
+
rescue LoadError
|
12
|
+
puts 'Run `gem install gemika` for additional tasks'
|
13
|
+
end
|
14
|
+
|
15
|
+
task default: 'matrix:spec'
|
@@ -10,9 +10,9 @@ module Wisper
|
|
10
10
|
include Wisper::Publisher
|
11
11
|
|
12
12
|
after_validation :after_validation_broadcast
|
13
|
-
after_create :after_create_broadcast
|
14
|
-
after_update :after_update_broadcast
|
15
|
-
after_destroy :after_destroy_broadcast
|
13
|
+
after_create :after_create_broadcast
|
14
|
+
after_update :after_update_broadcast
|
15
|
+
after_destroy :after_destroy_broadcast
|
16
16
|
end
|
17
17
|
|
18
18
|
private
|
data/wisper-mongoid.gemspec
CHANGED
@@ -18,9 +18,10 @@ Gem::Specification.new do |spec|
|
|
18
18
|
spec.require_paths = ['lib']
|
19
19
|
|
20
20
|
spec.add_dependency 'activesupport'
|
21
|
-
spec.add_dependency 'mongoid', '>= 6'
|
21
|
+
spec.add_dependency 'mongoid', '>= 6'
|
22
22
|
spec.add_dependency 'wisper'
|
23
23
|
|
24
|
+
spec.add_development_dependency "gemika"
|
24
25
|
spec.add_development_dependency "rspec"
|
25
26
|
spec.add_development_dependency "rspec_junit_formatter"
|
26
27
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: fhwang-wisper-mongoid
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.3.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Francis Hwang
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2019-
|
12
|
+
date: 2019-11-26 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: activesupport
|
@@ -32,9 +32,6 @@ dependencies:
|
|
32
32
|
- - ">="
|
33
33
|
- !ruby/object:Gem::Version
|
34
34
|
version: '6'
|
35
|
-
- - "<"
|
36
|
-
- !ruby/object:Gem::Version
|
37
|
-
version: '7'
|
38
35
|
type: :runtime
|
39
36
|
prerelease: false
|
40
37
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -42,9 +39,6 @@ dependencies:
|
|
42
39
|
- - ">="
|
43
40
|
- !ruby/object:Gem::Version
|
44
41
|
version: '6'
|
45
|
-
- - "<"
|
46
|
-
- !ruby/object:Gem::Version
|
47
|
-
version: '7'
|
48
42
|
- !ruby/object:Gem::Dependency
|
49
43
|
name: wisper
|
50
44
|
requirement: !ruby/object:Gem::Requirement
|
@@ -59,6 +53,20 @@ dependencies:
|
|
59
53
|
- - ">="
|
60
54
|
- !ruby/object:Gem::Version
|
61
55
|
version: '0'
|
56
|
+
- !ruby/object:Gem::Dependency
|
57
|
+
name: gemika
|
58
|
+
requirement: !ruby/object:Gem::Requirement
|
59
|
+
requirements:
|
60
|
+
- - ">="
|
61
|
+
- !ruby/object:Gem::Version
|
62
|
+
version: '0'
|
63
|
+
type: :development
|
64
|
+
prerelease: false
|
65
|
+
version_requirements: !ruby/object:Gem::Requirement
|
66
|
+
requirements:
|
67
|
+
- - ">="
|
68
|
+
- !ruby/object:Gem::Version
|
69
|
+
version: '0'
|
62
70
|
- !ruby/object:Gem::Dependency
|
63
71
|
name: rspec
|
64
72
|
requirement: !ruby/object:Gem::Requirement
|
@@ -103,11 +111,13 @@ files:
|
|
103
111
|
- ".travis.yml"
|
104
112
|
- CHANGELOG.md
|
105
113
|
- Gemfile
|
114
|
+
- Gemfile.mongoid6
|
115
|
+
- Gemfile.mongoid6.lock
|
116
|
+
- Gemfile.mongoid7
|
117
|
+
- Gemfile.mongoid7.lock
|
106
118
|
- LICENSE.txt
|
107
119
|
- README.md
|
108
120
|
- Rakefile
|
109
|
-
- gemfiles/mongoid-3.1
|
110
|
-
- gemfiles/mongoid-4.0
|
111
121
|
- lib/wisper/mongoid.rb
|
112
122
|
- lib/wisper/mongoid/publisher.rb
|
113
123
|
- lib/wisper/mongoid/version.rb
|
data/gemfiles/mongoid-3.1
DELETED