Skip to content

Commit

Permalink
Fixed gem requirement issue. Dang.
Browse files Browse the repository at this point in the history
  • Loading branch information
jnunemaker committed Mar 29, 2009
1 parent 2d85b7b commit f53cc60
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 21 deletions.
4 changes: 4 additions & 0 deletions History
@@ -1,3 +1,7 @@
== 0.4.1 2009-03-29
* 1 minor fix
* gem 'jnunemaker-crack' instead of gem 'crack'

== 0.4.0 2009-03-29 == 0.4.0 2009-03-29
* 1 minor change * 1 minor change
* Switched xml and json parsing to crack (same code as before just moved to gem for easier reuse in other projects) * Switched xml and json parsing to crack (same code as before just moved to gem for easier reuse in other projects)
Expand Down
22 changes: 3 additions & 19 deletions httparty.gemspec
Expand Up @@ -2,7 +2,7 @@


Gem::Specification.new do |s| Gem::Specification.new do |s|
s.name = %q{httparty} s.name = %q{httparty}
s.version = "0.4.0" s.version = "0.4.1"


s.required_rubygems_version = Gem::Requirement.new(">= 1.2") if s.respond_to? :required_rubygems_version= s.required_rubygems_version = Gem::Requirement.new(">= 1.2") if s.respond_to? :required_rubygems_version=
s.authors = ["John Nunemaker"] s.authors = ["John Nunemaker"]
Expand All @@ -11,8 +11,8 @@ Gem::Specification.new do |s|
s.description = %q{Makes http fun! Also, makes consuming restful web services dead easy.} s.description = %q{Makes http fun! Also, makes consuming restful web services dead easy.}
s.email = %q{nunemaker@gmail.com} s.email = %q{nunemaker@gmail.com}
s.executables = ["httparty"] s.executables = ["httparty"]
s.extra_rdoc_files = ["bin/httparty", "lib/core_extensions.rb", "lib/httparty/cookie_hash.rb", "lib/httparty/exceptions.rb", "lib/httparty/module_inheritable_attributes.rb", "lib/httparty/parsers/json.rb", "lib/httparty/parsers/xml.rb", "lib/httparty/parsers.rb", "lib/httparty/request.rb", "lib/httparty/response.rb", "lib/httparty/version.rb", "lib/httparty.rb", "README"] s.extra_rdoc_files = ["bin/httparty", "lib/httparty/cookie_hash.rb", "lib/httparty/core_extensions.rb", "lib/httparty/exceptions.rb", "lib/httparty/module_inheritable_attributes.rb", "lib/httparty/request.rb", "lib/httparty/response.rb", "lib/httparty/version.rb", "lib/httparty.rb", "README"]
s.files = ["bin/httparty", "cucumber.yml", "examples/aaws.rb", "examples/basic.rb", "examples/delicious.rb", "examples/google.rb", "examples/rubyurl.rb", "examples/twitter.rb", "examples/whoismyrep.rb", "features/basic_authentication.feature", "features/command_line.feature", "features/deals_with_http_error_codes.feature", "features/handles_multiple_formats.feature", "features/steps/env.rb", "features/steps/httparty_response_steps.rb", "features/steps/httparty_steps.rb", "features/steps/mongrel_helper.rb", "features/steps/remote_service_steps.rb", "features/supports_redirection.feature", "History", "httparty.gemspec", "lib/core_extensions.rb", "lib/httparty/cookie_hash.rb", "lib/httparty/exceptions.rb", "lib/httparty/module_inheritable_attributes.rb", "lib/httparty/parsers/json.rb", "lib/httparty/parsers/xml.rb", "lib/httparty/parsers.rb", "lib/httparty/request.rb", "lib/httparty/response.rb", "lib/httparty/version.rb", "lib/httparty.rb", "Manifest", "MIT-LICENSE", "Rakefile", "README", "setup.rb", "spec/fixtures/delicious.xml", "spec/fixtures/empty.xml", "spec/fixtures/google.html", "spec/fixtures/twitter.json", "spec/fixtures/twitter.xml", "spec/fixtures/undefined_method_add_node_for_nil.xml", "spec/hash_spec.rb", "spec/httparty/cookie_hash_spec.rb", "spec/httparty/parsers/json_spec.rb", "spec/httparty/parsers/xml_spec.rb", "spec/httparty/request_spec.rb", "spec/httparty/response_spec.rb", "spec/httparty_spec.rb", "spec/spec.opts", "spec/spec_helper.rb", "spec/string_spec.rb", "website/css/common.css", "website/index.html"] s.files = ["bin/httparty", "cucumber.yml", "examples/aaws.rb", "examples/basic.rb", "examples/delicious.rb", "examples/google.rb", "examples/rubyurl.rb", "examples/twitter.rb", "examples/whoismyrep.rb", "features/basic_authentication.feature", "features/command_line.feature", "features/deals_with_http_error_codes.feature", "features/handles_multiple_formats.feature", "features/steps/env.rb", "features/steps/httparty_response_steps.rb", "features/steps/httparty_steps.rb", "features/steps/mongrel_helper.rb", "features/steps/remote_service_steps.rb", "features/supports_redirection.feature", "History", "httparty.gemspec", "lib/httparty/cookie_hash.rb", "lib/httparty/core_extensions.rb", "lib/httparty/exceptions.rb", "lib/httparty/module_inheritable_attributes.rb", "lib/httparty/request.rb", "lib/httparty/response.rb", "lib/httparty/version.rb", "lib/httparty.rb", "Manifest", "MIT-LICENSE", "Rakefile", "README", "setup.rb", "spec/fixtures/delicious.xml", "spec/fixtures/empty.xml", "spec/fixtures/google.html", "spec/fixtures/twitter.json", "spec/fixtures/twitter.xml", "spec/fixtures/undefined_method_add_node_for_nil.xml", "spec/hash_spec.rb", "spec/httparty/cookie_hash_spec.rb", "spec/httparty/request_spec.rb", "spec/httparty/response_spec.rb", "spec/httparty_spec.rb", "spec/spec.opts", "spec/spec_helper.rb", "spec/string_spec.rb", "website/css/common.css", "website/index.html"]
s.has_rdoc = true s.has_rdoc = true
s.homepage = %q{http://httparty.rubyforge.org} s.homepage = %q{http://httparty.rubyforge.org}
s.post_install_message = %q{When you HTTParty, you must party hard!} s.post_install_message = %q{When you HTTParty, you must party hard!}
Expand All @@ -21,20 +21,4 @@ Gem::Specification.new do |s|
s.rubyforge_project = %q{httparty} s.rubyforge_project = %q{httparty}
s.rubygems_version = %q{1.3.1} s.rubygems_version = %q{1.3.1}
s.summary = %q{Makes http fun! Also, makes consuming restful web services dead easy.} s.summary = %q{Makes http fun! Also, makes consuming restful web services dead easy.}

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

if Gem::Version.new(Gem::RubyGemsVersion) >= Gem::Version.new('1.2.0') then
s.add_runtime_dependency(%q<jnunemaker-crack>, [">= 0.1.0"])
s.add_development_dependency(%q<echoe>, [">= 0"])
else
s.add_dependency(%q<jnunemaker-crack>, [">= 0.1.0"])
s.add_dependency(%q<echoe>, [">= 0"])
end
else
s.add_dependency(%q<jnunemaker-crack>, [">= 0.1.0"])
s.add_dependency(%q<echoe>, [">= 0"])
end
end end
2 changes: 1 addition & 1 deletion lib/httparty.rb
Expand Up @@ -4,7 +4,7 @@
require 'net/https' require 'net/https'
require 'httparty/module_inheritable_attributes' require 'httparty/module_inheritable_attributes'
require 'rubygems' require 'rubygems'
gem 'crack' gem 'jnunemaker-crack'
require 'crack' require 'crack'


module HTTParty module HTTParty
Expand Down
2 changes: 1 addition & 1 deletion lib/httparty/version.rb
@@ -1,3 +1,3 @@
module HTTParty #:nodoc: module HTTParty #:nodoc:
Version = '0.4.0' Version = '0.4.1'
end end

1 comment on commit f53cc60

@bkerley
Copy link

@bkerley bkerley commented on f53cc60 Apr 2, 2009

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you make the rubyforge version of this gem not depend on a gem only available at github? It kind of breaks gem dependency management in some situations.

Please sign in to comment.