Skip to content

Instantly share code, notes, and snippets.

@sue445
Last active May 19, 2017 03:41
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save sue445/5814e43038c923fe145da1597080a4e2 to your computer and use it in GitHub Desktop.
OSSパッチ会@ESM

今日から使える!OSSプルリク集

最近のコントリビュート活動

自作OSS以外だと最近 Padrino にIssueやPR投げていました

sinatra v2.0.0と一緒に使うとエラーになる件

NoMethodError - undefined method `indifferent_params' with sinatra v2.0.0

  • v2.0.0.rc2 -> v2.0.0でprivateメソッドが微妙に変わった関係でエラーになってた
  • エラーの原因はすぐに分かったがどう直すか悩ましかったのでIssueだけ投げた

リリースされたgemを使うとシンタックスエラーで起動しないので直した

Fixed: padrino crashed in starting by sue445 · Pull Request #2133 · padrino/padrino-framework

-      desc 'Runs the "up" for a given MIGRATION_VERSION.'
+      desc "Runs the "up" for a given MIGRATION_VERSION."
       task(:up => :skeleton){ migrate_as(:up) }
 
-      desc 'Runs the "down" for a given MIGRATION_VERSION.'
+      desc "Runs the "down" for a given MIGRATION_VERSION."
       task(:down => :skeleton){ migrate_as(:down) }
  • 不幸にもrakeタスクはspec実行時に読み込んでなかったのでCIも通ってたみたい
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment