model_probe 1.0.5 → 1.0.6

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: 4aecd2ff6e549df07e8b8bfbef6ae5acbed00ba4
4
- data.tar.gz: adbd2aca70348e6682891a42d5905d30bb0d103c
3
+ metadata.gz: 87ab415eaa252a11811f0502ae31564a3b3346ef
4
+ data.tar.gz: 1267d9c94f1ff29e07706cf62a897a5c5608fc49
5
5
  SHA512:
6
- metadata.gz: c38a55b473e8b0e21d5e0c188459bc69a7cd632e378a998aa6037242ded916edd10d924eaee0c7934479bf5b759e3af2981567eb29a8e7db8603855aba4eba90
7
- data.tar.gz: b3200baeb818af589af38ce7f59f658960fb77c8a65882797606e56bb4dc8eaea8683fcc47faa7ac00148046a3dd7668e2058ccfaf8a9b38603ea9788044c6ac
6
+ metadata.gz: 0dcc0b484c372dd23e761200acf7bde44a35fdf1997c11ffe5ec1af5170995e3a7e073b2243174cd1bc50566e061f874012347662c337729c3f3e7b4e3e06ee8
7
+ data.tar.gz: 96a3d8ecb8ddc01e5b3b706de0c406a82d0f8df0e125f2054e8a8e13ec2e95ee24ccff0b361763c6420ee85f78bc9e463a14010b8a2c17a1446de3a1cbd92ded
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- model_probe (1.0.5)
4
+ model_probe (1.0.6)
5
5
 
6
6
  GEM
7
7
  remote: https://rubygems.org/
@@ -16,4 +16,4 @@ DEPENDENCIES
16
16
  rake
17
17
 
18
18
  BUNDLED WITH
19
- 1.13.3
19
+ 1.13.6
@@ -19,6 +19,7 @@ module ModelProbe
19
19
  print magenta(column.sql_type.to_s.ljust(sql_type_pad))
20
20
  column.null ? print(red("NULL")) : print(" ")
21
21
  print " [#{column.default}]" if column.default
22
+ print " #{gray column.comment}" if column.comment
22
23
  puts
23
24
  end
24
25
  nil
@@ -3,6 +3,7 @@ module ModelProbe
3
3
  extend self
4
4
 
5
5
  colors = {
6
+ :gray => "1;30",
6
7
  :red => 31,
7
8
  :green => 32,
8
9
  :yellow => 33,
@@ -1,3 +1,3 @@
1
1
  module ModelProbe
2
- VERSION = "1.0.5"
2
+ VERSION = "1.0.6"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: model_probe
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.5
4
+ version: 1.0.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Nathan Hopkins
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-10-13 00:00:00.000000000 Z
11
+ date: 2016-10-30 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rake
@@ -58,7 +58,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
58
58
  version: '0'
59
59
  requirements: []
60
60
  rubyforge_project:
61
- rubygems_version: 2.6.1
61
+ rubygems_version: 2.6.7
62
62
  signing_key:
63
63
  specification_version: 4
64
64
  summary: Schema introspection for ActiveModel