dbtodoc 0.2.0 → 1.1.0
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 +4 -4
- data/Gemfile +20 -0
- data/Gemfile.lock +115 -0
- data/dbtodoc.gemspec +2 -2
- data/lib/dbtodoc/version.rb +1 -1
- metadata +4 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: c1d5abbb1761e4acfa8db9c6709b7e8ea2c9a2ef77f5f79d43f62f18d5f6cb44
|
|
4
|
+
data.tar.gz: a4ea62c9169feb308f964b8fd55db6ad28c8aefb0c315f518e0f96866bb21275
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 551e78ff52aa10d6c1911b6d3bf8a2f3f01bcdbbe3a256de0f422f735cb37b11d1e4c612d74aca743de73dd6e1d135dadd1176a5f62f54d1c3ec3eb0cc608bdb
|
|
7
|
+
data.tar.gz: 5fa3d34fe74c37032c462d0778d7b0a6a1fecc991081a87c37f28e0e9d959171d3e4279424c227e52cc4a05b64c62a2751062fd5e499a3e2c0ccd3b701f5d8e9
|
data/Gemfile
ADDED
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
source "https://rubygems.org"
|
|
4
|
+
|
|
5
|
+
# Specify your gem's dependencies in dbtodoc.gemspec
|
|
6
|
+
gemspec
|
|
7
|
+
|
|
8
|
+
gem "rake", "~> 13.0"
|
|
9
|
+
|
|
10
|
+
gem "rspec", "~> 3.0"
|
|
11
|
+
|
|
12
|
+
gem 'csv' # 生成 CSV 文件
|
|
13
|
+
gem 'rubyXL', '~> 3.4' # 生成 Excel 文件
|
|
14
|
+
gem 'activerecord' # 数据库操作
|
|
15
|
+
gem 'yaml' # 解析数据库配置文件、I18n配置文件
|
|
16
|
+
gem 'optparse' # 解析命令行参数
|
|
17
|
+
gem 'cli-ui' # 命令行界面工具
|
|
18
|
+
gem 'mysql2' # MySQL 数据库驱动
|
|
19
|
+
gem 'pg' # PostgreSQL 数据库驱动
|
|
20
|
+
gem 'sqlite3' # SQLite 数据库驱动
|
data/Gemfile.lock
ADDED
|
@@ -0,0 +1,115 @@
|
|
|
1
|
+
PATH
|
|
2
|
+
remote: .
|
|
3
|
+
specs:
|
|
4
|
+
dbtodoc (0.2.0)
|
|
5
|
+
|
|
6
|
+
GEM
|
|
7
|
+
remote: https://rubygems.org/
|
|
8
|
+
specs:
|
|
9
|
+
activemodel (7.2.3)
|
|
10
|
+
activesupport (= 7.2.3)
|
|
11
|
+
activerecord (7.2.3)
|
|
12
|
+
activemodel (= 7.2.3)
|
|
13
|
+
activesupport (= 7.2.3)
|
|
14
|
+
timeout (>= 0.4.0)
|
|
15
|
+
activesupport (7.2.3)
|
|
16
|
+
base64
|
|
17
|
+
benchmark (>= 0.3)
|
|
18
|
+
bigdecimal
|
|
19
|
+
concurrent-ruby (~> 1.0, >= 1.3.1)
|
|
20
|
+
connection_pool (>= 2.2.5)
|
|
21
|
+
drb
|
|
22
|
+
i18n (>= 1.6, < 2)
|
|
23
|
+
logger (>= 1.4.2)
|
|
24
|
+
minitest (>= 5.1)
|
|
25
|
+
securerandom (>= 0.3)
|
|
26
|
+
tzinfo (~> 2.0, >= 2.0.5)
|
|
27
|
+
base64 (0.3.0)
|
|
28
|
+
benchmark (0.5.0)
|
|
29
|
+
bigdecimal (4.0.1)
|
|
30
|
+
cli-ui (2.7.0)
|
|
31
|
+
concurrent-ruby (1.3.6)
|
|
32
|
+
connection_pool (2.5.5)
|
|
33
|
+
csv (3.3.5)
|
|
34
|
+
diff-lcs (1.6.2)
|
|
35
|
+
drb (2.2.3)
|
|
36
|
+
i18n (1.14.8)
|
|
37
|
+
concurrent-ruby (~> 1.0)
|
|
38
|
+
logger (1.7.0)
|
|
39
|
+
minitest (5.27.0)
|
|
40
|
+
mysql2 (0.5.7)
|
|
41
|
+
bigdecimal
|
|
42
|
+
nokogiri (1.18.10-aarch64-linux-gnu)
|
|
43
|
+
racc (~> 1.4)
|
|
44
|
+
nokogiri (1.18.10-aarch64-linux-musl)
|
|
45
|
+
racc (~> 1.4)
|
|
46
|
+
nokogiri (1.18.10-arm-linux-gnu)
|
|
47
|
+
racc (~> 1.4)
|
|
48
|
+
nokogiri (1.18.10-arm-linux-musl)
|
|
49
|
+
racc (~> 1.4)
|
|
50
|
+
nokogiri (1.18.10-arm64-darwin)
|
|
51
|
+
racc (~> 1.4)
|
|
52
|
+
nokogiri (1.18.10-x86_64-darwin)
|
|
53
|
+
racc (~> 1.4)
|
|
54
|
+
nokogiri (1.18.10-x86_64-linux-gnu)
|
|
55
|
+
racc (~> 1.4)
|
|
56
|
+
nokogiri (1.18.10-x86_64-linux-musl)
|
|
57
|
+
racc (~> 1.4)
|
|
58
|
+
optparse (0.8.1)
|
|
59
|
+
pg (1.5.6)
|
|
60
|
+
racc (1.8.1)
|
|
61
|
+
rake (13.3.1)
|
|
62
|
+
rspec (3.13.2)
|
|
63
|
+
rspec-core (~> 3.13.0)
|
|
64
|
+
rspec-expectations (~> 3.13.0)
|
|
65
|
+
rspec-mocks (~> 3.13.0)
|
|
66
|
+
rspec-core (3.13.6)
|
|
67
|
+
rspec-support (~> 3.13.0)
|
|
68
|
+
rspec-expectations (3.13.5)
|
|
69
|
+
diff-lcs (>= 1.2.0, < 2.0)
|
|
70
|
+
rspec-support (~> 3.13.0)
|
|
71
|
+
rspec-mocks (3.13.7)
|
|
72
|
+
diff-lcs (>= 1.2.0, < 2.0)
|
|
73
|
+
rspec-support (~> 3.13.0)
|
|
74
|
+
rspec-support (3.13.6)
|
|
75
|
+
rubyXL (3.4.35)
|
|
76
|
+
nokogiri (>= 1.10.8)
|
|
77
|
+
rubyzip (>= 3.2.2)
|
|
78
|
+
rubyzip (3.2.2)
|
|
79
|
+
securerandom (0.4.1)
|
|
80
|
+
sqlite3 (1.7.3-aarch64-linux)
|
|
81
|
+
sqlite3 (1.7.3-arm-linux)
|
|
82
|
+
sqlite3 (1.7.3-arm64-darwin)
|
|
83
|
+
sqlite3 (1.7.3-x86_64-darwin)
|
|
84
|
+
sqlite3 (1.7.3-x86_64-linux)
|
|
85
|
+
timeout (0.6.0)
|
|
86
|
+
tzinfo (2.0.6)
|
|
87
|
+
concurrent-ruby (~> 1.0)
|
|
88
|
+
yaml (0.4.0)
|
|
89
|
+
|
|
90
|
+
PLATFORMS
|
|
91
|
+
aarch64-linux-gnu
|
|
92
|
+
aarch64-linux-musl
|
|
93
|
+
arm-linux-gnu
|
|
94
|
+
arm-linux-musl
|
|
95
|
+
arm64-darwin
|
|
96
|
+
x86_64-darwin
|
|
97
|
+
x86_64-linux-gnu
|
|
98
|
+
x86_64-linux-musl
|
|
99
|
+
|
|
100
|
+
DEPENDENCIES
|
|
101
|
+
activerecord
|
|
102
|
+
cli-ui
|
|
103
|
+
csv
|
|
104
|
+
dbtodoc!
|
|
105
|
+
mysql2
|
|
106
|
+
optparse
|
|
107
|
+
pg
|
|
108
|
+
rake (~> 13.0)
|
|
109
|
+
rspec (~> 3.0)
|
|
110
|
+
rubyXL (~> 3.4)
|
|
111
|
+
sqlite3
|
|
112
|
+
yaml
|
|
113
|
+
|
|
114
|
+
BUNDLED WITH
|
|
115
|
+
2.5.3
|
data/dbtodoc.gemspec
CHANGED
|
@@ -9,7 +9,7 @@ Gem::Specification.new do |spec|
|
|
|
9
9
|
spec.email = ["shuh_jx@163.com"]
|
|
10
10
|
|
|
11
11
|
spec.summary = "将 Rails 项目的数据库 schema 导出为文档"
|
|
12
|
-
spec.description = "将 Rails 项目的数据库 schema 导出为文档,支持
|
|
12
|
+
spec.description = "将 Rails 项目的数据库 schema 导出为文档,支持 ruby, sql, csv, excel 格式"
|
|
13
13
|
spec.homepage = "https://github.com/shuhjx/dbtodoc"
|
|
14
14
|
spec.required_ruby_version = ">= 2.6.0"
|
|
15
15
|
|
|
@@ -24,7 +24,7 @@ Gem::Specification.new do |spec|
|
|
|
24
24
|
spec.files = Dir.chdir(__dir__) do
|
|
25
25
|
`git ls-files -z`.split("\x0").reject do |f|
|
|
26
26
|
(File.expand_path(f) == __FILE__) ||
|
|
27
|
-
f.start_with?(*%w[test/ spec/ features/ .git .github appveyor
|
|
27
|
+
f.start_with?(*%w[test/ spec/ features/ .git .github appveyor])
|
|
28
28
|
end
|
|
29
29
|
end
|
|
30
30
|
spec.executable = 'dbtodoc'
|
data/lib/dbtodoc/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: dbtodoc
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version:
|
|
4
|
+
version: 1.1.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- shuhjx
|
|
@@ -10,7 +10,7 @@ bindir: bin
|
|
|
10
10
|
cert_chain: []
|
|
11
11
|
date: 2026-01-06 00:00:00.000000000 Z
|
|
12
12
|
dependencies: []
|
|
13
|
-
description: 将 Rails 项目的数据库 schema 导出为文档,支持
|
|
13
|
+
description: 将 Rails 项目的数据库 schema 导出为文档,支持 ruby, sql, csv, excel 格式
|
|
14
14
|
email:
|
|
15
15
|
- shuh_jx@163.com
|
|
16
16
|
executables:
|
|
@@ -19,6 +19,8 @@ extensions: []
|
|
|
19
19
|
extra_rdoc_files: []
|
|
20
20
|
files:
|
|
21
21
|
- ".rspec"
|
|
22
|
+
- Gemfile
|
|
23
|
+
- Gemfile.lock
|
|
22
24
|
- README.md
|
|
23
25
|
- Rakefile
|
|
24
26
|
- bin/dbtodoc
|