table_inspector 0.4.0 → 0.4.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 64cb2752d497fae638297315267d3b4f5621b7a197fc321c440b60c73a353a14
4
- data.tar.gz: 92ca3311efa5e77768aad96784d6d11c14dd7196ee0877529b4aaa2213d90a0f
3
+ metadata.gz: dafb1f2e93a8ac7beb1729635132812c7460b4a4bac712c08f011783357bd6ca
4
+ data.tar.gz: 4656a91cbb769c9465480bdc1798f3b38bec3b074098eb15cd6549f6ac6e9ea8
5
5
  SHA512:
6
- metadata.gz: 2cbf4d4ea540bb0883528f4ee3ab95ba428fc5e649e387461b7c0037165a64a461d9f9db3c1d9c75ee6fa66ae1d64bc3bd77d964e03f75e431d4ad14f5d117cc
7
- data.tar.gz: 5b4b05a46dea671f457740f72f6e64f08123e006cdbb7bb8f0952990ca9369472aa0454c549a02807b61d54cd54e88b826301235efad9fd43bfb7ed04732381a
6
+ metadata.gz: 853d58ade3b5b95304c8633cd8e926cc9b1d7d060a0c0d0d6828561d668fae23baf9bca2583619ad07045cf83ad29de3bf98788eb9af2442c8235f4368d1c133
7
+ data.tar.gz: 2db47bebcf0715737ebf1e87d3578294be46332ec5023f94bbe3f879bd5fa705506eff47b8c6f30fa5d5254b06f16e30877215cd77c5db7d4e550f01dc1159d0
data/README.md CHANGED
@@ -22,7 +22,7 @@ TableInspector.ascan User
22
22
  ```
23
23
  ![TableInspect ascan table](/img/table_inspector_ascan_table_1.png)
24
24
 
25
- And to print specific column by:
25
+ And to print a specific column by:
26
26
 
27
27
  ```ruby
28
28
  TableInspector.scan User, :name
@@ -7,7 +7,7 @@ module TableInspector
7
7
  @column = klass.columns.find {|column| column.name == column_name.to_s}
8
8
  @klass = klass
9
9
  @sql_type = sql_type
10
- @presenter = Presenter.new(klass, sql_type: sql_type, colorize: false)
10
+ @presenter = Presenter.new(klass, sql_type: sql_type, colorize: colorize)
11
11
  end
12
12
 
13
13
  def render
@@ -1,3 +1,3 @@
1
1
  module TableInspector
2
- VERSION = "0.4.0"
2
+ VERSION = "0.4.1"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: table_inspector
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.0
4
+ version: 0.4.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - ian