Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Speaker Deck
PRO
Sign in
Sign up for free
tDiary annual report 2009
SHIBATA Hiroshi
October 10, 2011
Programming
1
650
tDiary annual report 2009
SHIBATA Hiroshi
October 10, 2011
Tweet
Share
More Decks by SHIBATA Hiroshi
See All by SHIBATA Hiroshi
OSS ことはじめ
hsbt
3
580
GMO DevNight 05 在宅勤務開始から2ヶ月でやったこと
hsbt
1
190
Development Environment 2019
hsbt
1
160
How to become the Psychic
hsbt
0
1.2k
Software Development
hsbt
0
5.5k
Social Inclusion for Engineering Organization
hsbt
0
610
YAPC::Tokyo 2019 GMOペパボ会社紹介
hsbt
0
380
20181215-snapcraftsummit.pdf
hsbt
0
18
Productive Organization with Ruby
hsbt
0
130
Other Decks in Programming
See All in Programming
Quartoを使ってみませんか / quarto_get_started
s_uryu
2
380
ebpfとWASMに思いを馳せる2022 / techfeed-conference-2022-ebpf-wasm-amsy810
masayaaoyama
0
750
A technique to implement DSL in Ruby
okuramasafumi
0
810
Airflow1=>Airflow2へのupgrade 事例紹介
reizist
0
120
テスト設計技法をなぜ&どのように使うのか体験しよう!
imtnd
0
500
Kotlin KSP - Intro
taehwandev
1
510
Licences open source : entre guerre de clochers et radicalité
pylapp
2
350
The Success of Rails: Ensuring Growth for the Next 100 Years
eileencodes
3
530
Micro Frontends with Module Federation: Beyond the Basics @jax2022
manfredsteyer
PRO
1
290
Becoming an Android Librarian
skydoves
3
480
Architectural practices for greater scalability and innovation
otaviojava
0
100
Why declarative UI frameworks?
tkuenneth
0
170
Featured
See All Featured
Robots, Beer and Maslow
schacon
152
7.1k
Rebuilding a faster, lazier Slack
samanthasiow
62
7.2k
Art, The Web, and Tiny UX
lynnandtonic
280
17k
Support Driven Design
roundedbygravity
86
8.5k
Fashionably flexible responsive web design (full day workshop)
malarkey
396
62k
Build The Right Thing And Hit Your Dates
maggiecrowley
19
1.2k
The Invisible Customer
myddelton
110
11k
Design by the Numbers
sachag
271
17k
Design and Strategy: How to Deal with People Who Don’t "Get" Design
morganepeng
103
16k
Happy Clients
brianwarren
89
5.5k
jQuery: Nuts, Bolts and Bling
dougneiner
56
6.4k
Building Better People: How to give real-time feedback that sticks.
wjessup
343
17k
Transcript
tDiary annual report 2009 ࣲా തࢤ (tDiary.org) SHIBATA Hiroshi (tDiary.org)
200912݄6༵
ࣗݾհ 200912݄6༵
• SHIBATA Hiroshi a.k.a hsbt (hsbt.org) • ιϑτΣΞΤϯδχΞ • 1981ੜ·Ε
ւಓࡏॅ 200912݄6༵
RubyͱͷؔΘΓ • ߴઐ4ͷ࣌ͷԠ༻ֶͰ id:gotoken ͔ Βڭ͑ͯΒ͏ • tDiary Λ͍࢝ΊͯओʹWebؔ࿈ͷϥΠ ϒϥϦΛ͍࢝ΊΔ
200912݄6༵
tDiary ͬͯΔਓ͍·͔͢? 200912݄6༵
Administrator of developer team for tDiary.org http://www.tdiary.org/ 200912݄6༵
ΑΖ͓͘͠ئ͍͠·͢ɻ 200912݄6༵
Agenda • ͋Ε͔ΒҰ… • tDiary Project ׆ಈใࠂ • tDiary-2.3.3~ future
200912݄6༵
͋Ε͔ΒҰ… 200912݄6༵
SapporoRubyKaigi01 200912݄6༵
Ruby 1.9 ͬͯΔਓ͍·͔͢? 200912݄6༵
tDiary ʹΑΔ Ruby 1.9 ීٴ࡞ઓ 200912݄6༵
tDiary ʹΑΔRuby 1.9 ීٴ࡞ઓ • Ruby 1.9͍͔ͭΘͳ͚ΕͳΒͳ ͍ • tDiaryΛRuby
1.9ීٴͷΩϥʔΞϓϦʹ ͢Δ • ͱΓ͋͑ͣಈ͔͘ΒRubyΛ1.9ʹόʔ δϣϯΞοϓͯ͠͠·͏ 200912݄6༵
Agenda • ͋Ε͔ΒҰ… • tDiary Project ׆ಈใࠂ • tDiary-2.3.3~ future
200912݄6༵
tDiary-2.3.2ϦϦʔεܭը (Ruby 1.9 αϙʔτ) 200912݄6༵
ͱΓ͋͑ͣಈ͔ͯ͠ΈΔ 200912݄6༵
·ͣܭը 200912݄6༵
200810݄ ॴͰ࡞ઓձٞ 200912݄6༵
Ruby 1.9 ͰͷओͳରԠ • աڈόʔδϣϯͱͷඇޓ෦ • จࣈΤϯίʔσΟϯάͷมߋ • magic comment
• ֎෦ encoding 200912݄6༵
Ruby 1.9 ͷओͳରԠ • 1.8ͱ1.9ʹଘࡏ͢Δ༷ʑͳඇޓΛ compatible.rbͰٵऩ • ઌ಄ʹmagic commentΛҰׅࢦఆͯ͠ encoding
Λ໌ࣔ 200912݄6༵
• default_externalΛ͏ • ఆʹRUBY_VERSIONΘͳ͍ ֎෦ encoding ͷࢦఆ 200912݄6༵
ৄ͘͠… • RubyKaigi2009 ͷεϥΠυΛࢀর • http://www.slideshare.net/hsbt/ rubykaigi2009-presentation-slide 200912݄6༵
eval࣮ߦ࣌ʹSecurityError 200912݄6༵
[BUG]ͩͬͨ • $SAFE= 1ͷ࣌ͷevalʹ[BUG] • Δ·Ͱ͜Μͳײ͡ͰରԠ ruby-1.9.1p129 Ͱ bug fix
200912݄6༵
2009/05/08 tDiary-2.3.2 ϦϦʔε 200912݄6༵
tDiaryձٞ01 200912݄6༵
Ϣʔβʔ/ίϛολͷ • cacheϑΥϧμʹcache͡Όͳ͍σʔλ͕ ͋Δ • mod_rubyո͍͔͠ΒfcgiΛऔΓࠐΈ͍ͨ • Ruby 1.9 Ͱಈ͔͢ͱඍົʹ͍
• Ұ෦ϓϥάΠϯͷ core औΓࠐΈ 200912݄6༵
ղܾࡁΈͷ߲ • r[3475] cacheύεར༻ plugin ͷमਖ਼ • r[3485] fcgi αϙʔτ
• r[3511]ʙr[3514] ύϑΥʔϚϯεվળ • r[3541]ʙr[3544] navi_user.rb ͷऔΓࠐΈ 200912݄6༵
Agenda • ͋Ε͔ΒҰ… • tDiary Project ׆ಈใࠂ • tDiary-2.3.3~ future
200912݄6༵
tDiary-2.3.3~ future • testing frameworkͷ࠾༻ • rspec • cucumber •
CGI͔ΒRackͷࡌͤସ͑ • ػೳՃͱෆ۩߹मਖ਼ 200912݄6༵
testable_tdiary • ࡳຈtDiaryձٞ01ͷ֯୩͞Μͷεϥ ΠυΛࢀর • http://kakutani.com/20081025.html#p01 200912݄6༵
githubͰ࡞ۀத http://github.com/hsbt/tdiary/ 200912݄6༵
࡞ۀεςʔλε •script/server (pure webrick) •rackup -s tdiary.ru •cucumber -l ja
features •rspec spec/**/*.rb 200912݄6༵
ະղܾͷ • XML-RPC ࣺͯͯ Atom αϙʔτ • ͍ͭͰʹPubSubhubbub • testble_tdiary
ͷ svn/trunk Ϛʔδ • ຊ֨తͳ Rack ରԠ • #gustav 200912݄6༵
#gustav 200912݄6༵
ύονϕʔεͷϫʔΫϑϩʔ Chapter.10Λࢀর 200912݄6༵
·ͱΊ 200912݄6༵
RubyistʹͰ͖Δ͜ͱ http://jp.rubyist.net/magazine/?0027-WhatWeCanDo 200912݄6༵
·ͱΊ • 2009tDiaryRubyͱڞʹ͠·͠ ͨ • 2010ͨͿΜtDiaryRubyͱڞʹ ͠·͢ • Rubyist ʹग़དྷΔ͜ͱΛΔͳΒtDiary
200912݄6༵
ΒͷಓͷΓ ·ͩ·͍ͩ 200912݄6༵
͝੩ௌ ͋Γ͕ͱ͏͍͟͝·ͨ͠ 200912݄6༵
Q&A 200912݄6༵