Changeset 2653 for lang/ruby/ssb
- Timestamp:
- 12/06/07 18:57:36 (13 months ago)
- Location:
- lang/ruby/ssb/trunk
- Files:
-
- 3 modified
-
libs/ssb/ktai_spec.rb (modified) (1 diff)
-
libs/ssb/request.rb (modified) (3 diffs)
-
public_html/stylesheets/ssb.css (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
lang/ruby/ssb/trunk/libs/ssb/ktai_spec.rb
r2527 r2653 108 108 def get_transformed_uri(uri) 109 109 return nil if uri.nil? 110 uri = URI.parse(uri) unless uri. instance_of?(URI::HTTP)110 uri = URI.parse(uri) unless uri.kind_of?(URI) 111 111 112 112 return uri unless get_carrier == CARRIER_DOCOMO -
lang/ruby/ssb/trunk/libs/ssb/request.rb
r2526 r2653 8 8 require 'cgi' 9 9 require 'net/http' 10 require 'net/https' 10 11 require 'nkf' 11 12 require 'ssb/misc' … … 59 60 def execute 60 61 response = nil 61 http_class(@http_proxy).start(@uri.host.untaint, @uri.port.untaint) do |http| 62 63 http = http_class(@http_proxy).new(@uri.host.untaint, @uri.port.untaint) 64 if @uri.scheme == 'https' 65 http.use_ssl = true 66 http.verify_mode = OpenSSL::SSL::VERIFY_NONE 67 end 68 http.start do 62 69 case method 63 70 when 'GET' … … 91 98 92 99 uri_base = SSB::CONFIG[:default_uri] if uri_base.nil? || uri_base == '' 93 uri_base = 'http://' + uri_base unless uri_base =~ /http:\/\//i100 uri_base = 'http://' + uri_base unless uri_base =~ %r|https?://| 94 101 95 102 begin -
lang/ruby/ssb/trunk/public_html/stylesheets/ssb.css
r2415 r2653 78 78 #client #sidebar #status_bar { 79 79 width: 240px; 80 height: 100px; 80 min-height: 100px; 81 margin-bottom: 10px; 81 82 float: left; 82 83 font-size: x-small; … … 85 86 #client #sidebar #status_bar #qrcode { 86 87 float: left; 87 width: 100px;88 height: 120px;88 min-width: 100px; 89 min-height: 100px; 89 90 } 90 91
![(please configure the [header_logo] section in trac.ini)](/share/chrome/site/your_project_logo.png)