bel 0.4.0.beta.9 → 0.4.0.beta.10

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: c2439b3403f830ef0c8117b3bd1ed9ef6cd589c4
4
- data.tar.gz: 9a5279406ef99030abb59b2b4f19960d03b43b18
3
+ metadata.gz: 7eeaf006e3a3763f3a59b73548b39fbc882ae048
4
+ data.tar.gz: f2083ec92447b7dbce8bc0b46ab8e277e13f0526
5
5
  SHA512:
6
- metadata.gz: 8acf51e5234ecdb58206b761451dda5437097eec73c0200ae165985cffbc5bdf27bf3eef7931dad3bfbb48affdacf75a72fbb4e4e1d24d45ce9a39ee99ea4592
7
- data.tar.gz: f003e2105ad90a3eae32872b6c58b97a310ea3ec035cd3a82f1af1f2af56c4930c5a0117a1df6d12b0321116222b06c8ceb8572e17c42fb0f48da39aac892d2b
6
+ metadata.gz: 3b40839e03e2bced2da4e486f0a7e0fb0da33f8aa47a0644d0a79d91b696902eb1a00567ef90a6b526528f2006f8a652bebc8566bc299e31cf8a74ff65cb262b
7
+ data.tar.gz: 0c600e6e1434166fa67b733bd8e7263bfaf8a43a54a66e1e74228186a3646672814e135bb114b34b353af889ec16d6ace5644c9a4ae2fdce0e47c440130a459a
@@ -13,7 +13,11 @@ module BEL
13
13
 
14
14
  def initialize(values = {})
15
15
  if values.is_a? Array
16
- @values = Hash[values.map { |item| item.values_at(:name, :value) }]
16
+ @values = Hash[
17
+ values.map { |item|
18
+ [item[:name].to_sym, item[:value]]
19
+ }
20
+ ]
17
21
  else
18
22
  @values = values
19
23
  end
@@ -1,3 +1,3 @@
1
1
  module BEL
2
- VERSION = '0.4.0.beta.9'
2
+ VERSION = '0.4.0.beta.10'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bel
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.0.beta.9
4
+ version: 0.4.0.beta.10
5
5
  platform: ruby
6
6
  authors:
7
7
  - Anthony Bargnesi