hash_formatter 0.0.1 → 0.0.2

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: 0cc56465f40a0aa9a676fd0121e9a2c72428d8ec
4
- data.tar.gz: 12c9d34af09dd26d34c9cd14196085207087ae86
3
+ metadata.gz: 0b10cc9d2dcb3e5a72c63820ff33c0c893c1afc8
4
+ data.tar.gz: 119200f2763358951ee58afbdd0a545353cc7c1d
5
5
  SHA512:
6
- metadata.gz: 76c6693a600ccb8d05bf5ba394dc546c1652ee38bd0ccb3aa9ee5dab3a3c15b39aeb974d890dce1306907428ae334211764142666b29c90897da126e0ad28e95
7
- data.tar.gz: 4c5523d3fee191937f87943c2b25c13d1ec0b66c6d83227c73d8a821e472e00f2283c315b4bf64aab4113e9b648ea2043bc20ac4bba70395780df05ab55495d9
6
+ metadata.gz: e16140ac4d64135e31377713de38c2a20eec2dc8f24957241244b9940d5dd648bda2e017946b4ea38289e833272ceb36ea5a28b1286242b54fd70a533ee79eda
7
+ data.tar.gz: 314f0d98e88f7bad636a9407faaa6e4d38d409e00e30c5259f6bead3e84aa64acb56ad2de7c6d6582e806e807848afc13de392eaa68dfd29a2cac44d5bd8edfc
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |s|
2
2
  s.name = "hash_formatter"
3
- s.version = "0.0.1"
3
+ s.version = "0.0.2"
4
4
  s.summary = "Formats Ruby Hashes"
5
5
  s.description = "Hash Formatter is a library that formats Ruby hashes for code editors."
6
6
  s.authors = ["Norman Clarke"]
@@ -24,7 +24,7 @@ class HashFormatter
24
24
 
25
25
  def each
26
26
  return to_enum unless block_given?
27
- @hash.map {|*a| yield a.flatten(1).map(&method(:to_ruby))}
27
+ @hash.map {|a| yield a.map(&method(:to_ruby))}
28
28
  end
29
29
 
30
30
  private
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: hash_formatter
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Norman Clarke
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-06-05 00:00:00.000000000 Z
11
+ date: 2015-06-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: ruby2ruby