structure 0.28.4 → 0.28.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/structure.rb +2 -2
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a158acd0d19fb497f1a4f27f61f06f948f93d0ac
|
4
|
+
data.tar.gz: 486e59f519adb28fd005fd0271674e37727399ff
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 39eaa7d3d4dbb630c0df9f6c85ab7aea49ea6b6b42c492998899bad758df80bba5a5c6d53ac892c2ad7239889ec2024cb6df133e333807ece7275c8d269342c8
|
7
|
+
data.tar.gz: 8369d5557f02d08906f6632a604a3b37f25f8a4153156e958a63cfcc3db26221af95b4eb866c0c292dcfcdaa45f27ebe330dbfa4bfabd3200ea1eef7ef3fc801
|
data/structure.rb
CHANGED
@@ -34,8 +34,8 @@ module Structure
|
|
34
34
|
"#<#{class_name} #{
|
35
35
|
attributes
|
36
36
|
.map { |key, val|
|
37
|
-
if val.is_a?(Array)
|
38
|
-
"#{key}=[#{val.take(3).map(&:inspect).join(', ')}...]
|
37
|
+
if val.is_a?(Array)
|
38
|
+
"#{key}=[#{val.take(3).map(&:inspect).join(', ')}" + (val.size > 3 ? '...' : '') + ']'
|
39
39
|
else
|
40
40
|
"#{key}=#{val.inspect}"
|
41
41
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: structure
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.28.
|
4
|
+
version: 0.28.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Hakan Ensari
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-
|
11
|
+
date: 2014-08-13 00:00:00.000000000 Z
|
12
12
|
dependencies: []
|
13
13
|
description:
|
14
14
|
email: me@hakanensari.com
|