droplet_kit 3.5.0 → 3.5.1

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: e99b935a43e66664681fa592d617cfd75b2d1a418dc9183230604983d8ccee21
4
- data.tar.gz: c2a8fe830a6f42eeb21d2b26d02b6c7ca9843256e1f384dda50e24f168553182
3
+ metadata.gz: 0a0178afc706a7517f7c0f5502b941c137f7c7a5c6d30ba835eeeb8318d4abda
4
+ data.tar.gz: 314c695412ef9d814a85c1ae69bf194dbdb680a22b3fc7030780ac6b2ae5894d
5
5
  SHA512:
6
- metadata.gz: d2df61948aae39fca4d5632770a9dffcbea2612d492352761081e2dc187980aa575e5145b2203a1b0f7988f614cd4ae5a33c50719f5ff6d979ea75c93633297c
7
- data.tar.gz: b2a3dd53c71095114cd4b0d53c9dade7f6c17598aec10bc539a724ed77906602ac07d4dc4a89e6a87557120ae1b7e8ee071ddc7d74a605b831815f8f1a7f00c7
6
+ metadata.gz: 2ae25765399c0016fe0be9fe9f9edfe4dc5e202d205fb43e63d944c92130802fc22f2fcf8da62b4910ad0ed8437592b717486b6053c3d5ea6daa6da46fc6c26f
7
+ data.tar.gz: a903b33149ab77e5747777aebb1eca5634f68cb2e5aadce62db349ff1033396cd8e28e81db0f963a50f9a9b2b87357553f4b7a1e7bb84209d80d8ce85c14b1b4
@@ -11,7 +11,7 @@ module DropletKit
11
11
  attribute :redirect_http_to_https, Boolean, :default => false
12
12
  attribute :enable_proxy_protocol, Boolean, :default => false
13
13
  attribute :droplet_ids
14
- attribute :sticky_sessions
14
+ attribute :sticky_sessions, StickySession
15
15
  attribute :health_check
16
16
  attribute :forwarding_rules
17
17
  attribute :vpc_uuid
@@ -1,7 +1,7 @@
1
1
  module DropletKit
2
2
  class StickySession < BaseModel
3
- attribute :type
4
- attribute :cookie_name
5
- attribute :cookie_ttl_seconds
3
+ attribute :type, String
4
+ attribute :cookie_name, String
5
+ attribute :cookie_ttl_seconds, Integer
6
6
  end
7
7
  end
@@ -44,6 +44,7 @@ module DropletKit
44
44
  end
45
45
 
46
46
  def last?
47
+ return true if self.total.nil?
47
48
  @current_page == total_pages || self.total.zero?
48
49
  end
49
50
 
@@ -1,3 +1,3 @@
1
1
  module DropletKit
2
- VERSION = "3.5.0"
2
+ VERSION = "3.5.1"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: droplet_kit
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.5.0
4
+ version: 3.5.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Robert Ross
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-01-15 00:00:00.000000000 Z
11
+ date: 2020-01-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: virtus
@@ -122,20 +122,6 @@ dependencies:
122
122
  - - ">="
123
123
  - !ruby/object:Gem::Version
124
124
  version: '0'
125
- - !ruby/object:Gem::Dependency
126
- name: sinatra
127
- requirement: !ruby/object:Gem::Requirement
128
- requirements:
129
- - - "~>"
130
- - !ruby/object:Gem::Version
131
- version: '1.4'
132
- type: :development
133
- prerelease: false
134
- version_requirements: !ruby/object:Gem::Requirement
135
- requirements:
136
- - - "~>"
137
- - !ruby/object:Gem::Version
138
- version: '1.4'
139
125
  - !ruby/object:Gem::Dependency
140
126
  name: webmock
141
127
  requirement: !ruby/object:Gem::Requirement