タグ

jrubyに関するelimのブックマーク (2)

  • JRuby 1.4.0 Released — JRuby.org

    The JRuby community is pleased to announce the release of JRuby 1.4.0 Homepage: https://www.jruby.org/ Download: https://www.jruby.org/download After three very helpful release candidates we have a final 1.4.0 release. This release ends a long release cycle in which we resolved a huge number of issues. The headline feature is a move to Ruby 1.8.7 support, in line with Rails’ own plans to make 1.8.

    elim
    elim 2009/11/05
    "JRuby is now compatible with 1.8.7 patchlevel 174" てことは Object#tap 使えるにゃー。Array#shuffle とか。1.8.7 うれしい。
  • Google App Engine からメールを送る:お題目うぉっち

    2009年09月27日 Google App Engine からメールを送る appengine-jrubyを利用してのメールの送信は拍子抜けするくらい簡単だった。 GAEでWebアプリを動かすための設定に加えてメール用に追加が必要な宣言は require 'appengine-apis/mail' だけ。あとはメソッド一発で送信できてしまう。 AppEngine::Mail.send( 'FROMアドレス文字列', 'TOアドレスの文字列かTOアドレスの配列', 'タイトル文字列', '文文字列(HTMLメールの場合はnil)', {送信オプション} ) appengine-apisのリファレンスによると送信オプションで使用できるのは下記の通り。 :atttachments メッセージと共に送信する添付ファイル。{“ファイル名” => “データ”} というハッシュか、 [[“ファイル名

  • 1