rspeckled 0.0.18 → 0.0.19
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- checksums.yaml.gz.sig +0 -0
- data/lib/rspeckled/helpers/responses.rb +2 -0
- data/lib/rspeckled/plugins/authentication.rb +1 -1
- data/lib/rspeckled/plugins/awesome_print.rb +1 -1
- data/lib/rspeckled/plugins/garbage_collection.rb +5 -5
- data/lib/rspeckled/version.rb +1 -1
- data.tar.gz.sig +0 -0
- metadata +30 -3
- metadata.gz.sig +0 -0
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: c40fd255023fe42ec68c78973483481b43e93197
|
|
4
|
+
data.tar.gz: de59db5b2e5541838e967887e45f167e3ff6b317
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 7acbeae0d962f4af2f38c117c7be102b247d1a0967c62d913771d5e529077a660dd52695d5ea9cb5f1bf436d3f046e8a28ea06712bf53d0a866d22886bf63e1c
|
|
7
|
+
data.tar.gz: e6b91b6087314a8a77af9b23def6c52e044125dcff2421a5b2273f49485c6a3820df408d9d3664501c627961aab333e4d6848a6c6811a20b2d4ed1b2401298de
|
checksums.yaml.gz.sig
CHANGED
|
Binary file
|
|
@@ -49,7 +49,7 @@ RSpec.configure do |config|
|
|
|
49
49
|
|
|
50
50
|
authentication_controller_instance = authentication_controller_class.new
|
|
51
51
|
|
|
52
|
-
authentication_successful = if options.is_a?(Hash) && options.
|
|
52
|
+
authentication_successful = if options.is_a?(Hash) && options.has_key?(:status)
|
|
53
53
|
options[:status] == :authorized
|
|
54
54
|
else
|
|
55
55
|
true
|
|
@@ -14,11 +14,11 @@ module Rspeckled
|
|
|
14
14
|
end
|
|
15
15
|
|
|
16
16
|
def self.reconsider
|
|
17
|
-
|
|
18
|
-
cycle_garbage_collector
|
|
17
|
+
return unless enabled? && over_deferrment_threshold?
|
|
19
18
|
|
|
20
|
-
|
|
21
|
-
|
|
19
|
+
cycle_garbage_collector
|
|
20
|
+
|
|
21
|
+
self.garbage_last_collected_at = Time.now
|
|
22
22
|
end
|
|
23
23
|
|
|
24
24
|
def self.cycle_garbage_collector
|
|
@@ -32,7 +32,7 @@ module Rspeckled
|
|
|
32
32
|
end
|
|
33
33
|
|
|
34
34
|
def self.enabled?
|
|
35
|
-
THRESHOLD
|
|
35
|
+
THRESHOLD.positive?
|
|
36
36
|
end
|
|
37
37
|
|
|
38
38
|
def self.time_since_garbage_last_collected
|
data/lib/rspeckled/version.rb
CHANGED
data.tar.gz.sig
CHANGED
|
Binary file
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: rspeckled
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.0.
|
|
4
|
+
version: 0.0.19
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- thegranddesign
|
|
@@ -31,7 +31,7 @@ cert_chain:
|
|
|
31
31
|
zRIv8lqQM8QFT76rzP5SBCERwN+ltKAFbQ5/FwmZNGWYnmCP3RZMQiRnbh+9H9lh
|
|
32
32
|
mlbwaYZTjgsXq6cy8N38EecewgBbZYS1IYJraE/M
|
|
33
33
|
-----END CERTIFICATE-----
|
|
34
|
-
date: 2016-
|
|
34
|
+
date: 2016-10-16 00:00:00.000000000 Z
|
|
35
35
|
dependencies:
|
|
36
36
|
- !ruby/object:Gem::Dependency
|
|
37
37
|
name: rspec
|
|
@@ -61,6 +61,20 @@ dependencies:
|
|
|
61
61
|
- - "~>"
|
|
62
62
|
- !ruby/object:Gem::Version
|
|
63
63
|
version: '2.0'
|
|
64
|
+
- !ruby/object:Gem::Dependency
|
|
65
|
+
name: awesome_print
|
|
66
|
+
requirement: !ruby/object:Gem::Requirement
|
|
67
|
+
requirements:
|
|
68
|
+
- - "~>"
|
|
69
|
+
- !ruby/object:Gem::Version
|
|
70
|
+
version: '1.7'
|
|
71
|
+
type: :runtime
|
|
72
|
+
prerelease: false
|
|
73
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
74
|
+
requirements:
|
|
75
|
+
- - "~>"
|
|
76
|
+
- !ruby/object:Gem::Version
|
|
77
|
+
version: '1.7'
|
|
64
78
|
- !ruby/object:Gem::Dependency
|
|
65
79
|
name: coderay
|
|
66
80
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -75,6 +89,20 @@ dependencies:
|
|
|
75
89
|
- - "~>"
|
|
76
90
|
- !ruby/object:Gem::Version
|
|
77
91
|
version: '1.1'
|
|
92
|
+
- !ruby/object:Gem::Dependency
|
|
93
|
+
name: rubocop
|
|
94
|
+
requirement: !ruby/object:Gem::Requirement
|
|
95
|
+
requirements:
|
|
96
|
+
- - "~>"
|
|
97
|
+
- !ruby/object:Gem::Version
|
|
98
|
+
version: 0.44.0
|
|
99
|
+
type: :development
|
|
100
|
+
prerelease: false
|
|
101
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
102
|
+
requirements:
|
|
103
|
+
- - "~>"
|
|
104
|
+
- !ruby/object:Gem::Version
|
|
105
|
+
version: 0.44.0
|
|
78
106
|
description: 'Are you copying and pasting your RSpec configurations into each of your
|
|
79
107
|
projects like some kind of ANIMAL? Use Rspeckled to cure your woes.
|
|
80
108
|
|
|
@@ -165,4 +193,3 @@ signing_key:
|
|
|
165
193
|
specification_version: 4
|
|
166
194
|
summary: Stop Copying and Pasting Your RSpec Configuration
|
|
167
195
|
test_files: []
|
|
168
|
-
has_rdoc:
|
metadata.gz.sig
CHANGED
|
Binary file
|