mordor-auditing 0.0.20 → 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.circleci/config.yml +73 -0
- data/.gitignore +3 -0
- data/CHANGES.md +9 -0
- data/Gemfile +2 -14
- data/README.md +1 -1
- data/lib/auditing/request.rb +11 -1
- data/lib/auditing/version.rb +1 -1
- data/mordor-auditing.gemspec +28 -0
- data/spec/auditing/modification_spec.rb +4 -4
- data/spec/auditing/request_spec.rb +12 -13
- data/tasks/github-gem.rake +18 -10
- metadata +80 -76
- data/.travis.yml +0 -20
- data/Gemfile.lock +0 -31
- data/auditing.gemspec +0 -23
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: 3185e5eb786922446f9e371a28f02ae219edd7b934a1a8d8592e174bd57fc3ed
|
4
|
+
data.tar.gz: 447f773d7b6ae6e57d21c1bb4aa8f563014175fd6877548f6e5e9f6be08e1360
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: ae7fd83670f2cf4ce3325c9c3b9e526e406c062bfc276f753b178d1e7392130e6c0556c50238676a1351065ff53903f190abe268d8d9d05b13d2098b836c8582
|
7
|
+
data.tar.gz: 88ebac458da6a971d28ba56513bb7c92b786c3054d20fde386a4d5086ae75772739c7a9cd8fdcdabe0daccd2d9204e9d6263721d8a8f611f40397a5d8c7e99f7
|
@@ -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/.gitignore
CHANGED
data/CHANGES.md
ADDED
data/Gemfile
CHANGED
@@ -1,14 +1,2 @@
|
|
1
|
-
source
|
2
|
-
|
3
|
-
# Example:
|
4
|
-
# gem "activesupport", ">= 2.3.5"
|
5
|
-
|
6
|
-
# Add dependencies to develop your gem here.
|
7
|
-
# Include everything needed to run rake, tests, features, etc.
|
8
|
-
gem "bundler", "> 1.0.0"
|
9
|
-
gem "rake"
|
10
|
-
gem "mordor"
|
11
|
-
|
12
|
-
group :test do
|
13
|
-
gem "rspec", "~> 2.0"
|
14
|
-
end
|
1
|
+
source 'https://rubygems.org'
|
2
|
+
gemspec
|
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/request.rb
CHANGED
@@ -25,7 +25,17 @@ module Auditing
|
|
25
25
|
end
|
26
26
|
|
27
27
|
def params=(params)
|
28
|
-
|
28
|
+
# replace_params is *really* slow when given huge requests.
|
29
|
+
# Lazily call that method when needed to combat this.
|
30
|
+
@raw_params = params
|
31
|
+
end
|
32
|
+
|
33
|
+
def params
|
34
|
+
if @raw_params
|
35
|
+
@params = replace_params(@raw_params)
|
36
|
+
@raw_params = nil
|
37
|
+
end
|
38
|
+
@params
|
29
39
|
end
|
30
40
|
|
31
41
|
def self.find_by_url(url, partial = false)
|
data/lib/auditing/version.rb
CHANGED
@@ -0,0 +1,28 @@
|
|
1
|
+
require './lib/auditing/version'
|
2
|
+
|
3
|
+
Gem::Specification.new do |s|
|
4
|
+
s.name = 'mordor-auditing'
|
5
|
+
|
6
|
+
# Do not set the version and date field manually, this is done by the release script
|
7
|
+
s.version = "0.1.1"
|
8
|
+
s.date = "2020-07-28"
|
9
|
+
|
10
|
+
s.summary = 'mordor-auditing'
|
11
|
+
s.description = <<-eos
|
12
|
+
Auditing classes based on the Mordor gem, used to audit requests and modifications on objects
|
13
|
+
eos
|
14
|
+
|
15
|
+
s.authors = ['Jan-Willem Koelewijn', 'Dirkjan Bussink']
|
16
|
+
s.email = ['janwillem.koelewijn@nedap.com', 'dirkjan.bussink@nedap.com']
|
17
|
+
s.homepage = 'http://www.nedap.com'
|
18
|
+
|
19
|
+
s.add_runtime_dependency 'mordor', '~> 0.3.5'
|
20
|
+
|
21
|
+
s.add_development_dependency 'rake'
|
22
|
+
s.add_development_dependency 'rspec', '~> 3.5'
|
23
|
+
s.add_development_dependency 'rspec_junit_formatter'
|
24
|
+
|
25
|
+
# The files and test_files directives are set automatically by the release script.
|
26
|
+
# Do not change them by hand, but make sure to add the files to the git repository.
|
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)
|
28
|
+
end
|
@@ -85,7 +85,7 @@ describe "with respect to modifications" do
|
|
85
85
|
}
|
86
86
|
|
87
87
|
mod = Auditing::Modification.new(options)
|
88
|
-
mod.save.should
|
88
|
+
mod.save.should be true
|
89
89
|
mod._id.should_not be_nil
|
90
90
|
|
91
91
|
Auditing::Modification.collection.count.should == 1
|
@@ -109,7 +109,7 @@ describe "with respect to modifications" do
|
|
109
109
|
}
|
110
110
|
|
111
111
|
@modification = Auditing::Modification.new(options)
|
112
|
-
@modification.save.should
|
112
|
+
@modification.save.should be true
|
113
113
|
@modification._id.should_not be_nil
|
114
114
|
end
|
115
115
|
|
@@ -149,7 +149,7 @@ describe "with respect to modifications" do
|
|
149
149
|
|
150
150
|
it "should correctly retrieve requests by request_id" do
|
151
151
|
@modification.request_id = "4e79b0b20e02e145a9000001"
|
152
|
-
@modification.save.should
|
152
|
+
@modification.save.should be true
|
153
153
|
mods = Auditing::Modification.find_by_request_id(@modification.request_id)
|
154
154
|
mods.size.should == 1
|
155
155
|
compare_modifications(@modification, mods.first)
|
@@ -157,7 +157,7 @@ describe "with respect to modifications" do
|
|
157
157
|
|
158
158
|
it "should correctly retrieve requests by request" do
|
159
159
|
@modification.request_id = "4e79b0b20e02e145a9000001"
|
160
|
-
@modification.save.should
|
160
|
+
@modification.save.should be true
|
161
161
|
mods = Auditing::Modification.find_by_request(@modification.request_id)
|
162
162
|
mods.size.should == 1
|
163
163
|
compare_modifications(@modification, mods.first)
|
@@ -119,7 +119,7 @@ describe "with respect to auditing requests" do
|
|
119
119
|
:at => Time.now
|
120
120
|
}
|
121
121
|
request = Auditing::Request.new(options)
|
122
|
-
request.save.should
|
122
|
+
request.save.should be true
|
123
123
|
request._id.should_not be_nil
|
124
124
|
|
125
125
|
Auditing::Request.collection.count.should == 1
|
@@ -142,7 +142,7 @@ describe "with respect to auditing requests" do
|
|
142
142
|
:at => @request_time
|
143
143
|
}
|
144
144
|
@request = Auditing::Request.new(options)
|
145
|
-
@request.save.should
|
145
|
+
@request.save.should be true
|
146
146
|
Auditing::Request.collection.find(:_id => @request._id).count.should == 1
|
147
147
|
end
|
148
148
|
|
@@ -200,10 +200,9 @@ describe "with respect to auditing requests" do
|
|
200
200
|
:changes => {:url => [@request.url, "#{@request.url}/request"]},
|
201
201
|
:action => 'get',
|
202
202
|
:at => @request_time,
|
203
|
-
:request_id => @request._id
|
204
203
|
}
|
205
204
|
@modification = Auditing::Modification.new(options)
|
206
|
-
@modification.save.should
|
205
|
+
@modification.save.should be true
|
207
206
|
@modification._id.should_not be_nil
|
208
207
|
Auditing::Modification.collection.count == 1
|
209
208
|
end
|
@@ -235,7 +234,7 @@ describe "with respect to auditing requests" do
|
|
235
234
|
:at => Time.now
|
236
235
|
}
|
237
236
|
@request = Auditing::Request.new(options)
|
238
|
-
@request.save.should
|
237
|
+
@request.save.should be true
|
239
238
|
end
|
240
239
|
|
241
240
|
it "should create url parts when saved" do
|
@@ -265,7 +264,7 @@ describe "with respect to auditing requests" do
|
|
265
264
|
:at => Time.now
|
266
265
|
}
|
267
266
|
request = Auditing::Request.new(options)
|
268
|
-
request.save.should
|
267
|
+
request.save.should be true
|
269
268
|
request.url_parts.keys.should include "week"
|
270
269
|
request.url_parts["week"].should == "2011-9"
|
271
270
|
|
@@ -278,7 +277,7 @@ describe "with respect to auditing requests" do
|
|
278
277
|
:at => Time.now
|
279
278
|
}
|
280
279
|
request = Auditing::Request.new(options)
|
281
|
-
request.save.should
|
280
|
+
request.save.should be true
|
282
281
|
request.url_parts.keys.should_not include "week"
|
283
282
|
end
|
284
283
|
|
@@ -292,7 +291,7 @@ describe "with respect to auditing requests" do
|
|
292
291
|
:at => Time.now
|
293
292
|
}
|
294
293
|
request = Auditing::Request.new(options)
|
295
|
-
request.save.should
|
294
|
+
request.save.should be true
|
296
295
|
|
297
296
|
options2 = {
|
298
297
|
:url => '/week/2011-9/staffing_agencies/13/customers/124/arrangements/123',
|
@@ -303,7 +302,7 @@ describe "with respect to auditing requests" do
|
|
303
302
|
:at => Time.now
|
304
303
|
}
|
305
304
|
request2 = Auditing::Request.new(options2)
|
306
|
-
request2.save.should
|
305
|
+
request2.save.should be true
|
307
306
|
|
308
307
|
search_options = {
|
309
308
|
:week => "2011-9"
|
@@ -312,7 +311,7 @@ describe "with respect to auditing requests" do
|
|
312
311
|
results.size.should == 2
|
313
312
|
|
314
313
|
match = (results.first._id == request._id || results.first._id == request2._id)
|
315
|
-
match.should
|
314
|
+
match.should be true
|
316
315
|
|
317
316
|
search_options = {
|
318
317
|
:staffing_agencies => 1234
|
@@ -330,7 +329,7 @@ describe "with respect to auditing requests" do
|
|
330
329
|
results.size.should == 2
|
331
330
|
|
332
331
|
match = (results.first._id == request._id || results.first._id == request2._id)
|
333
|
-
match.should
|
332
|
+
match.should be true
|
334
333
|
end
|
335
334
|
|
336
335
|
it "should be possible to add extra query parts to the url_parts query" do
|
@@ -343,7 +342,7 @@ describe "with respect to auditing requests" do
|
|
343
342
|
:at => Time.now
|
344
343
|
}
|
345
344
|
request = Auditing::Request.new(options)
|
346
|
-
request.save.should
|
345
|
+
request.save.should be true
|
347
346
|
|
348
347
|
options2 = {
|
349
348
|
:url => '/week/2011-9/staffing_agencies/13/customers/124/arrangements/123',
|
@@ -354,7 +353,7 @@ describe "with respect to auditing requests" do
|
|
354
353
|
:at => Time.now
|
355
354
|
}
|
356
355
|
request2 = Auditing::Request.new(options2)
|
357
|
-
request2.save.should
|
356
|
+
request2.save.should be true
|
358
357
|
|
359
358
|
search_options = {
|
360
359
|
:week => "2011-9"
|
data/tasks/github-gem.rake
CHANGED
@@ -135,7 +135,7 @@ module GithubGem
|
|
135
135
|
|
136
136
|
desc "Release a new version of the gem using the VERSION environment variable"
|
137
137
|
task(:release => release_tasks) { release_task }
|
138
|
-
|
138
|
+
|
139
139
|
namespace(:release) do
|
140
140
|
desc "Release the next version of the gem, by incrementing the last version segment by 1"
|
141
141
|
task(:next => [:next_version] + release_tasks) { release_task }
|
@@ -161,7 +161,7 @@ module GithubGem
|
|
161
161
|
task(:next_patch_version) { next_version_task(:patch) }
|
162
162
|
task(:next_minor_version) { next_version_task(:minor) }
|
163
163
|
task(:next_major_version) { next_version_task(:major) }
|
164
|
-
|
164
|
+
|
165
165
|
desc "Updates the gem release tasks with the latest version on Github"
|
166
166
|
task(:update_tasks) { update_tasks_task }
|
167
167
|
end
|
@@ -182,11 +182,11 @@ module GithubGem
|
|
182
182
|
def build_task
|
183
183
|
sh "gem build -q #{gemspec_file}"
|
184
184
|
Dir.mkdir('pkg') unless File.exist?('pkg')
|
185
|
-
sh "mv #{
|
185
|
+
sh "mv #{gem_package_filename}.gem pkg/#{gem_package_filename}.gem"
|
186
186
|
end
|
187
187
|
|
188
188
|
def newest_version
|
189
|
-
`#{git} tag`.split("\n").map { |tag| tag.split('-').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)
|
@@ -198,11 +198,11 @@ module GithubGem
|
|
198
198
|
when :major then 0
|
199
199
|
else next_version.length - 1
|
200
200
|
end
|
201
|
-
|
201
|
+
|
202
202
|
next_version[increment_index] ||= 0
|
203
203
|
next_version[increment_index] = next_version[increment_index].succ
|
204
204
|
((increment_index + 1)...next_version.length).each { |i| next_version[i] = 0 }
|
205
|
-
|
205
|
+
|
206
206
|
Gem::Version.new(next_version.join('.'))
|
207
207
|
end
|
208
208
|
|
@@ -258,7 +258,7 @@ module GithubGem
|
|
258
258
|
|
259
259
|
# Adds a tag for the released version
|
260
260
|
def tag_version_task
|
261
|
-
sh git, 'tag', '-a', "#{gemspec.
|
261
|
+
sh git, 'tag', '-a', "v#{gemspec.version}", '-m', "Released #{gemspec.name} gem version #{gemspec.version}."
|
262
262
|
end
|
263
263
|
|
264
264
|
# Pushes the changes and tag to github
|
@@ -267,7 +267,7 @@ module GithubGem
|
|
267
267
|
end
|
268
268
|
|
269
269
|
def gemcutter_release_task
|
270
|
-
sh "gem", 'push', "pkg/#{
|
270
|
+
sh "gem", 'push', "pkg/#{gem_package_filename}.gem"
|
271
271
|
end
|
272
272
|
|
273
273
|
# Gem release task.
|
@@ -289,6 +289,14 @@ module GithubGem
|
|
289
289
|
FileList[test_pattern].any?
|
290
290
|
end
|
291
291
|
|
292
|
+
def gem_package_filename
|
293
|
+
"#{gemspec.name}-#{gemspec.version}#{platform_suffix}"
|
294
|
+
end
|
295
|
+
|
296
|
+
def platform_suffix
|
297
|
+
"-#{gemspec.platform}" unless gemspec.platform == 'ruby'
|
298
|
+
end
|
299
|
+
|
292
300
|
# Loads the gemspec file
|
293
301
|
def load_gemspec!
|
294
302
|
@gemspec = eval(File.read(@gemspec_file))
|
@@ -334,7 +342,7 @@ module GithubGem
|
|
334
342
|
|
335
343
|
# Reload the gemspec so the changes are incorporated
|
336
344
|
load_gemspec!
|
337
|
-
|
345
|
+
|
338
346
|
# Also mark the Gemfile.lock file as changed because of the new version.
|
339
347
|
modified_files << 'Gemfile.lock' if File.exist?(File.join(root_dir, 'Gemfile.lock'))
|
340
348
|
end
|
@@ -344,7 +352,7 @@ module GithubGem
|
|
344
352
|
def update_tasks_task
|
345
353
|
require 'net/https'
|
346
354
|
require 'uri'
|
347
|
-
|
355
|
+
|
348
356
|
uri = URI.parse('https://raw.github.com/wvanbergen/github-gem/master/tasks/github-gem.rake')
|
349
357
|
http = Net::HTTP.new(uri.host, uri.port)
|
350
358
|
http.use_ssl = true
|
metadata
CHANGED
@@ -1,114 +1,118 @@
|
|
1
|
-
--- !ruby/object:Gem::Specification
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
2
|
name: mordor-auditing
|
3
|
-
version: !ruby/object:Gem::Version
|
4
|
-
|
5
|
-
prerelease:
|
6
|
-
segments:
|
7
|
-
- 0
|
8
|
-
- 0
|
9
|
-
- 20
|
10
|
-
version: 0.0.20
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.1.1
|
11
5
|
platform: ruby
|
12
|
-
authors:
|
6
|
+
authors:
|
13
7
|
- Jan-Willem Koelewijn
|
14
8
|
- Dirkjan Bussink
|
15
|
-
autorequire:
|
9
|
+
autorequire:
|
16
10
|
bindir: bin
|
17
11
|
cert_chain: []
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
12
|
+
date: 2020-07-28 00:00:00.000000000 Z
|
13
|
+
dependencies:
|
14
|
+
- !ruby/object:Gem::Dependency
|
15
|
+
name: mordor
|
16
|
+
requirement: !ruby/object:Gem::Requirement
|
17
|
+
requirements:
|
18
|
+
- - "~>"
|
19
|
+
- !ruby/object:Gem::Version
|
20
|
+
version: 0.3.5
|
21
|
+
type: :runtime
|
24
22
|
prerelease: false
|
25
|
-
version_requirements:
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
segments:
|
32
|
-
- 0
|
33
|
-
version: "0"
|
23
|
+
version_requirements: !ruby/object:Gem::Requirement
|
24
|
+
requirements:
|
25
|
+
- - "~>"
|
26
|
+
- !ruby/object:Gem::Version
|
27
|
+
version: 0.3.5
|
28
|
+
- !ruby/object:Gem::Dependency
|
34
29
|
name: rake
|
35
|
-
requirement:
|
36
|
-
|
30
|
+
requirement: !ruby/object:Gem::Requirement
|
31
|
+
requirements:
|
32
|
+
- - ">="
|
33
|
+
- !ruby/object:Gem::Version
|
34
|
+
version: '0'
|
37
35
|
type: :development
|
38
36
|
prerelease: false
|
39
|
-
version_requirements:
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
segments:
|
46
|
-
- 2
|
47
|
-
- 0
|
48
|
-
version: "2.0"
|
37
|
+
version_requirements: !ruby/object:Gem::Requirement
|
38
|
+
requirements:
|
39
|
+
- - ">="
|
40
|
+
- !ruby/object:Gem::Version
|
41
|
+
version: '0'
|
42
|
+
- !ruby/object:Gem::Dependency
|
49
43
|
name: rspec
|
50
|
-
requirement:
|
51
|
-
|
52
|
-
|
44
|
+
requirement: !ruby/object:Gem::Requirement
|
45
|
+
requirements:
|
46
|
+
- - "~>"
|
47
|
+
- !ruby/object:Gem::Version
|
48
|
+
version: '3.5'
|
49
|
+
type: :development
|
50
|
+
prerelease: false
|
51
|
+
version_requirements: !ruby/object:Gem::Requirement
|
52
|
+
requirements:
|
53
|
+
- - "~>"
|
54
|
+
- !ruby/object:Gem::Version
|
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'
|
70
|
+
description: " Auditing classes based on the Mordor gem, used to audit requests
|
71
|
+
and modifications on objects\n"
|
72
|
+
email:
|
53
73
|
- janwillem.koelewijn@nedap.com
|
54
74
|
- dirkjan.bussink@nedap.com
|
55
75
|
executables: []
|
56
|
-
|
57
76
|
extensions: []
|
58
|
-
|
59
77
|
extra_rdoc_files: []
|
60
|
-
|
61
|
-
|
62
|
-
- .gitignore
|
63
|
-
- .
|
78
|
+
files:
|
79
|
+
- ".circleci/config.yml"
|
80
|
+
- ".gitignore"
|
81
|
+
- CHANGES.md
|
64
82
|
- Gemfile
|
65
|
-
- Gemfile.lock
|
66
83
|
- LICENSE
|
67
84
|
- README.md
|
68
85
|
- Rakefile
|
69
|
-
- auditing.gemspec
|
70
86
|
- lib/auditing.rb
|
71
87
|
- lib/auditing/modification.rb
|
72
88
|
- lib/auditing/request.rb
|
73
89
|
- lib/auditing/version.rb
|
90
|
+
- mordor-auditing.gemspec
|
74
91
|
- spec/auditing/modification_spec.rb
|
75
92
|
- spec/auditing/request_spec.rb
|
76
93
|
- spec/spec.opts
|
77
94
|
- spec/spec_helper.rb
|
78
95
|
- tasks/github-gem.rake
|
79
|
-
has_rdoc: true
|
80
96
|
homepage: http://www.nedap.com
|
81
97
|
licenses: []
|
82
|
-
|
83
|
-
post_install_message:
|
98
|
+
metadata: {}
|
99
|
+
post_install_message:
|
84
100
|
rdoc_options: []
|
85
|
-
|
86
|
-
require_paths:
|
101
|
+
require_paths:
|
87
102
|
- lib
|
88
|
-
required_ruby_version: !ruby/object:Gem::Requirement
|
89
|
-
|
90
|
-
requirements:
|
103
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
104
|
+
requirements:
|
91
105
|
- - ">="
|
92
|
-
- !ruby/object:Gem::Version
|
93
|
-
|
94
|
-
|
95
|
-
|
96
|
-
version: "0"
|
97
|
-
required_rubygems_version: !ruby/object:Gem::Requirement
|
98
|
-
none: false
|
99
|
-
requirements:
|
106
|
+
- !ruby/object:Gem::Version
|
107
|
+
version: '0'
|
108
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
109
|
+
requirements:
|
100
110
|
- - ">="
|
101
|
-
- !ruby/object:Gem::Version
|
102
|
-
|
103
|
-
segments:
|
104
|
-
- 0
|
105
|
-
version: "0"
|
111
|
+
- !ruby/object:Gem::Version
|
112
|
+
version: '0'
|
106
113
|
requirements: []
|
107
|
-
|
108
|
-
|
109
|
-
|
110
|
-
signing_key:
|
111
|
-
specification_version: 3
|
114
|
+
rubygems_version: 3.0.8
|
115
|
+
signing_key:
|
116
|
+
specification_version: 4
|
112
117
|
summary: mordor-auditing
|
113
118
|
test_files: []
|
114
|
-
|
data/.travis.yml
DELETED
data/Gemfile.lock
DELETED
@@ -1,31 +0,0 @@
|
|
1
|
-
GEM
|
2
|
-
remote: http://rubygems.org/
|
3
|
-
specs:
|
4
|
-
bson (1.8.2)
|
5
|
-
diff-lcs (1.1.3)
|
6
|
-
extlib (0.9.16)
|
7
|
-
json (1.7.6)
|
8
|
-
mongo (1.8.2)
|
9
|
-
bson (~> 1.8.2)
|
10
|
-
mordor (0.2.17)
|
11
|
-
extlib
|
12
|
-
json
|
13
|
-
mongo
|
14
|
-
rake (10.0.3)
|
15
|
-
rspec (2.12.0)
|
16
|
-
rspec-core (~> 2.12.0)
|
17
|
-
rspec-expectations (~> 2.12.0)
|
18
|
-
rspec-mocks (~> 2.12.0)
|
19
|
-
rspec-core (2.12.2)
|
20
|
-
rspec-expectations (2.12.1)
|
21
|
-
diff-lcs (~> 1.1.3)
|
22
|
-
rspec-mocks (2.12.1)
|
23
|
-
|
24
|
-
PLATFORMS
|
25
|
-
ruby
|
26
|
-
|
27
|
-
DEPENDENCIES
|
28
|
-
bundler (> 1.0.0)
|
29
|
-
mordor
|
30
|
-
rake
|
31
|
-
rspec (~> 2.0)
|
data/auditing.gemspec
DELETED
@@ -1,23 +0,0 @@
|
|
1
|
-
Gem::Specification.new do |s|
|
2
|
-
s.name = "mordor-auditing"
|
3
|
-
|
4
|
-
# Do not set the version and date field manually, this is done by the release script
|
5
|
-
s.version = "0.0.20"
|
6
|
-
s.date = "2013-01-22"
|
7
|
-
|
8
|
-
s.summary = "mordor-auditing"
|
9
|
-
s.description = <<-eos
|
10
|
-
Auditing classes based on the Mordor gem, used to audit requests and modifications on objects
|
11
|
-
eos
|
12
|
-
|
13
|
-
s.add_development_dependency('rake')
|
14
|
-
s.add_development_dependency('rspec', '~> 2.0')
|
15
|
-
|
16
|
-
s.authors = ['Jan-Willem Koelewijn', 'Dirkjan Bussink']
|
17
|
-
s.email = ['janwillem.koelewijn@nedap.com', 'dirkjan.bussink@nedap.com']
|
18
|
-
s.homepage = 'http://www.nedap.com'
|
19
|
-
|
20
|
-
# The files and test_files directives are set automatically by the release script.
|
21
|
-
# Do not change them by hand, but make sure to add the files to the git repository.
|
22
|
-
s.files = %w(.gitignore .travis.yml Gemfile Gemfile.lock 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)
|
23
|
-
end
|