zillabyte 0.9.21 → 0.9.22

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,15 +1,15 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
3
  metadata.gz: !binary |-
4
- ZWExYWY1MjZjMGEzYWVjYWI3ZmQ2Njk1MzAzNjBlYjY2NmFlODVlMA==
4
+ OGI5NjQ3YzcyMmU0ZGM5ZTMzN2MwYWQ2YjA3NGU1YTdlZjlmMDI4ZA==
5
5
  data.tar.gz: !binary |-
6
- Y2U1ZjI3ZTcxZDk5Yjc3ZDNmM2M1YWRlOTgwODY3OGI3ZjUzMWM1Ng==
6
+ Yjg4OTcxMWQxOWNkODhjOTc0OWNmMzIwYmI4YzU5OWU1ZTRmNjMwNA==
7
7
  SHA512:
8
8
  metadata.gz: !binary |-
9
- NjhjZmNlNzI0MWE0YWIyMTBkMzQ3ZTMzMzcxYzMxYWY4Nzg0NTVkYTMwMTM1
10
- NzFhZGE5MmQ5NWM5YmQ2ODZiNGM4NzExMjkyYjdmNjQ5MWI1NjM4N2RiY2Rh
11
- MmMxODMzOGIwZWM4MzM4NTZkYmM3ZTYyZWQ4YWQ3NWFmMjhmMGI=
9
+ OGEyNWQyMDY2NGM4MzMwOGZjNzE2YWE0YTllZTJhYmZmZDdlYWM0MTg5YzMx
10
+ MWU1YjFiNWZmNDUwNmMwZjdkMTAwZWE3OWI2YjliYWMxNTc2NDg4MGIxYTYx
11
+ N2NkMzBiMzE1NjllOGM1NDFiMWM4MjFiOWU2MTYzMjdmMDg3Njg=
12
12
  data.tar.gz: !binary |-
13
- ZDY4MDA1NTU0YjMzMmIwOWI5ODhmYWIwMDVhNjA5Yjc5OGMwN2UyNmI5NTBm
14
- ODIxYjk0ODRkYzU1ZTkxNmVkNjEyMDYxZTRjODFkYTE2YWJlNTMyZTliMmI3
15
- NTEyYzZjMjQ5OGI5NWU4NDVhMWJlNzk0NDUyYTAyYjRmYTQwM2I=
13
+ MDhkYjMwY2RhNjA5OWMwZTVlZTM2YzY1NjMzYzRiMGZjMzM0NTA3ZjI3YzNi
14
+ Mjc3MWJiYzJjOWNkZjU4NTQ3NDZlZGVhN2U3Njc4ODU1NzBlYThkNjY4MjM4
15
+ MzAyOGQ4N2U2ZTFmYjVlNTNiZmMzZTZhZWIxMmZhZDEzZmM2MzM=
@@ -11,6 +11,8 @@ class Tuple
11
11
  key = (@_alias_hash[name] || name)
12
12
  if values.has_key?( key )
13
13
  return values[key]
14
+ elsif values.has_key?(name)
15
+ return values[name]
14
16
  else
15
17
  raise ArgumentError, "The requested tuple does not contain the key: \"#{name}\". Current tuple contains keys: #{values.keys.to_s} with aliases #{@_alias_hash.to_s}"
16
18
  end
@@ -1,3 +1,3 @@
1
1
  module Zillabyte
2
- VERSION = "0.9.21" unless defined?(VERSION)
2
+ VERSION = "0.9.22" unless defined?(VERSION)
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: zillabyte
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.9.21
4
+ version: 0.9.22
5
5
  platform: ruby
6
6
  authors:
7
7
  - zillabyte
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-10-31 00:00:00.000000000 Z
11
+ date: 2014-11-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rake
@@ -30,14 +30,14 @@ dependencies:
30
30
  requirements:
31
31
  - - ~>
32
32
  - !ruby/object:Gem::Version
33
- version: 0.9.21
33
+ version: 0.9.22
34
34
  type: :runtime
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
38
  - - ~>
39
39
  - !ruby/object:Gem::Version
40
- version: 0.9.21
40
+ version: 0.9.22
41
41
  description: The Official Zillabyte Gem
42
42
  email:
43
43
  - gem@zillabyte.com