rails_schema_excel 0.1.0 → 0.1.2

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: 198d77326308bbe83fe771b6aea1197cd03449c4cefc0eb2e16bf0bff37b1deb
4
- data.tar.gz: 0eac34f563ce3083eb1ea004de83851f13f4f8dac9eb487c1665b6a9fd63b023
3
+ metadata.gz: 3c0cf2a54ab3c6c6b72db5f29ced90b1a49920ef29943a7e43ddee5f502533b2
4
+ data.tar.gz: 05677dd19b3b51733d424c5be6a547de0dbb4157a9e2b7f829143ed52d8763f3
5
5
  SHA512:
6
- metadata.gz: 82fbd81d9ad7ca3666bca685bbf93e76968886a36725db6e26d363dd6452a6926119e91861f8ab993c3585617dc5ecf4ecea5a71a3240bca9933ed7b7da02a8d
7
- data.tar.gz: 4af3392cddac63eefded135acaeefe8c3661e6daf5e681eeef8c9e5696ac17fc08fc4c5502edb7b4c82e952cfdf803767c9d4bf34a060d89bb5703f956b34f93
6
+ metadata.gz: c1f15e989f542bec3a58b2c04d57eaf374ba63849110e177d3c7df4e4f3d29e43a07dcaebbb54ecbc91e5adb6e13467ad944d4da8a53275c6c29082f1640220c
7
+ data.tar.gz: 67790396b31cede9881081dd4e3c2312c4aeba9aec0116a3881dd7a0ba6136ccb63852bcfd92d29362ec81334d40b02535638062e86092da967dbcfc9c65b549
data/CHANGELOG.md ADDED
@@ -0,0 +1,13 @@
1
+ # Changelog
2
+
3
+ All notable changes to this project will be documented in this file.
4
+
5
+ ## [0.1.0] - 2025-10-08
6
+
7
+ ### Added
8
+ - Initial release
9
+ - Export Rails schema.rb to Excel format
10
+ - A5:SQL Mk-2 style layout with Japanese labels
11
+ - Support for tables, columns, indexes, constraints, and foreign keys
12
+ - Command line interface
13
+ - Ruby API for programmatic usage
data/README.md CHANGED
@@ -2,6 +2,8 @@
2
2
 
3
3
  Export Rails database schema to Excel format with A5:SQL Mk-2 style layout.
4
4
 
5
+ <img width="798" height="637" alt="image" src="https://github.com/user-attachments/assets/d538365c-f83d-4536-890b-a0e7c28da534" />
6
+
5
7
  ## Installation
6
8
 
7
9
  Add this line to your application's Gemfile:
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module RailsSchemaExcel
4
- VERSION = "0.1.0"
4
+ VERSION = "0.1.2"
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rails_schema_excel
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dang Quang Minh
@@ -38,8 +38,13 @@ dependencies:
38
38
  - - "~>"
39
39
  - !ruby/object:Gem::Version
40
40
  version: '0.6'
41
- description: Convert Rails database schema to Excel format with each table as a separate
42
- sheet in A5:SQL Mk-2 style
41
+ description: |
42
+ Convert Rails database schema to Excel format with each table as a separate sheet in A5:SQL Mk-2 style.
43
+
44
+ Usage:
45
+ rails_schema_excel # Interactive mode
46
+ rails_schema_excel -i schema.rb -o out.xlsx # Command line mode
47
+ rails_schema_excel --help # Show help
43
48
  email:
44
49
  - d-minh@ruby-dev.vn
45
50
  executables:
@@ -47,14 +52,13 @@ executables:
47
52
  extensions: []
48
53
  extra_rdoc_files: []
49
54
  files:
55
+ - CHANGELOG.md
50
56
  - README.md
51
- - Rakefile
52
57
  - exe/rails_schema_excel
53
58
  - lib/rails_schema_excel.rb
54
59
  - lib/rails_schema_excel/exporter.rb
55
60
  - lib/rails_schema_excel/parser.rb
56
61
  - lib/rails_schema_excel/version.rb
57
- - sig/rails_schema_excel.rbs
58
62
  homepage: https://github.com/ojisanchamchi/rails_schema_excel
59
63
  licenses:
60
64
  - MIT
data/Rakefile DELETED
@@ -1,4 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- require "bundler/gem_tasks"
4
- task default: %i[]
@@ -1,4 +0,0 @@
1
- module RailsSchemaExcel
2
- VERSION: String
3
- # See the writing guide of rbs: https://github.com/ruby/rbs#guides
4
- end