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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: '08939c35fee9b8e4c4365c3f723fd72613ab4f5294df58e8f1d4512f67a3f259'
4
- data.tar.gz: 180ef4c7198571533c8c1744224014df3fb40b0546b085b941bb13aa119f2821
3
+ metadata.gz: b580af68447c1bdadffd52b9cce45c163f07c2e6bfe2c5b76253ae8085483f84
4
+ data.tar.gz: 1b99ae3de3e193ccef606b2e33afe879e790dd092152476e860dc312ac6254ae
5
5
  SHA512:
6
- metadata.gz: ca8d64d98746acb99b690cdfa363eee82faf8e08c4046ef5916cdd8db70d578e98ef34e8a31800064aa37c6b11fa01540d205b60757ebdfa634be8f132a3d4a7
7
- data.tar.gz: f31992f4bc045905976ce6b73920605dec99a138fe4cfefde2f061b3f601d3a86ba9b0f202548aebfac54ff9daad61673a1114d53e73f308781b2961e5795c72
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.1)
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.1)
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.0)
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.1)
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 = 100)
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
@@ -4,6 +4,6 @@ module SkullIsland
4
4
  VERSION = [
5
5
  2, # Major
6
6
  2, # Minor
7
- 1 # Patch
7
+ 2 # Patch
8
8
  ].join('.')
9
9
  end
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.1
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-01-20 00:00:00.000000000 Z
11
+ date: 2021-02-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: deepsort