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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 467db1f89774efb3fae4044a8b0e121cb861ebbe13062af3cbe57880091176db
4
- data.tar.gz: f390914a5078f1ce8bf36146709ab7b1a4568f68bb52aba28b2e705a2cf85506
3
+ metadata.gz: 98163815954e7962f3296cfa468ac34fbd95f0ad9be764f8ab33644adeb1a6bf
4
+ data.tar.gz: 1bc92d54738540bd9029f04b090c4db6ceddf92b9059d2966a1e606aad5d0d59
5
5
  SHA512:
6
- metadata.gz: 2f8284400941230e78453fc51a2767b95c4446b6fceb028397ba43672bfd291b36764c752c4193a8cf989fe5b89d4c57e72716f4b4c8ae1536647adbb968898f
7
- data.tar.gz: e4b00576d6c9b7bf778e31303f7c84d286e6b3f4df48e528856544b4e56fbb7bab77709db2cace30cf0301d00414daf9731308b090e25065a0c178c414541785
6
+ metadata.gz: b6dc11cb241b82311f18d7ad42b76dc36b26d75f69fb45790ad04ced90d21a969d92426c033a749522e454a7e73a4e17cd4a298d2dc11700a964649aed716786
7
+ data.tar.gz: 44d0a6e167291a860a9250694da8308b4a667cf898ec67b6769275578d1b652ed658fc842846efca4388057400fb5d99f2cf7b0e3875dc658f25d0ef55beb500
@@ -2,12 +2,9 @@ language: ruby
2
2
  bundler_args: --without=metrics
3
3
  script: bundle exec rspec spec
4
4
  gemfile:
5
- - gemfiles/mongoid-3.1
6
- - gemfiles/mongoid-4.0
5
+ - Gemfile.mongoid6
6
+ - Gemfile.mongoid7
7
7
  rvm:
8
- - '1.9.3'
9
- - '2.2.0'
10
- - jruby
11
- - rbx-2
8
+ - 2.6.3
12
9
  services:
13
10
  - mongodb
@@ -0,0 +1,11 @@
1
+ source 'https://rubygems.org'
2
+
3
+ # Runtime dependencies
4
+ gem 'mongoid', '>= 6', '< 7'
5
+
6
+ # Development dependencies
7
+ gem 'gemika'
8
+ gem 'rspec'
9
+
10
+ # Gem under test
11
+ gem 'fhwang-wisper-mongoid', path: '.'
@@ -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
@@ -0,0 +1,11 @@
1
+ source 'https://rubygems.org'
2
+
3
+ # Runtime dependencies
4
+ gem 'mongoid', '>= 7'
5
+
6
+ # Development dependencies
7
+ gem 'gemika'
8
+ gem 'rspec'
9
+
10
+ # Gem under test
11
+ gem 'fhwang-wisper-mongoid', path: '.'
@@ -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, on: :create
14
- after_update :after_update_broadcast, on: :update
15
- after_destroy :after_destroy_broadcast, on: :destroy
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
@@ -1,5 +1,5 @@
1
1
  module Wisper
2
2
  module Mongoid
3
- VERSION = '0.2.4'.freeze
3
+ VERSION = '0.3.0'.freeze
4
4
  end
5
5
  end
@@ -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', '< 7'
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.2.4
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-10-29 00:00:00.000000000 Z
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
@@ -1,9 +0,0 @@
1
- source 'https://rubygems.org'
2
-
3
- gem 'rubysl', '~> 2.0', :platforms => :rbx
4
-
5
- gem 'rspec'
6
-
7
- gem 'mongoid', '~> 3.1'
8
-
9
- gemspec :path => '../'
@@ -1,9 +0,0 @@
1
- source 'https://rubygems.org'
2
-
3
- gem 'rubysl', '~> 2.0', :platforms => :rbx
4
-
5
- gem 'rspec'
6
-
7
- gem 'mongoid', '~> 4.0'
8
-
9
- gemspec :path => '../'