mongoid-userstamps 3.3.0 → 3.4.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/.github/workflows/main.yml +45 -0
- data/lib/mongoid/userstamps/version.rb +1 -1
- data/mongoid-userstamps.gemspec +5 -5
- metadata +15 -12
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 70501ef3b9546c51367b5acd39bce87a58dcf83d7662bccccb909cba92112f7b
|
|
4
|
+
data.tar.gz: 85fc4bbb628d80689c4354aa2d7232e0a20a3f964919a8858738072a251d9dfa
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: a1fc44f0982b8c1886fa4bf1107cd5da9b0d40ca4ff2a2b3d8ad71690c18cb2810215b600357ecfcfc1ff43f3f96b30640c95df5e4d1bd87d28542d676e2d99e
|
|
7
|
+
data.tar.gz: 9d059ad32403bcbead31c14a03f6460c742a0600abd4fdf3467f705e2faa01f7a7d29874bf33f7cdde078666d80b5824cc7c5244d959d04ecc47f6d1af5b4ebe
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
# This workflow uses actions that are not certified by GitHub.
|
|
2
|
+
# They are provided by a third-party and are governed by
|
|
3
|
+
# separate terms of service, privacy policy, and support
|
|
4
|
+
# documentation.
|
|
5
|
+
|
|
6
|
+
# GitHub recommends pinning actions to a commit SHA.
|
|
7
|
+
# To get a newer version, you will need to update the SHA.
|
|
8
|
+
# You can also reference a tag or branch, but the action may change without warning.
|
|
9
|
+
|
|
10
|
+
name: Ruby CI
|
|
11
|
+
|
|
12
|
+
on:
|
|
13
|
+
push:
|
|
14
|
+
branches: [ master ]
|
|
15
|
+
pull_request:
|
|
16
|
+
branches: [ master ]
|
|
17
|
+
|
|
18
|
+
jobs:
|
|
19
|
+
test:
|
|
20
|
+
|
|
21
|
+
runs-on: ubuntu-latest
|
|
22
|
+
|
|
23
|
+
services:
|
|
24
|
+
mongodb:
|
|
25
|
+
image: mongo
|
|
26
|
+
ports:
|
|
27
|
+
- 27017:27017
|
|
28
|
+
|
|
29
|
+
strategy:
|
|
30
|
+
matrix:
|
|
31
|
+
ruby-version: ['2.6', '2.7']
|
|
32
|
+
mongoid-version: ['6.2.0', '6.3.0', '6.4.0', '7.0.0', '7.1.0', '8.0.0']
|
|
33
|
+
|
|
34
|
+
steps:
|
|
35
|
+
- uses: actions/checkout@v3
|
|
36
|
+
- name: Set up Ruby ${{ matrix.ruby-version }}
|
|
37
|
+
uses: ruby/setup-ruby@359bebbc29cbe6c87da6bc9ea3bc930432750108
|
|
38
|
+
with:
|
|
39
|
+
ruby-version: ${{ matrix.ruby-version }}
|
|
40
|
+
- name: Setup Mongoid ENV var
|
|
41
|
+
run: export MONGOID_VERSION=${{ matrix.mongoid-version }}
|
|
42
|
+
- name: Install dependencies
|
|
43
|
+
run: bundle update --jobs=3 --retry=3
|
|
44
|
+
- name: Run tests
|
|
45
|
+
run: bundle exec rake
|
data/mongoid-userstamps.gemspec
CHANGED
|
@@ -5,12 +5,12 @@ require "mongoid/userstamps/version"
|
|
|
5
5
|
Gem::Specification.new do |s|
|
|
6
6
|
s.name = "mongoid-userstamps"
|
|
7
7
|
s.version = Mongoid::Userstamps::VERSION
|
|
8
|
-
s.authors = ["Geoffroy Planquart", "Thomas Boerger", "Johnny Shields", "Bharat Gupta"]
|
|
9
|
-
s.homepage = "https://github.com/
|
|
8
|
+
s.authors = ["Geoffroy Planquart", "Thomas Boerger", "Johnny Shields", "Bharat Gupta", "Thomas Kuntz"]
|
|
9
|
+
s.homepage = "https://github.com/CreaLettres/mongoid-userstamps"
|
|
10
10
|
s.license = "MIT"
|
|
11
11
|
s.summary = "Userstamps for Mongoid"
|
|
12
12
|
s.description = "Userstamps for creator and updater fields using Mongoid"
|
|
13
|
-
s.email = ["geoffroy@planquart.fr", "tboerger@tbpro.de"]
|
|
13
|
+
s.email = ["thomaskuntz67@gmail.com", "geoffroy@planquart.fr", "tboerger@tbpro.de"]
|
|
14
14
|
|
|
15
15
|
s.files = `git ls-files`.split($/)
|
|
16
16
|
s.executables = s.files.grep(%r{^bin/}) { |f| File.basename(f) }
|
|
@@ -19,6 +19,6 @@ Gem::Specification.new do |s|
|
|
|
19
19
|
|
|
20
20
|
s.post_install_message = File.read("UPGRADING") if File.exist?("UPGRADING")
|
|
21
21
|
|
|
22
|
-
s.add_dependency "mongoid", ">= 5.0.0", "
|
|
23
|
-
s.add_dependency "activesupport", ">= 4.2.0", "
|
|
22
|
+
s.add_dependency "mongoid", ">= 5.0.0", "<= 8.0"
|
|
23
|
+
s.add_dependency "activesupport", ">= 4.2.0", "<= 7.1"
|
|
24
24
|
end
|
metadata
CHANGED
|
@@ -1,17 +1,18 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: mongoid-userstamps
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 3.
|
|
4
|
+
version: 3.4.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Geoffroy Planquart
|
|
8
8
|
- Thomas Boerger
|
|
9
9
|
- Johnny Shields
|
|
10
10
|
- Bharat Gupta
|
|
11
|
+
- Thomas Kuntz
|
|
11
12
|
autorequire:
|
|
12
13
|
bindir: bin
|
|
13
14
|
cert_chain: []
|
|
14
|
-
date:
|
|
15
|
+
date: 2022-11-29 00:00:00.000000000 Z
|
|
15
16
|
dependencies:
|
|
16
17
|
- !ruby/object:Gem::Dependency
|
|
17
18
|
name: mongoid
|
|
@@ -20,9 +21,9 @@ dependencies:
|
|
|
20
21
|
- - ">="
|
|
21
22
|
- !ruby/object:Gem::Version
|
|
22
23
|
version: 5.0.0
|
|
23
|
-
- - "
|
|
24
|
+
- - "<="
|
|
24
25
|
- !ruby/object:Gem::Version
|
|
25
|
-
version:
|
|
26
|
+
version: '8.0'
|
|
26
27
|
type: :runtime
|
|
27
28
|
prerelease: false
|
|
28
29
|
version_requirements: !ruby/object:Gem::Requirement
|
|
@@ -30,9 +31,9 @@ dependencies:
|
|
|
30
31
|
- - ">="
|
|
31
32
|
- !ruby/object:Gem::Version
|
|
32
33
|
version: 5.0.0
|
|
33
|
-
- - "
|
|
34
|
+
- - "<="
|
|
34
35
|
- !ruby/object:Gem::Version
|
|
35
|
-
version:
|
|
36
|
+
version: '8.0'
|
|
36
37
|
- !ruby/object:Gem::Dependency
|
|
37
38
|
name: activesupport
|
|
38
39
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -40,9 +41,9 @@ dependencies:
|
|
|
40
41
|
- - ">="
|
|
41
42
|
- !ruby/object:Gem::Version
|
|
42
43
|
version: 4.2.0
|
|
43
|
-
- - "
|
|
44
|
+
- - "<="
|
|
44
45
|
- !ruby/object:Gem::Version
|
|
45
|
-
version:
|
|
46
|
+
version: '7.1'
|
|
46
47
|
type: :runtime
|
|
47
48
|
prerelease: false
|
|
48
49
|
version_requirements: !ruby/object:Gem::Requirement
|
|
@@ -50,17 +51,19 @@ dependencies:
|
|
|
50
51
|
- - ">="
|
|
51
52
|
- !ruby/object:Gem::Version
|
|
52
53
|
version: 4.2.0
|
|
53
|
-
- - "
|
|
54
|
+
- - "<="
|
|
54
55
|
- !ruby/object:Gem::Version
|
|
55
|
-
version:
|
|
56
|
+
version: '7.1'
|
|
56
57
|
description: Userstamps for creator and updater fields using Mongoid
|
|
57
58
|
email:
|
|
59
|
+
- thomaskuntz67@gmail.com
|
|
58
60
|
- geoffroy@planquart.fr
|
|
59
61
|
- tboerger@tbpro.de
|
|
60
62
|
executables: []
|
|
61
63
|
extensions: []
|
|
62
64
|
extra_rdoc_files: []
|
|
63
65
|
files:
|
|
66
|
+
- ".github/workflows/main.yml"
|
|
64
67
|
- ".gitignore"
|
|
65
68
|
- ".rubocop.yml"
|
|
66
69
|
- ".travis.yml"
|
|
@@ -105,7 +108,7 @@ files:
|
|
|
105
108
|
- test/paranoia_test.rb
|
|
106
109
|
- test/test_helper.rb
|
|
107
110
|
- test/user_test.rb
|
|
108
|
-
homepage: https://github.com/
|
|
111
|
+
homepage: https://github.com/CreaLettres/mongoid-userstamps
|
|
109
112
|
licenses:
|
|
110
113
|
- MIT
|
|
111
114
|
metadata: {}
|
|
@@ -124,7 +127,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
124
127
|
- !ruby/object:Gem::Version
|
|
125
128
|
version: '0'
|
|
126
129
|
requirements: []
|
|
127
|
-
rubygems_version: 3.
|
|
130
|
+
rubygems_version: 3.1.6
|
|
128
131
|
signing_key:
|
|
129
132
|
specification_version: 4
|
|
130
133
|
summary: Userstamps for Mongoid
|