skull_island 2.2.1 → 2.2.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +4 -4
- data/lib/skull_island/helpers/resource.rb +3 -0
- data/lib/skull_island/lru_cache.rb +1 -1
- data/lib/skull_island/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b580af68447c1bdadffd52b9cce45c163f07c2e6bfe2c5b76253ae8085483f84
|
4
|
+
data.tar.gz: 1b99ae3de3e193ccef606b2e33afe879e790dd092152476e860dc312ac6254ae
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 26105aab8efbcb318bf00f025023c4e96e8eded052f9082aa663eace7228a5cd9a85ffca9fc5ac57edc6668a558ec2f6bf0d4d41bb5f6d4300b899d0ce8d22d1
|
7
|
+
data.tar.gz: 8448f3c52ab2dbebbd7de55b7fe174277b9833b91876bd97bd803685b5eab3d39af589af93d180c8f0b4c136859d1892b3ab3b71838e74b478299533da7fa1f9
|
data/Gemfile.lock
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
skull_island (2.2.
|
4
|
+
skull_island (2.2.2)
|
5
5
|
deepsort (~> 0.4)
|
6
6
|
erubi (~> 1.8)
|
7
7
|
json (~> 2.1)
|
@@ -20,7 +20,7 @@ GEM
|
|
20
20
|
tzinfo (~> 1.1)
|
21
21
|
addressable (2.7.0)
|
22
22
|
public_suffix (>= 2.0.2, < 5.0)
|
23
|
-
ast (2.4.
|
23
|
+
ast (2.4.2)
|
24
24
|
concurrent-ruby (1.1.8)
|
25
25
|
coveralls (0.7.1)
|
26
26
|
multi_json (~> 1.3)
|
@@ -109,7 +109,7 @@ GEM
|
|
109
109
|
rubocop-ast (>= 0.6.0)
|
110
110
|
ruby-progressbar (~> 1.7)
|
111
111
|
unicode-display_width (>= 1.4.0, < 2.0)
|
112
|
-
rubocop-ast (1.4.
|
112
|
+
rubocop-ast (1.4.1)
|
113
113
|
parser (>= 2.7.1.5)
|
114
114
|
ruby-progressbar (1.11.0)
|
115
115
|
ruby2_keywords (0.0.4)
|
@@ -122,7 +122,7 @@ GEM
|
|
122
122
|
sync (0.5.0)
|
123
123
|
term-ansicolor (1.7.1)
|
124
124
|
tins (~> 1.0)
|
125
|
-
thor (1.0
|
125
|
+
thor (1.1.0)
|
126
126
|
thread_safe (0.3.6)
|
127
127
|
tins (1.28.0)
|
128
128
|
sync
|
@@ -215,6 +215,9 @@ module SkullIsland
|
|
215
215
|
@api_client.invalidate_cache_for(self.class.relative_uri.to_s) # clear any collection class
|
216
216
|
@tainted = false
|
217
217
|
true
|
218
|
+
rescue RestClient::BadRequest => e
|
219
|
+
warn "[WARN] Failed to save #{self.class} via #{new? ? save_uri : relative_uri} with " \
|
220
|
+
"'#{e.message}':\n#{saveable_data.to_yaml}\n\nReceived: #{e.inspect}"
|
218
221
|
end
|
219
222
|
|
220
223
|
def save_uri
|
@@ -11,7 +11,7 @@ module SkullIsland
|
|
11
11
|
attr_reader :max_size, :keys
|
12
12
|
|
13
13
|
# @raise [Exceptions::InvalidCacheSize] if the max_size isn't an Integer
|
14
|
-
def initialize(max_size =
|
14
|
+
def initialize(max_size = 10_000)
|
15
15
|
raise Exceptions::InvalidCacheSize unless max_size.is_a?(Integer)
|
16
16
|
|
17
17
|
@max_size = max_size
|
data/lib/skull_island/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: skull_island
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.2.
|
4
|
+
version: 2.2.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jonathan Gnagy
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-
|
11
|
+
date: 2021-02-11 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: deepsort
|