Permalink
Browse files

bring gemfile and tests into early 2011

  • Loading branch information...
1 parent b012df9 commit 5e668220061bd431e54f6a5800f5de39e9f1fc4b @qrush qrush committed Mar 18, 2011
Showing with 63 additions and 60 deletions.
  1. +7 −7 Gemfile
  2. +52 −50 Gemfile.lock
  3. +1 −0 config/initializers/requires.rb
  4. +2 −2 test/unit/dependency_test.rb
  5. +1 −1 test/unit/hostess_test.rb
  6. BIN vendor/cache/actionmailer-3.0.3.gem
  7. BIN vendor/cache/actionmailer-3.0.5.gem
  8. BIN vendor/cache/actionpack-3.0.3.gem
  9. BIN vendor/cache/actionpack-3.0.5.gem
  10. BIN vendor/cache/activemodel-3.0.3.gem
  11. BIN vendor/cache/activemodel-3.0.5.gem
  12. BIN vendor/cache/activerecord-3.0.3.gem
  13. BIN vendor/cache/activerecord-3.0.5.gem
  14. BIN vendor/cache/{activeresource-3.0.3.gem → activeresource-3.0.5.gem}
  15. BIN vendor/cache/activesupport-3.0.3.gem
  16. BIN vendor/cache/activesupport-3.0.5.gem
  17. BIN vendor/cache/addressable-2.2.3.gem
  18. BIN vendor/cache/addressable-2.2.4.gem
  19. BIN vendor/cache/arel-2.0.7.gem
  20. BIN vendor/cache/arel-2.0.9.gem
  21. BIN vendor/cache/excon-0.4.0.gem
  22. BIN vendor/cache/excon-0.5.6.gem
  23. BIN vendor/cache/fog-0.3.25.gem
  24. BIN vendor/cache/fog-0.7.0.gem
  25. BIN vendor/cache/formatador-0.0.16.gem
  26. BIN vendor/cache/formatador-0.1.1.gem
  27. BIN vendor/cache/net-ssh-2.0.24.gem
  28. BIN vendor/cache/net-ssh-2.1.3.gem
  29. BIN vendor/cache/newrelic_rpm-2.13.0.beta6.gem
  30. BIN vendor/cache/newrelic_rpm-2.13.4.gem
  31. BIN vendor/cache/nokogiri-1.4.3.1.gem
  32. BIN vendor/cache/nokogiri-1.4.4.gem
  33. BIN vendor/cache/rack-1.2.1.gem
  34. BIN vendor/cache/rack-1.2.2.gem
  35. BIN vendor/cache/{rails-3.0.3.gem → rails-3.0.5.gem}
  36. BIN vendor/cache/{railties-3.0.3.gem → railties-3.0.5.gem}
  37. BIN vendor/cache/redis-2.0.1.gem
  38. BIN vendor/cache/redis-2.1.1.gem
  39. BIN vendor/cache/sinatra-1.0.gem
  40. BIN vendor/cache/sinatra-1.2.1.gem
  41. BIN vendor/cache/tilt-1.2.2.gem
  42. BIN vendor/cache/tzinfo-0.3.24.gem
  43. BIN vendor/cache/tzinfo-0.3.25.gem
View
@@ -1,21 +1,21 @@
source :rubygems
-gem "rails", "3.0.3"
-gem "rack", "1.2.1"
+gem "rails", "3.0.5"
+gem "rack", "1.2.2"
gem "mail", "2.2.15"
gem "clearance", "0.9.0.rc9"
-gem "fog", "0.3.25"
+gem "fog", "0.7.0"
gem "gchartrb", "0.8", :require => "google_chart"
gem "gravtastic", "2.1.3"
gem "high_voltage", "0.9.1"
gem "hoptoad_notifier", "2.2.0"
gem "json", "1.2.0"
-gem "newrelic_rpm", "2.13.0.beta6"
+gem "newrelic_rpm", "2.13.4"
gem "paul_revere", "0.1.5"
gem "rack-maintenance", "0.3.0", :require => "rack/maintenance"
-gem "redis", "2.0.1"
+gem "redis", "2.1.1"
gem "rest-client", "1.0.3", :require => "rest_client"
-gem "sinatra", "1.0"
+gem "sinatra", "1.2.1"
gem "system_timer", "1.0"
gem "will_paginate", "3.0.pre2"
gem "xml-simple", "1.0.12"
@@ -39,7 +39,7 @@ group :test do
gem "database_cleaner", "0.5.2"
gem "fakeweb", "1.2.6"
gem "launchy", "0.3.7"
- gem "nokogiri", "1.4.3.1"
+ gem "nokogiri", "1.4.4"
gem "rack-test", "0.5.7", :require => "rack/test"
gem "redgreen", "1.2.2"
gem "rr", "0.10.11"
View
@@ -2,34 +2,34 @@ GEM
remote: http://rubygems.org/
specs:
abstract (1.0.0)
- actionmailer (3.0.3)
- actionpack (= 3.0.3)
- mail (~> 2.2.9)
- actionpack (3.0.3)
- activemodel (= 3.0.3)
- activesupport (= 3.0.3)
+ actionmailer (3.0.5)
+ actionpack (= 3.0.5)
+ mail (~> 2.2.15)
+ actionpack (3.0.5)
+ activemodel (= 3.0.5)
+ activesupport (= 3.0.5)
builder (~> 2.1.2)
erubis (~> 2.6.6)
i18n (~> 0.4)
rack (~> 1.2.1)
rack-mount (~> 0.6.13)
- rack-test (~> 0.5.6)
+ rack-test (~> 0.5.7)
tzinfo (~> 0.3.23)
- activemodel (3.0.3)
- activesupport (= 3.0.3)
+ activemodel (3.0.5)
+ activesupport (= 3.0.5)
builder (~> 2.1.2)
i18n (~> 0.4)
- activerecord (3.0.3)
- activemodel (= 3.0.3)
- activesupport (= 3.0.3)
+ activerecord (3.0.5)
+ activemodel (= 3.0.5)
+ activesupport (= 3.0.5)
arel (~> 2.0.2)
tzinfo (~> 0.3.23)
- activeresource (3.0.3)
- activemodel (= 3.0.3)
- activesupport (= 3.0.3)
- activesupport (3.0.3)
- addressable (2.2.3)
- arel (2.0.7)
+ activeresource (3.0.5)
+ activemodel (= 3.0.5)
+ activesupport (= 3.0.5)
+ activesupport (3.0.5)
+ addressable (2.2.4)
+ arel (2.0.9)
builder (2.1.2)
clearance (0.9.0.rc9)
rails (~> 3.0.0)
@@ -50,22 +50,22 @@ GEM
diff-lcs (1.1.2)
erubis (2.6.6)
abstract (>= 1.0.0)
- excon (0.4.0)
+ excon (0.5.6)
factory_girl (1.3.3)
factory_girl_rails (1.0)
factory_girl (~> 1.3)
rails (>= 3.0.0.beta4)
fakeweb (1.2.6)
- fog (0.3.25)
+ fog (0.7.0)
builder
- excon (>= 0.2.4)
- formatador (>= 0.0.16)
+ excon (>= 0.5.5)
+ formatador (>= 0.1.1)
json
mime-types
- net-ssh (~> 2.0.23)
- nokogiri (~> 1.4.3.1)
+ net-ssh (>= 2.0.23)
+ nokogiri (>= 1.4.4)
ruby-hmac
- formatador (0.0.16)
+ formatador (0.1.1)
gchartrb (0.8)
gherkin (2.1.5)
trollop (~> 1.16.2)
@@ -85,51 +85,53 @@ GEM
mime-types (~> 1.16)
treetop (~> 1.4.8)
mime-types (1.16)
- net-ssh (2.0.24)
- newrelic_rpm (2.13.0.beta6)
- nokogiri (1.4.3.1)
+ net-ssh (2.1.3)
+ newrelic_rpm (2.13.4)
+ nokogiri (1.4.4)
paul_revere (0.1.5)
rails (~> 3.0.0)
pg (0.8.0)
polyglot (0.3.1)
- rack (1.2.1)
+ rack (1.2.2)
rack-maintenance (0.3.0)
rack (>= 1.0)
rack-mount (0.6.13)
rack (>= 1.0.0)
rack-test (0.5.7)
rack (>= 1.0)
- rails (3.0.3)
- actionmailer (= 3.0.3)
- actionpack (= 3.0.3)
- activerecord (= 3.0.3)
- activeresource (= 3.0.3)
- activesupport (= 3.0.3)
+ rails (3.0.5)
+ actionmailer (= 3.0.5)
+ actionpack (= 3.0.5)
+ activerecord (= 3.0.5)
+ activeresource (= 3.0.5)
+ activesupport (= 3.0.5)
bundler (~> 1.0)
- railties (= 3.0.3)
- railties (3.0.3)
- actionpack (= 3.0.3)
- activesupport (= 3.0.3)
+ railties (= 3.0.5)
+ railties (3.0.5)
+ actionpack (= 3.0.5)
+ activesupport (= 3.0.5)
rake (>= 0.8.7)
thor (~> 0.14.4)
rake (0.8.7)
redgreen (1.2.2)
- redis (2.0.1)
+ redis (2.1.1)
rest-client (1.0.3)
rr (0.10.11)
ruby-hmac (0.4.0)
shoulda (2.11.1)
silent-postgres (0.0.7)
- sinatra (1.0)
- rack (>= 1.0)
+ sinatra (1.2.1)
+ rack (~> 1.1)
+ tilt (< 2.0, >= 1.2.2)
system_timer (1.0)
term-ansicolor (1.0.5)
thor (0.14.6)
+ tilt (1.2.2)
timecop (0.3.5)
treetop (1.4.9)
polyglot (>= 0.3.1)
trollop (1.16.2)
- tzinfo (0.3.24)
+ tzinfo (0.3.25)
validates_url_format_of (0.1.0)
activerecord (>= 2.3.4)
webmock (0.7.3)
@@ -150,29 +152,29 @@ DEPENDENCIES
delayed_job (= 2.1.2)
factory_girl_rails (= 1.0)
fakeweb (= 1.2.6)
- fog (= 0.3.25)
+ fog (= 0.7.0)
gchartrb (= 0.8)
gravtastic (= 2.1.3)
high_voltage (= 0.9.1)
hoptoad_notifier (= 2.2.0)
json (= 1.2.0)
launchy (= 0.3.7)
mail (= 2.2.15)
- newrelic_rpm (= 2.13.0.beta6)
- nokogiri (= 1.4.3.1)
+ newrelic_rpm (= 2.13.4)
+ nokogiri (= 1.4.4)
paul_revere (= 0.1.5)
pg (= 0.8.0)
- rack (= 1.2.1)
+ rack (= 1.2.2)
rack-maintenance (= 0.3.0)
rack-test (= 0.5.7)
- rails (= 3.0.3)
+ rails (= 3.0.5)
redgreen (= 1.2.2)
- redis (= 2.0.1)
+ redis (= 2.1.1)
rest-client (= 1.0.3)
rr (= 0.10.11)
shoulda (= 2.11.1)
silent-postgres (= 0.0.7)
- sinatra (= 1.0)
+ sinatra (= 1.2.1)
system_timer (= 1.0)
timecop (= 0.3.5)
validates_url_format_of (= 0.1.0)
@@ -3,3 +3,4 @@
require 'rdoc/markup/simple_markup'
require 'rdoc/markup/simple_markup/to_html'
require 'simple_ssl_requirement'
+require 'active_support/builder'
@@ -58,13 +58,13 @@ class DependencyTest < ActiveSupport::TestCase
context "that refers to a Rubygem that exists and has multiple requirements" do
setup do
@rubygem = Factory(:rubygem)
- @requirements = ['>= 0.0.0', '< 1.0.0']
+ @requirements = ['< 1.0.0', '>= 0.0.0']
@gem_dependency = Gem::Dependency.new(@rubygem.name, @requirements)
@dependency = Factory(:dependency, :rubygem => @rubygem, :gem_dependency => @gem_dependency)
end
should "create a Dependency referring to the existing Rubygem" do
- assert_equal @rubygem, @dependency.rubygem
+ assert_equal @rubygem, @dependency.rubygem
assert_equal @requirements.join(', '), @dependency.requirements
end
end
@@ -111,7 +111,7 @@ def touch(path, local = true)
should "redirect to /gems for /downloads" do
get "/downloads/rails-3.0.0.gem"
- assert_equal "/gems/rails-3.0.0.gem", last_response.headers["Location"]
+ assert_equal "/gems/rails-3.0.0.gem", URI(last_response.headers["Location"]).path
assert_equal 302, last_response.status
end
end
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.

0 comments on commit 5e66822

Please sign in to comment.