glebtv_mongoid_userstamp 0.9.2 → 0.10.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: baa875b76008936bf0ab968862c2402cc996be50da6597460679682f768ce87d
4
- data.tar.gz: 91b99770c94fbed0bd6ebbfab098a6d0205107d9773c825be930dde9c79c6a47
3
+ metadata.gz: 77649687478def5c2d3b302346acb4aaea31d765a1b67556a0a509f918ef45ab
4
+ data.tar.gz: be8a0be3f6870fbea333d90c03501be64c4a0839c34a172a7e2749832da41ca4
5
5
  SHA512:
6
- metadata.gz: c88703face9dbab1c7f7db92aea3dbea7e25aa0329674ca92353154120056c37884a2998a1da02f83704b6baa30cf0951f80e93b2a1c5642255b46d47c934594
7
- data.tar.gz: b53b23b2a8f1c44d80e1cbb9aadc0f544048b4847d3fdc48af3033dc8d0caee795bfb45bf48c76737d2f3e9d76aa42a7c6fbc4b97c84ab68a8775d1963246839
6
+ metadata.gz: aa8911e23c3115c20b1c83054bc6ea0b68703b8f66b1870abd936f3e267d3dd5b3e437b8928ed9de01b65755543cbd3557eaf7ec45e1701dc5391b6a65684088
7
+ data.tar.gz: b07e80c7a13454f9eb5239074e5dbd2e785a81500d9cde28e23745a8cd294672e121b852649fff7bd0c627ca6ae1bdcb0e7ff28717e265218c5f539d49130a95
@@ -1,5 +1,5 @@
1
1
  module Mongoid
2
2
  module Userstamp
3
- VERSION = '0.9.2'
3
+ VERSION = '0.10.0'
4
4
  end
5
5
  end
@@ -16,9 +16,9 @@ Gem::Specification.new do |s|
16
16
  s.test_files = s.files.grep(%r{^(test|spec|features)/})
17
17
  s.require_paths = ['lib']
18
18
 
19
- s.post_install_message = File.read('UPGRADING') if File.exists?('UPGRADING')
19
+ s.post_install_message = File.read('UPGRADING') if File.exist?('UPGRADING')
20
20
 
21
- s.add_dependency 'mongoid', ['>= 6.0.0', '< 8.0']
21
+ s.add_dependency 'mongoid', ['>= 6.0.0', '< 9.0']
22
22
  s.add_runtime_dependency 'request_store'
23
23
 
24
24
  s.add_development_dependency 'rake'
data/spec/mongoid.yml ADDED
@@ -0,0 +1,11 @@
1
+ test:
2
+ clients:
3
+ default:
4
+ database: mongoid_nested_set_test
5
+ hosts:
6
+ - localhost:27018
7
+ options:
8
+ user: 'admin'
9
+ password: 'rs123456'
10
+ auth_source: admin
11
+
data/spec/spec_helper.rb CHANGED
@@ -7,11 +7,7 @@ require 'active_support/all'
7
7
  require 'mongoid'
8
8
  require 'mongoid_userstamp'
9
9
 
10
- Mongoid.configure do |config|
11
- config.connect_to(
12
- 'mongoid_userstamp_test'
13
- )
14
- end
10
+ Mongoid.load!("#{File.dirname(__FILE__)}/mongoid.yml", :test)
15
11
 
16
12
  begin
17
13
  Object.send :remove_const, :Config
metadata CHANGED
@@ -1,16 +1,16 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: glebtv_mongoid_userstamp
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.9.2
4
+ version: 0.10.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - GlebTv
8
8
  - Thomas Boerger
9
9
  - Johnny Shields
10
- autorequire:
10
+ autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2019-05-21 00:00:00.000000000 Z
13
+ date: 2024-04-25 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: mongoid
@@ -21,7 +21,7 @@ dependencies:
21
21
  version: 6.0.0
22
22
  - - "<"
23
23
  - !ruby/object:Gem::Version
24
- version: '8.0'
24
+ version: '9.0'
25
25
  type: :runtime
26
26
  prerelease: false
27
27
  version_requirements: !ruby/object:Gem::Requirement
@@ -31,7 +31,7 @@ dependencies:
31
31
  version: 6.0.0
32
32
  - - "<"
33
33
  - !ruby/object:Gem::Version
34
- version: '8.0'
34
+ version: '9.0'
35
35
  - !ruby/object:Gem::Dependency
36
36
  name: request_store
37
37
  requirement: !ruby/object:Gem::Requirement
@@ -96,6 +96,7 @@ files:
96
96
  - lib/mongoid/userstamp/version.rb
97
97
  - lib/mongoid_userstamp.rb
98
98
  - mongoid_mongoid_userstamp.gemspec
99
+ - spec/mongoid.yml
99
100
  - spec/mongoid/userstamp_spec.rb
100
101
  - spec/spec_helper.rb
101
102
  - spec/support/book.rb
@@ -104,7 +105,7 @@ homepage: https://github.com/glebtv/mongoid_userstamp
104
105
  licenses:
105
106
  - MIT
106
107
  metadata: {}
107
- post_install_message:
108
+ post_install_message:
108
109
  rdoc_options: []
109
110
  require_paths:
110
111
  - lib
@@ -119,11 +120,12 @@ required_rubygems_version: !ruby/object:Gem::Requirement
119
120
  - !ruby/object:Gem::Version
120
121
  version: '0'
121
122
  requirements: []
122
- rubygems_version: 3.0.3
123
- signing_key:
123
+ rubygems_version: 3.4.10
124
+ signing_key:
124
125
  specification_version: 4
125
126
  summary: Userstamp for Mongoid
126
127
  test_files:
128
+ - spec/mongoid.yml
127
129
  - spec/mongoid/userstamp_spec.rb
128
130
  - spec/spec_helper.rb
129
131
  - spec/support/book.rb