flash_integration 0.1.2.1 → 1.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +25 -9
- data/README.md +1 -1
- data/lib/flash/integration/connection.rb +1 -1
- data/lib/flash/integration/version.rb +1 -1
- data/lib/flash_integration.rb +0 -1
- metadata +20 -21
- data/lib/flash/integration/multipart_flat.rb +0 -26
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 155b7c58c6ad48107256de3e2d8c2c5059d7bf8b28db635b3e9bb9ceffc9f19a
|
4
|
+
data.tar.gz: a2427f43843d40a51c8708fca1d620a1527223cfe15208f874387d46ab357c54
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e2a0cf2e050bc0f6a0e33a079286aa0aafde8353a865b534c7fff45c22f29d6c64f29bdf96e80ee33986168df67438634c6ad41395538402154c7e78eb7612a7
|
7
|
+
data.tar.gz: 5e626245dbaae85a1eef4bbfd17401bea49c6a00f37d7bf61fb09b5153fc6bc67d5678ccab84d2b4e9d456c274d807d5b48c123bfb2d2d28aca436c891a08c29
|
data/CHANGELOG.md
CHANGED
@@ -1,17 +1,33 @@
|
|
1
|
-
#
|
1
|
+
# Changelog
|
2
2
|
|
3
|
-
|
3
|
+
All notable changes to this project will be documented in this file.
|
4
4
|
|
5
|
-
|
5
|
+
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
6
|
+
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
6
7
|
|
7
|
-
|
8
|
+
## [Unreleased]
|
8
9
|
|
9
|
-
##
|
10
|
+
## [1.0.0] - 2022-06-13
|
10
11
|
|
11
|
-
|
12
|
+
### Changed
|
13
|
+
|
14
|
+
- Bump `faraday` version from >= 1.4.1, < 1.9.0 to >= 1.4.1, < 2.4.0
|
15
|
+
|
16
|
+
## [0.1.3] - 2022-02-09
|
17
|
+
|
18
|
+
### Fixed
|
19
|
+
|
20
|
+
- HashSyntax with EnforcedShorthandSyntax as always #32
|
21
|
+
|
22
|
+
## [0.1.2] - 2022-02-02
|
23
|
+
|
24
|
+
### Changed
|
25
|
+
|
26
|
+
- [QC-79](https://qflash.atlassian.net/jira/software/projects/QC/boards/31?selectedIssue=QC-79)
|
12
27
|
Reduzir uso de pipelines em projetos Ruby [Dependabot]
|
13
|
-
* Bump Ruby version to v3.1.0
|
14
28
|
|
15
|
-
##
|
29
|
+
## [0.1.0]
|
30
|
+
|
31
|
+
### Added
|
16
32
|
|
17
|
-
|
33
|
+
- Initial release
|
data/README.md
CHANGED
@@ -9,6 +9,6 @@ module Flash
|
|
9
9
|
# Major - Incremented for incompatible changes with previous release (or big enough new features)
|
10
10
|
# Minor - Incremented for new backwards-compatible features + deprecations
|
11
11
|
# Patch - Incremented for backwards-compatible bug fixes
|
12
|
-
VERSION = "
|
12
|
+
VERSION = "1.0.0"
|
13
13
|
end
|
14
14
|
end
|
data/lib/flash_integration.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: flash_integration
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version:
|
4
|
+
version: 1.0.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Danilo Carolino
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-
|
11
|
+
date: 2022-06-13 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: faraday
|
@@ -19,7 +19,7 @@ dependencies:
|
|
19
19
|
version: 1.4.1
|
20
20
|
- - "<"
|
21
21
|
- !ruby/object:Gem::Version
|
22
|
-
version:
|
22
|
+
version: 2.4.0
|
23
23
|
type: :runtime
|
24
24
|
prerelease: false
|
25
25
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -29,7 +29,7 @@ dependencies:
|
|
29
29
|
version: 1.4.1
|
30
30
|
- - "<"
|
31
31
|
- !ruby/object:Gem::Version
|
32
|
-
version:
|
32
|
+
version: 2.4.0
|
33
33
|
- !ruby/object:Gem::Dependency
|
34
34
|
name: bundler
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|
@@ -50,14 +50,14 @@ dependencies:
|
|
50
50
|
requirements:
|
51
51
|
- - "~>"
|
52
52
|
- !ruby/object:Gem::Version
|
53
|
-
version:
|
53
|
+
version: 0.14.1
|
54
54
|
type: :development
|
55
55
|
prerelease: false
|
56
56
|
version_requirements: !ruby/object:Gem::Requirement
|
57
57
|
requirements:
|
58
58
|
- - "~>"
|
59
59
|
- !ruby/object:Gem::Version
|
60
|
-
version:
|
60
|
+
version: 0.14.1
|
61
61
|
- !ruby/object:Gem::Dependency
|
62
62
|
name: rake
|
63
63
|
requirement: !ruby/object:Gem::Requirement
|
@@ -84,70 +84,70 @@ dependencies:
|
|
84
84
|
requirements:
|
85
85
|
- - "~>"
|
86
86
|
- !ruby/object:Gem::Version
|
87
|
-
version:
|
87
|
+
version: 3.11.0
|
88
88
|
type: :development
|
89
89
|
prerelease: false
|
90
90
|
version_requirements: !ruby/object:Gem::Requirement
|
91
91
|
requirements:
|
92
92
|
- - "~>"
|
93
93
|
- !ruby/object:Gem::Version
|
94
|
-
version:
|
94
|
+
version: 3.11.0
|
95
95
|
- !ruby/object:Gem::Dependency
|
96
96
|
name: rubocop
|
97
97
|
requirement: !ruby/object:Gem::Requirement
|
98
98
|
requirements:
|
99
99
|
- - "~>"
|
100
100
|
- !ruby/object:Gem::Version
|
101
|
-
version:
|
101
|
+
version: 1.30.1
|
102
102
|
type: :development
|
103
103
|
prerelease: false
|
104
104
|
version_requirements: !ruby/object:Gem::Requirement
|
105
105
|
requirements:
|
106
106
|
- - "~>"
|
107
107
|
- !ruby/object:Gem::Version
|
108
|
-
version:
|
108
|
+
version: 1.30.1
|
109
109
|
- !ruby/object:Gem::Dependency
|
110
110
|
name: rubocop-packaging
|
111
111
|
requirement: !ruby/object:Gem::Requirement
|
112
112
|
requirements:
|
113
113
|
- - "~>"
|
114
114
|
- !ruby/object:Gem::Version
|
115
|
-
version:
|
115
|
+
version: 0.5.1
|
116
116
|
type: :development
|
117
117
|
prerelease: false
|
118
118
|
version_requirements: !ruby/object:Gem::Requirement
|
119
119
|
requirements:
|
120
120
|
- - "~>"
|
121
121
|
- !ruby/object:Gem::Version
|
122
|
-
version:
|
122
|
+
version: 0.5.1
|
123
123
|
- !ruby/object:Gem::Dependency
|
124
124
|
name: rubocop-performance
|
125
125
|
requirement: !ruby/object:Gem::Requirement
|
126
126
|
requirements:
|
127
127
|
- - "~>"
|
128
128
|
- !ruby/object:Gem::Version
|
129
|
-
version:
|
129
|
+
version: 1.14.2
|
130
130
|
type: :development
|
131
131
|
prerelease: false
|
132
132
|
version_requirements: !ruby/object:Gem::Requirement
|
133
133
|
requirements:
|
134
134
|
- - "~>"
|
135
135
|
- !ruby/object:Gem::Version
|
136
|
-
version:
|
136
|
+
version: 1.14.2
|
137
137
|
- !ruby/object:Gem::Dependency
|
138
138
|
name: rubocop-rspec
|
139
139
|
requirement: !ruby/object:Gem::Requirement
|
140
140
|
requirements:
|
141
141
|
- - "~>"
|
142
142
|
- !ruby/object:Gem::Version
|
143
|
-
version:
|
143
|
+
version: 2.11.1
|
144
144
|
type: :development
|
145
145
|
prerelease: false
|
146
146
|
version_requirements: !ruby/object:Gem::Requirement
|
147
147
|
requirements:
|
148
148
|
- - "~>"
|
149
149
|
- !ruby/object:Gem::Version
|
150
|
-
version:
|
150
|
+
version: 2.11.1
|
151
151
|
- !ruby/object:Gem::Dependency
|
152
152
|
name: simplecov
|
153
153
|
requirement: !ruby/object:Gem::Requirement
|
@@ -174,7 +174,6 @@ files:
|
|
174
174
|
- README.md
|
175
175
|
- Rakefile
|
176
176
|
- lib/flash/integration/connection.rb
|
177
|
-
- lib/flash/integration/multipart_flat.rb
|
178
177
|
- lib/flash/integration/request.rb
|
179
178
|
- lib/flash/integration/response.rb
|
180
179
|
- lib/flash/integration/version.rb
|
@@ -190,7 +189,7 @@ metadata:
|
|
190
189
|
changelog_uri: https://github.com/Quasar-Flash/flash_integration/blob/master/CHANGELOG.md
|
191
190
|
source_code_uri: https://github.com/Quasar-Flash/flash_integration
|
192
191
|
bug_tracker_uri: https://github.com/Quasar-Flash/flash_integration/issues
|
193
|
-
post_install_message:
|
192
|
+
post_install_message:
|
194
193
|
rdoc_options: []
|
195
194
|
require_paths:
|
196
195
|
- lib
|
@@ -205,8 +204,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
205
204
|
- !ruby/object:Gem::Version
|
206
205
|
version: '0'
|
207
206
|
requirements: []
|
208
|
-
rubygems_version: 3.
|
209
|
-
signing_key:
|
207
|
+
rubygems_version: 3.1.6
|
208
|
+
signing_key:
|
210
209
|
specification_version: 4
|
211
210
|
summary: Flash Integration Library
|
212
211
|
test_files:
|
@@ -1,26 +0,0 @@
|
|
1
|
-
# frozen_string_literal: true
|
2
|
-
|
3
|
-
module Flash
|
4
|
-
module Integration
|
5
|
-
class MultipartFlat < Faraday::Request::Multipart
|
6
|
-
self.mime_type = "multipart/form-data"
|
7
|
-
DEFAULT_BOUNDARY_PREFIX = "-----------RubyMultipartPost" unless defined? DEFAULT_BOUNDARY_PREFIX
|
8
|
-
|
9
|
-
def process_params(params, prefix = nil, pieces = nil, &block)
|
10
|
-
params.inject(pieces || []) do |all, (key, value)|
|
11
|
-
key = prefix.to_s if prefix
|
12
|
-
|
13
|
-
case value
|
14
|
-
when Array
|
15
|
-
values = value.inject([]) { |a, v| a << [nil, v] }
|
16
|
-
process_params(values, key, all, &block)
|
17
|
-
when Hash
|
18
|
-
process_params(value, key, all, &block)
|
19
|
-
else
|
20
|
-
all << block.call(key, value)
|
21
|
-
end
|
22
|
-
end
|
23
|
-
end
|
24
|
-
end
|
25
|
-
end
|
26
|
-
end
|