やること: チケットhttps://dev.mikutter.hachune.net/https://dev.mikutter.hachune.net/favicon.ico?16194486082013-03-03T12:02:16Zやること
Redmine mikutter - 最適化 #567 (終了): develop ブランチの Gemfile の sourcehttps://dev.mikutter.hachune.net/issues/5672013-03-03T12:02:16ZTaiki ONO
<p>`The source :rubygems` は良くないらしいので`source 'https://rubygems.org'` のほうがが良いと思いますがどうでしょうか。https://github.com/taiki45/mikutter/commit/c05e8057d7589b7fd4b19ce669897cb9e1c0d642</p>
<p>bundle メッセージ<br /><pre>
The source :rubygems is deprecated because HTTP requests are insecure.
Please change your source to 'https://rubygems.org' if possible, or 'http://rubygems.org' if not.
</pre></p> mikutter - バグ #566 (終了): twitter に http で oauth 認証をしにいくと 301 が返ってぴゃあhttps://dev.mikutter.hachune.net/issues/5662013-02-20T07:05:24ZTaiki ONO
<p>環境が Mac だったのもあるのかもしれません。master, develop で同じ現象が起きました。</p>
<p>環境:<br />OSX 10.7.5<br />Ruby 1.9.3-p194<br />gtk 1.2.1<br />oauth 0.4.7</p>
<p>簡易 fix:<br />develp ブランチとの差分 <a class="external" href="https://github.com/taiki45/mikutter/compare/develop...change-oauth-url">https://github.com/taiki45/mikutter/compare/develop...change-oauth-url</a></p>
<p>バックトレース:<br /><pre>
[taiki:~/work/mikutter] $ be ruby mikutter.rb
"/Users/taiki/work/mikutter/core/plugin/gtk/toolbar_generator"
/Users/taiki/.rbenv/versions/1.9.3-p194/lib/ruby/1.9.1/net/http.rb:2632:in `error!': 301 "Moved Permanently" (Net::HTTPRetriableError)
from /Users/taiki/.rbenv/versions/1.9.3-p194/lib/ruby/gems/1.9.1/gems/oauth-0.4.7/lib/oauth/consumer.rb:213:in `token_request'
from /Users/taiki/.rbenv/versions/1.9.3-p194/lib/ruby/gems/1.9.1/gems/oauth-0.4.7/lib/oauth/consumer.rb:136:in `get_request_token'
from /Users/taiki/work/mikutter/core/lib/mikutwitter/connect.rb:37:in `request_oauth_token'
from /Users/taiki/work/mikutter/core/plugin/change_account.rb:71:in `main'
from /Users/taiki/work/mikutter/core/plugin/change_account.rb:28:in `_popup'
from /Users/taiki/work/mikutter/core/plugin/change_account.rb:7:in `block in popup'
from /Users/taiki/work/mikutter/core/plugin/gtk/delayer.rb:14:in `event_lock'
from /Users/taiki/work/mikutter/core/plugin/change_account.rb:7:in `popup'
from /Users/taiki/work/mikutter/core/lib/mikutwitter/authentication_failed_action.rb:44:in `call'
from /Users/taiki/work/mikutter/core/lib/mikutwitter/authentication_failed_action.rb:44:in `block in authentication_failed_action'
from <internal:prelude>:10:in `synchronize'
from /Users/taiki/work/mikutter/core/lib/mikutwitter/authentication_failed_action.rb:42:in `authentication_failed_action'
from /Users/taiki/work/mikutter/core/service.rb:50:in `initialize'
from /Users/taiki/work/mikutter/core/service.rb:23:in `new'
from /Users/taiki/work/mikutter/core/service.rb:23:in `services_refresh'
from /Users/taiki/work/mikutter/core/service.rb:28:in `all'
from /Users/taiki/work/mikutter/core/service.rb:33:in `primary'
from mikutter.rb:37:in `<main>'
</pre></p>