Skip to content

Releases: otorain/table_inspector

V1.0.0

Choose a tag to compare

@otorain otorain released this 25 Nov 16:31

What's changed

  • The default value will now output with the correct color

V0.6.0

Choose a tag to compare

@otorain otorain released this 27 Aug 05:41
00378b5

What's changed

  • Add the TableInspector::Inspectable module that can be included in ApplicationRecord class. This allows you to use the class methods ti and ati in the model class, which provide the same functionality as TableInspector.scan and TableInspector.ascan respectively. For example: User.ti
  • Add comment_only option to print comment column only
  • Make the table style customizable

V0.5.5

Choose a tag to compare

@otorain otorain released this 04 May 17:03

What's changed

  • Highlight the columns that are used in indexes when calling the TableInspector.ascan method.
  • Fix the bug that when the default value is an empty string, it will be invisible.

v0.5.4

Choose a tag to compare

@otorain otorain released this 31 Mar 14:20
e31a78a

What's changed

  • Remove the rspec version specification.

v0.5.3

Choose a tag to compare

@otorain otorain released this 31 Mar 13:34

commit the missing bump version in Gemfile.lock.

v0.5.2

Choose a tag to compare

@otorain otorain released this 31 Mar 13:25

What's changed

  • Replace the 'rails' dependency with 'activerecord' as it is unnecessary to require the entire Rails application.

v0.5.1

Choose a tag to compare

@otorain otorain released this 30 Mar 19:23

What's changed

  • Replace the gem 'tty-table' with 'terminal-table' for rendering table. The latter has better readability and fewer dependencies.
  • More readability when the content is too wide. Remove the vertical display mode as it makes table hard to read.
  • Higher test coverage.

V0.4.3

Choose a tag to compare

@otorain otorain released this 07 Mar 12:58

What's changed

  • Move RSpec require from gemspec to Gemfile

V0.4.2

Choose a tag to compare

@otorain otorain released this 06 Mar 17:47

What's changed

  • [Fix] Unexpected exception throw when user type a wrong model class or column name
  • Using RSpec as test framework instead of Minitest
  • Add some test

V0.4.1

Choose a tag to compare

@otorain otorain released this 02 Mar 16:22

What's changed

  • Fix TableInspector.ascan for specific column is not working