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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 9c16e779553a08a03cb073f26545840219d20334
4
- data.tar.gz: 1eb5c43c5ff52c55c0cd7d3885716f85fbcaf826
3
+ metadata.gz: 1595c0805d4fada1ad613a7b3b98a9337d4876dc
4
+ data.tar.gz: 4563821a79ce3e9e313cf558f5fb3860d06d7059
5
5
  SHA512:
6
- metadata.gz: 45b52e9e82d5785c66e570217f6694844388e654cd77e6acb0283af91cfc44c6f1978a2baa5b1d4b77eb4ff5ecea5465c685e0deddd74b556f7d196b56c52d85
7
- data.tar.gz: 3baa3f7d77e9af5fc5bb4001a88a033cabe662a06e60ae1739e8134b89cf650afd4a5472d77579ea7e3f58c59ffec4fe65eec6bb997e5172b120ea2d009a1073
6
+ metadata.gz: acf4320c6b1216090e3ab8530bcbd11f77e7cfa40fd81351d70e05f7d886adecfccbdd3a7314f31963fdb32ba260f3fe4337556f6e0153fd58d06b2c0fd833e7
7
+ data.tar.gz: 4eb9e8089cc5697aaf68aff42dab11ce6749c180d611326848f0668b5a465005b1eece1a57f976d3489750f487bc826558e689bd177eb9a9862488074908cc97
@@ -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.send(path)}
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
@@ -1,3 +1,3 @@
1
1
  module Raicoto
2
- VERSION = "0.0.8"
2
+ VERSION = "0.0.9"
3
3
  end
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.8
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: 2014-08-14 00:00:00.000000000 Z
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.2.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