xkeys 2.0.0 → 2.0.1

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 (4) hide show
  1. data/HISTORY.txt +6 -0
  2. data/lib/xkeys.rb +6 -2
  3. data/xkeys.gemspec +2 -2
  4. metadata +3 -3
@@ -1,3 +1,9 @@
1
+ 2014-04-16 Version 2.0.1
2
+
3
+ Added documentation to the module overview specifying the
4
+ requirements for supporting alternate underlying data types
5
+ (i.e. other than Array or Hash). No other changes.
6
+
1
7
  2014-03-21 Version 2.0.0
2
8
 
3
9
  XKeys can now be used with data types other than array or hash
@@ -20,10 +20,14 @@
20
20
  # root[1, 0, {}] # => 'value 1'
21
21
  # root[1, 4, {}] # => nil
22
22
  #
23
- # As of version 2, other types with array- or hash-like behavior are
23
+ # As of version 2.0.0, other types with array- or hash-like behavior are
24
24
  # supported as well.
25
25
  #
26
- # Version 2.0.0 2014-03-21
26
+ # As of version 2.0.0, underlying types must implement #[], #[]=, and
27
+ # #fetch to be supported (see the Array or Hash class documentation).
28
+ # They must also implement #push if you want to use push mode (index ":[]").
29
+ #
30
+ # Version 2.0.1 2014-04-16
27
31
  #
28
32
  # @author Brian Katzung <briank@kappacs.com>, Kappa Computer Solutions, LLC
29
33
  # @copyright 2013-2014 Brian Katzung and Kappa Computer Solutions, LLC
@@ -1,7 +1,7 @@
1
1
  Gem::Specification.new do |s|
2
2
  s.name = "xkeys"
3
- s.version = "2.0.0"
4
- s.date = "2014-03-21"
3
+ s.version = "2.0.1"
4
+ s.date = "2014-04-16"
5
5
  s.authors = ["Brian Katzung"]
6
6
  s.email = ["briank@kappacs.com"]
7
7
  s.homepage = "http://rubygems.org/gems/xkeys"
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 2
7
7
  - 0
8
- - 0
9
- version: 2.0.0
8
+ - 1
9
+ version: 2.0.1
10
10
  platform: ruby
11
11
  authors:
12
12
  - Brian Katzung
@@ -14,7 +14,7 @@ autorequire:
14
14
  bindir: bin
15
15
  cert_chain: []
16
16
 
17
- date: 2014-03-21 00:00:00 -05:00
17
+ date: 2014-04-16 00:00:00 -05:00
18
18
  default_executable:
19
19
  dependencies: []
20
20