Skip to content
This repository has been archived by the owner on Jan 5, 2024. It is now read-only.

Commit

Permalink
Add bundler dependency for building/testing
Browse files Browse the repository at this point in the history
  • Loading branch information
dwaite committed Jun 13, 2010
1 parent 509cc4a commit 3da6bf1
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 5 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -2,3 +2,4 @@
*.*proj *.*proj
pkg pkg
doc doc
.bundle
10 changes: 10 additions & 0 deletions Gemfile
Original file line number Original file line Diff line number Diff line change
@@ -0,0 +1,10 @@
source "http://rubygems.org"

group :build do
gem "yard"
end

group :test do
gem "json"
gem "rspec"
end
4 changes: 3 additions & 1 deletion Rakefile
Original file line number Original file line Diff line number Diff line change
@@ -1,4 +1,6 @@
require 'rubygems' require 'rubygems'
require 'bundler'
Bundler.setup(:default,:build,:test)


require 'rake' require 'rake'
require 'rake/clean' require 'rake/clean'
Expand Down Expand Up @@ -32,7 +34,7 @@ task :test => :spec


spec = Gem::Specification.new do |s| spec = Gem::Specification.new do |s|
s.name = 'cookiejar' s.name = 'cookiejar'
s.version = '0.2.9' s.version = '0.2.9.pre'
s.summary = "Client-side HTTP Cookie library" s.summary = "Client-side HTTP Cookie library"
s.description = s.description =
%{Allows for parsing and returning cookies in Ruby HTTP client code} %{Allows for parsing and returning cookies in Ruby HTTP client code}
Expand Down
8 changes: 4 additions & 4 deletions cookiejar.gemspec
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -2,25 +2,25 @@


Gem::Specification.new do |s| Gem::Specification.new do |s|
s.name = %q{cookiejar} s.name = %q{cookiejar}
s.version = "0.2.9" s.version = "0.3.0.pre"


s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version= s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
s.authors = ["David Waite"] s.authors = ["David Waite"]
s.date = %q{2009-09-27} s.date = %q{2010-06-12}
s.description = %q{Allows for parsing and returning cookies in Ruby HTTP client code} s.description = %q{Allows for parsing and returning cookies in Ruby HTTP client code}
s.email = %q{david@alkaline-solutions.com} s.email = %q{david@alkaline-solutions.com}
s.files = ["lib/cookiejar/cookie.rb", "lib/cookiejar/cookie_validation.rb", "lib/cookiejar/jar.rb", "lib/cookiejar.rb", "test/cookie_test.rb", "test/cookie_validation_test.rb", "test/jar_test.rb"] s.files = ["lib/cookiejar/cookie.rb", "lib/cookiejar/cookie_validation.rb", "lib/cookiejar/jar.rb", "lib/cookiejar.rb", "test/cookie_test.rb", "test/cookie_validation_test.rb", "test/jar_test.rb"]
s.homepage = %q{http://alkaline-solutions.com} s.homepage = %q{http://alkaline-solutions.com}
s.rdoc_options = ["--title", "CookieJar -- Client-side HTTP Cookies"] s.rdoc_options = ["--title", "CookieJar -- Client-side HTTP Cookies"]
s.require_paths = ["lib"] s.require_paths = ["lib"]
s.rubygems_version = %q{1.3.5} s.rubygems_version = %q{1.3.7}
s.summary = %q{Client-side HTTP Cookie library} s.summary = %q{Client-side HTTP Cookie library}


if s.respond_to? :specification_version then if s.respond_to? :specification_version then
current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
s.specification_version = 3 s.specification_version = 3


if Gem::Version.new(Gem::RubyGemsVersion) >= Gem::Version.new('1.2.0') then if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
else else
end end
else else
Expand Down

0 comments on commit 3da6bf1

Please sign in to comment.