pg-erd 0.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 ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA256:
3
+ metadata.gz: 646dfae1e5606988f11e68d8ab71d2b594761bbd1db8346828629fe43f86b631
4
+ data.tar.gz: 8626d5fed454feb5e419accb5277f8477d320f4965ddc69e607db5c54e08becc
5
+ SHA512:
6
+ metadata.gz: 231e7078c28f0264d6fbae6c55b9d3ce94e40fecf6f64a91ff2b60e88777e44328e87ff3ca29c68e7f3f9961b5fc66065fa77f9d84454ade058698c3bb01e623
7
+ data.tar.gz: 3ddf69336aee153d9b7e907682799aeae916853465cc39f8327d2bcd4f66469cacb6106d97a526ef5676c7e97f49b25d97f6cbff7896de782593e8555d31675e
data/.rubocop ADDED
@@ -0,0 +1 @@
1
+ --display-cop-names
data/.rubocop.yml ADDED
@@ -0,0 +1,35 @@
1
+ AllCops:
2
+ Include:
3
+ - Rakefile
4
+ - config.ru
5
+ - lib/**/*.rake
6
+ - '**/Gemfile'
7
+ Exclude:
8
+ - db/schema.rb
9
+
10
+ Documentation:
11
+ Enabled: false
12
+
13
+ Layout/MultilineHashBraceLayout:
14
+ EnforcedStyle: same_line
15
+
16
+ Layout/MultilineMethodCallBraceLayout:
17
+ EnforcedStyle: same_line
18
+
19
+ Metrics/LineLength:
20
+ Max: 110
21
+
22
+ Style/DoubleNegation:
23
+ Enabled: false
24
+
25
+ Style/EmptyMethod:
26
+ EnforcedStyle: expanded
27
+
28
+ Style/FrozenStringLiteralComment:
29
+ Enabled: false
30
+
31
+ Style/MutableConstant:
32
+ Enabled: false
33
+
34
+ Style/StringLiterals:
35
+ Enabled: false
data/Dockerfile ADDED
@@ -0,0 +1,12 @@
1
+ FROM ruby:3.0-alpine as base
2
+
3
+ RUN apk --no-cache add build-base postgresql-client postgresql-dev graphviz
4
+ RUN gem install bundler
5
+
6
+ COPY Gemfile Gemfile.lock ./
7
+ RUN bundle update --bundler
8
+ RUN bundle install
9
+
10
+ COPY . .
11
+
12
+ ENTRYPOINT bin/pg-erd-everything
data/Gemfile ADDED
@@ -0,0 +1,3 @@
1
+ source "https://rubygems.org"
2
+
3
+ gemspec
data/Gemfile.lock ADDED
@@ -0,0 +1,25 @@
1
+ PATH
2
+ remote: .
3
+ specs:
4
+ pg-erd (0.1.0)
5
+ pg
6
+ ruby-graphviz
7
+ ruby-progressbar
8
+
9
+ GEM
10
+ remote: https://rubygems.org/
11
+ specs:
12
+ pg (1.6.3)
13
+ rexml (3.4.4)
14
+ ruby-graphviz (1.2.5)
15
+ rexml
16
+ ruby-progressbar (1.13.0)
17
+
18
+ PLATFORMS
19
+ ruby
20
+
21
+ DEPENDENCIES
22
+ pg-erd!
23
+
24
+ BUNDLED WITH
25
+ 2.3.9