dealforest/cocoapods-browser — pull request #8 by dealforest (2014-05-26 18:08:08+00:00)
Title: rubocop と travis の対応

https://travis-ci.org/dealforest/cocoapods-browser/jobs/26061073 といった感じで CI が失敗するようになっていたのでそれの対応と rubocop の対応

```
Using worker: saucelabs-mac.worker.travis-ci.org:travis-mac_osx-14
$ export RVM_RUBY_VERSION=2.0.0-p247
$ export NOEXEC_DISABLE=1
$ export RUBY_VERSION_SPECIFIC='sudo gem install bundler --no-ri --no-rdoc'
$ export GIT_AUTHOR_NAME=dealforest
$ export GIT_AUTHOR_EMAIL=dealforest@gmail.com
$ export PYTHONPATH=/usr/local/lib/python2.7/site-packages
git.1
$ git clone --depth=50 --branch=master git://github.com/dealforest/cocoapods-browser.git dealforest/cocoapods-browser
Cloning into 'dealforest/cocoapods-browser'...
remote: Counting objects: 156, done.
remote: Compressing objects: 100% (64/64), done.
remote: Total 156 (delta 48), reused 155 (delta 48)
Receiving objects: 100% (156/156), 19.38 KiB | 0 bytes/s, done.
Resolving deltas: 100% (48/48), done.
Checking connectivity... done.
$ cd dealforest/cocoapods-browser
git.3
$ git checkout -qf a18ec397433239348ce284c3b0c913b0940ff5f7
$ rvm use default
Warning! PATH is not properly set up, '/Users/travis/.rvm/gems/ruby-2.0.0-p353/bin' is not at first place,
usually this is caused by shell initialization files - check them for 'PATH=...' entries,
it might also help to re-add RVM to your dotfiles: 'rvm get stable --auto-dotfiles',
to fix temporarily in this shell session run: 'rvm use ruby-2.0.0-p353'.
Using /Users/travis/.rvm/gems/ruby-2.0.0-p353
$ osascript -e 'set simpath to "/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/Applications/iPhone Simulator.app/Contents/MacOS/iPhone Simulator" as POSIX file' -e 'tell application "Finder"' -e 'open simpath' -e 'end tell'
$ ruby --version
ruby 2.0.0p353 (2013-11-22 revision 43784) [x86_64-darwin13.0.0]
$ rvm --version
rvm 1.25.22 (stable) by Wayne E. Seguin , Michal Papis [https://rvm.io/]
announce
$ xcodebuild -version -sdk
MacOSX10.8.sdk - OS X 10.8 (macosx10.8)
SDKVersion: 10.8
Path: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.8.sdk
PlatformVersion: 1.1
PlatformPath: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform
ProductBuildVersion: 12F37
ProductCopyright: 1983-2013 Apple Inc.
ProductName: Mac OS X
ProductUserVisibleVersion: 10.8.5
ProductVersion: 10.8.5
MacOSX10.9.sdk - OS X 10.9 (macosx10.9)
SDKVersion: 10.9
Path: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk
PlatformVersion: 1.1
PlatformPath: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform
ProductBuildVersion: 13C64
ProductCopyright: 1983-2014 Apple Inc.
ProductName: Mac OS X
ProductUserVisibleVersion: 10.9.2
ProductVersion: 10.9.2
iPhoneOS7.1.sdk - iOS 7.1 (iphoneos7.1)
SDKVersion: 7.1
Path: /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS7.1.sdk
PlatformVersion: 7.1
PlatformPath: /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform
ProductBuildVersion: 11D167
ProductCopyright: 1983-2014 Apple Inc.
ProductName: iPhone OS
ProductVersion: 7.1
iPhoneSimulator6.1.sdk - Simulator - iOS 6.1 (iphonesimulator6.1)
SDKVersion: 6.1
Path: /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator6.1.sdk
PlatformPath: /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform
ProductBuildVersion: 10B141
ProductCopyright: 1983-2013 Apple Inc.
ProductName: iPhone OS
ProductVersion: 6.1
iPhoneSimulator7.0.sdk - Simulator - iOS 7.0 (iphonesimulator7.0)
SDKVersion: 7.0
Path: /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator7.0.sdk
PlatformPath: /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform
ProductBuildVersion: 11B507
ProductCopyright: 1983-2013 Apple Inc.
ProductName: iPhone OS
ProductVersion: 7.0.3
iPhoneSimulator7.1.sdk - Simulator - iOS 7.1 (iphonesimulator7.1)
SDKVersion: 7.1
Path: /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator7.1.sdk
PlatformPath: /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform
ProductBuildVersion: 11D167
ProductCopyright: 1983-2014 Apple Inc.
ProductName: iPhone OS
ProductVersion: 7.1
Xcode 5.1
Build version 5B130a
before_install.1
$ curl http://curl.haxx.se/ca/cacert.pem -o /usr/local/share/cacert.pem
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 244k 100 244k 0 0 160k 0 0:00:01 0:00:01 --:--:-- 161k
$ source ~/.rvm/scripts/rvm && rvm use $RVM_RUBY_VERSION
ruby-2.0.0-p247 is not installed.
To install do: 'rvm install ruby-2.0.0-p247'
The command "rvm use $RVM_RUBY_VERSION" failed and exited with 1 during before_install.
Your build has been stopped.
```