Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Fukuoka.rb 2020年度活動報告

Fukuoka.rb 2020年度活動報告

FUKUOKA Engineers Day 2021 onlineの登壇資料です。
https://engineers-day.connpass.com/event/207154/

Fukuoka.rbのconnpassはこちらです。
https://fukuokarb.connpass.com/

D1dd88d67a1b17b9d2ad981b75d205f3?s=128

M-Yamashita

April 24, 2021
Tweet

Transcript

  1. 2021೥04݄24೔ M-Yamashita Fukuoka.rb 2020೥౓׆ಈใࠂ FUKUOKA Engineers Day 2021 online

  2. ࣗݾ঺հ •ࢁԼ խਓ •όοΫΤϯυΤϯδχΞ@෱Ԭ •RubyɺRuby on RailsɺDockerɺKubernetesษڧத @M_Yamashii M-Yamashita01

  3. ࠓ೔࿩͢͜ͱ •Fukuoka.rbʹ͍ͭͯ •Fukuoka.rbͰࢲ͕औΓ૊Μͩ͜ͱ

  4. Fukuoka.rbʹ͍ͭͯ

  5. https://fukuokarb.connpass.com/ Fukuoka.rb ຖिਫ༵೔ʹ։࠵

  6. ͜ͷFukuoka.rbͷ3ຊப͸ɾɾɾ

  7. ΋͘΋͘ ࣌ʑࡶஊ

  8. ؤுΒͳ͍

  9. དྷΔऀڋ·ͣ

  10. Ͱ੒Γཱ͍ͬͯ·͢ɻ

  11. ओʹ΍͍ͬͯΔ͜ͱ

  12. Fukuoka.rbʹ͍ͭͯ ΋͘΋ͨ͘͠Γ

  13. Fukuoka.rbʹ͍ͭͯ ϥʔϝϯʹ͍ͭͯ࿩ͨ͠Γ

  14. Fukuoka.rbʹ͍ͭͯ LTͨ͠Γ

  15. Fukuoka.rbʹ͍ͭͯ RubyKaigiͰొஃͨ͠Γ

  16. ࣗ༝ʹ΍͍ͬͯ·͢ʂ

  17. ͳΜͱ͜ͷFukuoka.rb͸ɾɾɾ ʢօ͞Μɺ࠷ॳͷഥखͷ४උ͸͍͍Ͱ͔͢ʁʣ

  18. ΤϯδχΞϑϨϯυϦʔγςΟ෱ԬΞϫʔυ ड৆ʂ https://efc.fukuoka.jp/award2020/#community1

  19. ΋͏1ͭخ͍͜͠ͱʹɾɾɾ ʢօ͞Μɺ2ճ໨ͷഥखͷ४උ͸͍͍Ͱ͔͢ʁʣ

  20. 3/24 Fukuoka.rb 200ճ ୡ੒ʂ

  21. 200ճΛܴ͑ͨ2020೥౓ͷFukuoka.rbͷ࣮੷ʂ

  22. •։࠵ճ਺: 32ճʢ#173 ~ #203ɺεϐϯΦϑʣ •21ੈلͷCݴޠษڧձʢεϐϯΦϑʣ •200ճLTେձʢ#202ʣ Fukuoka.rb 2020೥౓࣮੷ https://www.youtube.com/playlist?list=PL72dkNkx_ZIGvqplFOnxw2pRCpe9d_d-6 YouTube:

  23. Fukuoka.rb͔Βͷॏཁͳ͓஌Βͤ

  24. Fukuoka.rb ϩΰ࡮৽ίϯϖ։࠵༧ఆ https://www.youtube.com/watch?v=6TEXNqoBKMs&list=PL72dkNkx_ZIGvqplFOnxw2pRCpe9d_d-6&index=17 ↓ৄࡉ͸YoutubeΛνΣοΫˣ

  25. Ҏ্ɺɹɹͷ׆ಈใࠂͰͨ͠ʂ

  26. ͔͜͜Β͸ɺࢲ͕Fukuoka.rbͰऔΓ૊Μͩ͜ͱ

  27. RuboCop Rspec΁ͷContribution ϩΰϥΠηϯε: https://creativecommons.org/licenses/by-nc/4.0/deed.en_GB

  28. ͖͔͚ͬ͸ʁ ʮOSS Contribution͍ͨ͠ਓɺ໌೔΍Γ·ͤΜ͔ʁʯ ͷ͓༠͍

  29. ͳ͓ͥ༠͍͕͋ͬͨͷ͔ʁ 1. RuboCop RSpecͰݕ஌Ͱ͖ͳ͍ίʔυΛ IssueʹΞοϓ͞Ε͍ͯͨ 2. ίϛολʔ͔ΒղܾͷώϯτΛ໯ͬͨ 3. ղܾͯ͠ΈΑ͏

  30. ࢲ͕࣋ͭRuboCop RSpecͷ஌ࣝ •RuboCopͱಉ༷ʹॻ͖ํΛνΣοΫ͢Δπʔϧ •Ͳ͏΍ͬͯνΣοΫ͍ͯ͠Δͷ͔શ͘஌Βͳ͍ •πʔϧͷར༻ऀͱͯ͠ͷ஌͔ࣝ͠ͳ͍

  31. ڠྗͯ͠Pull RequestΛ࡞੒͢Δதɾɾɾ ͜ͷίʔυ͸Կͩʁ ཧղͰ͖͍ͯͳ͍··ίʔυΛ࡞͍ͬͯͨ

  32. RuboCop RSpec΁ॳContribution

  33. ίϛολʔ͔Βͷײँͱͨ͘͞Μͷࢦఠ/࣭໰

  34. ͍ͨͨ·Εͳ͍ؾ࣋ͪʹͳͬͨ

  35. RuboCop RSpecʹ͍ͭͯษڧͯ͠ ίʔυΛमਖ਼ͯ͠ɺ࣭໰ʹճ౴͍ͨ͠

  36. ಠֶͷ೔ʑ ެࣜυΩϡϝϯτɺίʔυɺهࣄΛಡΉ

  37. ͳΔ΄ͲɺΘ͔ΒΜ

  38. ಠֶͷ೔ʑ ͭΑͭΑͳํʑͳΒ͹ެࣜ΍ؔ࿈هࣄͰཧղͰ͖Δ

  39. ΑΘΑΘͳࢲ͸Ͳ͏͢Δ͔

  40. ಠֶͷ೔ʑ •ʮ࣮ߦɺ్த݁Ռͷग़ྗɺ࣌ંࢭΊΔʯΛ
 ܁Γฦͯ͠టषֶ͘Ϳ •มͳϓϥΠυʹͱΒΘΕͳ͍ •গ͠Ͱ΋͍͍͔ΒҰาͣͭਐΉ

  41. ͳͷͰ

  42. puts binding.pry 2ਓͷύʔτφʔͱڞʹา͖࢝Ίͨ

  43. ؓ࿩ٳ୊

  44. ಠֶͰཧղͨ͜͠ͱ •AST::NodeͷπϦʔߏ଄Λར༻ͨ͠ղੳ •def_node_matcherϝιουͰύλʔϯݕ஌ •ݕ஌࣌ͷϝοηʔδͷग़͠ํ

  45. ಠֶͷ݁Ռ ίʔυͷमਖ਼ɺ࣭໰ͷճ౴͕Ͱ͖ͨ

  46. ͔ͤͬ͘ಘͨ஌ࣝΛ Issueͷղܾʹ໾ཱͯͳ͍͔ʁ

  47. Կ͔Issue͸ͳ͍͔ɾɾɾʁ

  48. None
  49. Bugͷϥϕϧʂ

  50. RSpec/FilePathͰ ಉ͡Πϯσϯτͷ describeΛݕ஌ Ͱ͖ͳ͍ ͜ͷIssue͸ͲΜͳ໰୊ͳͷ͔ʁ ɾɾɾ

  51. ඈͼ͍ͭͯόάमਖ਼࢝͠Ίͨ IssueʹԿ΋ίϝϯτͤͣʹɾɾɾ

  52. मਖ਼Ͱ͖ͨʂ ͬͦ͘͞Pull RequestΛग़ͨ͠ʂ

  53. Pull Request

  54. ࢦఠͷࢁ Real-world RSpecϓϩδΣΫτͰ֬ೝࡁΈ͔ʁ ͜ͷύλʔϯͷݕ஌͸͋ͳͨͷमਖ਼ͨ͠Copͷ໾ׂͰ͸ͳ͍ describeͷॻ͖ํ͸֤ϓϩδΣΫτͰҟͳΔͷͰ͸ͳ͍͔ʁ

  55. None
  56. ͳͥࢦఠ͕ଟ͔ͬͨͷ͔ʁ •IssueͰٞ࿦ͤͣɺ͍͖ͳΓ࣮૷࢝͠Ίͨ •ίϛολʔ͕͜ͷόάΛͲ͏௚͍͔ͨ͠
 ֬ೝ͍ͯ͠ͳ͔ͬͨ

  57. ͨͩɺམͪࠐΉ͜ͱ͹͔ΓͰ΋ͳ͔ͬͨ

  58. ίϛολʔ͔Βͷίϝϯτ ͜ͷύλʔϯΛݕ஌͢ΔCopΛ࡞ͬͯཉ͍͠ʂ Pull Request଴ͬͯΔΑʂ

  59. ৽نCopͷ࡞੒ɾɾɾ΍ͬͯ΍Δͥʂ

  60. ͜ΜͳCopΛ࡞੒

  61. ͜ͷCop͸Ͳ͏ͳ͔ͬͨʁ ଓ͖͸GitHubͰˣ https://github.com/rubocop/rubocop-rspec/pull/1138

  62. ·ͱΊ •ࣗ෼ʹ߹ֶͬͨशͰֶΜͰΈΔ •࣮૷લʹIssueͰٞ࿦ͯ͠ΈΔ •Ϛʔδ͞Εͳͯ͘΋ࣗ෼ͷྐʹͳΔ

  63. ͋Γ͕ͱ͏͍͟͝·ͨ͠ʂ