rubyhelper 1.2.1 → 1.2.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- checksums.yaml.gz.sig +0 -0
- data.tar.gz.sig +0 -0
- data/README.md +2 -2
- data/lib/rubyhelper/array.rb +3 -3
- data/lib/rubyhelper/gem-version.rb +1 -1
- metadata +1 -1
- metadata.gz.sig +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2b651759f67392f0069aa6dc963cfb237008b744
|
4
|
+
data.tar.gz: bf42ad4a56f3945f569cb5d937707239f4d55993
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d81cfdf7688274e3be025cc38b0f1939d1bec704b77e71bd38270e02f57c321d797bab2868c5b577f1179119336ecfcdfdb6371e24fe0be76c9651b8320ab542
|
7
|
+
data.tar.gz: 6e9ce1bf08175cc715120ce44342d5e82fde2b33e44658bd86947f34924700ff604b4091476df43e22ebe46a0e29c2384f2418a17e15cee5a52d4f0e46bafc0a
|
checksums.yaml.gz.sig
CHANGED
Binary file
|
data.tar.gz.sig
CHANGED
Binary file
|
data/README.md
CHANGED
@@ -3,8 +3,8 @@
|
|
3
3
|
Last Stable Gem
|
4
4
|
[![Gem Version](https://badge.fury.io/rb/rubyhelper.svg)](http://badge.fury.io/rb/rubyhelper)
|
5
5
|
|
6
|
-
Last release **v1.
|
7
|
-
Last develop **v1.
|
6
|
+
Last release **v1.2** ===> see the branch **#master**
|
7
|
+
Last develop **v1.3** ===> see the branch **#dev**
|
8
8
|
|
9
9
|
You can see the documentation here : http://rubydoc.info/gems/rubyhelper
|
10
10
|
The source code is available here : https://gitlab.com/poulet_a/rubyhelper
|
data/lib/rubyhelper/array.rb
CHANGED
@@ -107,9 +107,9 @@ module ArrayHelper
|
|
107
107
|
return self.replace(self.compacti)
|
108
108
|
end
|
109
109
|
|
110
|
-
# [:a, :b, :c, 1, 2, 3] => [[:a, 1], [:b, 2], [:c, 3]]
|
111
|
-
# [:a, :b, :c, :d, 1, 2, 3] => [[:a, 1], [:b, 2], [:c, 3], [:d, nil]]
|
112
|
-
# [:a, :b, :c, 1, 2, 3, 4] => [[:a, 2], [:b, 3], [:c, 4], [1, nil]]
|
110
|
+
# examples : [:a, :b, :c, 1, 2, 3] => [[:a, 1], [:b, 2], [:c, 3]]
|
111
|
+
# examples : [:a, :b, :c, :d, 1, 2, 3] => [[:a, 1], [:b, 2], [:c, 3], [:d, nil]]
|
112
|
+
# examples : [:a, :b, :c, 1, 2, 3, 4] => [[:a, 2], [:b, 3], [:c, 4], [1, nil]]
|
113
113
|
# The array will be transformed into an array of couple ([x,y])
|
114
114
|
# with [0e, N/2e] where N/2e is the element at size/2. If the array have
|
115
115
|
# an odd number of elements, it will add a nil value at the end.
|
metadata
CHANGED
metadata.gz.sig
CHANGED
Binary file
|