๋ณธ๋ฌธ ๋ฐ”๋กœ๊ฐ€๊ธฐ
Ruby on Ralis

[Ruby on rails] Gem์— ๋Œ€ํ•œ ์ •๋ณด ์‚ฌ์ดํŠธ ์ •๋ฆฌ

by sky1to 2020. 11. 6.

๐Ÿ“Œ webpack

https://github.com/rails/webpacker/blob/master/README.md

๐Ÿ“Œ Turnolinks

https://github.com/turbolinks/turbolinks-rails

์„ฌ๋„ค์ผ ์ž‘์„ฑ์— ๋ผ์ด๋ธŒ๋Ÿฌ๋ฆฌ

๐Ÿ“Œ ImageMagick

https://imagemagick.org/index.php
http://libvips.github.io/libvips/install.html

๐Ÿ“Œ GraphicsMagick

http://www.graphicsmagick.org/

๐Ÿ“Œ libvips

http://libvips.github.io/libvips/
๊ฐ€์žฅ ์นœ๊ทผํ•œ ๊ฒƒ์€ ImageMagick์ด๋ผ๊ณ  ์ƒ๊ฐํ•˜์ง€๋งŒ llibvips๋Š” ImageMagick๊ณผ ๋น„๊ตํ•˜์—ฌ ๋ฉ”๋ชจ๋ฆฌ ์†Œ๋น„๋Ÿ‰์ด๋‚˜ ์‹คํ–‰ ์†๋„๊ฐ€ ์šฐ์œ„์— ์žˆ๊ธฐ ๋•Œ๋ฌธ์— awesome_event์—๋Š” libvips๋ฅผ ์ฑ„์šฉํ•œ๋‹ค.

=> ์ˆ˜์ • ํ•  ๋•Œ์—๋Š” config/application.rb๋ฅผ ์ˆ˜์ •ํ•˜์ž

config.active_storage.variant_processor = :vips


 

๐Ÿ“Œ Kaminari

https://github.com/kaminari/kaminari

 

๐Ÿ“Œ Haml

https://haml.info/docs/yardoc/file.REFERENCE.html#using_haml

 

๐Ÿ“Œ ERB

https://www.joinc.co.kr/w/Site/Ruby/ERB

 


๐Ÿ“Œ ๊ฒ€์ƒ‰ ๊ธฐ๋Šฅ

https://github.com/elasticsearch-ruby 

๐Ÿ“ŒSearchkick Gem

https://github.com/ankane/searchkick

 

๐Ÿ“Œ rambulance

https://github.com/yuki24/rambulance

๐Ÿ“Œ exception_notification

 

https://github.com/smartinez87/exception_notification

 

Rails ์–ดํ”Œ๋ฆฌ์ผ€์ด์…˜์„ ์šด์šฉํ•œ๋‹ค๋ฉด ์™ธ๋ถ€์˜ WEb์„œ๋น„์Šค๋ฅผ ์ด์šฉํ•˜์—ฌ ์—๋Ÿฌ์ •๋ณด๋ฅผ ๊ด€๋ฆฌํ•˜๋Š” ๊ฒƒ์ด ์ข‹๋‹ค.

 

๐Ÿ“Œ Sentry

https://sentry.io/ 

๐Ÿ“Œ Rollbar

https://rollbar.com

 

๐Ÿ“ŒAwesome Ruby

https://awesome-ruby.com/ 

 

๐Ÿ“Œ Ruby Toolbox

https://www.ruby-toolbox.com

 

๐Ÿ“Œ GitHub Actions

https://github.co.jp/features/actions

๐Ÿ“Œ ruby/setup-ruby@v1

https://github.com/ruby/setup-ruby

๐Ÿ“Œactions/setup-ruby

https://github.com/actions/setup-ruby

๐Ÿ“ŒActions์ƒ์— ๊ฐ€์ด๋“œ

https://help.github.com/ja/actions/reference

๐Ÿ“ŒElasticsearchํ™˜๊ฒฝ์„ ์ž‘์„ฑํ•œ๋‹ค.

https://github.com/elastic/elastic-github-actions/tree/master/elasticsearch

์•„๋ž˜์™€ gem์„ ์ด์šฉํ•ด ์ž๋™์ (์ฃผ๊ธฐ์ )์œผ๋กœ ๊ฐฑ์‹ ํ•ด์ฃผ๋Š” ๋ฐฉ๋ฒ•์— ๋Œ€ํ•ด์„œ ์„ค๋ช…ํ•œ๋‹ค.

๐Ÿ“Œ GitHub Dependabot

https://help.github.com/en/github/administering-a-repository/about-github-dependabot 

๐Ÿ“Œ Renovate

https://renovate.whitesourcesoftware.com

๐Ÿ“Œ Github  Marketplcae

https://github.com/marketplace

๐Ÿ“Œ Dependabot config files๋ฅผ ์“ฐ๋Š” ๋ฐฉ๋ฒ•

https://dependabot.com/docs/config-file

 

๐Ÿ“Œ Ruby Cop

=> ๋ฌธ์ œ๊ฐ€ ๋  ๊ฐ€๋Šฅ์„ฑ์ด ์žˆ๋Š” ์ฝ”๋“œ๋ฅผ ์ง€์ ํ•˜๊ฑฐ๋‚˜ ์ฝ”๋“œ๊ฐ€ ์ง€์ ๋œ ํฌ๋งท์— ๋”ฐ๋ฅด์ง€ ์•Š๋Š”๊ฒƒ์„ ํ™•์ธํ•˜๊ฑฐ๋‚˜ rule์— ๋”ฐ๋ผ์„œ ์ฝ”๋“œ๋ฅผ ๋‹ค์‹œ์“ฐ๋Š” ๊ธฐ๋Šฅ์„ ๊ฐ–๊ณ  ์žˆ๋‹ค.

https://github.com/rubocop-hq/rubocop
gem install rubocop
https://docs.rubocop.org/rubocop/cops.html
https://docs.rubocop.org/rubocop/configuration.html
https://github.com/rails/rails/blob/master/.rubocop.yml
https://github.com/cookpad/styleguide/blob/master/ruby.ja.md
docs.rubocop.org/rubocop/configuration.html#automatically-generated-configuration

 

๐Ÿ“Œ Brakeman

Rails ์–ดํ”Œ๋ฆฌ์ผ€์ด์…˜์˜ ์ทจ์•ฝ์„ฑ์„ ์ •์ ๋ถ„์„ํ•˜๋Š” gem๋กœ Brakeman๊ฐ€ ์žˆ๋‹ค.

 

GemFile

group :development do
  gem 'brakeman'
end
bundle exec brakeman     # ๊ธฐ๋ณธ
bundle -A exec brakeamn  # ๋ชจ๋“  ํ•ญ๋ชฉ์— ๋Œ€ํ•ด์„œ ๊ฒ€์‚ฌํ•  ๋•Œ๋Š” A์˜ต์…˜์„ ์“ด๋‹ค.
bundle -wl exec brakeman # -wl ๊ฒ€์ถœ๋ ˆ๋ฒจ์„ ๊ฒฝ๋ฏธํ•œ ๋ฌธ์ œ๊นŒ์ง€ ํฌํ•จ์‹œํ‚จ๋‹ค.

 

๐Ÿ“Œ SimpleCov

https://github.com/colszowka/simplecov

 

๐Ÿ“Œ Coveralls

https://coveralls.io
https://docs.coveralls.io

 

ใ‚ขใƒ—ใƒชใ‚ฑใƒผใ‚ทใƒงใƒณใƒ‘ใƒ•ใ‚ฉใƒผใƒžใƒณใ‚นๆธฌๅฎš(APM)

์„œ๋น„์Šค์˜ ์ดํƒˆ์œจ์—๋„ ์˜ํ–ฅ์ด ์žˆ๋Š” ๋ฐ์ดํ„ฐ๋„ ์žˆ๋‹ค.

์–ดํ”Œ๋ฆฌ์ผ€์ด์…˜์˜ ํผํฌ๋จผ์Šค๋ฅผ ์ธก์ •ํ•˜๋Š” ๊ฒƒ์— ๋Šฆ๊ฒŒ๋˜๋Š” ๋ถ€๋ถ„์„ ํŒŒ์•…ํ•˜์—ฌ ํŠœ๋‹ํ•˜๊ฑฐ๋‚˜ ์˜๋„ํ•˜์ง€ ์•Š์€ ๋ฌธ์ œ์— ๋Œ€ํ•ด์„œ ๊ทน๋‹จ์— ์†๋„๊ฐ€ ์ €ํ•˜ํ•˜๊ณ  ์žˆ๋Š” ๋ถ€๋ถ„์„ ๋ฐœ๊ฒฌํ•  ์ˆ˜ ์žˆ๋‹ค.

๐Ÿ“Œ Skylight

https://www.skylight.io/

๐Ÿ“Œ newrelic

https://newrelic.com/

๐Ÿ“Œ rack-mini-profiler

https://github.com/MiniProfiler/rack-mini-profiler

 ๐Ÿ“Œ getting-started

https://www.skylight.io/support/getting-started

๐Ÿ“Œ Rollbar

https://rollbar.com/

๐Ÿ“Œ Action Text

https://github.com/basecamp/trix

'Ruby on Ralis' ์นดํ…Œ๊ณ ๋ฆฌ์˜ ๋‹ค๋ฅธ ๊ธ€

Ruby on Rails Test  (0) 2020.11.14
Ruby on Rails ์šฉ์–ด ์ •๋ฆฌ  (0) 2020.11.09
[Ruby]Module  (0) 2020.09.01
[Ruby]๋• ํƒ€์ดํ•‘  (0) 2020.09.01
[Ruby] Class  (0) 2020.09.01