mongoid-userstamps 3.3.0 → 3.4.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.github/workflows/main.yml +45 -0
- data/lib/mongoid/userstamps/version.rb +1 -1
- data/mongoid-userstamps.gemspec +3 -3
- metadata +13 -12
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3f0f08cbc0f21fda7aea5c869e39bfd3ce0d120c7707136826f3ddb315c37d04
|
4
|
+
data.tar.gz: 1c49c91a747a1bf6c64c0f525ec5e6f45ee5418afc4cbc91e19552b4da2049e6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8cf702214921ee960892b710a2b302d84b074048acede727e7974b8a08069aa7c8c502f8990d0939f10ed838d5099d95ce4d84a4040efcfd6606308f3662b764
|
7
|
+
data.tar.gz: 3451e547e0596ff7ea40336deb5ece7114211afc6e75d58c3af6dcf968bfd45d7127650cd80e267d22565842c76d755c5b9e0a50b8ebfb6aa42fadde507102c7
|
@@ -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
@@ -6,7 +6,7 @@ Gem::Specification.new do |s|
|
|
6
6
|
s.name = "mongoid-userstamps"
|
7
7
|
s.version = Mongoid::Userstamps::VERSION
|
8
8
|
s.authors = ["Geoffroy Planquart", "Thomas Boerger", "Johnny Shields", "Bharat Gupta"]
|
9
|
-
s.homepage = "https://github.com/
|
9
|
+
s.homepage = "https://github.com/CreaLettres/mongoid_userstamp"
|
10
10
|
s.license = "MIT"
|
11
11
|
s.summary = "Userstamps for Mongoid"
|
12
12
|
s.description = "Userstamps for creator and updater fields using Mongoid"
|
@@ -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,7 +1,7 @@
|
|
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.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Geoffroy Planquart
|
@@ -11,7 +11,7 @@ authors:
|
|
11
11
|
autorequire:
|
12
12
|
bindir: bin
|
13
13
|
cert_chain: []
|
14
|
-
date:
|
14
|
+
date: 2022-11-15 00:00:00.000000000 Z
|
15
15
|
dependencies:
|
16
16
|
- !ruby/object:Gem::Dependency
|
17
17
|
name: mongoid
|
@@ -20,9 +20,9 @@ dependencies:
|
|
20
20
|
- - ">="
|
21
21
|
- !ruby/object:Gem::Version
|
22
22
|
version: 5.0.0
|
23
|
-
- - "
|
23
|
+
- - "<="
|
24
24
|
- !ruby/object:Gem::Version
|
25
|
-
version:
|
25
|
+
version: '8.0'
|
26
26
|
type: :runtime
|
27
27
|
prerelease: false
|
28
28
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -30,9 +30,9 @@ dependencies:
|
|
30
30
|
- - ">="
|
31
31
|
- !ruby/object:Gem::Version
|
32
32
|
version: 5.0.0
|
33
|
-
- - "
|
33
|
+
- - "<="
|
34
34
|
- !ruby/object:Gem::Version
|
35
|
-
version:
|
35
|
+
version: '8.0'
|
36
36
|
- !ruby/object:Gem::Dependency
|
37
37
|
name: activesupport
|
38
38
|
requirement: !ruby/object:Gem::Requirement
|
@@ -40,9 +40,9 @@ dependencies:
|
|
40
40
|
- - ">="
|
41
41
|
- !ruby/object:Gem::Version
|
42
42
|
version: 4.2.0
|
43
|
-
- - "
|
43
|
+
- - "<="
|
44
44
|
- !ruby/object:Gem::Version
|
45
|
-
version:
|
45
|
+
version: '7.1'
|
46
46
|
type: :runtime
|
47
47
|
prerelease: false
|
48
48
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -50,9 +50,9 @@ dependencies:
|
|
50
50
|
- - ">="
|
51
51
|
- !ruby/object:Gem::Version
|
52
52
|
version: 4.2.0
|
53
|
-
- - "
|
53
|
+
- - "<="
|
54
54
|
- !ruby/object:Gem::Version
|
55
|
-
version:
|
55
|
+
version: '7.1'
|
56
56
|
description: Userstamps for creator and updater fields using Mongoid
|
57
57
|
email:
|
58
58
|
- geoffroy@planquart.fr
|
@@ -61,6 +61,7 @@ executables: []
|
|
61
61
|
extensions: []
|
62
62
|
extra_rdoc_files: []
|
63
63
|
files:
|
64
|
+
- ".github/workflows/main.yml"
|
64
65
|
- ".gitignore"
|
65
66
|
- ".rubocop.yml"
|
66
67
|
- ".travis.yml"
|
@@ -105,7 +106,7 @@ files:
|
|
105
106
|
- test/paranoia_test.rb
|
106
107
|
- test/test_helper.rb
|
107
108
|
- test/user_test.rb
|
108
|
-
homepage: https://github.com/
|
109
|
+
homepage: https://github.com/CreaLettres/mongoid_userstamp
|
109
110
|
licenses:
|
110
111
|
- MIT
|
111
112
|
metadata: {}
|
@@ -124,7 +125,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
124
125
|
- !ruby/object:Gem::Version
|
125
126
|
version: '0'
|
126
127
|
requirements: []
|
127
|
-
rubygems_version: 3.
|
128
|
+
rubygems_version: 3.1.6
|
128
129
|
signing_key:
|
129
130
|
specification_version: 4
|
130
131
|
summary: Userstamps for Mongoid
|