Skip to content

Commit

Permalink
Initial project commit
Browse files Browse the repository at this point in the history
  • Loading branch information
Jason Goecke committed Aug 25, 2009
0 parents commit 3d7f535
Show file tree
Hide file tree
Showing 479 changed files with 78,628 additions and 0 deletions.
19 changes: 19 additions & 0 deletions .gems/bin/rackup
@@ -0,0 +1,19 @@
#!file:/opt/local/lib/ruby/gems/1.8/gems/appengine-jruby-jars-0.0.2/lib/appengine-jruby-0.0.2.jar!/META-INF/jruby.home/bin/jruby
#
# This file was generated by RubyGems.
#
# The application 'rack' is installed as part of a gem, and
# this file is here to facilitate running it.
#

require 'rubygems'

version = ">= 0"

if ARGV.first =~ /^_(.*)_$/ and Gem::Version.correct? $1 then
version = $1
ARGV.shift
end

gem 'rack', version
load Gem.bin_path('rack', 'rackup', version)
Binary file added .gems/cache/addressable-2.1.0.gem
Binary file not shown.
Binary file added .gems/cache/appengine-apis-0.0.8.gem
Binary file not shown.
Binary file added .gems/cache/crack-0.1.4.gem
Binary file not shown.
Binary file added .gems/cache/dm-appengine-0.0.3.gem
Binary file not shown.
Binary file added .gems/cache/dm-core-0.10.0.gem
Binary file not shown.
Binary file added .gems/cache/extlib-0.9.13.gem
Binary file not shown.
Binary file added .gems/cache/rack-1.0.0.gem
Binary file not shown.
Binary file added .gems/cache/sinatra-0.9.4.gem
Binary file not shown.
73 changes: 73 additions & 0 deletions .gems/gems/addressable-2.1.0/CHANGELOG
@@ -0,0 +1,73 @@
=== Addressable 2.1.0
* refactored URI template support out into its own class
* removed extract method due to being useless and unreliable
* removed Addressable::URI.expand_template
* removed Addressable::URI#extract_mapping
* added partial template expansion
* fixed minor bugs in the parse and heuristic_parse methods
* fixed incompatibility with Ruby 1.9.1
* fixed bottleneck in Addressable::URI#hash and Addressable::URI#to_s
* fixed unicode normalization exception
* updated query_values methods to better handle subscript notation
* worked around issue with freezing URIs
* improved specs

=== Addressable 2.0.2
* fixed issue with URI template expansion
* fixed issue with percent escaping characters 0-15

=== Addressable 2.0.1
* fixed issue with query string assignment
* fixed issue with improperly encoded components

=== Addressable 2.0.0
* the initialize method now takes an options hash as its only parameter
* added query_values method to URI class
* completely replaced IDNA implementation with pure Ruby
* renamed Addressable::ADDRESSABLE_VERSION to Addressable::VERSION
* completely reworked the Rakefile
* changed the behavior of the port method significantly
* Addressable::URI.encode_segment, Addressable::URI.unencode_segment renamed
* documentation is now in YARD format
* more rigorous type checking
* to_str method implemented, implicit conversion to Strings now allowed
* Addressable::URI#omit method added, Addressable::URI#merge method replaced
* updated URI Template code to match v 03 of the draft spec
* added a bunch of new specifications

=== Addressable 1.0.4
* switched to using RSpec's pending system for specs that rely on IDN
* fixed issue with creating URIs with paths that are not prefixed with '/'

=== Addressable 1.0.3
* implemented a hash method

=== Addressable 1.0.2
* fixed minor bug with the extract_mapping method

=== Addressable 1.0.1
* fixed minor bug with the extract_mapping method

=== Addressable 1.0.0
* heuristic parse method added
* parsing is slightly more strict
* replaced to_h with to_hash
* fixed routing methods
* improved specifications
* improved heckle rake task
* no surviving heckle mutations

=== Addressable 0.1.2
* improved normalization
* fixed bug in joining algorithm
* updated specifications

=== Addressable 0.1.1
* updated documentation
* added URI Template variable extraction

=== Addressable 0.1.0
* initial release
* implementation based on RFC 3986, 3987
* support for IRIs via libidn
* support for the URI Template draft spec
20 changes: 20 additions & 0 deletions .gems/gems/addressable-2.1.0/LICENSE
@@ -0,0 +1,20 @@
Addressable, Copyright (c) 2006-2008 Bob Aman

Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
"Software"), to deal in the Software without restriction, including
without limitation the rights to use, copy, modify, merge, publish,
distribute, sublicense, and/or sell copies of the Software, and to
permit persons to whom the Software is furnished to do so, subject to
the following conditions:

The above copyright notice and this permission notice shall be
included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
50 changes: 50 additions & 0 deletions .gems/gems/addressable-2.1.0/README
@@ -0,0 +1,50 @@
Addressable is a replacement for the URI implementation that is part of
Ruby's standard library. It more closely conforms to the relevant RFCs and
adds support for IRIs and URI templates. Additionally, it provides extensive
support for URI templates.

Example usage:

require "addressable/uri"

uri = Addressable::URI.parse("http://example.com/path/to/resource/")
uri.scheme
#=> "http"
uri.host
#=> "example.com"
uri.path
#=> "/path/to/resource/"

uri = Addressable::URI.parse("http://www.詹姆斯.com/")
uri.normalize
#=> #<Addressable::URI:0xc9a4c8 URI:http://www.xn--8ws00zhy3a.com/>

require "addressable/template"

template = Addressable::Template.new("http://example.com/{-list|+|query}/")
template.expand({
"query" => "an example query".split(" ")
})
#=> #<Addressable::URI:0xc9d95c URI:http://example.com/an+example+query/>

template = Addressable::Template.new(
"http://example.com/{-join|&|one,two,three}/"
)
template.partial_expand({"one" => "1", "three" => 3}).pattern
#=> "http://example.com/?one=1{-prefix|&two=|two}&three=3"

template = Addressable::Template.new(
"http://{host}/{-suffix|/|segments}?{-join|&|one,two,bogus}\#{fragment}"
)
uri = Addressable::URI.parse(
"http://example.com/a/b/c/?one=1&two=2#foo"
)
template.extract(uri)
#=>
# {
# "host" => "example.com",
# "segments" => ["a", "b", "c"],
# "one" => "1",
# "two" => "2",
# "fragment" => "foo"
# }
50 changes: 50 additions & 0 deletions .gems/gems/addressable-2.1.0/Rakefile
@@ -0,0 +1,50 @@
lib_dir = File.expand_path(File.join(File.dirname(__FILE__), "lib"))
$:.unshift(lib_dir)
$:.uniq!

require 'rubygems'
require 'rake'
require 'rake/testtask'
require 'rake/rdoctask'
require 'rake/packagetask'
require 'rake/gempackagetask'
require 'spec/rake/spectask'

require File.join(File.dirname(__FILE__), 'lib/addressable', 'version')

PKG_DISPLAY_NAME = 'Addressable'
PKG_NAME = PKG_DISPLAY_NAME.downcase
PKG_VERSION = Addressable::VERSION::STRING
PKG_FILE_NAME = "#{PKG_NAME}-#{PKG_VERSION}"

RELEASE_NAME = "REL #{PKG_VERSION}"

RUBY_FORGE_PROJECT = PKG_NAME
RUBY_FORGE_USER = "sporkmonger"
RUBY_FORGE_PATH = "/var/www/gforge-projects/#{RUBY_FORGE_PROJECT}"
RUBY_FORGE_URL = "http://#{RUBY_FORGE_PROJECT}.rubyforge.org/"

PKG_SUMMARY = "URI Implementation"
PKG_DESCRIPTION = <<-TEXT
Addressable is a replacement for the URI implementation that is part of
Ruby's standard library. It more closely conforms to the relevant RFCs and
adds support for IRIs and URI templates.
TEXT

PKG_FILES = FileList[
"lib/**/*", "spec/**/*", "vendor/**/*",
"tasks/**/*", "website/**/*",
"[A-Z]*", "Rakefile"
].exclude(/database\.yml/).exclude(/[_\.]git$/)

RCOV_ENABLED = (RUBY_PLATFORM != "java" && RUBY_VERSION =~ /^1\.8/)
if RCOV_ENABLED
task :default => "spec:verify"
else
task :default => "spec"
end

WINDOWS = (RUBY_PLATFORM =~ /mswin|win32|mingw|bccwin|cygwin/) rescue false
SUDO = WINDOWS ? '' : ('sudo' unless ENV['SUDOLESS'])

Dir['tasks/**/*.rake'].each { |rake| load rake }

0 comments on commit 3d7f535

Please sign in to comment.