cm-httpclient 1.0.3 → 1.0.4

Sign up to get free protection for your applications and to get access to all the features.
data/httpclient.gemspec CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  Gem::Specification.new do |s|
4
4
  s.name = %q{httpclient}
5
- s.version = "1.0.3"
5
+ s.version = "1.0.4"
6
6
 
7
7
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
8
8
  s.authors = ["pedro gutierrez"]
@@ -18,29 +18,14 @@ Gem::Specification.new do |s|
18
18
  lib/httpclient/httpclient.rb
19
19
  ]
20
20
 
21
-
22
21
  s.has_rdoc = true
23
22
  s.homepage = %q{http://codemutiny.tumblr.com}
24
23
  s.rdoc_options = ["--inline-source", "--charset=UTF-8"]
25
24
  s.require_paths = ["lib"]
26
25
  s.rubyforge_project = %q{cm-httpclient}
27
- s.rubygems_version = %q{1.0.3}
26
+ s.rubygems_version = %q{1.0.4}
28
27
  s.summary = %q{a simple httpclient}
29
28
  s.add_dependency( %q<json>, [">= 1.1.6"])
30
29
 
31
- #if s.respond_to? :specification_version then
32
- # current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
33
- # s.specification_version = 2
34
-
35
- # if Gem::Version.new(Gem::RubyGemsVersion) >= Gem::Version.new('1.2.0') then
36
- # s.add_runtime_dependency(%q<mime-types>, [">= 1.15"])
37
- # s.add_runtime_dependency(%q<diff-lcs>, [">= 1.1.2"])
38
- # else
39
- # s.add_dependency(%q<mime-types>, [">= 1.15"])
40
- # s.add_dependency(%q<diff-lcs>, [">= 1.1.2"])
41
- # end
42
- #else
43
- # s.add_dependency(%q<mime-types>, [">= 1.15"])
44
- # s.add_dependency(%q<diff-lcs>, [">= 1.1.2"])
45
- #end
30
+
46
31
  end
@@ -22,6 +22,8 @@ class Hash
22
22
  self.replace(r)
23
23
  end
24
24
 
25
+ # So that we can access hash values
26
+ # as instance methods
25
27
  def method_missing( name, *args )
26
28
  return self[name.to_s] if self[name.to_s]
27
29
  super( name, *args )
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cm-httpclient
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.3
4
+ version: 1.0.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - pedro gutierrez