More Related Content
Similar to RubyKaigi2009 Presentation Slide (7)
More from Hiroshi SHIBATA (20)
RubyKaigi2009 Presentation Slide
- 1. tDiary Ruby1.9
Our tDiary's policy and strategies to support Ruby
1.9 and our future plan.
(tDiary.org)
SHIBATA Hiroshi (tDiary.org)
2009 7 19 1
- 4. Ruby
• 4 id:gotoken
• tDiary Web
2009 7 19 4
- 8. Agenda
•
• tDiary-2.3.2 (Ruby 1.9
)
• Ruby 1.9
• tDiary-2.3.3~ future
2009 7 19 8
- 13. tDiary
• feed reader (ry
• tDiary (ry
•
(ry
2009 7 19 13
- 14. tDiary
• Tsukkomi oriented Diary system
• before Rails (25 )
• Ruby
• Ruby
2009 7 19 14
- 19. tDiary Ruby
1.9
2009 7 19 19
- 20. tDiary Ruby 1.9
• Ruby 1.9
• tDiary Ruby 1.9
• Ruby 1.9
2009 7 19 20
- 21. Agenda
•
• tDiary-2.3.2 (Ruby 1.9 )
• Ruby 1.9
• tDiary-2.3.3~ future
2009 7 19 21
- 31. Ruby 1.9
• 1.8 1.9
• magic comment
2009 7 19 31
- 32. Ruby 1.9
• ruby --encoding
•
2009 7 19 32
- 33. Agenda
•
• tDiary-2.3.2 (Ruby 1.9 )
• Ruby 1.9
• tDiary-2.3.3~ future
2009 7 19 33
- 36. compatible.rb
• machu
• 1.8 1.9
• for 1.9: String.each_line, String.to_a ...
• for 1.8: String.force_encoding,
String.bytesize ...
2009 7 19 36
- 37. 2
(magic comment ru)
2009 7 19 37
- 38. • *.rb 1
• shebang
2
2009 7 19 38
- 40. sed !
gsed -i "1s/.*/# -*- coding: utf-8; -*-n&/" **/*.rb
2009 7 19 40
- 41. 3
ruby --encoding=utf-8
2009 7 19 41
- 44. • open( file, ‘r:utf-8’)
• Ruby 1.8.6
•
2009 7 19 44
- 48. • cgi.cookies ASCII-8BIT
encoding
• map Enumerator
to_a
• get nil
2009 7 19 48
- 52. eval SecurityError
2009 7 19 52
- 53. eval SecurityError
2009 7 19 53
- 54. [BUG]
• $SAFE= 1 eval [BUG]
•
2009 7 19 54
- 56. • Ruby [BUG]
• Ruby [BUG]
• (ry
2009 7 19 56
- 60. Agenda
•
• tDiary-2.3.2 (Ruby 1.9 )
• Ruby 1.9
• tDiary-2.3.3~ future
2009 7 19 60
- 64. rspec
•plugin
• contrib core
2009 7 19 64
- 65. cucumber
•
• testable_tdiary
2009 7 19 65
- 69. …
• tDiary 01
• http://kakutani.com/20081025.html#p01
2009 7 19 69
- 71. github
http://github.com/hsbt/tdiary/tree/testable_merge
2009 7 19 71
- 74. tDiary cgi.rb
webrick
cgi.rb
rack webrick
passenger
2009 7 19 74
- 75. /
• cache cache
• XMLRPC
• mod_ruby fcgi
• Ruby 1.9
2009 7 19 75
- 78. • tDiary Ruby
• : tDiary Ruby1.9
• : tDiary 2.3.3
2009 7 19 78