array_utility 1.1.0 → 1.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- metadata +5 -8
- data/spec/test_before.rb +0 -10
- data/spec/test_next.rb +0 -10
- data/spec/test_prepend_capped.rb +0 -11
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: bc379ad347c3c337243af8e96aef4491b1d64c98
|
4
|
+
data.tar.gz: afa9aa918d9bf20b93d6536b41eb7c917dabbee7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a69e5dffebd8aa216a5840c3f4bbeb7187ab698181da8c05f7bbbe5bfd2d5de773c0f5b08dd3d16df6d3cce2194efcb13be9f219d963b037cbe7b44ea80bf82f
|
7
|
+
data.tar.gz: 3a66a4af95a36bc9355d6781a563f9559ae7b93ebc00bcd16ffcaa9a22da62ba6ce15f4f40ebe85bbcaf024defd330f2ca42494e52a7b87be31d24685a61feae
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: array_utility
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.1.
|
4
|
+
version: 1.1.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Eli Foster
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2016-03-23 00:00:00.000000000 Z
|
12
12
|
dependencies: []
|
13
13
|
description: Some simple but very useful utilities for Array objects. It primarily
|
14
14
|
focuses on using the most efficient methods to get and modify certain values from
|
@@ -20,11 +20,9 @@ extra_rdoc_files: []
|
|
20
20
|
files:
|
21
21
|
- examples/examples.rb
|
22
22
|
- lib/array_utility.rb
|
23
|
-
- spec/test_before.rb
|
24
|
-
- spec/test_next.rb
|
25
|
-
- spec/test_prepend_capped.rb
|
26
23
|
homepage: https://github.com/elifoster/array_utility
|
27
|
-
licenses:
|
24
|
+
licenses:
|
25
|
+
- MIT
|
28
26
|
metadata:
|
29
27
|
issue_tracker: https://github.com/elifoster/array_utility/issues
|
30
28
|
post_install_message:
|
@@ -43,9 +41,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
43
41
|
version: '0'
|
44
42
|
requirements: []
|
45
43
|
rubyforge_project:
|
46
|
-
rubygems_version: 2.
|
44
|
+
rubygems_version: 2.5.1
|
47
45
|
signing_key:
|
48
46
|
specification_version: 4
|
49
47
|
summary: Provides some simple utilities for Array objects.
|
50
48
|
test_files: []
|
51
|
-
has_rdoc:
|
data/spec/test_before.rb
DELETED
data/spec/test_next.rb
DELETED
data/spec/test_prepend_capped.rb
DELETED
@@ -1,11 +0,0 @@
|
|
1
|
-
require 'test/unit'
|
2
|
-
require_relative '../lib/array_utility'
|
3
|
-
|
4
|
-
class TestPrependCapped < Test::Unit::TestCase
|
5
|
-
using ArrayUtility
|
6
|
-
def test_prepend_capped
|
7
|
-
assert_equal([4, 1, 2], [1, 2, 3].prepend_capped(4, 3))
|
8
|
-
assert_equal([4, 1, 2], [1, 2].prepend_capped(4, 3))
|
9
|
-
assert_equal([4], [1, 2].prepend_capped(4, 1))
|
10
|
-
end
|
11
|
-
end
|