faraday-multipart 1.0.0 → 1.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/faraday/multipart/version.rb +1 -1
- data/lib/faraday/multipart.rb +5 -1
- metadata +4 -130
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f89d6d75b77306ce8ae98d5f67bfb374f2d8c1abb3d93e140f03145cd3af9bf4
|
4
|
+
data.tar.gz: 53409e6a8ef44fde13e5dae1cd651be72b0c6c530702cb1fc5f5f7e7e321da08
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8ba9da6eb5446afb9b351d6ccef7922a395e9310a675864ed72eca191daedb44cd521cbbf94b151f29ef20b7a8c1a178ca9c63d9363262bc7b6606352c4708b0
|
7
|
+
data.tar.gz: 7a846e4401f7ea6a890c181f59da570c83b88bd89e7f311f3b26ae8f36ac3ac1748d95dbc46aed1f6763bf4c72222f7f049f6d2d1ed7f6db04d9d63ea6f2bb82
|
data/lib/faraday/multipart.rb
CHANGED
@@ -1,6 +1,5 @@
|
|
1
1
|
# frozen_string_literal: true
|
2
2
|
|
3
|
-
require 'faraday'
|
4
3
|
require_relative 'multipart/file_part'
|
5
4
|
require_relative 'multipart/param_part'
|
6
5
|
require_relative 'multipart/middleware'
|
@@ -11,4 +10,9 @@ module Faraday
|
|
11
10
|
module Multipart
|
12
11
|
Faraday::Request.register_middleware(multipart: Faraday::Multipart::Middleware)
|
13
12
|
end
|
13
|
+
|
14
|
+
# Aliases for Faraday v1
|
15
|
+
FilePart = Multipart::FilePart
|
16
|
+
Parts = Multipart::Parts
|
17
|
+
CompositeReadIO = Multipart::CompositeReadIO
|
14
18
|
end
|
metadata
CHANGED
@@ -1,29 +1,15 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: faraday-multipart
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Mattia Giuffrida
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-01-
|
11
|
+
date: 2022-01-06 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
|
-
- !ruby/object:Gem::Dependency
|
14
|
-
name: faraday
|
15
|
-
requirement: !ruby/object:Gem::Requirement
|
16
|
-
requirements:
|
17
|
-
- - "~>"
|
18
|
-
- !ruby/object:Gem::Version
|
19
|
-
version: '2.0'
|
20
|
-
type: :runtime
|
21
|
-
prerelease: false
|
22
|
-
version_requirements: !ruby/object:Gem::Requirement
|
23
|
-
requirements:
|
24
|
-
- - "~>"
|
25
|
-
- !ruby/object:Gem::Version
|
26
|
-
version: '2.0'
|
27
13
|
- !ruby/object:Gem::Dependency
|
28
14
|
name: multipart-post
|
29
15
|
requirement: !ruby/object:Gem::Requirement
|
@@ -44,118 +30,6 @@ dependencies:
|
|
44
30
|
- - "<"
|
45
31
|
- !ruby/object:Gem::Version
|
46
32
|
version: '3'
|
47
|
-
- !ruby/object:Gem::Dependency
|
48
|
-
name: bundler
|
49
|
-
requirement: !ruby/object:Gem::Requirement
|
50
|
-
requirements:
|
51
|
-
- - "~>"
|
52
|
-
- !ruby/object:Gem::Version
|
53
|
-
version: '2.0'
|
54
|
-
type: :development
|
55
|
-
prerelease: false
|
56
|
-
version_requirements: !ruby/object:Gem::Requirement
|
57
|
-
requirements:
|
58
|
-
- - "~>"
|
59
|
-
- !ruby/object:Gem::Version
|
60
|
-
version: '2.0'
|
61
|
-
- !ruby/object:Gem::Dependency
|
62
|
-
name: rake
|
63
|
-
requirement: !ruby/object:Gem::Requirement
|
64
|
-
requirements:
|
65
|
-
- - "~>"
|
66
|
-
- !ruby/object:Gem::Version
|
67
|
-
version: '13.0'
|
68
|
-
type: :development
|
69
|
-
prerelease: false
|
70
|
-
version_requirements: !ruby/object:Gem::Requirement
|
71
|
-
requirements:
|
72
|
-
- - "~>"
|
73
|
-
- !ruby/object:Gem::Version
|
74
|
-
version: '13.0'
|
75
|
-
- !ruby/object:Gem::Dependency
|
76
|
-
name: rspec
|
77
|
-
requirement: !ruby/object:Gem::Requirement
|
78
|
-
requirements:
|
79
|
-
- - "~>"
|
80
|
-
- !ruby/object:Gem::Version
|
81
|
-
version: '3.0'
|
82
|
-
type: :development
|
83
|
-
prerelease: false
|
84
|
-
version_requirements: !ruby/object:Gem::Requirement
|
85
|
-
requirements:
|
86
|
-
- - "~>"
|
87
|
-
- !ruby/object:Gem::Version
|
88
|
-
version: '3.0'
|
89
|
-
- !ruby/object:Gem::Dependency
|
90
|
-
name: simplecov
|
91
|
-
requirement: !ruby/object:Gem::Requirement
|
92
|
-
requirements:
|
93
|
-
- - "~>"
|
94
|
-
- !ruby/object:Gem::Version
|
95
|
-
version: 0.21.0
|
96
|
-
type: :development
|
97
|
-
prerelease: false
|
98
|
-
version_requirements: !ruby/object:Gem::Requirement
|
99
|
-
requirements:
|
100
|
-
- - "~>"
|
101
|
-
- !ruby/object:Gem::Version
|
102
|
-
version: 0.21.0
|
103
|
-
- !ruby/object:Gem::Dependency
|
104
|
-
name: rubocop
|
105
|
-
requirement: !ruby/object:Gem::Requirement
|
106
|
-
requirements:
|
107
|
-
- - "~>"
|
108
|
-
- !ruby/object:Gem::Version
|
109
|
-
version: 1.21.0
|
110
|
-
type: :development
|
111
|
-
prerelease: false
|
112
|
-
version_requirements: !ruby/object:Gem::Requirement
|
113
|
-
requirements:
|
114
|
-
- - "~>"
|
115
|
-
- !ruby/object:Gem::Version
|
116
|
-
version: 1.21.0
|
117
|
-
- !ruby/object:Gem::Dependency
|
118
|
-
name: rubocop-packaging
|
119
|
-
requirement: !ruby/object:Gem::Requirement
|
120
|
-
requirements:
|
121
|
-
- - "~>"
|
122
|
-
- !ruby/object:Gem::Version
|
123
|
-
version: 0.5.0
|
124
|
-
type: :development
|
125
|
-
prerelease: false
|
126
|
-
version_requirements: !ruby/object:Gem::Requirement
|
127
|
-
requirements:
|
128
|
-
- - "~>"
|
129
|
-
- !ruby/object:Gem::Version
|
130
|
-
version: 0.5.0
|
131
|
-
- !ruby/object:Gem::Dependency
|
132
|
-
name: rubocop-performance
|
133
|
-
requirement: !ruby/object:Gem::Requirement
|
134
|
-
requirements:
|
135
|
-
- - "~>"
|
136
|
-
- !ruby/object:Gem::Version
|
137
|
-
version: '1.0'
|
138
|
-
type: :development
|
139
|
-
prerelease: false
|
140
|
-
version_requirements: !ruby/object:Gem::Requirement
|
141
|
-
requirements:
|
142
|
-
- - "~>"
|
143
|
-
- !ruby/object:Gem::Version
|
144
|
-
version: '1.0'
|
145
|
-
- !ruby/object:Gem::Dependency
|
146
|
-
name: rubocop-rspec
|
147
|
-
requirement: !ruby/object:Gem::Requirement
|
148
|
-
requirements:
|
149
|
-
- - "~>"
|
150
|
-
- !ruby/object:Gem::Version
|
151
|
-
version: '2.0'
|
152
|
-
type: :development
|
153
|
-
prerelease: false
|
154
|
-
version_requirements: !ruby/object:Gem::Requirement
|
155
|
-
requirements:
|
156
|
-
- - "~>"
|
157
|
-
- !ruby/object:Gem::Version
|
158
|
-
version: '2.0'
|
159
33
|
description: 'Perform multipart-post requests using Faraday.
|
160
34
|
|
161
35
|
'
|
@@ -178,8 +52,8 @@ licenses:
|
|
178
52
|
- MIT
|
179
53
|
metadata:
|
180
54
|
bug_tracker_uri: https://github.com/lostisland/faraday-multipart/issues
|
181
|
-
changelog_uri: https://github.com/lostisland/faraday-multipart/blob/v1.0.
|
182
|
-
documentation_uri: http://www.rubydoc.info/gems/faraday-multipart/1.0.
|
55
|
+
changelog_uri: https://github.com/lostisland/faraday-multipart/blob/v1.0.1/CHANGELOG.md
|
56
|
+
documentation_uri: http://www.rubydoc.info/gems/faraday-multipart/1.0.1
|
183
57
|
homepage_uri: https://github.com/lostisland/faraday-multipart
|
184
58
|
source_code_uri: https://github.com/lostisland/faraday-multipart
|
185
59
|
wiki_uri: https://github.com/lostisland/faraday-multipart/wiki
|