Slide 1

Slide 1 text

ग़൛ͨ͠ΒऴΘΓɺʹ͠ͳ͍ٕज़ॻࣥච גࣜձࣾιχοΫΨʔσϯɿҏ౻३Ұ 2022-9-7 DevRel Meetup in Tokyo #78 ʙ঎ۀٕज़ॻग़൛Λֶ΅͏ʙ

Slide 2

Slide 2 text

3 Hello, world! ! • ҏ౻ ३Ұ • גࣜձࣾιχοΫΨʔσϯͷRailsϓϩάϥϚ • ϑΟϤϧυϒʔτΩϟϯϓͷϝϯλʔ • ฌݿݝ੢࿬ࢢࡏॅʢϦϞʔτϫʔΫྺ10೥ʣ !KODIJUP CMPHKOJUPDPN

Slide 3

Slide 3 text

4 Qiita • ϢʔβʔϥϯΩϯά1Ґʢ2022೥9݄ݱࡏʣ • QiitaදজϓϩάϥϜ DIAMONDड৆ऀ "

Slide 4

Slide 4 text

5 ஶॻ ʮϓϩΛ໨ࢦ͢ਓͷͨΊͷRubyೖ໳ʯ ‣ ௨শɾνΣϦʔຊ# ‣ ग़൛ࣾɿٕज़ධ࿦ࣾ ‣ 2017೥11݄ ୈ̍൛ൃച ‣ 2021೥12݄ վగ̎൛ൃചʢRuby 3.0ʹରԠʣ

Slide 5

Slide 5 text

6 ༁ॻ ʮEveryday Rails - RSpecʹΑΔRailsςετೖ໳ʯ ‣ Aaron Sumner ஶ ‣ ग़൛ࣾɿLeanpub ‣ ిࢠॻ੶ΦϯϦʔʢࢴͷຊͰ͸ͳ͍ʣ ‣ 2014೥2݄ 1stϦϦʔε ‣ 2022೥1݄ Rails 7.0ʹରԠ ‣ RSpecͰRailsͷςετΛॻͨ͘Ίͷೖ໳ॻ ‣ RSpec = RubyͷςεςΟϯάϑϨʔϜϫʔΫ

Slide 6

Slide 6 text

7 ຊ೔͓࿩͢͠Δ͜ͱ • ಺༰Λਵ࣌ߋ৽Ͱ͖ͳ͍ࢴͷຊͱมԽͷ଎͍ITٕज़͸Ͳ͏ͯ͠΋૬ੑ͕ѱ͍ • ૬ੑͷѱ͞͸ड͚ೖΕ্ͨͰɺචऀ͕ੵۃతʹಡऀΛαϙʔτ͢Δ • มԽͷ଎͍ٕज़͸ࢴͷຊͰ͸ͳ͘ɺిࢠॻ੶ͷΈͱ͢Δͷ΋Ұख

Slide 7

Slide 7 text

ٕज़ॻΛࢴͷຊͰग़͢ͱ͖ʹࠔΔ͜ͱ

Slide 8

Slide 8 text

9 ٕज़ॻΛࢴͷຊͰग़͢ͱ͖ʹࠔΔ͜ͱ • ࣥචதʹର৅ͷٕज़͕ͲΜͲΜόʔδϣϯΞοϓͯ͠ॻ͖௚͕͠ൃੜ͢Δ • ग़൛ͯ͠਺೥ܦͭͱɺ಺༰͕ͲΜͲΜݹ͘ͳͬͯ͠·͏ • ٕज़ॻΛग़൛͢Δ্Ͱ͸͜ͷ໰୊͸Ͳ͏ͯ͠΋ආ͚͕͍ͨ

Slide 9

Slide 9 text

10 ๻ͷઓུ • ਐԽ͕଎͍ٕज़͸ࢴͷຊʹ͠ͳ͍ ‣ ޙํޓ׵ੑΛ͙͢ʹࣺͯΔRuby on Railsͱɺ໓ଟʹࣺͯͳ͍Ruby ‣ ࢴͷຊΛग़͢ͳΒɺRailsΑΓ΋Rubyͷํ͕޲͍͍ͯΔ • ਐԽ͕଎͍ٕज़͸ిࢠॻ੶ͷΈͰग़൛͢Δ ‣ ిࢠॻ੶ͳΒ೚ҙͷλΠϛϯάͰΞοϓσʔτͰ͖Δ ‣ ͨͩ͠ɺ঎ۀग़൛ͱͯ͠ྲྀ௨ͤ͞ΒΕͳ͍ͷ͕೉఺ʢͰ΋ҹ੫཰͸Α͍ʣ

Slide 10

Slide 10 text

11 ͦͷ݁Ռͱͯ͠ͷ͜ͷ2࡭ • ൺֱత৘ใ͕ݹ͘ͳΓʹ͍͘Ruby͸ࢴͷຊ • සൟͳΞοϓσʔτ͕ඞཁͳRailsʢRSpecʣ͸ిࢠॻ੶

Slide 11

Slide 11 text

ಡऀαϙʔτΛվగ൛੍࡞ʹͭͳ͛Δ

Slide 12

Slide 12 text

13 લఏ஌ࣝ • νΣϦʔຊ ୈ1൛ͷग़൛͸2017೥11݄ɻର৅όʔδϣϯ͸Ruby 2.4 • Ruby͸ຖ೥12݄25೔όʔδϣϯΞοϓ͢Δ ‣ 2017೥12݄25೔ Ruby 2.5 ‣ 2018೥12݄25೔ Ruby 2.6 ‣ 2019೥12݄25೔ Ruby 2.7 ‣ 2020೥12݄25೔ Ruby 3.0 ‣ 2021೥12݄25೔ Ruby 3.1

Slide 13

Slide 13 text

14 ݹ͘ͳ͍ͬͯ͘৘ใͱͲ͏ରቂ͢Δ͔ • ๻ͷߟ͑ ʹ ωοτͰิ଍͢Ε͹͍͍͡Όͳ͍ʂ

Slide 14

Slide 14 text

15 ຖ೥΍͍ͬͯͨ͜ͱʢ2017.12ʙʣ • ৽όʔδϣϯͷϦϦʔεʹ߹Θͤͯɺॻ੶ͱͷࠩҟΛهࣄԽ͢Δ

Slide 15

Slide 15 text

16 ॻ੶಺Ͱ༧Ί༧ࠂ͓ͯ͘͠

Slide 16

Slide 16 text

17 αϙʔτϖʔδΛ࡞ͬͯϦϯΫΛࡌͤΔ https://ruby-book.jnito.com/change_log_2_5

Slide 17

Slide 17 text

18 Twitter΍FacebookͰ֦ࢄ͢Δ

Slide 18

Slide 18 text

19 ਵ࣌΍͍ͬͯͨ͜ͱ • վగ൛Ͱॻ͖௚͍ͨ͠෦෼ΛϝϞ͍ͯ͘͠ ‣ ಡऀ͕Θ͔Γʹͦ͘͏ʹײ͍ͯ͡Δ෦෼ ‣ ͋ͱ͔Βݴٴ͓ͯ͘͠΂͖ͩͬͨɺͱؾ෇͍ͨ಺༰ ʮϏϧυʯͬͯԿʂʁ

Slide 19

Slide 19 text

20 Qiitaʹ΋ͱ͖Ͳ͖ϑΥϩʔهࣄΛॻ͍͍ͯͨ

Slide 20

Slide 20 text

21 ͜͏ͨ͠৘ใΛվగ൛ͷΠϯϓοτʹ͢Δ • Ruby 2.4͔Β3.0ʹ͔͚ͯɺͲΜͳ࢓༷มߋ͕͋ͬͨͷ͔ʁ • ΋ͬͱΘ͔Γ΍͘͢આ໌͢΂͖ϙΠϯτ͸Ͳ͔͜ʁ • ಡऀͷ໾ʹཱ࣮ͭફతͳ஌ݟ΍ςΫχοΫΛ΋ͬͱఏڙͰ͖ͳ͍͔ʁ • etc

Slide 21

Slide 21 text

22 վగ൛੍࡞ͷྲྀΕ 2020೥12݄25೔ Ruby 3.0ͷϦϦʔε 2021೥1݄ ໨࣍Ҋͷ࡞੒ɺاըձٞ 2021೥2݄ʙ5݄ ݪߘͷՃචमਖ਼ 2021೥6݄ʙ11݄ ήϥͷߍਖ਼ɺࣝऀ΁ͷϨϏϡʔґཔ 2021೥12݄2೔ վగ2൛ൃച $ʢRuby 3.0ରԠ൛ʣ 2021೥12݄25೔ Ruby 3.1ͷϦϦʔε ͙͢όʔδϣϯ্͕͕ͬͪΌ͏%

Slide 22

Slide 22 text

23 ൃച௚ޙʹόʔδϣϯ্͕͕ͬͯ͠·͏໰୊ • վగ൛ͷ੍࡞ʹணखͨ࣌͠఺Ͱ͸Ruby 3.1ͷ࿩͸΄ͱΜͲग़͍ͯͳ͍ • ࣥචதʹRuby 3.1ͷ৽ػೳΛࣖʹͯ͠΋ɺͦͷ··ϦϦʔε͞ΕΔอূ͸ͳ͍ • DTPͰ੍࡞͢Δͱ͸͍͑ɺࢴͷຊͷ੍࡞͸ҙ֎ͳ΄Ͳߏ੒มߋʹऑ͍ ‣ ࢀߟɿऴ࢝Ұ؏ͯ͠ςΩετͰݪߘΛ؅ཧ͢Δग़൛ࣾ͞Μ΋͋Δ • Ώ͑ʹɺվగ2൛Ͱ͸ࣥච࣌఺Ͱ࢓༷͕֬ఆ͍ͯ͠ΔRuby 3.0Λର৅ͱͨ͠ ‣ Ͱ͖Ε͹Ruby 3.1Λαϙʔτ͔ͨͬͨ͠&

Slide 23

Slide 23 text

24 ͱ͸͍͑ɺͪΌΜͱαϙʔτ͢Ε͹ຬ଍ͯ͠΋Β͑Δ͸ͣ https://www.amazon.co.jp/gp/customer-reviews/RPZFZWZOHPENU

Slide 24

Slide 24 text

25 ͞Βʹ͘Θ͘͠ ϒϩάʹ੍࡞ཪ࿩Λ͍Ζ͍Ζॻ͍͍ͯ·͢ ٕज़ॻΛॻ͖͍ͨITΤϯδχΞඞݟʂʁʮϓϩΛ ໨ࢦ͢ਓͷͨΊͷRubyೖ໳ʯͷ෣୆ཪΛ͓ݟͤ ͠·͢ νΣϦʔຊ૿࡮ه೦ʂʁٕज़ॻͷվగ൛͕Ͱ͖ ͕͋Δ·Ͱ ʙϓϩΛ໨ࢦ͢ਓͷͨΊͷRubyೖ໳ վగ2൛ͷ੍࡞ཪ࿩ʙ https://blog.jnito.com/entry/2022/08/08/082334 https://blog.jnito.com/entry/2017/12/15/054718

Slide 25

Slide 25 text

·ͱΊ

Slide 26

Slide 26 text

27 ·ͱΊ • ಺༰Λਵ࣌ߋ৽Ͱ͖ͳ͍ࢴͷຊͱมԽͷ଎͍ITٕज़͸Ͳ͏ͯ͠΋૬ੑ͕ѱ͍ • ૬ੑͷѱ͞͸ड͚ೖΕ্ͨͰɺචऀ͕ੵۃతʹಡऀΛαϙʔτ͢Δ ‣ ਌੾ʹαϙʔτ͢Ε͹ධ൑্͕͕ͬͯվగ൛੍࡞ͷ࿩΋ਐΊ΍͍͔͢΋ʁ • มԽͷ଎͍ٕज़͸ࢴͷຊͰ͸ͳ͘ɺిࢠॻ੶ͷΈͱ͢Δͷ΋Ұख ‣ ͨͩ͠ɺ঎ۀग़൛Ͱͳ͍ͨΊྲྀ௨໘Ͱ͸ऑ͍ʢҹ੫཰͸ߴ͍͚Ͳʣ

Slide 27

Slide 27 text

ࢴͷຊͰ͋Εɺిࢠॻ੶Ͱ͋Εɺ େࣄͳߟ͑ํ͸

Slide 28

Slide 28 text

ग़൛ͨ͠Βʮ΍Ε΍ΕʯͰऴΘΒͳ͍͜ͱ

Slide 29

Slide 29 text

ٕज़ͷมԽ͕଎͍ͳΒɺஶऀ΋ܧଓͯ͠ ͦͷมԽʹ௥ै͢Δ࢟੎ͱ޻෉͕େࣄ

Slide 30

Slide 30 text

͝ਗ਼ௌ !KODIJUP CMPHKOJUPDPN ɹɹɹ͋Γ͕ͱ͏͍͟͝·ͨ͠