mordor-auditing 0.1.1 → 0.3.1

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
- SHA256:
3
- metadata.gz: 3185e5eb786922446f9e371a28f02ae219edd7b934a1a8d8592e174bd57fc3ed
4
- data.tar.gz: 447f773d7b6ae6e57d21c1bb4aa8f563014175fd6877548f6e5e9f6be08e1360
2
+ SHA1:
3
+ metadata.gz: faf890ce83587ed5ffd5873e061fdafe266fc268
4
+ data.tar.gz: c3df9d0633b45d74e88950c71c5dfd94b8107747
5
5
  SHA512:
6
- metadata.gz: ae7fd83670f2cf4ce3325c9c3b9e526e406c062bfc276f753b178d1e7392130e6c0556c50238676a1351065ff53903f190abe268d8d9d05b13d2098b836c8582
7
- data.tar.gz: 88ebac458da6a971d28ba56513bb7c92b786c3054d20fde386a4d5086ae75772739c7a9cd8fdcdabe0daccd2d9204e9d6263721d8a8f611f40397a5d8c7e99f7
6
+ metadata.gz: fff016544545967d4a934e96a48586061f5b8c1bea6a5a9f9ac2dbc78735c8c8b9b0350088aa9d58216495bd2263a8fbc0108d1c4f56d13e0eb214c21570dc07
7
+ data.tar.gz: df2abac9614eb32945a1fe5cac98035683114d9ad5017f52fe472d117f4c702b10a34671d62c5b7e4340c95e38200fcabaa54117a29875854a20917b47ccfff2
data/.travis.yml ADDED
@@ -0,0 +1,22 @@
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
+ - 1.9.3
13
+ - 2.1.6
14
+ - 2.2.2
15
+ - jruby-19mode
16
+ - rbx-19mode
17
+ - rbx-2.5.3
18
+
19
+ matrix:
20
+ allow_failures:
21
+ - rvm: rbx-19mode
22
+ - rvm: rbx-2.5.3
data/README.md CHANGED
@@ -1,4 +1,4 @@
1
- [![CircleCI](https://circleci.com/gh/nedap/mordor-auditing/tree/master.svg?style=svg)](https://circleci.com/gh/nedap/mordor-auditing/tree/master)
1
+ [![Build Status](https://secure.travis-ci.org/jwkoelewijn/auditing.png?branch=master)](http://travis-ci.org/jwkoelewijn/auditing)
2
2
 
3
3
  ## Introduction
4
4
 
@@ -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 = "0.1.1"
8
- s.date = "2020-07-28"
7
+ s.version = Auditing::VERSION
8
+ s.date = "2015-05-15"
9
9
 
10
10
  s.summary = 'mordor-auditing'
11
11
  s.description = <<-eos
@@ -16,13 +16,12 @@ 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.5'
19
+ s.add_runtime_dependency 'mordor', '~> 0.3.0'
20
20
 
21
21
  s.add_development_dependency 'rake'
22
- s.add_development_dependency 'rspec', '~> 3.5'
23
- s.add_development_dependency 'rspec_junit_formatter'
22
+ s.add_development_dependency 'rspec', '~> 2.0', '< 2.99'
24
23
 
25
24
  # The files and test_files directives are set automatically by the release script.
26
25
  # 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)
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)
28
27
  end
@@ -25,17 +25,7 @@ module Auditing
25
25
  end
26
26
 
27
27
  def params=(params)
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
28
+ @params = self.replace_params(params)
39
29
  end
40
30
 
41
31
  def self.find_by_url(url, partial = false)
@@ -1,3 +1,3 @@
1
1
  module Auditing
2
- VERSION = '0.3.4'
2
+ VERSION = '0.3.1'
3
3
  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('mordor-auditing-').last }.compact.map { |v| Gem::Version.new(v) }.max || Gem::Version.new('0.0.0')
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')
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.1.1
4
+ version: 0.3.1
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: 2020-07-28 00:00:00.000000000 Z
12
+ date: 2015-05-15 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.5
20
+ version: 0.3.0
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.5
27
+ version: 0.3.0
28
28
  - !ruby/object:Gem::Dependency
29
29
  name: rake
30
30
  requirement: !ruby/object:Gem::Requirement
@@ -45,28 +45,20 @@ dependencies:
45
45
  requirements:
46
46
  - - "~>"
47
47
  - !ruby/object:Gem::Version
48
- version: '3.5'
48
+ version: '2.0'
49
+ - - "<"
50
+ - !ruby/object:Gem::Version
51
+ version: '2.99'
49
52
  type: :development
50
53
  prerelease: false
51
54
  version_requirements: !ruby/object:Gem::Requirement
52
55
  requirements:
53
56
  - - "~>"
54
57
  - !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
- - - ">="
58
+ version: '2.0'
59
+ - - "<"
61
60
  - !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'
61
+ version: '2.99'
70
62
  description: " Auditing classes based on the Mordor gem, used to audit requests
71
63
  and modifications on objects\n"
72
64
  email:
@@ -76,18 +68,18 @@ executables: []
76
68
  extensions: []
77
69
  extra_rdoc_files: []
78
70
  files:
79
- - ".circleci/config.yml"
80
71
  - ".gitignore"
72
+ - ".travis.yml"
81
73
  - CHANGES.md
82
74
  - Gemfile
83
75
  - LICENSE
84
76
  - README.md
85
77
  - Rakefile
78
+ - auditing.gemspec
86
79
  - lib/auditing.rb
87
80
  - lib/auditing/modification.rb
88
81
  - lib/auditing/request.rb
89
82
  - lib/auditing/version.rb
90
- - mordor-auditing.gemspec
91
83
  - spec/auditing/modification_spec.rb
92
84
  - spec/auditing/request_spec.rb
93
85
  - spec/spec.opts
@@ -96,7 +88,7 @@ files:
96
88
  homepage: http://www.nedap.com
97
89
  licenses: []
98
90
  metadata: {}
99
- post_install_message:
91
+ post_install_message:
100
92
  rdoc_options: []
101
93
  require_paths:
102
94
  - lib
@@ -111,8 +103,9 @@ required_rubygems_version: !ruby/object:Gem::Requirement
111
103
  - !ruby/object:Gem::Version
112
104
  version: '0'
113
105
  requirements: []
114
- rubygems_version: 3.0.8
115
- signing_key:
106
+ rubyforge_project:
107
+ rubygems_version: 2.6.14
108
+ signing_key:
116
109
  specification_version: 4
117
110
  summary: mordor-auditing
118
111
  test_files: []
data/.circleci/config.yml DELETED
@@ -1,73 +0,0 @@
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