Skip to content

Commit

Permalink
Merge pull request #34 from koedame/release/v0.4.2
Browse files Browse the repository at this point in the history
Release/v0.4.2
  • Loading branch information
unchidev authored Oct 22, 2022
2 parents 557ddeb + 9c4c6f9 commit 80fb663
Show file tree
Hide file tree
Showing 6 changed files with 24 additions and 16 deletions.
8 changes: 7 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
FROM ruby:alpine

RUN apk add --no-cache alpine-sdk git postgresql-dev
RUN apk add --no-cache \
alpine-sdk \
git \
postgresql-dev \
chromium \
chromium-chromedriver

27 changes: 14 additions & 13 deletions Gemfile.lock
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
PATH
remote: .
specs:
rails-mermaid_erd (0.4.1)
rails-mermaid_erd (0.4.2)
rails (>= 5.2)

GEM
Expand Down Expand Up @@ -111,14 +111,14 @@ GEM
net-smtp (0.3.2)
net-protocol
nio4r (2.5.8)
nokogiri (1.13.8-x86_64-darwin)
nokogiri (1.13.9-x86_64-darwin)
racc (~> 1.4)
nokogiri (1.13.8-x86_64-linux)
nokogiri (1.13.9-x86_64-linux)
racc (~> 1.4)
parallel (1.22.1)
parser (3.1.2.1)
ast (~> 2.4.1)
pg (1.4.3)
pg (1.4.4)
racc (1.6.0)
rack (2.2.4)
rack-test (2.0.2)
Expand Down Expand Up @@ -163,14 +163,14 @@ GEM
rspec-mocks (3.11.1)
diff-lcs (>= 1.2.0, < 2.0)
rspec-support (~> 3.11.0)
rspec-rails (5.1.2)
actionpack (>= 5.2)
activesupport (>= 5.2)
railties (>= 5.2)
rspec-core (~> 3.10)
rspec-expectations (~> 3.10)
rspec-mocks (~> 3.10)
rspec-support (~> 3.10)
rspec-rails (6.0.0)
actionpack (>= 6.1)
activesupport (>= 6.1)
railties (>= 6.1)
rspec-core (~> 3.11)
rspec-expectations (~> 3.11)
rspec-mocks (~> 3.11)
rspec-support (~> 3.11)
rspec-support (3.11.1)
rubocop (1.35.1)
json (~> 2.3)
Expand Down Expand Up @@ -217,7 +217,7 @@ GEM
timeout (0.3.0)
tzinfo (2.0.5)
concurrent-ruby (~> 1.0)
tzinfo-data (1.2022.4)
tzinfo-data (1.2022.5)
tzinfo (>= 1.0.0)
unicode-display_width (2.3.0)
webrick (1.7.0)
Expand All @@ -230,6 +230,7 @@ GEM

PLATFORMS
x86_64-darwin-21
x86_64-linux
x86_64-linux-musl

DEPENDENCIES
Expand Down
1 change: 1 addition & 0 deletions RELEASE.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ cd /workspace && bundle exec bump major --no-commit
cd /workspace && bundle exec rspec
cd /workspace/spec/dummy && RAILS_ENV=test bundle exec rails mermaid_erd
cp -f /workspace/spec/dummy/mermaid_erd/index.html /workspace/docs/example.html
chromium-browser --headless --disable-gpu --no-sandbox --window-size=1200,800 --hide-scrollbars --screenshot="/workspace/docs/screen_shot.png" /workspace/spec/dummy/mermaid_erd/index.html
```

in host machine:
Expand Down
2 changes: 1 addition & 1 deletion docs/example.html
Original file line number Diff line number Diff line change
Expand Up @@ -283,7 +283,7 @@ <h2 class="font-medium text-gray-900 mb-1">{{i18n[language]["models"]["title"]}}
<footer class="bg-gray-100">
<p class="text-center text-xs text-gray-600 py-2">
<a href="https://github.com/koedame/rails-mermaid_erd" class="hover:text-gray-400" target="_blank" rel="noopener noreferrer">
Rails Mermaid ERD v0.4.1
Rails Mermaid ERD v0.4.2
</a>
</p>
</footer>
Expand Down
Binary file modified docs/screen_shot.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion lib/rails-mermaid_erd/version.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
module RailsMermaidErd
VERSION = "0.4.1"
VERSION = "0.4.2"
end

0 comments on commit 80fb663

Please sign in to comment.