glebtv_mongoid_userstamp 0.9.0 → 0.9.1

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: dfc7ed45cc616b40765c2b66c4d1ce80f7be3908be06232372e02a787f6b7f49
4
- data.tar.gz: 33f6c9c39b857b744d9f4b79e8bf5c61b23a75f2386a0b7be78e1c711d9d84be
3
+ metadata.gz: ec66d169aaec0ddf4865952f5ec28f7f0e2f22b325bbf7941abd9bc21d02e99d
4
+ data.tar.gz: 7c164ab473f37429865ff71cf57c252202cc5ee678588dd4d5c948d89d966872
5
5
  SHA512:
6
- metadata.gz: e31583680a55184bf97b4fdc510b9910f447401b59d0d7bd810ed88cf6dd657588c97f946379b7515d80421dffb2e084891ca57954d2585b04d8245326f7326b
7
- data.tar.gz: cd11ba0255ad3faf966ddf954f7d1baa3fbcd54e2b95c094984a833e1269415608f01d820f98308b1c66761c46759a60184054b6d114217cd821083b74e44b55
6
+ metadata.gz: 9fe43db88f70dbb4ea18ea54d5abb3e61e0aaacf4f811b663fe2519cb20ca342e8f55c5da9011f7dd3c3ea4a888b555f79bd6164ceb07c58c8b245087cf9ee1b
7
+ data.tar.gz: 11178e22482adea865b35d509e3570ca99fc921e418005059ca28e077243191a38641412327195baec360cf0ef623de4b8fc0f646b8d7fb95530b8453078d455
@@ -3,8 +3,8 @@ module Mongoid
3
3
  extend ActiveSupport::Concern
4
4
 
5
5
  included do
6
- belongs_to Userstamp.config.creator_field, class_name: Userstamp.config.user_model_name, autosave: false, optional: true
7
- belongs_to Userstamp.config.updater_field, class_name: Userstamp.config.user_model_name, autosave: false, optional: true
6
+ belongs_to Userstamp.config.creator_field, class_name: Userstamp.config.user_model_name, autosave: false, required: false
7
+ belongs_to Userstamp.config.updater_field, class_name: Userstamp.config.user_model_name, autosave: false, required: false
8
8
 
9
9
  before_validation :set_updater
10
10
  before_validation :set_creator
@@ -1,5 +1,5 @@
1
1
  module Mongoid
2
2
  module Userstamp
3
- VERSION = '0.9.0'
3
+ VERSION = '0.9.1'
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: glebtv_mongoid_userstamp
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.9.0
4
+ version: 0.9.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - GlebTv
@@ -10,7 +10,7 @@ authors:
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2018-11-20 00:00:00.000000000 Z
13
+ date: 2019-05-21 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: mongoid
@@ -119,8 +119,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
119
119
  - !ruby/object:Gem::Version
120
120
  version: '0'
121
121
  requirements: []
122
- rubyforge_project:
123
- rubygems_version: 2.7.7
122
+ rubygems_version: 3.0.3
124
123
  signing_key:
125
124
  specification_version: 4
126
125
  summary: Userstamp for Mongoid