mordor-auditing 0.3.3 → 0.3.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.circleci/config.yml +73 -0
- data/README.md +1 -1
- data/lib/auditing/version.rb +1 -1
- data/{auditing.gemspec → mordor-auditing.gemspec} +5 -4
- data/tasks/github-gem.rake +1 -1
- metadata +24 -11
- data/.travis.yml +0 -14
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 90148f4876e5c050005e178a9d6f7417c627bed0fc4b3c493e224910c1b706ed
|
4
|
+
data.tar.gz: 6a2a3870418671551a047defdd029fae20567baad643158a6b6363392436a791
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0ad18a75587b80b8756597b2e11fb71cd1a3a6ac45d44282e77de6c1bb68240c0cb18b02bb263bb6949b31b60c1ca11ece73254ab1184afc9e4ff548b41bd9fe
|
7
|
+
data.tar.gz: 3f848b4cc21e0ae56a12639fe51a1830a107d5667415ecd472c7951844c22390e3f03f69276ffec163c9e592994af67bdc92a9d7b2ac341a99ff86bbf0ba5530
|
@@ -0,0 +1,73 @@
|
|
1
|
+
# Ruby CircleCI 2.0 configuration file
|
2
|
+
#
|
3
|
+
# Check https://circleci.com/docs/2.0/language-ruby/ for more details
|
4
|
+
#
|
5
|
+
version: 2
|
6
|
+
jobs:
|
7
|
+
build:
|
8
|
+
docker:
|
9
|
+
# specify the version you desire here
|
10
|
+
- image: circleci/ruby:2.6.5
|
11
|
+
- image: mongo:3.2
|
12
|
+
|
13
|
+
working_directory: ~/repo
|
14
|
+
|
15
|
+
steps:
|
16
|
+
- checkout
|
17
|
+
|
18
|
+
- run:
|
19
|
+
name: install dependencies
|
20
|
+
command: |
|
21
|
+
bundle install --jobs=4 --retry=3 --path vendor/bundle
|
22
|
+
|
23
|
+
# run tests!
|
24
|
+
- run:
|
25
|
+
name: run tests
|
26
|
+
command: |
|
27
|
+
mkdir /tmp/test-results
|
28
|
+
TEST_FILES="$(circleci tests glob "spec/**/*_spec.rb" | \
|
29
|
+
circleci tests split --split-by=timings)"
|
30
|
+
bundle exec rspec \
|
31
|
+
--format progress \
|
32
|
+
--format RspecJunitFormatter \
|
33
|
+
--out /tmp/test-results/rspec.xml \
|
34
|
+
--format progress \
|
35
|
+
$TEST_FILES
|
36
|
+
# collect reports
|
37
|
+
- store_test_results:
|
38
|
+
path: /tmp/test-results
|
39
|
+
- store_artifacts:
|
40
|
+
path: /tmp/test-results
|
41
|
+
destination: test-results
|
42
|
+
|
43
|
+
environment:
|
44
|
+
TZ: CET
|
45
|
+
|
46
|
+
rubygems_release:
|
47
|
+
docker:
|
48
|
+
- image: circleci/ruby:2.6.5
|
49
|
+
|
50
|
+
working_directory: ~/repo
|
51
|
+
|
52
|
+
steps:
|
53
|
+
- checkout
|
54
|
+
|
55
|
+
- run:
|
56
|
+
name: install dependencies
|
57
|
+
command: |
|
58
|
+
bundle install --jobs=4 --retry=3 --path vendor/bundle
|
59
|
+
|
60
|
+
- run:
|
61
|
+
name: release to RubyGems
|
62
|
+
command: |
|
63
|
+
bundle exec rake gem:release
|
64
|
+
|
65
|
+
workflows:
|
66
|
+
version: 2
|
67
|
+
CircleCI:
|
68
|
+
jobs:
|
69
|
+
- build
|
70
|
+
- ruby_gems:
|
71
|
+
filters:
|
72
|
+
branches:
|
73
|
+
only: master
|
data/README.md
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
[![
|
1
|
+
[![CircleCI](https://circleci.com/gh/nedap/mordor-auditing/tree/master.svg?style=svg)](https://circleci.com/gh/nedap/mordor-auditing/tree/master)
|
2
2
|
|
3
3
|
## Introduction
|
4
4
|
|
data/lib/auditing/version.rb
CHANGED
@@ -4,8 +4,8 @@ Gem::Specification.new do |s|
|
|
4
4
|
s.name = 'mordor-auditing'
|
5
5
|
|
6
6
|
# Do not set the version and date field manually, this is done by the release script
|
7
|
-
s.version =
|
8
|
-
s.date = "
|
7
|
+
s.version = "0.3.4"
|
8
|
+
s.date = "2020-07-28"
|
9
9
|
|
10
10
|
s.summary = 'mordor-auditing'
|
11
11
|
s.description = <<-eos
|
@@ -16,12 +16,13 @@ Gem::Specification.new do |s|
|
|
16
16
|
s.email = ['janwillem.koelewijn@nedap.com', 'dirkjan.bussink@nedap.com']
|
17
17
|
s.homepage = 'http://www.nedap.com'
|
18
18
|
|
19
|
-
s.add_runtime_dependency 'mordor', '~> 0.3.
|
19
|
+
s.add_runtime_dependency 'mordor', '~> 0.3.5'
|
20
20
|
|
21
21
|
s.add_development_dependency 'rake'
|
22
22
|
s.add_development_dependency 'rspec', '~> 3.5'
|
23
|
+
s.add_development_dependency 'rspec_junit_formatter'
|
23
24
|
|
24
25
|
# The files and test_files directives are set automatically by the release script.
|
25
26
|
# Do not change them by hand, but make sure to add the files to the git repository.
|
26
|
-
s.files = %w(.
|
27
|
+
s.files = %w(.circleci/config.yml .gitignore CHANGES.md Gemfile LICENSE README.md Rakefile lib/auditing.rb lib/auditing/modification.rb lib/auditing/request.rb lib/auditing/version.rb mordor-auditing.gemspec spec/auditing/modification_spec.rb spec/auditing/request_spec.rb spec/spec.opts spec/spec_helper.rb tasks/github-gem.rake)
|
27
28
|
end
|
data/tasks/github-gem.rake
CHANGED
@@ -186,7 +186,7 @@ module GithubGem
|
|
186
186
|
end
|
187
187
|
|
188
188
|
def newest_version
|
189
|
-
`#{git} tag`.split("\n").map { |tag| tag.split('
|
189
|
+
`#{git} tag`.split("\n").map { |tag| tag.split('mordor-auditing-').last }.compact.map { |v| Gem::Version.new(v) }.max || Gem::Version.new('0.0.0')
|
190
190
|
end
|
191
191
|
|
192
192
|
def next_version(increment = nil)
|
metadata
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: mordor-auditing
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.3.
|
4
|
+
version: 0.3.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jan-Willem Koelewijn
|
8
8
|
- Dirkjan Bussink
|
9
|
-
autorequire:
|
9
|
+
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date:
|
12
|
+
date: 2020-07-28 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: mordor
|
@@ -17,14 +17,14 @@ dependencies:
|
|
17
17
|
requirements:
|
18
18
|
- - "~>"
|
19
19
|
- !ruby/object:Gem::Version
|
20
|
-
version: 0.3.
|
20
|
+
version: 0.3.5
|
21
21
|
type: :runtime
|
22
22
|
prerelease: false
|
23
23
|
version_requirements: !ruby/object:Gem::Requirement
|
24
24
|
requirements:
|
25
25
|
- - "~>"
|
26
26
|
- !ruby/object:Gem::Version
|
27
|
-
version: 0.3.
|
27
|
+
version: 0.3.5
|
28
28
|
- !ruby/object:Gem::Dependency
|
29
29
|
name: rake
|
30
30
|
requirement: !ruby/object:Gem::Requirement
|
@@ -53,6 +53,20 @@ dependencies:
|
|
53
53
|
- - "~>"
|
54
54
|
- !ruby/object:Gem::Version
|
55
55
|
version: '3.5'
|
56
|
+
- !ruby/object:Gem::Dependency
|
57
|
+
name: rspec_junit_formatter
|
58
|
+
requirement: !ruby/object:Gem::Requirement
|
59
|
+
requirements:
|
60
|
+
- - ">="
|
61
|
+
- !ruby/object:Gem::Version
|
62
|
+
version: '0'
|
63
|
+
type: :development
|
64
|
+
prerelease: false
|
65
|
+
version_requirements: !ruby/object:Gem::Requirement
|
66
|
+
requirements:
|
67
|
+
- - ">="
|
68
|
+
- !ruby/object:Gem::Version
|
69
|
+
version: '0'
|
56
70
|
description: " Auditing classes based on the Mordor gem, used to audit requests
|
57
71
|
and modifications on objects\n"
|
58
72
|
email:
|
@@ -62,18 +76,18 @@ executables: []
|
|
62
76
|
extensions: []
|
63
77
|
extra_rdoc_files: []
|
64
78
|
files:
|
79
|
+
- ".circleci/config.yml"
|
65
80
|
- ".gitignore"
|
66
|
-
- ".travis.yml"
|
67
81
|
- CHANGES.md
|
68
82
|
- Gemfile
|
69
83
|
- LICENSE
|
70
84
|
- README.md
|
71
85
|
- Rakefile
|
72
|
-
- auditing.gemspec
|
73
86
|
- lib/auditing.rb
|
74
87
|
- lib/auditing/modification.rb
|
75
88
|
- lib/auditing/request.rb
|
76
89
|
- lib/auditing/version.rb
|
90
|
+
- mordor-auditing.gemspec
|
77
91
|
- spec/auditing/modification_spec.rb
|
78
92
|
- spec/auditing/request_spec.rb
|
79
93
|
- spec/spec.opts
|
@@ -82,7 +96,7 @@ files:
|
|
82
96
|
homepage: http://www.nedap.com
|
83
97
|
licenses: []
|
84
98
|
metadata: {}
|
85
|
-
post_install_message:
|
99
|
+
post_install_message:
|
86
100
|
rdoc_options: []
|
87
101
|
require_paths:
|
88
102
|
- lib
|
@@ -97,9 +111,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
97
111
|
- !ruby/object:Gem::Version
|
98
112
|
version: '0'
|
99
113
|
requirements: []
|
100
|
-
|
101
|
-
|
102
|
-
signing_key:
|
114
|
+
rubygems_version: 3.0.8
|
115
|
+
signing_key:
|
103
116
|
specification_version: 4
|
104
117
|
summary: mordor-auditing
|
105
118
|
test_files: []
|