Skip to content
This repository
Browse code

Bundling rack/maintenance and getting nokogiri up to speed

  • Loading branch information...
commit 4de295009dcc39fb37008eedb25c11304d961465 1 parent 09a7fea
Nick Quaranto authored November 09, 2009
1  Gemfile
@@ -14,6 +14,7 @@ gem "xml-simple",      "1.0.12"
14 14
 gem "gchartrb",        "0.8",   :require_as => "google_chart"
15 15
 gem "ddollar-pacecar", "1.1.6", :require_as => "pacecar"
16 16
 gem "net-scp",         "1.0.2"
  17
+gem "rack-maintenance", "0.3.0", :require_as => "rack/maintenance"
17 18
 
18 19
 only :test do
19 20
   gem "shoulda",      "2.10.2"
5  config.ru
@@ -2,12 +2,9 @@ if ENV['MAINTENANCE_MODE']
2 2
   require "#{File.dirname(__FILE__)}/vendor/bundler_gems/environment"
3 3
   require 'config/environment'
4 4
 
5  
-  get '/' do
6  
-    send_file("public/maintenance/index.html")
7  
-  end
8  
-
9 5
   use Rack::Static, :urls => ["/index.html", "/favicon.ico", "/images", "/stylesheets"], :root => "public/maintenance"
10 6
   use Hostess
  7
+  use Rack::Maintenance, :file => File.join('public', 'maintenance', 'index.html')
11 8
   run Sinatra::Application
12 9
 else
13 10
   require 'thin'
BIN  vendor/bundler_gems/cache/nokogiri-1.3.3.gem
Binary file not shown
BIN  vendor/bundler_gems/cache/nokogiri-1.4.0.gem
Binary file not shown
BIN  vendor/bundler_gems/cache/rack-maintenance-0.3.0.gem
Binary file not shown
150  vendor/bundler_gems/environment.rb
@@ -6,153 +6,157 @@ module Bundler
6 6
   ENV["PATH"]     = "#{dir}/../../bin:#{ENV["PATH"]}"
7 7
   ENV["RUBYOPT"]  = "-r#{file} #{ENV["RUBYOPT"]}"
8 8
 
  9
+  $LOAD_PATH.unshift File.expand_path("#{dir}/gems/ambethia-smtp-tls-1.1.2/bin")
  10
+  $LOAD_PATH.unshift File.expand_path("#{dir}/gems/ambethia-smtp-tls-1.1.2/lib")
9 11
   $LOAD_PATH.unshift File.expand_path("#{dir}/gems/rr-0.10.4/bin")
10 12
   $LOAD_PATH.unshift File.expand_path("#{dir}/gems/rr-0.10.4/lib")
11  
-  $LOAD_PATH.unshift File.expand_path("#{dir}/gems/ddollar-pacecar-1.1.6/bin")
12  
-  $LOAD_PATH.unshift File.expand_path("#{dir}/gems/ddollar-pacecar-1.1.6/lib")
13  
-  $LOAD_PATH.unshift File.expand_path("#{dir}/gems/activeresource-2.3.4/bin")
14  
-  $LOAD_PATH.unshift File.expand_path("#{dir}/gems/activeresource-2.3.4/lib")
15  
-  $LOAD_PATH.unshift File.expand_path("#{dir}/gems/fakeweb-1.2.6/bin")
16  
-  $LOAD_PATH.unshift File.expand_path("#{dir}/gems/fakeweb-1.2.6/lib")
17  
-  $LOAD_PATH.unshift File.expand_path("#{dir}/gems/term-ansicolor-1.0.4/bin")
18  
-  $LOAD_PATH.unshift File.expand_path("#{dir}/gems/term-ansicolor-1.0.4/lib")
  13
+  $LOAD_PATH.unshift File.expand_path("#{dir}/gems/memcache-client-1.7.5/bin")
  14
+  $LOAD_PATH.unshift File.expand_path("#{dir}/gems/memcache-client-1.7.5/lib")
  15
+  $LOAD_PATH.unshift File.expand_path("#{dir}/gems/nokogiri-1.4.0/bin")
  16
+  $LOAD_PATH.unshift File.expand_path("#{dir}/gems/nokogiri-1.4.0/lib")
  17
+  $LOAD_PATH.unshift File.expand_path("#{dir}/gems/nokogiri-1.4.0/ext")
19 18
   $LOAD_PATH.unshift File.expand_path("#{dir}/gems/rails-2.3.4/bin")
20 19
   $LOAD_PATH.unshift File.expand_path("#{dir}/gems/rails-2.3.4/lib")
21 20
   $LOAD_PATH.unshift File.expand_path("#{dir}/gems/activerecord-2.3.4/bin")
22 21
   $LOAD_PATH.unshift File.expand_path("#{dir}/gems/activerecord-2.3.4/lib")
  22
+  $LOAD_PATH.unshift File.expand_path("#{dir}/gems/treetop-1.4.2/bin")
  23
+  $LOAD_PATH.unshift File.expand_path("#{dir}/gems/treetop-1.4.2/lib")
23 24
   $LOAD_PATH.unshift File.expand_path("#{dir}/gems/rake-0.8.7/bin")
24 25
   $LOAD_PATH.unshift File.expand_path("#{dir}/gems/rake-0.8.7/lib")
25 26
   $LOAD_PATH.unshift File.expand_path("#{dir}/gems/diff-lcs-1.1.2/bin")
26 27
   $LOAD_PATH.unshift File.expand_path("#{dir}/gems/diff-lcs-1.1.2/lib")
27  
-  $LOAD_PATH.unshift File.expand_path("#{dir}/gems/ambethia-smtp-tls-1.1.2/bin")
28  
-  $LOAD_PATH.unshift File.expand_path("#{dir}/gems/ambethia-smtp-tls-1.1.2/lib")
29  
-  $LOAD_PATH.unshift File.expand_path("#{dir}/gems/memcache-client-1.7.5/bin")
30  
-  $LOAD_PATH.unshift File.expand_path("#{dir}/gems/memcache-client-1.7.5/lib")
31  
-  $LOAD_PATH.unshift File.expand_path("#{dir}/gems/polyglot-0.2.9/bin")
32  
-  $LOAD_PATH.unshift File.expand_path("#{dir}/gems/polyglot-0.2.9/lib")
  28
+  $LOAD_PATH.unshift File.expand_path("#{dir}/gems/activeresource-2.3.4/bin")
  29
+  $LOAD_PATH.unshift File.expand_path("#{dir}/gems/activeresource-2.3.4/lib")
  30
+  $LOAD_PATH.unshift File.expand_path("#{dir}/gems/fakeweb-1.2.6/bin")
  31
+  $LOAD_PATH.unshift File.expand_path("#{dir}/gems/fakeweb-1.2.6/lib")
  32
+  $LOAD_PATH.unshift File.expand_path("#{dir}/gems/ddollar-pacecar-1.1.6/bin")
  33
+  $LOAD_PATH.unshift File.expand_path("#{dir}/gems/ddollar-pacecar-1.1.6/lib")
33 34
   $LOAD_PATH.unshift File.expand_path("#{dir}/gems/shoulda-2.10.2/bin")
34 35
   $LOAD_PATH.unshift File.expand_path("#{dir}/gems/shoulda-2.10.2/lib")
35  
-  $LOAD_PATH.unshift File.expand_path("#{dir}/gems/rack-cache-0.5.2/bin")
36  
-  $LOAD_PATH.unshift File.expand_path("#{dir}/gems/rack-cache-0.5.2/lib")
37  
-  $LOAD_PATH.unshift File.expand_path("#{dir}/gems/treetop-1.4.2/bin")
38  
-  $LOAD_PATH.unshift File.expand_path("#{dir}/gems/treetop-1.4.2/lib")
  36
+  $LOAD_PATH.unshift File.expand_path("#{dir}/gems/sinatra-0.9.4/bin")
  37
+  $LOAD_PATH.unshift File.expand_path("#{dir}/gems/sinatra-0.9.4/lib")
  38
+  $LOAD_PATH.unshift File.expand_path("#{dir}/gems/will_paginate-2.3.11/bin")
  39
+  $LOAD_PATH.unshift File.expand_path("#{dir}/gems/will_paginate-2.3.11/lib")
  40
+  $LOAD_PATH.unshift File.expand_path("#{dir}/gems/polyglot-0.2.9/bin")
  41
+  $LOAD_PATH.unshift File.expand_path("#{dir}/gems/polyglot-0.2.9/lib")
39 42
   $LOAD_PATH.unshift File.expand_path("#{dir}/gems/mime-types-1.16/bin")
40 43
   $LOAD_PATH.unshift File.expand_path("#{dir}/gems/mime-types-1.16/lib")
41 44
   $LOAD_PATH.unshift File.expand_path("#{dir}/gems/rack-1.0.1/bin")
42 45
   $LOAD_PATH.unshift File.expand_path("#{dir}/gems/rack-1.0.1/lib")
  46
+  $LOAD_PATH.unshift File.expand_path("#{dir}/gems/rack-cache-0.5.2/bin")
  47
+  $LOAD_PATH.unshift File.expand_path("#{dir}/gems/rack-cache-0.5.2/lib")
43 48
   $LOAD_PATH.unshift File.expand_path("#{dir}/gems/net-ssh-2.0.15/bin")
44 49
   $LOAD_PATH.unshift File.expand_path("#{dir}/gems/net-ssh-2.0.15/lib")
45  
-  $LOAD_PATH.unshift File.expand_path("#{dir}/gems/webrat-0.5.3/bin")
46  
-  $LOAD_PATH.unshift File.expand_path("#{dir}/gems/webrat-0.5.3/lib")
47 50
   $LOAD_PATH.unshift File.expand_path("#{dir}/gems/factory_girl-1.2.3/bin")
48 51
   $LOAD_PATH.unshift File.expand_path("#{dir}/gems/factory_girl-1.2.3/lib")
49  
-  $LOAD_PATH.unshift File.expand_path("#{dir}/gems/will_paginate-2.3.11/bin")
50  
-  $LOAD_PATH.unshift File.expand_path("#{dir}/gems/will_paginate-2.3.11/lib")
51  
-  $LOAD_PATH.unshift File.expand_path("#{dir}/gems/sinatra-0.9.4/bin")
52  
-  $LOAD_PATH.unshift File.expand_path("#{dir}/gems/sinatra-0.9.4/lib")
  52
+  $LOAD_PATH.unshift File.expand_path("#{dir}/gems/webrat-0.5.3/bin")
  53
+  $LOAD_PATH.unshift File.expand_path("#{dir}/gems/webrat-0.5.3/lib")
  54
+  $LOAD_PATH.unshift File.expand_path("#{dir}/gems/clearance-0.8.2/bin")
  55
+  $LOAD_PATH.unshift File.expand_path("#{dir}/gems/clearance-0.8.2/lib")
  56
+  $LOAD_PATH.unshift File.expand_path("#{dir}/gems/rack-maintenance-0.3.0/bin")
  57
+  $LOAD_PATH.unshift File.expand_path("#{dir}/gems/rack-maintenance-0.3.0/lib")
53 58
   $LOAD_PATH.unshift File.expand_path("#{dir}/gems/redgreen-1.2.2/bin")
54 59
   $LOAD_PATH.unshift File.expand_path("#{dir}/gems/redgreen-1.2.2/lib")
55 60
   $LOAD_PATH.unshift File.expand_path("#{dir}/gems/gchartrb-0.8/bin")
56 61
   $LOAD_PATH.unshift File.expand_path("#{dir}/gems/gchartrb-0.8/lib")
57 62
   $LOAD_PATH.unshift File.expand_path("#{dir}/gems/actionmailer-2.3.4/bin")
58 63
   $LOAD_PATH.unshift File.expand_path("#{dir}/gems/actionmailer-2.3.4/lib")
  64
+  $LOAD_PATH.unshift File.expand_path("#{dir}/gems/xml-simple-1.0.12/bin")
  65
+  $LOAD_PATH.unshift File.expand_path("#{dir}/gems/xml-simple-1.0.12/lib")
59 66
   $LOAD_PATH.unshift File.expand_path("#{dir}/gems/rack-test-0.5.0/bin")
60 67
   $LOAD_PATH.unshift File.expand_path("#{dir}/gems/rack-test-0.5.0/lib")
61  
-  $LOAD_PATH.unshift File.expand_path("#{dir}/gems/clearance-0.8.2/bin")
62  
-  $LOAD_PATH.unshift File.expand_path("#{dir}/gems/clearance-0.8.2/lib")
63  
-  $LOAD_PATH.unshift File.expand_path("#{dir}/gems/cucumber-0.3.101/bin")
64  
-  $LOAD_PATH.unshift File.expand_path("#{dir}/gems/cucumber-0.3.101/lib")
65 68
   $LOAD_PATH.unshift File.expand_path("#{dir}/gems/actionpack-2.3.4/bin")
66 69
   $LOAD_PATH.unshift File.expand_path("#{dir}/gems/actionpack-2.3.4/lib")
67  
-  $LOAD_PATH.unshift File.expand_path("#{dir}/gems/builder-2.1.2/bin")
68  
-  $LOAD_PATH.unshift File.expand_path("#{dir}/gems/builder-2.1.2/lib")
69 70
   $LOAD_PATH.unshift File.expand_path("#{dir}/gems/aws-s3-0.6.2/bin")
70 71
   $LOAD_PATH.unshift File.expand_path("#{dir}/gems/aws-s3-0.6.2/lib")
71  
-  $LOAD_PATH.unshift File.expand_path("#{dir}/gems/activesupport-2.3.4/bin")
72  
-  $LOAD_PATH.unshift File.expand_path("#{dir}/gems/activesupport-2.3.4/lib")
  72
+  $LOAD_PATH.unshift File.expand_path("#{dir}/gems/builder-2.1.2/bin")
  73
+  $LOAD_PATH.unshift File.expand_path("#{dir}/gems/builder-2.1.2/lib")
73 74
   $LOAD_PATH.unshift File.expand_path("#{dir}/gems/net-scp-1.0.2/bin")
74 75
   $LOAD_PATH.unshift File.expand_path("#{dir}/gems/net-scp-1.0.2/lib")
75  
-  $LOAD_PATH.unshift File.expand_path("#{dir}/gems/nokogiri-1.3.3/bin")
76  
-  $LOAD_PATH.unshift File.expand_path("#{dir}/gems/nokogiri-1.3.3/lib")
77  
-  $LOAD_PATH.unshift File.expand_path("#{dir}/gems/nokogiri-1.3.3/ext")
78  
-  $LOAD_PATH.unshift File.expand_path("#{dir}/gems/xml-simple-1.0.12/bin")
79  
-  $LOAD_PATH.unshift File.expand_path("#{dir}/gems/xml-simple-1.0.12/lib")
  76
+  $LOAD_PATH.unshift File.expand_path("#{dir}/gems/activesupport-2.3.4/bin")
  77
+  $LOAD_PATH.unshift File.expand_path("#{dir}/gems/activesupport-2.3.4/lib")
  78
+  $LOAD_PATH.unshift File.expand_path("#{dir}/gems/term-ansicolor-1.0.4/bin")
  79
+  $LOAD_PATH.unshift File.expand_path("#{dir}/gems/term-ansicolor-1.0.4/lib")
  80
+  $LOAD_PATH.unshift File.expand_path("#{dir}/gems/cucumber-0.3.101/bin")
  81
+  $LOAD_PATH.unshift File.expand_path("#{dir}/gems/cucumber-0.3.101/lib")
80 82
 
81 83
   @gemfile = "#{dir}/../../Gemfile"
82 84
 
83 85
   require "rubygems"
84 86
 
85 87
   @bundled_specs = {}
86  
-  @bundled_specs["term-ansicolor"] = eval(File.read("#{dir}/specifications/term-ansicolor-1.0.4.gemspec"))
87  
-  @bundled_specs["term-ansicolor"].loaded_from = "#{dir}/specifications/term-ansicolor-1.0.4.gemspec"
88  
-  @bundled_specs["fakeweb"] = eval(File.read("#{dir}/specifications/fakeweb-1.2.6.gemspec"))
89  
-  @bundled_specs["fakeweb"].loaded_from = "#{dir}/specifications/fakeweb-1.2.6.gemspec"
90  
-  @bundled_specs["activeresource"] = eval(File.read("#{dir}/specifications/activeresource-2.3.4.gemspec"))
91  
-  @bundled_specs["activeresource"].loaded_from = "#{dir}/specifications/activeresource-2.3.4.gemspec"
92  
-  @bundled_specs["ddollar-pacecar"] = eval(File.read("#{dir}/specifications/ddollar-pacecar-1.1.6.gemspec"))
93  
-  @bundled_specs["ddollar-pacecar"].loaded_from = "#{dir}/specifications/ddollar-pacecar-1.1.6.gemspec"
  88
+  @bundled_specs["memcache-client"] = eval(File.read("#{dir}/specifications/memcache-client-1.7.5.gemspec"))
  89
+  @bundled_specs["memcache-client"].loaded_from = "#{dir}/specifications/memcache-client-1.7.5.gemspec"
94 90
   @bundled_specs["rr"] = eval(File.read("#{dir}/specifications/rr-0.10.4.gemspec"))
95 91
   @bundled_specs["rr"].loaded_from = "#{dir}/specifications/rr-0.10.4.gemspec"
  92
+  @bundled_specs["ambethia-smtp-tls"] = eval(File.read("#{dir}/specifications/ambethia-smtp-tls-1.1.2.gemspec"))
  93
+  @bundled_specs["ambethia-smtp-tls"].loaded_from = "#{dir}/specifications/ambethia-smtp-tls-1.1.2.gemspec"
  94
+  @bundled_specs["treetop"] = eval(File.read("#{dir}/specifications/treetop-1.4.2.gemspec"))
  95
+  @bundled_specs["treetop"].loaded_from = "#{dir}/specifications/treetop-1.4.2.gemspec"
96 96
   @bundled_specs["activerecord"] = eval(File.read("#{dir}/specifications/activerecord-2.3.4.gemspec"))
97 97
   @bundled_specs["activerecord"].loaded_from = "#{dir}/specifications/activerecord-2.3.4.gemspec"
98 98
   @bundled_specs["rails"] = eval(File.read("#{dir}/specifications/rails-2.3.4.gemspec"))
99 99
   @bundled_specs["rails"].loaded_from = "#{dir}/specifications/rails-2.3.4.gemspec"
100  
-  @bundled_specs["polyglot"] = eval(File.read("#{dir}/specifications/polyglot-0.2.9.gemspec"))
101  
-  @bundled_specs["polyglot"].loaded_from = "#{dir}/specifications/polyglot-0.2.9.gemspec"
102  
-  @bundled_specs["memcache-client"] = eval(File.read("#{dir}/specifications/memcache-client-1.7.5.gemspec"))
103  
-  @bundled_specs["memcache-client"].loaded_from = "#{dir}/specifications/memcache-client-1.7.5.gemspec"
104  
-  @bundled_specs["ambethia-smtp-tls"] = eval(File.read("#{dir}/specifications/ambethia-smtp-tls-1.1.2.gemspec"))
105  
-  @bundled_specs["ambethia-smtp-tls"].loaded_from = "#{dir}/specifications/ambethia-smtp-tls-1.1.2.gemspec"
  100
+  @bundled_specs["nokogiri"] = eval(File.read("#{dir}/specifications/nokogiri-1.4.0.gemspec"))
  101
+  @bundled_specs["nokogiri"].loaded_from = "#{dir}/specifications/nokogiri-1.4.0.gemspec"
  102
+  @bundled_specs["ddollar-pacecar"] = eval(File.read("#{dir}/specifications/ddollar-pacecar-1.1.6.gemspec"))
  103
+  @bundled_specs["ddollar-pacecar"].loaded_from = "#{dir}/specifications/ddollar-pacecar-1.1.6.gemspec"
  104
+  @bundled_specs["fakeweb"] = eval(File.read("#{dir}/specifications/fakeweb-1.2.6.gemspec"))
  105
+  @bundled_specs["fakeweb"].loaded_from = "#{dir}/specifications/fakeweb-1.2.6.gemspec"
  106
+  @bundled_specs["activeresource"] = eval(File.read("#{dir}/specifications/activeresource-2.3.4.gemspec"))
  107
+  @bundled_specs["activeresource"].loaded_from = "#{dir}/specifications/activeresource-2.3.4.gemspec"
106 108
   @bundled_specs["diff-lcs"] = eval(File.read("#{dir}/specifications/diff-lcs-1.1.2.gemspec"))
107 109
   @bundled_specs["diff-lcs"].loaded_from = "#{dir}/specifications/diff-lcs-1.1.2.gemspec"
108 110
   @bundled_specs["rake"] = eval(File.read("#{dir}/specifications/rake-0.8.7.gemspec"))
109 111
   @bundled_specs["rake"].loaded_from = "#{dir}/specifications/rake-0.8.7.gemspec"
110  
-  @bundled_specs["treetop"] = eval(File.read("#{dir}/specifications/treetop-1.4.2.gemspec"))
111  
-  @bundled_specs["treetop"].loaded_from = "#{dir}/specifications/treetop-1.4.2.gemspec"
112  
-  @bundled_specs["rack-cache"] = eval(File.read("#{dir}/specifications/rack-cache-0.5.2.gemspec"))
113  
-  @bundled_specs["rack-cache"].loaded_from = "#{dir}/specifications/rack-cache-0.5.2.gemspec"
114 112
   @bundled_specs["shoulda"] = eval(File.read("#{dir}/specifications/shoulda-2.10.2.gemspec"))
115 113
   @bundled_specs["shoulda"].loaded_from = "#{dir}/specifications/shoulda-2.10.2.gemspec"
116 114
   @bundled_specs["mime-types"] = eval(File.read("#{dir}/specifications/mime-types-1.16.gemspec"))
117 115
   @bundled_specs["mime-types"].loaded_from = "#{dir}/specifications/mime-types-1.16.gemspec"
118  
-  @bundled_specs["rack"] = eval(File.read("#{dir}/specifications/rack-1.0.1.gemspec"))
119  
-  @bundled_specs["rack"].loaded_from = "#{dir}/specifications/rack-1.0.1.gemspec"
120  
-  @bundled_specs["sinatra"] = eval(File.read("#{dir}/specifications/sinatra-0.9.4.gemspec"))
121  
-  @bundled_specs["sinatra"].loaded_from = "#{dir}/specifications/sinatra-0.9.4.gemspec"
  116
+  @bundled_specs["polyglot"] = eval(File.read("#{dir}/specifications/polyglot-0.2.9.gemspec"))
  117
+  @bundled_specs["polyglot"].loaded_from = "#{dir}/specifications/polyglot-0.2.9.gemspec"
122 118
   @bundled_specs["will_paginate"] = eval(File.read("#{dir}/specifications/will_paginate-2.3.11.gemspec"))
123 119
   @bundled_specs["will_paginate"].loaded_from = "#{dir}/specifications/will_paginate-2.3.11.gemspec"
124  
-  @bundled_specs["factory_girl"] = eval(File.read("#{dir}/specifications/factory_girl-1.2.3.gemspec"))
125  
-  @bundled_specs["factory_girl"].loaded_from = "#{dir}/specifications/factory_girl-1.2.3.gemspec"
  120
+  @bundled_specs["sinatra"] = eval(File.read("#{dir}/specifications/sinatra-0.9.4.gemspec"))
  121
+  @bundled_specs["sinatra"].loaded_from = "#{dir}/specifications/sinatra-0.9.4.gemspec"
  122
+  @bundled_specs["rack-cache"] = eval(File.read("#{dir}/specifications/rack-cache-0.5.2.gemspec"))
  123
+  @bundled_specs["rack-cache"].loaded_from = "#{dir}/specifications/rack-cache-0.5.2.gemspec"
  124
+  @bundled_specs["rack"] = eval(File.read("#{dir}/specifications/rack-1.0.1.gemspec"))
  125
+  @bundled_specs["rack"].loaded_from = "#{dir}/specifications/rack-1.0.1.gemspec"
  126
+  @bundled_specs["clearance"] = eval(File.read("#{dir}/specifications/clearance-0.8.2.gemspec"))
  127
+  @bundled_specs["clearance"].loaded_from = "#{dir}/specifications/clearance-0.8.2.gemspec"
126 128
   @bundled_specs["webrat"] = eval(File.read("#{dir}/specifications/webrat-0.5.3.gemspec"))
127 129
   @bundled_specs["webrat"].loaded_from = "#{dir}/specifications/webrat-0.5.3.gemspec"
  130
+  @bundled_specs["factory_girl"] = eval(File.read("#{dir}/specifications/factory_girl-1.2.3.gemspec"))
  131
+  @bundled_specs["factory_girl"].loaded_from = "#{dir}/specifications/factory_girl-1.2.3.gemspec"
128 132
   @bundled_specs["net-ssh"] = eval(File.read("#{dir}/specifications/net-ssh-2.0.15.gemspec"))
129 133
   @bundled_specs["net-ssh"].loaded_from = "#{dir}/specifications/net-ssh-2.0.15.gemspec"
130 134
   @bundled_specs["gchartrb"] = eval(File.read("#{dir}/specifications/gchartrb-0.8.gemspec"))
131 135
   @bundled_specs["gchartrb"].loaded_from = "#{dir}/specifications/gchartrb-0.8.gemspec"
132 136
   @bundled_specs["redgreen"] = eval(File.read("#{dir}/specifications/redgreen-1.2.2.gemspec"))
133 137
   @bundled_specs["redgreen"].loaded_from = "#{dir}/specifications/redgreen-1.2.2.gemspec"
  138
+  @bundled_specs["rack-maintenance"] = eval(File.read("#{dir}/specifications/rack-maintenance-0.3.0.gemspec"))
  139
+  @bundled_specs["rack-maintenance"].loaded_from = "#{dir}/specifications/rack-maintenance-0.3.0.gemspec"
134 140
   @bundled_specs["actionpack"] = eval(File.read("#{dir}/specifications/actionpack-2.3.4.gemspec"))
135 141
   @bundled_specs["actionpack"].loaded_from = "#{dir}/specifications/actionpack-2.3.4.gemspec"
136  
-  @bundled_specs["cucumber"] = eval(File.read("#{dir}/specifications/cucumber-0.3.101.gemspec"))
137  
-  @bundled_specs["cucumber"].loaded_from = "#{dir}/specifications/cucumber-0.3.101.gemspec"
138  
-  @bundled_specs["clearance"] = eval(File.read("#{dir}/specifications/clearance-0.8.2.gemspec"))
139  
-  @bundled_specs["clearance"].loaded_from = "#{dir}/specifications/clearance-0.8.2.gemspec"
140 142
   @bundled_specs["rack-test"] = eval(File.read("#{dir}/specifications/rack-test-0.5.0.gemspec"))
141 143
   @bundled_specs["rack-test"].loaded_from = "#{dir}/specifications/rack-test-0.5.0.gemspec"
  144
+  @bundled_specs["xml-simple"] = eval(File.read("#{dir}/specifications/xml-simple-1.0.12.gemspec"))
  145
+  @bundled_specs["xml-simple"].loaded_from = "#{dir}/specifications/xml-simple-1.0.12.gemspec"
142 146
   @bundled_specs["actionmailer"] = eval(File.read("#{dir}/specifications/actionmailer-2.3.4.gemspec"))
143 147
   @bundled_specs["actionmailer"].loaded_from = "#{dir}/specifications/actionmailer-2.3.4.gemspec"
144  
-  @bundled_specs["net-scp"] = eval(File.read("#{dir}/specifications/net-scp-1.0.2.gemspec"))
145  
-  @bundled_specs["net-scp"].loaded_from = "#{dir}/specifications/net-scp-1.0.2.gemspec"
  148
+  @bundled_specs["term-ansicolor"] = eval(File.read("#{dir}/specifications/term-ansicolor-1.0.4.gemspec"))
  149
+  @bundled_specs["term-ansicolor"].loaded_from = "#{dir}/specifications/term-ansicolor-1.0.4.gemspec"
146 150
   @bundled_specs["activesupport"] = eval(File.read("#{dir}/specifications/activesupport-2.3.4.gemspec"))
147 151
   @bundled_specs["activesupport"].loaded_from = "#{dir}/specifications/activesupport-2.3.4.gemspec"
148  
-  @bundled_specs["aws-s3"] = eval(File.read("#{dir}/specifications/aws-s3-0.6.2.gemspec"))
149  
-  @bundled_specs["aws-s3"].loaded_from = "#{dir}/specifications/aws-s3-0.6.2.gemspec"
  152
+  @bundled_specs["net-scp"] = eval(File.read("#{dir}/specifications/net-scp-1.0.2.gemspec"))
  153
+  @bundled_specs["net-scp"].loaded_from = "#{dir}/specifications/net-scp-1.0.2.gemspec"
150 154
   @bundled_specs["builder"] = eval(File.read("#{dir}/specifications/builder-2.1.2.gemspec"))
151 155
   @bundled_specs["builder"].loaded_from = "#{dir}/specifications/builder-2.1.2.gemspec"
152  
-  @bundled_specs["xml-simple"] = eval(File.read("#{dir}/specifications/xml-simple-1.0.12.gemspec"))
153  
-  @bundled_specs["xml-simple"].loaded_from = "#{dir}/specifications/xml-simple-1.0.12.gemspec"
154  
-  @bundled_specs["nokogiri"] = eval(File.read("#{dir}/specifications/nokogiri-1.3.3.gemspec"))
155  
-  @bundled_specs["nokogiri"].loaded_from = "#{dir}/specifications/nokogiri-1.3.3.gemspec"
  156
+  @bundled_specs["aws-s3"] = eval(File.read("#{dir}/specifications/aws-s3-0.6.2.gemspec"))
  157
+  @bundled_specs["aws-s3"].loaded_from = "#{dir}/specifications/aws-s3-0.6.2.gemspec"
  158
+  @bundled_specs["cucumber"] = eval(File.read("#{dir}/specifications/cucumber-0.3.101.gemspec"))
  159
+  @bundled_specs["cucumber"].loaded_from = "#{dir}/specifications/cucumber-0.3.101.gemspec"
156 160
 
157 161
   def self.add_specs_to_loaded_specs
158 162
     Gem.loaded_specs.merge! @bundled_specs
5  vendor/bundler_gems/gems/rack-maintenance-0.3.0/.document
... ...
@@ -0,0 +1,5 @@
  1
+README.rdoc
  2
+lib/**/*.rb
  3
+bin/*
  4
+features/**/*.feature
  5
+LICENSE
5  vendor/bundler_gems/gems/rack-maintenance-0.3.0/.gitignore
... ...
@@ -0,0 +1,5 @@
  1
+*.sw?
  2
+.DS_Store
  3
+coverage
  4
+rdoc
  5
+pkg
20  vendor/bundler_gems/gems/rack-maintenance-0.3.0/LICENSE
... ...
@@ -0,0 +1,20 @@
  1
+Copyright (c) 2009 David Dollar
  2
+
  3
+Permission is hereby granted, free of charge, to any person obtaining
  4
+a copy of this software and associated documentation files (the
  5
+"Software"), to deal in the Software without restriction, including
  6
+without limitation the rights to use, copy, modify, merge, publish,
  7
+distribute, sublicense, and/or sell copies of the Software, and to
  8
+permit persons to whom the Software is furnished to do so, subject to
  9
+the following conditions:
  10
+
  11
+The above copyright notice and this permission notice shall be
  12
+included in all copies or substantial portions of the Software.
  13
+
  14
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
  15
+EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
  16
+MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
  17
+NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
  18
+LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
  19
+OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
  20
+WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
33  vendor/bundler_gems/gems/rack-maintenance-0.3.0/README.rdoc
Source Rendered
... ...
@@ -0,0 +1,33 @@
  1
+= rack-maintenance
  2
+
  3
+Rack::Maintenance is a simple Rack middleware to detect the existence of a
  4
+maintenance.html page and display that instead of incoming requests.
  5
+
  6
+== Installation
  7
+
  8
+ sudo gem install rack-maintenance
  9
+
  10
+== Usage
  11
+
  12
+ # config/environment.rb
  13
+ config.middleware.use 'Rack::Maintenance',
  14
+   :file => Rails.root.join('public', 'maintenance.html'),
  15
+   :env  => 'MAINTENANCE'
  16
+
  17
+If <tt>:env</tt> is specified, all requests will be shown the
  18
+maintenance page if the environment variable is set.
  19
+
  20
+If <tt>:env</tt> is not specified, the maintenance page will be shown if it exists.
  21
+
  22
+== Note on Patches/Pull Requests
  23
+
  24
+* Fork the project.
  25
+* Make your feature addition or bug fix.
  26
+* Add tests for it. This is important so I don't break it in a
  27
+  future version unintentionally.
  28
+* Commit, do not mess with Rakefile or VERSION (do that in a separate commit if you want a local version)
  29
+* Send me a pull request. Bonus points for topic branches.
  30
+
  31
+== Copyright
  32
+
  33
+Copyright (c) 2009 David Dollar. See LICENSE for details.
45  vendor/bundler_gems/gems/rack-maintenance-0.3.0/Rakefile
... ...
@@ -0,0 +1,45 @@
  1
+require 'rubygems'
  2
+require 'rake'
  3
+
  4
+begin
  5
+  require 'jeweler'
  6
+  Jeweler::Tasks.new do |gem|
  7
+    gem.name = "rack-maintenance"
  8
+    gem.summary = %Q{Detect and show a maintenance page}
  9
+    gem.description = gem.summary
  10
+    gem.email = "<ddollar@gmail.com>"
  11
+    gem.homepage = "http://github.com/ddollar/rack-maintenance"
  12
+    gem.authors = ["David Dollar"]
  13
+    gem.add_development_dependency "rspec"
  14
+    gem.add_development_dependency "yard"
  15
+    gem.add_dependency 'rack', '>= 1.0'
  16
+  end
  17
+  Jeweler::GemcutterTasks.new
  18
+rescue LoadError
  19
+  puts "Jeweler (or a dependency) not available. Install it with: sudo gem install jeweler"
  20
+end
  21
+
  22
+require 'spec/rake/spectask'
  23
+Spec::Rake::SpecTask.new(:spec) do |spec|
  24
+  spec.libs << 'lib' << 'spec'
  25
+  spec.spec_files = FileList['spec/**/*_spec.rb']
  26
+end
  27
+
  28
+Spec::Rake::SpecTask.new(:rcov) do |spec|
  29
+  spec.libs << 'lib' << 'spec'
  30
+  spec.pattern = 'spec/**/*_spec.rb'
  31
+  spec.rcov = true
  32
+end
  33
+
  34
+task :spec => :check_dependencies
  35
+
  36
+task :default => :spec
  37
+
  38
+begin
  39
+  require 'yard'
  40
+  YARD::Rake::YardocTask.new
  41
+rescue LoadError
  42
+  task :yardoc do
  43
+    abort "YARD is not available. In order to run yardoc, you must: sudo gem install yard"
  44
+  end
  45
+end
1  vendor/bundler_gems/gems/rack-maintenance-0.3.0/VERSION
... ...
@@ -0,0 +1 @@
  1
+0.3.0
37  vendor/bundler_gems/gems/rack-maintenance-0.3.0/lib/rack/maintenance.rb
... ...
@@ -0,0 +1,37 @@
  1
+require 'rack'
  2
+
  3
+class Rack::Maintenance
  4
+
  5
+  attr_reader :app, :options
  6
+
  7
+  def initialize(app, options={})
  8
+    @app     = app
  9
+    @options = options
  10
+
  11
+    raise(ArgumentError, 'Must specify a :file') unless options[:file]
  12
+  end
  13
+
  14
+  def call(env)
  15
+    if maintenance?
  16
+      data = File.read(file)
  17
+      [ 503, { 'Content-Type' => 'text/html', 'Content-Length' => data.length.to_s }, [data] ]
  18
+    else
  19
+      app.call(env)
  20
+    end
  21
+  end
  22
+
  23
+private ######################################################################
  24
+
  25
+  def environment
  26
+    options[:env]
  27
+  end
  28
+
  29
+  def file
  30
+    options[:file]
  31
+  end
  32
+
  33
+  def maintenance?
  34
+    environment ? ENV[environment] : File.exists?(file)
  35
+  end
  36
+
  37
+end
59  vendor/bundler_gems/gems/rack-maintenance-0.3.0/rack-maintenance.gemspec
... ...
@@ -0,0 +1,59 @@
  1
+# Generated by jeweler
  2
+# DO NOT EDIT THIS FILE
  3
+# Instead, edit Jeweler::Tasks in Rakefile, and run `rake gemspec`
  4
+# -*- encoding: utf-8 -*-
  5
+
  6
+Gem::Specification.new do |s|
  7
+  s.name = %q{rack-maintenance}
  8
+  s.version = "0.3.0"
  9
+
  10
+  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
  11
+  s.authors = ["David Dollar"]
  12
+  s.date = %q{2009-08-31}
  13
+  s.description = %q{Detect and show a maintenance page}
  14
+  s.email = %q{<ddollar@gmail.com>}
  15
+  s.extra_rdoc_files = [
  16
+    "LICENSE",
  17
+     "README.rdoc"
  18
+  ]
  19
+  s.files = [
  20
+    ".document",
  21
+     ".gitignore",
  22
+     "LICENSE",
  23
+     "README.rdoc",
  24
+     "Rakefile",
  25
+     "VERSION",
  26
+     "lib/rack/maintenance.rb",
  27
+     "rack-maintenance.gemspec",
  28
+     "spec/rack-maintenance_spec.rb",
  29
+     "spec/spec_helper.rb"
  30
+  ]
  31
+  s.homepage = %q{http://github.com/ddollar/rack-maintenance}
  32
+  s.rdoc_options = ["--charset=UTF-8"]
  33
+  s.require_paths = ["lib"]
  34
+  s.rubygems_version = %q{1.3.5}
  35
+  s.summary = %q{Detect and show a maintenance page}
  36
+  s.test_files = [
  37
+    "spec/rack-maintenance_spec.rb",
  38
+     "spec/spec_helper.rb"
  39
+  ]
  40
+
  41
+  if s.respond_to? :specification_version then
  42
+    current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
  43
+    s.specification_version = 3
  44
+
  45
+    if Gem::Version.new(Gem::RubyGemsVersion) >= Gem::Version.new('1.2.0') then
  46
+      s.add_development_dependency(%q<rspec>, [">= 0"])
  47
+      s.add_development_dependency(%q<yard>, [">= 0"])
  48
+      s.add_runtime_dependency(%q<rack>, [">= 1.0"])
  49
+    else
  50
+      s.add_dependency(%q<rspec>, [">= 0"])
  51
+      s.add_dependency(%q<yard>, [">= 0"])
  52
+      s.add_dependency(%q<rack>, [">= 1.0"])
  53
+    end
  54
+  else
  55
+    s.add_dependency(%q<rspec>, [">= 0"])
  56
+    s.add_dependency(%q<yard>, [">= 0"])
  57
+    s.add_dependency(%q<rack>, [">= 1.0"])
  58
+  end
  59
+end
7  vendor/bundler_gems/gems/rack-maintenance-0.3.0/spec/rack-maintenance_spec.rb
... ...
@@ -0,0 +1,7 @@
  1
+require File.expand_path(File.dirname(__FILE__) + '/spec_helper')
  2
+
  3
+describe "RackMaintenance" do
  4
+  it "fails" do
  5
+    fail "hey buddy, you should probably rename this file and start specing for real"
  6
+  end
  7
+end
9  vendor/bundler_gems/gems/rack-maintenance-0.3.0/spec/spec_helper.rb
... ...
@@ -0,0 +1,9 @@
  1
+$LOAD_PATH.unshift(File.dirname(__FILE__))
  2
+$LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..', 'lib'))
  3
+require 'rack-maintenance'
  4
+require 'spec'
  5
+require 'spec/autorun'
  6
+
  7
+Spec::Runner.configure do |config|
  8
+  
  9
+end
50  vendor/bundler_gems/specifications/nokogiri-1.3.3.gemspec
... ...
@@ -1,50 +0,0 @@
1  
-# -*- encoding: utf-8 -*-
2  
-
3  
-Gem::Specification.new do |s|
4  
-  s.name = %q{nokogiri}
5  
-  s.version = "1.3.3"
6  
-
7  
-  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
8  
-  s.authors = ["Aaron Patterson", "Mike Dalessio"]
9  
-  s.date = %q{2009-07-27}
10  
-  s.default_executable = %q{nokogiri}
11  
-  s.description = %q{Nokogiri (鋸) is an HTML, XML, SAX, and Reader parser.  Among Nokogiri's
12  
-many features is the ability to search documents via XPath or CSS3 selectors.
13  
-
14  
-XML is like violence - if it doesn’t solve your problems, you are not using
15  
-enough of it.}
16  
-  s.email = ["aaronp@rubyforge.org", "mike.dalessio@gmail.com"]
17  
-  s.executables = ["nokogiri"]
18  
-  s.extensions = ["ext/nokogiri/extconf.rb"]
19  
-  s.extra_rdoc_files = ["Manifest.txt", "CHANGELOG.ja.rdoc", "CHANGELOG.rdoc", "README.ja.rdoc", "README.rdoc"]
20  
-  s.files = [".autotest", "CHANGELOG.ja.rdoc", "CHANGELOG.rdoc", "Manifest.txt", "README.ja.rdoc", "README.rdoc", "Rakefile", "bin/nokogiri", "ext/nokogiri/extconf.rb", "ext/nokogiri/html_document.c", "ext/nokogiri/html_document.h", "ext/nokogiri/html_element_description.c", "ext/nokogiri/html_element_description.h", "ext/nokogiri/html_entity_lookup.c", "ext/nokogiri/html_entity_lookup.h", "ext/nokogiri/html_sax_parser.c", "ext/nokogiri/html_sax_parser.h", "ext/nokogiri/nokogiri.c", "ext/nokogiri/nokogiri.h", "ext/nokogiri/xml_attr.c", "ext/nokogiri/xml_attr.h", "ext/nokogiri/xml_cdata.c", "ext/nokogiri/xml_cdata.h", "ext/nokogiri/xml_comment.c", "ext/nokogiri/xml_comment.h", "ext/nokogiri/xml_document.c", "ext/nokogiri/xml_document.h", "ext/nokogiri/xml_document_fragment.c", "ext/nokogiri/xml_document_fragment.h", "ext/nokogiri/xml_dtd.c", "ext/nokogiri/xml_dtd.h", "ext/nokogiri/xml_entity_reference.c", "ext/nokogiri/xml_entity_reference.h", "ext/nokogiri/xml_io.c", "ext/nokogiri/xml_io.h", "ext/nokogiri/xml_namespace.c", "ext/nokogiri/xml_namespace.h", "ext/nokogiri/xml_node.c", "ext/nokogiri/xml_node.h", "ext/nokogiri/xml_node_set.c", "ext/nokogiri/xml_node_set.h", "ext/nokogiri/xml_processing_instruction.c", "ext/nokogiri/xml_processing_instruction.h", "ext/nokogiri/xml_reader.c", "ext/nokogiri/xml_reader.h", "ext/nokogiri/xml_relax_ng.c", "ext/nokogiri/xml_relax_ng.h", "ext/nokogiri/xml_sax_parser.c", "ext/nokogiri/xml_sax_parser.h", "ext/nokogiri/xml_sax_push_parser.c", "ext/nokogiri/xml_sax_push_parser.h", "ext/nokogiri/xml_schema.c", "ext/nokogiri/xml_schema.h", "ext/nokogiri/xml_syntax_error.c", "ext/nokogiri/xml_syntax_error.h", "ext/nokogiri/xml_text.c", "ext/nokogiri/xml_text.h", "ext/nokogiri/xml_xpath.c", "ext/nokogiri/xml_xpath.h", "ext/nokogiri/xml_xpath_context.c", "ext/nokogiri/xml_xpath_context.h", "ext/nokogiri/xslt_stylesheet.c", "ext/nokogiri/xslt_stylesheet.h", "lib/action-nokogiri.rb", "lib/nokogiri.rb", "lib/nokogiri/css.rb", "lib/nokogiri/css/generated_parser.rb", "lib/nokogiri/css/generated_tokenizer.rb", "lib/nokogiri/css/node.rb", "lib/nokogiri/css/parser.rb", "lib/nokogiri/css/parser.y", "lib/nokogiri/css/syntax_error.rb", "lib/nokogiri/css/tokenizer.rb", "lib/nokogiri/css/tokenizer.rex", "lib/nokogiri/css/xpath_visitor.rb", "lib/nokogiri/decorators.rb", "lib/nokogiri/decorators/hpricot.rb", "lib/nokogiri/decorators/hpricot/node.rb", "lib/nokogiri/decorators/hpricot/node_set.rb", "lib/nokogiri/decorators/hpricot/xpath_visitor.rb", "lib/nokogiri/decorators/slop.rb", "lib/nokogiri/ffi/html/document.rb", "lib/nokogiri/ffi/html/element_description.rb", "lib/nokogiri/ffi/html/entity_lookup.rb", "lib/nokogiri/ffi/html/sax/parser.rb", "lib/nokogiri/ffi/io_callbacks.rb", "lib/nokogiri/ffi/libxml.rb", "lib/nokogiri/ffi/structs/common_node.rb", "lib/nokogiri/ffi/structs/html_elem_desc.rb", "lib/nokogiri/ffi/structs/html_entity_desc.rb", "lib/nokogiri/ffi/structs/xml_alloc.rb", "lib/nokogiri/ffi/structs/xml_attr.rb", "lib/nokogiri/ffi/structs/xml_buffer.rb", "lib/nokogiri/ffi/structs/xml_document.rb", "lib/nokogiri/ffi/structs/xml_dtd.rb", "lib/nokogiri/ffi/structs/xml_node.rb", "lib/nokogiri/ffi/structs/xml_node_set.rb", "lib/nokogiri/ffi/structs/xml_notation.rb", "lib/nokogiri/ffi/structs/xml_ns.rb", "lib/nokogiri/ffi/structs/xml_relax_ng.rb", "lib/nokogiri/ffi/structs/xml_sax_handler.rb", "lib/nokogiri/ffi/structs/xml_sax_push_parser_context.rb", "lib/nokogiri/ffi/structs/xml_schema.rb", "lib/nokogiri/ffi/structs/xml_syntax_error.rb", "lib/nokogiri/ffi/structs/xml_text_reader.rb", "lib/nokogiri/ffi/structs/xml_xpath_context.rb", "lib/nokogiri/ffi/structs/xml_xpath_object.rb", "lib/nokogiri/ffi/structs/xml_xpath_parser_context.rb", "lib/nokogiri/ffi/structs/xslt_stylesheet.rb", "lib/nokogiri/ffi/xml/attr.rb", "lib/nokogiri/ffi/xml/cdata.rb", "lib/nokogiri/ffi/xml/comment.rb", "lib/nokogiri/ffi/xml/document.rb", "lib/nokogiri/ffi/xml/document_fragment.rb", "lib/nokogiri/ffi/xml/dtd.rb", "lib/nokogiri/ffi/xml/entity_reference.rb", "lib/nokogiri/ffi/xml/namespace.rb", "lib/nokogiri/ffi/xml/node.rb", "lib/nokogiri/ffi/xml/node_set.rb", "lib/nokogiri/ffi/xml/processing_instruction.rb", "lib/nokogiri/ffi/xml/reader.rb", "lib/nokogiri/ffi/xml/relax_ng.rb", "lib/nokogiri/ffi/xml/sax/parser.rb", "lib/nokogiri/ffi/xml/sax/push_parser.rb", "lib/nokogiri/ffi/xml/schema.rb", "lib/nokogiri/ffi/xml/syntax_error.rb", "lib/nokogiri/ffi/xml/text.rb", "lib/nokogiri/ffi/xml/xpath.rb", "lib/nokogiri/ffi/xml/xpath_context.rb", "lib/nokogiri/ffi/xslt/stylesheet.rb", "lib/nokogiri/hpricot.rb", "lib/nokogiri/html.rb", "lib/nokogiri/html/builder.rb", "lib/nokogiri/html/document.rb", "lib/nokogiri/html/document_fragment.rb", "lib/nokogiri/html/element_description.rb", "lib/nokogiri/html/entity_lookup.rb", "lib/nokogiri/html/sax/parser.rb", "lib/nokogiri/syntax_error.rb", "lib/nokogiri/version.rb", "lib/nokogiri/version_warning.rb", "lib/nokogiri/xml.rb", "lib/nokogiri/xml/attr.rb", "lib/nokogiri/xml/builder.rb", "lib/nokogiri/xml/cdata.rb", "lib/nokogiri/xml/document.rb", "lib/nokogiri/xml/document_fragment.rb", "lib/nokogiri/xml/dtd.rb", "lib/nokogiri/xml/entity_declaration.rb", "lib/nokogiri/xml/fragment_handler.rb", "lib/nokogiri/xml/namespace.rb", "lib/nokogiri/xml/node.rb", "lib/nokogiri/xml/node/save_options.rb", "lib/nokogiri/xml/node_set.rb", "lib/nokogiri/xml/notation.rb", "lib/nokogiri/xml/parse_options.rb", "lib/nokogiri/xml/processing_instruction.rb", "lib/nokogiri/xml/reader.rb", "lib/nokogiri/xml/relax_ng.rb", "lib/nokogiri/xml/sax.rb", "lib/nokogiri/xml/sax/document.rb", "lib/nokogiri/xml/sax/legacy_handlers.rb", "lib/nokogiri/xml/sax/parser.rb", "lib/nokogiri/xml/sax/push_parser.rb", "lib/nokogiri/xml/schema.rb", "lib/nokogiri/xml/syntax_error.rb", "lib/nokogiri/xml/xpath.rb", "lib/nokogiri/xml/xpath/syntax_error.rb", "lib/nokogiri/xml/xpath_context.rb", "lib/nokogiri/xslt.rb", "lib/nokogiri/xslt/stylesheet.rb", "lib/xsd/xmlparser/nokogiri.rb", "tasks/test.rb", "test/css/test_nthiness.rb", "test/css/test_parser.rb", "test/css/test_tokenizer.rb", "test/css/test_xpath_visitor.rb", "test/ffi/test_document.rb", "test/files/2ch.html", "test/files/address_book.rlx", "test/files/address_book.xml", "test/files/bar/bar.xsd", "test/files/dont_hurt_em_why.xml", "test/files/exslt.xml", "test/files/exslt.xslt", "test/files/foo/foo.xsd", "test/files/po.xml", "test/files/po.xsd", "test/files/shift_jis.xml", "test/files/snuggles.xml", "test/files/staff.xml", "test/files/staff.xslt", "test/files/tlm.html", "test/files/valid_bar.xml", "test/helper.rb", "test/hpricot/files/basic.xhtml", "test/hpricot/files/boingboing.html", "test/hpricot/files/cy0.html", "test/hpricot/files/immob.html", "test/hpricot/files/pace_application.html", "test/hpricot/files/tenderlove.html", "test/hpricot/files/uswebgen.html", "test/hpricot/files/utf8.html", "test/hpricot/files/week9.html", "test/hpricot/files/why.xml", "test/hpricot/load_files.rb", "test/hpricot/test_alter.rb", "test/hpricot/test_builder.rb", "test/hpricot/test_parser.rb", "test/hpricot/test_paths.rb", "test/hpricot/test_preserved.rb", "test/hpricot/test_xml.rb", "test/html/sax/test_parser.rb", "test/html/test_builder.rb", "test/html/test_document.rb", "test/html/test_document_encoding.rb", "test/html/test_document_fragment.rb", "test/html/test_element_description.rb", "test/html/test_named_characters.rb", "test/html/test_node.rb", "test/test_convert_xpath.rb", "test/test_css_cache.rb", "test/test_gc.rb", "test/test_memory_leak.rb", "test/test_nokogiri.rb", "test/test_reader.rb", "test/test_xslt_transforms.rb", "test/xml/node/test_save_options.rb", "test/xml/node/test_subclass.rb", "test/xml/sax/test_parser.rb", "test/xml/sax/test_push_parser.rb", "test/xml/test_attr.rb", "test/xml/test_builder.rb", "test/xml/test_cdata.rb", "test/xml/test_comment.rb", "test/xml/test_document.rb", "test/xml/test_document_encoding.rb", "test/xml/test_document_fragment.rb", "test/xml/test_dtd.rb", "test/xml/test_dtd_encoding.rb", "test/xml/test_entity_reference.rb", "test/xml/test_namespace.rb", "test/xml/test_node.rb", "test/xml/test_node_attributes.rb", "test/xml/test_node_encoding.rb", "test/xml/test_node_set.rb", "test/xml/test_parse_options.rb", "test/xml/test_processing_instruction.rb", "test/xml/test_reader_encoding.rb", "test/xml/test_relax_ng.rb", "test/xml/test_schema.rb", "test/xml/test_text.rb", "test/xml/test_unparented_node.rb", "test/xml/test_xpath.rb"]
21  
-  s.homepage = %q{http://nokogiri.org/}
22  
-  s.rdoc_options = ["--main", "README.rdoc"]
23  
-  s.require_paths = ["lib", "ext"]
24  
-  s.rubyforge_project = %q{nokogiri}
25  
-  s.rubygems_version = %q{1.3.5}
26  
-  s.summary = %q{Nokogiri (鋸) is an HTML, XML, SAX, and Reader parser}
27  
-  s.test_files = ["test/css/test_nthiness.rb", "test/css/test_parser.rb", "test/css/test_tokenizer.rb", "test/css/test_xpath_visitor.rb", "test/ffi/test_document.rb", "test/hpricot/test_alter.rb", "test/hpricot/test_builder.rb", "test/hpricot/test_parser.rb", "test/hpricot/test_paths.rb", "test/hpricot/test_preserved.rb", "test/hpricot/test_xml.rb", "test/html/sax/test_parser.rb", "test/html/test_builder.rb", "test/html/test_document.rb", "test/html/test_document_encoding.rb", "test/html/test_document_fragment.rb", "test/html/test_element_description.rb", "test/html/test_named_characters.rb", "test/html/test_node.rb", "test/test_convert_xpath.rb", "test/test_css_cache.rb", "test/test_gc.rb", "test/test_memory_leak.rb", "test/test_nokogiri.rb", "test/test_reader.rb", "test/test_xslt_transforms.rb", "test/xml/node/test_save_options.rb", "test/xml/node/test_subclass.rb", "test/xml/sax/test_parser.rb", "test/xml/sax/test_push_parser.rb", "test/xml/test_attr.rb", "test/xml/test_builder.rb", "test/xml/test_cdata.rb", "test/xml/test_comment.rb", "test/xml/test_document.rb", "test/xml/test_document_encoding.rb", "test/xml/test_document_fragment.rb", "test/xml/test_dtd.rb", "test/xml/test_dtd_encoding.rb", "test/xml/test_entity_reference.rb", "test/xml/test_namespace.rb", "test/xml/test_node.rb", "test/xml/test_node_attributes.rb", "test/xml/test_node_encoding.rb", "test/xml/test_node_set.rb", "test/xml/test_parse_options.rb", "test/xml/test_processing_instruction.rb", "test/xml/test_reader_encoding.rb", "test/xml/test_relax_ng.rb", "test/xml/test_schema.rb", "test/xml/test_text.rb", "test/xml/test_unparented_node.rb", "test/xml/test_xpath.rb"]
28  
-
29  
-  if s.respond_to? :specification_version then
30  
-    current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
31  
-    s.specification_version = 3
32  
-
33  
-    if Gem::Version.new(Gem::RubyGemsVersion) >= Gem::Version.new('1.2.0') then
34  
-      s.add_development_dependency(%q<racc>, [">= 0"])
35  
-      s.add_development_dependency(%q<rexical>, [">= 0"])
36  
-      s.add_development_dependency(%q<rake-compiler>, [">= 0"])
37  
-      s.add_development_dependency(%q<hoe>, [">= 2.3.2"])
38  
-    else
39  
-      s.add_dependency(%q<racc>, [">= 0"])
40  
-      s.add_dependency(%q<rexical>, [">= 0"])
41  
-      s.add_dependency(%q<rake-compiler>, [">= 0"])
42  
-      s.add_dependency(%q<hoe>, [">= 2.3.2"])
43  
-    end
44  
-  else
45  
-    s.add_dependency(%q<racc>, [">= 0"])
46  
-    s.add_dependency(%q<rexical>, [">= 0"])
47  
-    s.add_dependency(%q<rake-compiler>, [">= 0"])
48  
-    s.add_dependency(%q<hoe>, [">= 2.3.2"])
49  
-  end
50  
-end
39  vendor/bundler_gems/specifications/rack-maintenance-0.3.0.gemspec
... ...
@@ -0,0 +1,39 @@
  1
+# -*- encoding: utf-8 -*-
  2
+
  3
+Gem::Specification.new do |s|
  4
+  s.name = %q{rack-maintenance}
  5
+  s.version = "0.3.0"
  6
+
  7
+  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
  8
+  s.authors = ["David Dollar"]
  9
+  s.date = %q{2009-08-31}
  10
+  s.description = %q{Detect and show a maintenance page}
  11
+  s.email = %q{<ddollar@gmail.com>}
  12
+  s.extra_rdoc_files = ["LICENSE", "README.rdoc"]
  13
+  s.files = [".document", ".gitignore", "LICENSE", "README.rdoc", "Rakefile", "VERSION", "lib/rack/maintenance.rb", "rack-maintenance.gemspec", "spec/rack-maintenance_spec.rb", "spec/spec_helper.rb"]
  14
+  s.homepage = %q{http://github.com/ddollar/rack-maintenance}
  15
+  s.rdoc_options = ["--charset=UTF-8"]
  16
+  s.require_paths = ["lib"]
  17
+  s.rubygems_version = %q{1.3.5}
  18
+  s.summary = %q{Detect and show a maintenance page}
  19
+  s.test_files = ["spec/rack-maintenance_spec.rb", "spec/spec_helper.rb"]
  20
+
  21
+  if s.respond_to? :specification_version then
  22
+    current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
  23
+    s.specification_version = 3
  24
+
  25
+    if Gem::Version.new(Gem::RubyGemsVersion) >= Gem::Version.new('1.2.0') then
  26
+      s.add_development_dependency(%q<rspec>, [">= 0"])
  27
+      s.add_development_dependency(%q<yard>, [">= 0"])
  28
+      s.add_runtime_dependency(%q<rack>, [">= 1.0"])
  29
+    else
  30
+      s.add_dependency(%q<rspec>, [">= 0"])
  31
+      s.add_dependency(%q<yard>, [">= 0"])
  32
+      s.add_dependency(%q<rack>, [">= 1.0"])
  33
+    end
  34
+  else
  35
+    s.add_dependency(%q<rspec>, [">= 0"])
  36
+    s.add_dependency(%q<yard>, [">= 0"])
  37
+    s.add_dependency(%q<rack>, [">= 1.0"])
  38
+  end
  39
+end

0 notes on commit 4de2950

Please sign in to comment.
Something went wrong with that request. Please try again.