uh-layout 0.5.1 → 0.5.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: e1a913044d0a2ff8013e8099b924fd46bea2c5cab72183a27a8dc71f852bfbef
4
- data.tar.gz: ef92b2717d774414409cd8a70c14715d1eae22cdfc06fa1cbb41d00d1a720d53
3
+ metadata.gz: 5a0212bc180666af7195573ca9b06bed768370390cb29f92848dc88b871bde7f
4
+ data.tar.gz: 8a4785584eadaef63f33c338b223d1d55e9b24de0618405ce923903af64df8e4
5
5
  SHA512:
6
- metadata.gz: 3987ca935526fc7d8e8248c6c4e580de3f14d1f8e9b8337ec7570a9216dfb814e55c6fe198a6354dda48eafef14c911090ebe9ff46cdef44239e000c90a31242
7
- data.tar.gz: 62514ef6d0d44596e579ddc82cac2cfe08897f06f011a2a8e5fa2240da4344e06223a210ee19b885d01b1972ea7c109d30566425bd96e04f6cb01a0aa39d369d
6
+ metadata.gz: b00bf2512fca37a7a891ecb07cb494df162905b5ac70a1c16418685890ebe7d03f009c65163fe40e3976ec79c8b7e5501998d6d9ac52c44d904f2ca4359f6e16
7
+ data.tar.gz: ad7386765f2a3f79cbf6d6b31c615286d747e8136cdfa39b80337620521cbb715702ddab03024a381e785fe4a93ca375093854a474c622e777445ec8156e3573
@@ -67,7 +67,7 @@ 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 entry)
70
+ @entries.delete_at (index = @entries.index(entry))
71
71
  if @current_index != 0 && @current_index >= index
72
72
  @current_index -= 1
73
73
  end
@@ -1,5 +1,5 @@
1
1
  module Uh
2
2
  class Layout
3
- VERSION = '0.5.1'.freeze
3
+ VERSION = '0.5.2'.freeze
4
4
  end
5
5
  end
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.1
4
+ version: 0.5.2
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 00:00:00.000000000 Z
11
+ date: 2017-12-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: uh