jnunemaker-httparty 0.2.2 → 0.2.3
Sign up to get free protection for your applications and to get access to all the features.
- data/History +4 -0
- data/README +2 -2
- data/httparty.gemspec +2 -2
- data/lib/core_extensions.rb +2 -2
- data/lib/httparty/version.rb +1 -1
- data/website/index.html +2 -11
- metadata +2 -2
data/History
CHANGED
data/README
CHANGED
@@ -6,7 +6,7 @@ Makes http fun again!
|
|
6
6
|
|
7
7
|
== FEATURES:
|
8
8
|
|
9
|
-
* Easy get, post
|
9
|
+
* Easy get, post requests
|
10
10
|
* Basic http authentication
|
11
11
|
* Default request query string parameters (ie: for api keys that are needed on each request)
|
12
12
|
* Automatic parsing of JSON and XML into ruby hashes based on response content-type
|
@@ -17,7 +17,7 @@ See http://github.com/jnunemaker/httparty/tree/master/examples
|
|
17
17
|
|
18
18
|
== REQUIREMENTS:
|
19
19
|
|
20
|
-
*
|
20
|
+
* JSON ~> 1.1
|
21
21
|
|
22
22
|
== INSTALL:
|
23
23
|
|
data/httparty.gemspec
CHANGED
@@ -2,11 +2,11 @@
|
|
2
2
|
|
3
3
|
Gem::Specification.new do |s|
|
4
4
|
s.name = %q{httparty}
|
5
|
-
s.version = "0.2.
|
5
|
+
s.version = "0.2.3"
|
6
6
|
|
7
7
|
s.required_rubygems_version = Gem::Requirement.new(">= 1.2") if s.respond_to? :required_rubygems_version=
|
8
8
|
s.authors = ["John Nunemaker"]
|
9
|
-
s.date = %q{2008-12-
|
9
|
+
s.date = %q{2008-12-23}
|
10
10
|
s.description = %q{Makes http fun! Also, makes consuming restful web services dead easy.}
|
11
11
|
s.email = %q{nunemaker@gmail.com}
|
12
12
|
s.extra_rdoc_files = ["lib/core_extensions.rb", "lib/httparty/exceptions.rb", "lib/httparty/request.rb", "lib/httparty/version.rb", "lib/httparty.rb", "lib/module_level_inheritable_attributes.rb", "README"]
|
data/lib/core_extensions.rb
CHANGED
@@ -100,11 +100,11 @@ class REXMLUtilityNode
|
|
100
100
|
end
|
101
101
|
|
102
102
|
def self.available_typecasts
|
103
|
-
@@
|
103
|
+
@@available_typecasts
|
104
104
|
end
|
105
105
|
|
106
106
|
def self.available_typecasts=(obj)
|
107
|
-
@@
|
107
|
+
@@available_typecasts = obj
|
108
108
|
end
|
109
109
|
|
110
110
|
self.typecasts = {}
|
data/lib/httparty/version.rb
CHANGED
data/website/index.html
CHANGED
@@ -65,19 +65,10 @@ Twitter.new('username', 'password').post("It's an HTTParty and everyone is invit
|
|
65
65
|
</div>
|
66
66
|
|
67
67
|
<div id="footer">
|
68
|
-
<p>Created by <a href="http://addictedtonew.com/about/">John Nunemaker</a
|
68
|
+
<p>Created by <a href="http://addictedtonew.com/about/">John Nunemaker</a> |
|
69
|
+
<a href="http://orderedlist.com/">Hire Me at Ordered List</a></p>
|
69
70
|
</div>
|
70
71
|
</div>
|
71
|
-
|
72
|
-
<script type="text/javascript">
|
73
|
-
var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
|
74
|
-
document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
|
75
|
-
</script>
|
76
|
-
<script type="text/javascript">
|
77
|
-
var pageTracker = _gat._getTracker("UA-85301-19");
|
78
|
-
pageTracker._initData();
|
79
|
-
pageTracker._trackPageview();
|
80
|
-
</script>
|
81
72
|
|
82
73
|
</body>
|
83
74
|
</html>
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: jnunemaker-httparty
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- John Nunemaker
|
@@ -9,7 +9,7 @@ autorequire:
|
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
11
|
|
12
|
-
date: 2008-12-
|
12
|
+
date: 2008-12-23 00:00:00 -08:00
|
13
13
|
default_executable:
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|