uh-layout 0.5.0 → 0.5.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/uh/layout/container.rb +2 -2
- data/lib/uh/layout/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: e1a913044d0a2ff8013e8099b924fd46bea2c5cab72183a27a8dc71f852bfbef
|
4
|
+
data.tar.gz: ef92b2717d774414409cd8a70c14715d1eae22cdfc06fa1cbb41d00d1a720d53
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3987ca935526fc7d8e8248c6c4e580de3f14d1f8e9b8337ec7570a9216dfb814e55c6fe198a6354dda48eafef14c911090ebe9ff46cdef44239e000c90a31242
|
7
|
+
data.tar.gz: 62514ef6d0d44596e579ddc82cac2cfe08897f06f011a2a8e5fa2240da4344e06223a210ee19b885d01b1972ea7c109d30566425bd96e04f6cb01a0aa39d369d
|
data/lib/uh/layout/container.rb
CHANGED
@@ -67,8 +67,8 @@ module Uh
|
|
67
67
|
|
68
68
|
def remove_entry entry
|
69
69
|
fail ArgumentError, 'unknown entry' unless include? entry
|
70
|
-
@entries.delete_at (index = @entries.index
|
71
|
-
if @current_index != 0 && @current_index
|
70
|
+
@entries.delete_at (index = @entries.index entry)
|
71
|
+
if @current_index != 0 && @current_index >= index
|
72
72
|
@current_index -= 1
|
73
73
|
end
|
74
74
|
end
|
data/lib/uh/layout/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: uh-layout
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.5.
|
4
|
+
version: 0.5.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Thibault Jouan
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-12-
|
11
|
+
date: 2017-12-11 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: uh
|