httmultiparty 0.3 → 0.3.1

Sign up to get free protection for your applications and to get access to all the features.
data/README.md CHANGED
@@ -7,12 +7,11 @@
7
7
  <li>multipart-post</li>
8
8
  </ul>
9
9
 
10
- <h2>O RLY?</h2>
10
+ <h2>Quick Start and Example</h2>
11
11
  <p>To start just "include HTTMultiParty" instead of "include HTTParty" into your client class.
12
12
  When you pass a query with an instance of a File as a value for a PUT or POST request, the wrapper will
13
13
  use a bit of magic and multipart-post to execute a multipart upload:</p>
14
14
 
15
- <h2>Example</h2>
16
15
  <pre>
17
16
  require 'lib/httmultiparty'
18
17
  class SomeClient
@@ -24,4 +23,6 @@ response = SomeClient.post('/', :query => {
24
23
  :foo => 'bar',
25
24
  :somefile => File.new('README.md')
26
25
  })
27
- </pre>
26
+ </pre>
27
+
28
+ Aside from that it provides all the usual HTTParty gimmicks.
@@ -67,7 +67,6 @@ module HTTMultiParty
67
67
  end
68
68
  end
69
69
 
70
- dir = Pathname(__FILE__).dirname.expand_path
71
- require dir + 'httmultiparty/multipartable'
72
- require dir + 'httmultiparty/multipart_post'
73
- require dir + 'httmultiparty/multipart_put'
70
+ require 'httmultiparty/multipartable'
71
+ require 'httmultiparty/multipart_post'
72
+ require 'httmultiparty/multipart_put'
@@ -1,3 +1,3 @@
1
1
  module HTTMultiParty
2
- VERSION = '0.3'
2
+ VERSION = '0.3.1'
3
3
  end
metadata CHANGED
@@ -1,12 +1,8 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: httmultiparty
3
3
  version: !ruby/object:Gem::Version
4
- hash: 13
5
- prerelease: false
6
- segments:
7
- - 0
8
- - 3
9
- version: "0.3"
4
+ prerelease:
5
+ version: 0.3.1
10
6
  platform: ruby
11
7
  authors:
12
8
  - Johannes Wagener
@@ -14,7 +10,7 @@ autorequire:
14
10
  bindir: bin
15
11
  cert_chain: []
16
12
 
17
- date: 2011-02-21 00:00:00 -08:00
13
+ date: 2011-07-11 00:00:00 +02:00
18
14
  default_executable:
19
15
  dependencies:
20
16
  - !ruby/object:Gem::Dependency
@@ -25,11 +21,6 @@ dependencies:
25
21
  requirements:
26
22
  - - ">="
27
23
  - !ruby/object:Gem::Version
28
- hash: 5
29
- segments:
30
- - 0
31
- - 7
32
- - 3
33
24
  version: 0.7.3
34
25
  type: :runtime
35
26
  version_requirements: *id001
@@ -41,9 +32,6 @@ dependencies:
41
32
  requirements:
42
33
  - - ">="
43
34
  - !ruby/object:Gem::Version
44
- hash: 3
45
- segments:
46
- - 0
47
35
  version: "0"
48
36
  type: :runtime
49
37
  version_requirements: *id002
@@ -55,9 +43,6 @@ dependencies:
55
43
  requirements:
56
44
  - - ">="
57
45
  - !ruby/object:Gem::Version
58
- hash: 3
59
- segments:
60
- - 0
61
46
  version: "0"
62
47
  type: :development
63
48
  version_requirements: *id003
@@ -69,9 +54,6 @@ dependencies:
69
54
  requirements:
70
55
  - - ">="
71
56
  - !ruby/object:Gem::Version
72
- hash: 3
73
- segments:
74
- - 0
75
57
  version: "0"
76
58
  type: :development
77
59
  version_requirements: *id004
@@ -105,25 +87,17 @@ required_ruby_version: !ruby/object:Gem::Requirement
105
87
  requirements:
106
88
  - - ">="
107
89
  - !ruby/object:Gem::Version
108
- hash: 3
109
- segments:
110
- - 0
111
90
  version: "0"
112
91
  required_rubygems_version: !ruby/object:Gem::Requirement
113
92
  none: false
114
93
  requirements:
115
94
  - - ">="
116
95
  - !ruby/object:Gem::Version
117
- hash: 23
118
- segments:
119
- - 1
120
- - 3
121
- - 6
122
96
  version: 1.3.6
123
97
  requirements: []
124
98
 
125
99
  rubyforge_project:
126
- rubygems_version: 1.3.7
100
+ rubygems_version: 1.6.2
127
101
  signing_key:
128
102
  specification_version: 3
129
103
  summary: HTTMultiParty is a thin wrapper around HTTParty to provide multipart uploads.