raicoto 0.0.8 → 0.0.9
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/raicoto/inspection.rb +1 -1
- data/lib/raicoto/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1595c0805d4fada1ad613a7b3b98a9337d4876dc
|
4
|
+
data.tar.gz: 4563821a79ce3e9e313cf558f5fb3860d06d7059
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: acf4320c6b1216090e3ab8530bcbd11f77e7cfa40fd81351d70e05f7d886adecfccbdd3a7314f31963fdb32ba260f3fe4337556f6e0153fd58d06b2c0fd833e7
|
7
|
+
data.tar.gz: 4eb9e8089cc5697aaf68aff42dab11ce6749c180d611326848f0668b5a465005b1eece1a57f976d3489750f487bc826558e689bd177eb9a9862488074908cc97
|
data/lib/raicoto/inspection.rb
CHANGED
@@ -16,7 +16,7 @@ module Raicoto
|
|
16
16
|
records.each do |r|
|
17
17
|
attrs.each do |a|
|
18
18
|
val = r
|
19
|
-
a.split('.').map{|path| val = val.
|
19
|
+
a.split('.').map{|path| val = val && val.try(path)}
|
20
20
|
len = val.to_s.length
|
21
21
|
lengths[a] ||= a.length
|
22
22
|
lengths[a] = [lengths[a], len].max
|
data/lib/raicoto/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: raicoto
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.9
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Michael Johnston
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2016-07-05 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -77,7 +77,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
77
77
|
version: '0'
|
78
78
|
requirements: []
|
79
79
|
rubyforge_project:
|
80
|
-
rubygems_version: 2.
|
80
|
+
rubygems_version: 2.5.1
|
81
81
|
signing_key:
|
82
82
|
specification_version: 4
|
83
83
|
summary: Random assortment of rails console tools
|