Build a webapp where I can search for a GitHub user and see a score based on their activity.
Example URLs:
https://github.com/tenderlove.json
https://github.com/wycats.json
| <?xml version="1.0" encoding="UTF-8"?> | |
| <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" | |
| "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | |
| <plist version="1.0"> | |
| <dict> | |
| <key>Label</key> | |
| <string>org.redis.redis-server</string> | |
| <key>Program</key> | |
| <string>/usr/local/bin/redis-server</string> | |
| <key>ProgramArguments</key> |
| module SpecCryptoProvider | |
| def self.encrypt(*tokens) | |
| tokens.join("") | |
| end | |
| def self.matches?(crypted, *tokens) | |
| encrypt(*tokens) == crypted | |
| end | |
| end |
| $gc_counter = 0 | |
| GC.disable | |
| config.after(:each) { | |
| if($gc_counter.modulo(25) == 0) | |
| GC.enable | |
| GC.start | |
| GC.disable | |
| end | |
| $gc_counter += 1 |
| wget http://rubyforge.org/frs/download.php/75414/linecache19-0.5.13.gem | |
| wget http://rubyforge.org/frs/download.php/75415/ruby-debug-base19-0.11.26.gem | |
| gem install linecache19-0.5.13.gem | |
| gem install ruby-debug-base19-0.11.26.gem -- --with-ruby-include=$HOME/.rvm/src/ruby-1.9.3-p194 | |
| rm linecache19-0.5.13.gem | |
| rm ruby-debug-base19-0.11.26.gem |
| hades ☯ ~/projects/rabl ‹1.9.3@rabl› ➤ b8434e0-master⚡ | |
| 11085 ± $ rake test:fixtures ⏎ [8m] ✹ ✭ [18:40:27] | |
| *** Running tests for padrino_test... *** | |
| /Users/databyte/.rvm/rubies/ruby-1.9.3-p125/bin/ruby -I"lib" -I"/Users/databyte/.rvm/gems/ruby-1.9.3-p125@global/gems/rake-0.9.2.2/lib" "/Users/databyte/.rvm/gems/ruby-1.9.3-p125@global/gems/rake-0.9.2.2/lib/rake/rake_test_loader.rb" "test/app/controllers/**/*_test.rb" | |
| The Gemfile's dependencies are satisfied | |
| .................................... | |
| 36 passes, 0 failures, 0 errors in 0.551838 seconds |
| CarrierWave::Uploader::Base.descendants.each do |klass| | |
| next if klass.anonymous? | |
| klass.class_eval do | |
| def cache_dir | |
| "#{Rails.root}/public/system/test/#{Process.pid.to_s}/tmp" | |
| end | |
| def store_dir | |
| "#{Rails.root}/public/system/test/#{Process.pid.to_s}/#{model.class.to_s.underscore}/#{mounted_as}/#{model.id}" | |
| end |
| *** Setting up for padrino_test tests *** | |
| Using rake (0.9.2.2) | |
| Using multi_json (1.3.2) | |
| Using activesupport (3.1.4) | |
| Using builder (3.0.0) | |
| Using i18n (0.6.0) | |
| Using activemodel (3.1.4) | |
| Using arel (2.2.3) | |
| Using tzinfo (0.3.33) | |
| Using activerecord (3.1.4) |
| require 'rsolr' | |
| require 'thread' | |
| require 'optparse' | |
| require 'ruby-debug' | |
| require 'ruby-prof' | |
| module Allocation | |
| def self.count | |
| GC.disable | |
| before = ObjectSpace.count_objects |
| Kingston DataTraveler 108 | |
| Results 2.94 | |
| System Info | |
| Xbench Version 1.3 | |
| System Version 10.7.4 (11E53) | |
| Physical RAM 8192 MB | |
| Model MacBookPro8,2 | |
| Drive Type Kingston DataTraveler 108 | |
| Disk Test 2.94 |