array-sorted-unique 1.1.0 → 1.1.1
Sign up to get free protection for your applications and to get access to all the features.
@@ -1,10 +1,7 @@
|
|
1
1
|
|
2
|
-
class ::Array::Sorted
|
2
|
+
class ::Array::Sorted < ::Array::Hooked
|
3
|
+
class Unique < ::Array::Hooked
|
4
|
+
|
5
|
+
end
|
3
6
|
end
|
4
|
-
|
5
|
-
class ::UniqueArray::Sorted < ::Array::Sorted::Unique
|
6
|
-
end
|
7
|
-
|
8
7
|
::Array::Unique::Sorted = ::Array::Sorted::Unique
|
9
|
-
|
10
|
-
::SortedArray::Unique = ::UniqueArray::Sorted
|
@@ -7,21 +7,6 @@ files = [
|
|
7
7
|
|
8
8
|
]
|
9
9
|
|
10
|
-
second_basepath = '../../sorted_array/unique'
|
11
|
-
|
12
|
-
second_files = [
|
13
|
-
|
14
|
-
'array_interface'
|
15
|
-
|
16
|
-
]
|
17
|
-
|
18
10
|
files.each do |this_file|
|
19
11
|
require_relative( File.join( basepath, this_file ) + '.rb' )
|
20
12
|
end
|
21
|
-
second_files.each do |this_file|
|
22
|
-
require_relative( File.join( second_basepath, this_file ) + '.rb' )
|
23
|
-
end
|
24
|
-
|
25
|
-
require_relative( basepath + '.rb' )
|
26
|
-
require_relative( second_basepath + '.rb' )
|
27
|
-
|
data/lib/array/sorted/unique.rb
CHANGED
@@ -1,6 +1,8 @@
|
|
1
1
|
|
2
2
|
require 'array/sorted'
|
3
3
|
require 'array/unique'
|
4
|
+
#require_relative '../../../../array-unique/lib/array-unique.rb'
|
5
|
+
#require_relative '../../../../array-sorted/lib/array-sorted.rb'
|
4
6
|
|
5
7
|
# namespaces that have to be declared ahead of time for proper load order
|
6
8
|
require_relative './namespaces'
|
@@ -8,7 +10,7 @@ require_relative './namespaces'
|
|
8
10
|
# source file requires
|
9
11
|
require_relative './requires.rb'
|
10
12
|
|
11
|
-
class ::Array::Sorted::Unique < ::Array::
|
13
|
+
class ::Array::Sorted::Unique < ::Array::Hooked
|
12
14
|
|
13
15
|
include ::Array::Sorted::Unique::ArrayInterface
|
14
16
|
|
@@ -1,8 +1,8 @@
|
|
1
1
|
|
2
2
|
module ::Array::Sorted::Unique::ArrayInterface
|
3
3
|
|
4
|
-
include ::Array::Unique::ArrayInterface
|
5
4
|
include ::Array::Sorted::ArrayInterface
|
5
|
+
include ::Array::Unique::ArrayInterface
|
6
6
|
|
7
7
|
instances_identify_as!( ::Array::Sorted::Unique )
|
8
8
|
instances_identify_as!( ::Array::Unique::Sorted )
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: array-sorted-unique
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.1.
|
4
|
+
version: 1.1.1
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2012-06
|
12
|
+
date: 2012-07-06 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: array-sorted
|