mordor-auditing 0.3.1 → 0.3.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/.travis.yml +1 -9
- data/auditing.gemspec +1 -1
- data/lib/auditing/request.rb +11 -1
- data/lib/auditing/version.rb +1 -1
- metadata +4 -10
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: 1629dcc739652cb0251fb22c92bb1353316dd4b9d5c38183ac3a4abfcabad964
|
4
|
+
data.tar.gz: 5d385b482140b189ff70bc27c3520a0d083c87c4323811c0fcb330463ae4cf51
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6015dd9401e792584611e0609ab1a9bcdaa5ccfab6737717d592e5ceae2bbc40f92ace55e453050b600bdefe93902c39928c7baa08f7ec65addcae3eac32f6bd
|
7
|
+
data.tar.gz: c115ad72cdff5fe0d569b52c5f9298fd77f0dde90f48fb77dbdf43f6c8d4f5b32901121de956a34d527c8947969cb563906aae48d4f9752310ad3bda72fa772b
|
data/.travis.yml
CHANGED
data/auditing.gemspec
CHANGED
@@ -19,7 +19,7 @@ Gem::Specification.new do |s|
|
|
19
19
|
s.add_runtime_dependency 'mordor', '~> 0.3.0'
|
20
20
|
|
21
21
|
s.add_development_dependency 'rake'
|
22
|
-
s.add_development_dependency 'rspec', '~>
|
22
|
+
s.add_development_dependency 'rspec', '~> 3.5'
|
23
23
|
|
24
24
|
# The files and test_files directives are set automatically by the release script.
|
25
25
|
# Do not change them by hand, but make sure to add the files to the git repository.
|
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
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
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.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jan-Willem Koelewijn
|
@@ -45,20 +45,14 @@ dependencies:
|
|
45
45
|
requirements:
|
46
46
|
- - "~>"
|
47
47
|
- !ruby/object:Gem::Version
|
48
|
-
version: '
|
49
|
-
- - "<"
|
50
|
-
- !ruby/object:Gem::Version
|
51
|
-
version: '2.99'
|
48
|
+
version: '3.5'
|
52
49
|
type: :development
|
53
50
|
prerelease: false
|
54
51
|
version_requirements: !ruby/object:Gem::Requirement
|
55
52
|
requirements:
|
56
53
|
- - "~>"
|
57
54
|
- !ruby/object:Gem::Version
|
58
|
-
version: '
|
59
|
-
- - "<"
|
60
|
-
- !ruby/object:Gem::Version
|
61
|
-
version: '2.99'
|
55
|
+
version: '3.5'
|
62
56
|
description: " Auditing classes based on the Mordor gem, used to audit requests
|
63
57
|
and modifications on objects\n"
|
64
58
|
email:
|
@@ -104,7 +98,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
104
98
|
version: '0'
|
105
99
|
requirements: []
|
106
100
|
rubyforge_project:
|
107
|
-
rubygems_version: 2.
|
101
|
+
rubygems_version: 2.7.7
|
108
102
|
signing_key:
|
109
103
|
specification_version: 4
|
110
104
|
summary: mordor-auditing
|