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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 1629dcc739652cb0251fb22c92bb1353316dd4b9d5c38183ac3a4abfcabad964
4
- data.tar.gz: 5d385b482140b189ff70bc27c3520a0d083c87c4323811c0fcb330463ae4cf51
3
+ metadata.gz: 90148f4876e5c050005e178a9d6f7417c627bed0fc4b3c493e224910c1b706ed
4
+ data.tar.gz: 6a2a3870418671551a047defdd029fae20567baad643158a6b6363392436a791
5
5
  SHA512:
6
- metadata.gz: 6015dd9401e792584611e0609ab1a9bcdaa5ccfab6737717d592e5ceae2bbc40f92ace55e453050b600bdefe93902c39928c7baa08f7ec65addcae3eac32f6bd
7
- data.tar.gz: c115ad72cdff5fe0d569b52c5f9298fd77f0dde90f48fb77dbdf43f6c8d4f5b32901121de956a34d527c8947969cb563906aae48d4f9752310ad3bda72fa772b
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
- [![Build Status](https://secure.travis-ci.org/jwkoelewijn/auditing.png?branch=master)](http://travis-ci.org/jwkoelewijn/auditing)
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
 
@@ -1,3 +1,3 @@
1
1
  module Auditing
2
- VERSION = '0.3.3'
2
+ VERSION = '0.3.4'
3
3
  end
@@ -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 = Auditing::VERSION
8
- s.date = "2015-05-15"
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.0'
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(.gitignore .travis.yml CHANGES.md Gemfile LICENSE README.md Rakefile auditing.gemspec lib/auditing.rb lib/auditing/modification.rb lib/auditing/request.rb lib/auditing/version.rb spec/auditing/modification_spec.rb spec/auditing/request_spec.rb spec/spec.opts spec/spec_helper.rb tasks/github-gem.rake)
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
@@ -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('v').last }.compact.map { |v| Gem::Version.new(v) }.max || Gem::Version.new('0.0.0')
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.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: 2015-05-15 00:00:00.000000000 Z
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.0
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.0
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
- rubyforge_project:
101
- rubygems_version: 2.7.7
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: []
@@ -1,14 +0,0 @@
1
- language: ruby
2
- cache: bundler
3
- bundler_args: --without optional
4
-
5
- jdk:
6
- - oraclejdk7
7
-
8
- services:
9
- - mongodb
10
-
11
- rvm:
12
- - 2.1.6
13
- - 2.2.2
14
- - 2.4.4