{"action":"published","release":{"url":"https://api.github.com/repos/mick-whats/rrq/releases/847267","assets_url":"https://api.github.com/repos/mick-whats/rrq/releases/847267/assets","upload_url":"https://uploads.github.com/repos/mick-whats/rrq/releases/847267/assets{?name}","html_url":"https://github.com/mick-whats/rrq/releases/tag/v1.1.1","id":847267,"tag_name":"v1.1.1","target_commitish":"master","name":"v1.1.1","draft":false,"author":{"login":"mick-whats","id":9634573,"avatar_url":"https://avatars.githubusercontent.com/u/9634573?v=3","gravatar_id":"","url":"https://api.github.com/users/mick-whats","html_url":"https://github.com/mick-whats","followers_url":"https://api.github.com/users/mick-whats/followers","following_url":"https://api.github.com/users/mick-whats/following{/other_user}","gists_url":"https://api.github.com/users/mick-whats/gists{/gist_id}","starred_url":"https://api.github.com/users/mick-whats/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mick-whats/subscriptions","organizations_url":"https://api.github.com/users/mick-whats/orgs","repos_url":"https://api.github.com/users/mick-whats/repos","events_url":"https://api.github.com/users/mick-whats/events{/privacy}","received_events_url":"https://api.github.com/users/mick-whats/received_events","type":"User","site_admin":false},"prerelease":true,"created_at":"2015-01-09T08:43:44Z","published_at":"2015-01-13T12:36:34Z","assets":[],"tarball_url":"https://api.github.com/repos/mick-whats/rrq/tarball/v1.1.1","zipball_url":"https://api.github.com/repos/mick-whats/rrq/zipball/v1.1.1","body":"### 変更点\r\n- confpath()を追加\r\n- root()を追加\r\n- requireを追加\r\n\r\n### メソッド`confpath()`を追加しました。\r\n`touch .rrqrc`で作成したファイルは中身がなくても機能します。  \r\nでもせっかく存在するなら使わなきゃ勿体無いと思いました。\r\n\r\n[node-config](https://github.com/lorenwest/node-config)や[yaml-config-node](https://github.com/rjyo/yaml-config-node)等を使って設定を保存するファイルにも使えます。\r\n\r\nこれらのモジュールを使う場合、パスを指定する必要があるのですが、confpath()を使えば簡単に取得できます。\r\n以下のように\r\n\r\n```\r\nrq = require('rrq')\r\nconf = rq.confpath()\r\n```\r\n\r\n### root()を追加しました\r\n\r\nroot()はprojectRoot()のエイリアスです。\r\n\r\n### requireを追加しました\r\n\r\nrequireはrequire2のエイリアスです。\r\n`rrq = require('rrq').require`でも呼び出せるようになります。\r\nエディタの設定によってはハイライトされてしまって気持ち悪いかもしれませんが、その場合はrequire2を使ってください。"}}