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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
- SHA1:
3
- metadata.gz: faf890ce83587ed5ffd5873e061fdafe266fc268
4
- data.tar.gz: c3df9d0633b45d74e88950c71c5dfd94b8107747
2
+ SHA256:
3
+ metadata.gz: 1629dcc739652cb0251fb22c92bb1353316dd4b9d5c38183ac3a4abfcabad964
4
+ data.tar.gz: 5d385b482140b189ff70bc27c3520a0d083c87c4323811c0fcb330463ae4cf51
5
5
  SHA512:
6
- metadata.gz: fff016544545967d4a934e96a48586061f5b8c1bea6a5a9f9ac2dbc78735c8c8b9b0350088aa9d58216495bd2263a8fbc0108d1c4f56d13e0eb214c21570dc07
7
- data.tar.gz: df2abac9614eb32945a1fe5cac98035683114d9ad5017f52fe472d117f4c702b10a34671d62c5b7e4340c95e38200fcabaa54117a29875854a20917b47ccfff2
6
+ metadata.gz: 6015dd9401e792584611e0609ab1a9bcdaa5ccfab6737717d592e5ceae2bbc40f92ace55e453050b600bdefe93902c39928c7baa08f7ec65addcae3eac32f6bd
7
+ data.tar.gz: c115ad72cdff5fe0d569b52c5f9298fd77f0dde90f48fb77dbdf43f6c8d4f5b32901121de956a34d527c8947969cb563906aae48d4f9752310ad3bda72fa772b
data/.travis.yml CHANGED
@@ -9,14 +9,6 @@ services:
9
9
  - mongodb
10
10
 
11
11
  rvm:
12
- - 1.9.3
13
12
  - 2.1.6
14
13
  - 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
14
+ - 2.4.4
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', '~> 2.0', '< 2.99'
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.
@@ -25,7 +25,17 @@ module Auditing
25
25
  end
26
26
 
27
27
  def params=(params)
28
- @params = self.replace_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
29
39
  end
30
40
 
31
41
  def self.find_by_url(url, partial = false)
@@ -1,3 +1,3 @@
1
1
  module Auditing
2
- VERSION = '0.3.1'
2
+ VERSION = '0.3.3'
3
3
  end
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.1
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: '2.0'
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: '2.0'
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.6.14
101
+ rubygems_version: 2.7.7
108
102
  signing_key:
109
103
  specification_version: 4
110
104
  summary: mordor-auditing