array-unique-compositing 1.0.1 → 1.0.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. data/lib/array/unique/compositing.rb +6 -2
  2. metadata +2 -2
@@ -1,8 +1,6 @@
1
1
 
2
2
  require 'array/unique'
3
3
  require 'array/compositing'
4
- #require_relative '../../../../../hooked_objects/array-unique/lib/array-unique.rb'
5
- #require_relative '../../../../array-compositing/lib/array/compositing.rb'
6
4
 
7
5
  # namespaces that have to be declared ahead of time for proper load order
8
6
  require_relative './namespaces'
@@ -12,6 +10,12 @@ require_relative './requires.rb'
12
10
 
13
11
  class ::Array::Unique::Compositing < ::Array::Hooked
14
12
 
13
+ alias_method :non_cascading_set, :[]=
14
+
15
+ alias_method :non_cascading_insert, :insert
16
+
17
+ alias_method :non_cascading_delete_at, :delete_at
18
+
15
19
  include ::Array::Unique::Compositing::ArrayInterface
16
20
 
17
21
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: array-unique-compositing
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.1
4
+ version: 1.0.2
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-07-09 00:00:00.000000000 Z
12
+ date: 2012-07-10 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: array-compositing