audited-timeline 1.1.0 → 2.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/.github/dependabot.yml +10 -0
- data/.github/workflows/codeql-analysis.yml +27 -0
- data/.github/workflows/gem-build.yml +18 -0
- data/.github/workflows/gem-push.yml +27 -0
- data/.ruby-version +1 -1
- data/Dockerfile +14 -0
- data/Gemfile.lock +154 -102
- data/audited_timeline.gemspec +3 -3
- data/docker-compose.yml +7 -0
- data/lib/audited_timeline/view_helpers.rb +1 -1
- metadata +15 -11
- data/VERSION +0 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: 06b654a5ea78a07243f036a36c5804c5908df602965ee987557a5a42a6639b93
|
4
|
+
data.tar.gz: e61899a6cb6a900a951655cee8c1a43127913ce7ac3be8aec603cab38862661a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c6dba43b5bc4f6fa95b638afe7d565b8cbb5810239042ad5153c0cfee2723b04b60349ff54d9859c45da296031cc2a4d498c55fa41298d0c4527e71c92093ed6
|
7
|
+
data.tar.gz: 361832db6a2eb6554b7fc1fa3c2d0f394525433aae1a2d8d92d46e9c958b099d0ee6ad0cb7a67d3dd8e797daffc8b513023d707981ab8788e438e1979a6618e1
|
@@ -0,0 +1,27 @@
|
|
1
|
+
name: "CodeQL"
|
2
|
+
|
3
|
+
on:
|
4
|
+
push:
|
5
|
+
branches: [master]
|
6
|
+
pull_request:
|
7
|
+
branches: [master]
|
8
|
+
schedule:
|
9
|
+
- cron: "25 2 * * 6"
|
10
|
+
|
11
|
+
jobs:
|
12
|
+
analyze:
|
13
|
+
name: Analyze
|
14
|
+
runs-on: ubuntu-latest
|
15
|
+
permissions:
|
16
|
+
actions: read
|
17
|
+
contents: read
|
18
|
+
security-events: write
|
19
|
+
steps:
|
20
|
+
- name: Checkout repository
|
21
|
+
uses: actions/checkout@v3
|
22
|
+
- name: Initialize CodeQL
|
23
|
+
uses: github/codeql-action/init@v2
|
24
|
+
- name: Autobuild
|
25
|
+
uses: github/codeql-action/autobuild@v2
|
26
|
+
- name: Perform CodeQL Analysis
|
27
|
+
uses: github/codeql-action/analyze@v2
|
@@ -0,0 +1,18 @@
|
|
1
|
+
name: Build Ruby Gem
|
2
|
+
|
3
|
+
on:
|
4
|
+
pull_request:
|
5
|
+
branches: [master]
|
6
|
+
|
7
|
+
jobs:
|
8
|
+
build:
|
9
|
+
name: Build
|
10
|
+
runs-on: ubuntu-latest
|
11
|
+
steps:
|
12
|
+
- uses: actions/checkout@v2
|
13
|
+
with:
|
14
|
+
fetch-depth: 0
|
15
|
+
- uses: ruby/setup-ruby@v1
|
16
|
+
with:
|
17
|
+
ruby-version: 3.0
|
18
|
+
- run: gem build *.gemspec
|
@@ -0,0 +1,27 @@
|
|
1
|
+
name: Build + Publish Ruby Gem
|
2
|
+
|
3
|
+
on:
|
4
|
+
push:
|
5
|
+
tags:
|
6
|
+
- "*"
|
7
|
+
|
8
|
+
jobs:
|
9
|
+
build:
|
10
|
+
name: Build + Publish
|
11
|
+
runs-on: ubuntu-latest
|
12
|
+
steps:
|
13
|
+
- uses: actions/checkout@v2
|
14
|
+
- uses: ruby/setup-ruby@v1
|
15
|
+
with:
|
16
|
+
ruby-version: 3.0
|
17
|
+
- name: Publish to RubyGems
|
18
|
+
run: |
|
19
|
+
mkdir -p $HOME/.gem
|
20
|
+
touch $HOME/.gem/credentials
|
21
|
+
chmod 0600 $HOME/.gem/credentials
|
22
|
+
printf -- "---\n:rubygems_api_key: ${GEM_HOST_API_KEY}\n" > $HOME/.gem/credentials
|
23
|
+
gem build *.gemspec
|
24
|
+
gem push *.gem
|
25
|
+
env:
|
26
|
+
GEM_VERSION: ${{ github.ref_name }}
|
27
|
+
GEM_HOST_API_KEY: "${{secrets.RUBYGEMS_AUTH_TOKEN}}"
|
data/.ruby-version
CHANGED
@@ -1 +1 @@
|
|
1
|
-
|
1
|
+
3.0.0
|
data/Dockerfile
ADDED
@@ -0,0 +1,14 @@
|
|
1
|
+
FROM ruby:3.0-alpine
|
2
|
+
|
3
|
+
WORKDIR /app
|
4
|
+
|
5
|
+
RUN apk add -U \
|
6
|
+
bash less tzdata shared-mime-info build-base libc6-compat git && \
|
7
|
+
gem install bundler bundler-audit
|
8
|
+
|
9
|
+
COPY *.gemspec Gemfile Gemfile.lock VERSION ./
|
10
|
+
RUN BUNDLER_VERSION=$(grep -A 1 "BUNDLED WITH" Gemfile.lock | grep -v "BUNDLED WITH" | tr -d '[:space:]') && \
|
11
|
+
gem install "bundler:$BUNDLER_VERSION" && \
|
12
|
+
bundle install --jobs $(nproc)
|
13
|
+
|
14
|
+
COPY . ./
|
data/Gemfile.lock
CHANGED
@@ -1,125 +1,177 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
audited-timeline (1.
|
5
|
-
audited (~> 4.3
|
4
|
+
audited-timeline (1.1.1)
|
5
|
+
audited (~> 4.3)
|
6
6
|
draper (>= 2.1.0)
|
7
7
|
rails (>= 4.0.0)
|
8
8
|
|
9
9
|
GEM
|
10
10
|
remote: https://rubygems.org/
|
11
11
|
specs:
|
12
|
-
|
13
|
-
actionpack (=
|
14
|
-
|
15
|
-
|
12
|
+
actioncable (6.1.7.2)
|
13
|
+
actionpack (= 6.1.7.2)
|
14
|
+
activesupport (= 6.1.7.2)
|
15
|
+
nio4r (~> 2.0)
|
16
|
+
websocket-driver (>= 0.6.1)
|
17
|
+
actionmailbox (6.1.7.2)
|
18
|
+
actionpack (= 6.1.7.2)
|
19
|
+
activejob (= 6.1.7.2)
|
20
|
+
activerecord (= 6.1.7.2)
|
21
|
+
activestorage (= 6.1.7.2)
|
22
|
+
activesupport (= 6.1.7.2)
|
23
|
+
mail (>= 2.7.1)
|
24
|
+
actionmailer (6.1.7.2)
|
25
|
+
actionpack (= 6.1.7.2)
|
26
|
+
actionview (= 6.1.7.2)
|
27
|
+
activejob (= 6.1.7.2)
|
28
|
+
activesupport (= 6.1.7.2)
|
16
29
|
mail (~> 2.5, >= 2.5.4)
|
17
|
-
rails-dom-testing (~>
|
18
|
-
actionpack (
|
19
|
-
actionview (=
|
20
|
-
activesupport (=
|
21
|
-
rack (~>
|
22
|
-
rack-test (
|
23
|
-
rails-dom-testing (~>
|
24
|
-
rails-html-sanitizer (~> 1.0, >= 1.0
|
25
|
-
|
26
|
-
|
30
|
+
rails-dom-testing (~> 2.0)
|
31
|
+
actionpack (6.1.7.2)
|
32
|
+
actionview (= 6.1.7.2)
|
33
|
+
activesupport (= 6.1.7.2)
|
34
|
+
rack (~> 2.0, >= 2.0.9)
|
35
|
+
rack-test (>= 0.6.3)
|
36
|
+
rails-dom-testing (~> 2.0)
|
37
|
+
rails-html-sanitizer (~> 1.0, >= 1.2.0)
|
38
|
+
actiontext (6.1.7.2)
|
39
|
+
actionpack (= 6.1.7.2)
|
40
|
+
activerecord (= 6.1.7.2)
|
41
|
+
activestorage (= 6.1.7.2)
|
42
|
+
activesupport (= 6.1.7.2)
|
43
|
+
nokogiri (>= 1.8.5)
|
44
|
+
actionview (6.1.7.2)
|
45
|
+
activesupport (= 6.1.7.2)
|
27
46
|
builder (~> 3.1)
|
28
|
-
|
29
|
-
rails-dom-testing (~>
|
30
|
-
rails-html-sanitizer (~> 1.
|
31
|
-
activejob (
|
32
|
-
activesupport (=
|
33
|
-
globalid (>= 0.3.
|
34
|
-
activemodel (
|
35
|
-
activesupport (=
|
47
|
+
erubi (~> 1.4)
|
48
|
+
rails-dom-testing (~> 2.0)
|
49
|
+
rails-html-sanitizer (~> 1.1, >= 1.2.0)
|
50
|
+
activejob (6.1.7.2)
|
51
|
+
activesupport (= 6.1.7.2)
|
52
|
+
globalid (>= 0.3.6)
|
53
|
+
activemodel (6.1.7.2)
|
54
|
+
activesupport (= 6.1.7.2)
|
55
|
+
activemodel-serializers-xml (1.0.2)
|
56
|
+
activemodel (> 5.x)
|
57
|
+
activesupport (> 5.x)
|
36
58
|
builder (~> 3.1)
|
37
|
-
activerecord (
|
38
|
-
activemodel (=
|
39
|
-
activesupport (=
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
|
59
|
+
activerecord (6.1.7.2)
|
60
|
+
activemodel (= 6.1.7.2)
|
61
|
+
activesupport (= 6.1.7.2)
|
62
|
+
activestorage (6.1.7.2)
|
63
|
+
actionpack (= 6.1.7.2)
|
64
|
+
activejob (= 6.1.7.2)
|
65
|
+
activerecord (= 6.1.7.2)
|
66
|
+
activesupport (= 6.1.7.2)
|
67
|
+
marcel (~> 1.0)
|
68
|
+
mini_mime (>= 1.1.0)
|
69
|
+
activesupport (6.1.7.2)
|
70
|
+
concurrent-ruby (~> 1.0, >= 1.0.2)
|
71
|
+
i18n (>= 1.6, < 2)
|
72
|
+
minitest (>= 5.1)
|
73
|
+
tzinfo (~> 2.0)
|
74
|
+
zeitwerk (~> 2.3)
|
75
|
+
audited (4.10.0)
|
76
|
+
activerecord (>= 4.2, < 6.2)
|
77
|
+
builder (3.2.4)
|
78
|
+
concurrent-ruby (1.2.0)
|
79
|
+
crass (1.0.6)
|
80
|
+
date (3.3.3)
|
81
|
+
draper (4.0.2)
|
82
|
+
actionpack (>= 5.0)
|
83
|
+
activemodel (>= 5.0)
|
84
|
+
activemodel-serializers-xml (>= 1.0)
|
85
|
+
activesupport (>= 5.0)
|
86
|
+
request_store (>= 1.0)
|
87
|
+
ruby2_keywords
|
88
|
+
erubi (1.12.0)
|
89
|
+
globalid (1.1.0)
|
90
|
+
activesupport (>= 5.0)
|
91
|
+
i18n (1.12.0)
|
92
|
+
concurrent-ruby (~> 1.0)
|
93
|
+
loofah (2.19.1)
|
94
|
+
crass (~> 1.0.2)
|
64
95
|
nokogiri (>= 1.5.9)
|
65
|
-
mail (2.
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
|
70
|
-
|
71
|
-
|
72
|
-
|
73
|
-
|
74
|
-
|
75
|
-
|
76
|
-
|
77
|
-
|
78
|
-
|
79
|
-
|
80
|
-
|
81
|
-
|
82
|
-
|
83
|
-
|
84
|
-
|
85
|
-
|
86
|
-
|
87
|
-
|
88
|
-
|
89
|
-
|
90
|
-
|
91
|
-
|
92
|
-
|
93
|
-
|
94
|
-
|
95
|
-
|
96
|
-
|
97
|
-
|
98
|
-
|
99
|
-
|
100
|
-
|
101
|
-
|
102
|
-
|
103
|
-
|
104
|
-
|
105
|
-
|
96
|
+
mail (2.8.0.1)
|
97
|
+
mini_mime (>= 0.1.1)
|
98
|
+
net-imap
|
99
|
+
net-pop
|
100
|
+
net-smtp
|
101
|
+
marcel (1.0.2)
|
102
|
+
method_source (1.0.0)
|
103
|
+
mini_mime (1.1.2)
|
104
|
+
mini_portile2 (2.8.1)
|
105
|
+
minitest (5.17.0)
|
106
|
+
net-imap (0.3.4)
|
107
|
+
date
|
108
|
+
net-protocol
|
109
|
+
net-pop (0.1.2)
|
110
|
+
net-protocol
|
111
|
+
net-protocol (0.2.1)
|
112
|
+
timeout
|
113
|
+
net-smtp (0.3.3)
|
114
|
+
net-protocol
|
115
|
+
nio4r (2.5.8)
|
116
|
+
nokogiri (1.14.1)
|
117
|
+
mini_portile2 (~> 2.8.0)
|
118
|
+
racc (~> 1.4)
|
119
|
+
racc (1.6.2)
|
120
|
+
rack (2.2.6.2)
|
121
|
+
rack-test (2.0.2)
|
122
|
+
rack (>= 1.3)
|
123
|
+
rails (6.1.7.2)
|
124
|
+
actioncable (= 6.1.7.2)
|
125
|
+
actionmailbox (= 6.1.7.2)
|
126
|
+
actionmailer (= 6.1.7.2)
|
127
|
+
actionpack (= 6.1.7.2)
|
128
|
+
actiontext (= 6.1.7.2)
|
129
|
+
actionview (= 6.1.7.2)
|
130
|
+
activejob (= 6.1.7.2)
|
131
|
+
activemodel (= 6.1.7.2)
|
132
|
+
activerecord (= 6.1.7.2)
|
133
|
+
activestorage (= 6.1.7.2)
|
134
|
+
activesupport (= 6.1.7.2)
|
135
|
+
bundler (>= 1.15.0)
|
136
|
+
railties (= 6.1.7.2)
|
137
|
+
sprockets-rails (>= 2.0.0)
|
138
|
+
rails-dom-testing (2.0.3)
|
139
|
+
activesupport (>= 4.2.0)
|
140
|
+
nokogiri (>= 1.6)
|
141
|
+
rails-html-sanitizer (1.5.0)
|
142
|
+
loofah (~> 2.19, >= 2.19.1)
|
143
|
+
railties (6.1.7.2)
|
144
|
+
actionpack (= 6.1.7.2)
|
145
|
+
activesupport (= 6.1.7.2)
|
146
|
+
method_source
|
147
|
+
rake (>= 12.2)
|
148
|
+
thor (~> 1.0)
|
149
|
+
rake (13.0.6)
|
150
|
+
request_store (1.5.1)
|
151
|
+
rack (>= 1.4)
|
152
|
+
ruby2_keywords (0.0.5)
|
153
|
+
sprockets (4.2.0)
|
106
154
|
concurrent-ruby (~> 1.0)
|
107
|
-
rack (
|
108
|
-
sprockets-rails (3.2
|
109
|
-
actionpack (>=
|
110
|
-
activesupport (>=
|
155
|
+
rack (>= 2.2.4, < 4)
|
156
|
+
sprockets-rails (3.4.2)
|
157
|
+
actionpack (>= 5.2)
|
158
|
+
activesupport (>= 5.2)
|
111
159
|
sprockets (>= 3.0.0)
|
112
|
-
thor (
|
113
|
-
|
114
|
-
tzinfo (
|
115
|
-
|
160
|
+
thor (1.2.1)
|
161
|
+
timeout (0.3.1)
|
162
|
+
tzinfo (2.0.6)
|
163
|
+
concurrent-ruby (~> 1.0)
|
164
|
+
websocket-driver (0.7.5)
|
165
|
+
websocket-extensions (>= 0.1.0)
|
166
|
+
websocket-extensions (0.1.5)
|
167
|
+
zeitwerk (2.6.6)
|
116
168
|
|
117
169
|
PLATFORMS
|
118
170
|
ruby
|
119
171
|
|
120
172
|
DEPENDENCIES
|
121
173
|
audited-timeline!
|
122
|
-
bundler
|
174
|
+
bundler
|
123
175
|
|
124
176
|
BUNDLED WITH
|
125
|
-
|
177
|
+
2.4.6
|
data/audited_timeline.gemspec
CHANGED
@@ -5,7 +5,7 @@ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
|
5
5
|
|
6
6
|
Gem::Specification.new do |spec|
|
7
7
|
spec.name = 'audited-timeline'
|
8
|
-
spec.version =
|
8
|
+
spec.version = ENV.fetch("GEM_VERSION", [`git describe --tags --abbrev=0`, `git rev-parse --short HEAD`].map(&:chomp).join(".")).delete_prefix("v")
|
9
9
|
spec.authors = ['nine.ch Development']
|
10
10
|
spec.email = ['development@nine.ch']
|
11
11
|
spec.summary = 'Frontent to audited'
|
@@ -18,9 +18,9 @@ Gem::Specification.new do |spec|
|
|
18
18
|
spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
|
19
19
|
spec.require_paths = ['lib']
|
20
20
|
|
21
|
-
spec.add_development_dependency
|
21
|
+
spec.add_development_dependency "bundler"
|
22
22
|
|
23
|
-
spec.add_runtime_dependency 'audited', '~> 4.3
|
23
|
+
spec.add_runtime_dependency 'audited', '~> 4.3'
|
24
24
|
spec.add_runtime_dependency 'rails', '>= 4.0.0'
|
25
25
|
spec.add_runtime_dependency 'draper', '>= 2.1.0'
|
26
26
|
end
|
data/docker-compose.yml
ADDED
metadata
CHANGED
@@ -1,43 +1,43 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: audited-timeline
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version:
|
4
|
+
version: 2.0.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- nine.ch Development
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2023-02-03 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
|
-
- - "
|
17
|
+
- - ">="
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: '
|
19
|
+
version: '0'
|
20
20
|
type: :development
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
|
-
- - "
|
24
|
+
- - ">="
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version: '
|
26
|
+
version: '0'
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: audited
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
30
30
|
requirements:
|
31
31
|
- - "~>"
|
32
32
|
- !ruby/object:Gem::Version
|
33
|
-
version: 4.3
|
33
|
+
version: '4.3'
|
34
34
|
type: :runtime
|
35
35
|
prerelease: false
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
38
38
|
- - "~>"
|
39
39
|
- !ruby/object:Gem::Version
|
40
|
-
version: 4.3
|
40
|
+
version: '4.3'
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
42
|
name: rails
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
@@ -73,13 +73,17 @@ executables: []
|
|
73
73
|
extensions: []
|
74
74
|
extra_rdoc_files: []
|
75
75
|
files:
|
76
|
+
- ".github/dependabot.yml"
|
77
|
+
- ".github/workflows/codeql-analysis.yml"
|
78
|
+
- ".github/workflows/gem-build.yml"
|
79
|
+
- ".github/workflows/gem-push.yml"
|
76
80
|
- ".ruby-gemset"
|
77
81
|
- ".ruby-version"
|
82
|
+
- Dockerfile
|
78
83
|
- Gemfile
|
79
84
|
- Gemfile.lock
|
80
85
|
- README.md
|
81
86
|
- Rakefile
|
82
|
-
- VERSION
|
83
87
|
- app/assets/stylesheets/audited-timeline.scss
|
84
88
|
- app/assets/stylesheets/audited-timeline/_audits.scss
|
85
89
|
- app/assets/stylesheets/audited-timeline/_timeline.scss
|
@@ -92,6 +96,7 @@ files:
|
|
92
96
|
- audited_timeline.gemspec
|
93
97
|
- config/locales/audited_timeline.de.yml
|
94
98
|
- config/locales/audited_timeline.en.yml
|
99
|
+
- docker-compose.yml
|
95
100
|
- images/screenshot.png
|
96
101
|
- lib/audited-timeline.rb
|
97
102
|
- lib/audited_timeline.rb
|
@@ -119,8 +124,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
119
124
|
- !ruby/object:Gem::Version
|
120
125
|
version: '0'
|
121
126
|
requirements: []
|
122
|
-
|
123
|
-
rubygems_version: 2.4.5
|
127
|
+
rubygems_version: 3.4.1
|
124
128
|
signing_key:
|
125
129
|
specification_version: 4
|
126
130
|
summary: Frontent to audited
|
data/VERSION
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
1.1.0
|