flash_integration 1.0.0 → 1.0.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +13 -0
- data/README.md +13 -21
- data/lib/flash/integration/version.rb +1 -1
- data/lib/flash_integration.rb +1 -0
- metadata +33 -13
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 32496af1f113ad63002db70938beea7ed592cb485ee1349243e5b8bb834028c8
|
4
|
+
data.tar.gz: a68d017d5e47d1ab941ea6390ae9e269c3716cdfa4eab27cfaf4924c2ea7e7fe
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 06f2d2d46d498ac179286e8976fa24991822af32dbd8479947632d57ba23fa1311e4641a2142426e34de9b0f27016065222dad1e637c105929bb2da274381b4b
|
7
|
+
data.tar.gz: c61d2ebf2b2641e670c0301b5e81a927bf71dedc5eff33b85b632a1ce2566c53c7dfe0d81a28e2e889a2247c2f845d3109f6ced040ca0c1360998dd4bb6c9ccd
|
data/CHANGELOG.md
CHANGED
@@ -7,6 +7,19 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
7
7
|
|
8
8
|
## [Unreleased]
|
9
9
|
|
10
|
+
## [1.0.2] - 2023-03-17
|
11
|
+
|
12
|
+
### Changed
|
13
|
+
|
14
|
+
- Adiciona `faraday-multipart` como dependência requirida por @danilogco
|
15
|
+
|
16
|
+
## [1.0.1] - 2023-02-03
|
17
|
+
|
18
|
+
### Changed
|
19
|
+
|
20
|
+
- Adiciona workflow de deployment padronizado ao projeto por @danilogco
|
21
|
+
- Adiciona o Ruby v3.2.0 para a matriz de testes unitários por @danilogco
|
22
|
+
|
10
23
|
## [1.0.0] - 2022-06-13
|
11
24
|
|
12
25
|
### Changed
|
data/README.md
CHANGED
@@ -1,32 +1,29 @@
|
|
1
|
-
|
2
|
-
|
1
|
+
# Flash Integration
|
2
|
+
|
3
|
+
A Faraday's extension to make it easier to create integrations.
|
3
4
|
|
4
5
|
[![Gem Version](https://badge.fury.io/rb/flash_integration.svg)](https://badge.fury.io/rb/flash_integration)
|
5
|
-
[![
|
6
|
+
[![Build](https://github.com/Quasar-Flash/flash_integration/actions/workflows/tests.yml/badge.svg)](https://github.com/Quasar-Flash/flash_integration/actions/workflows/tests.yml)
|
6
7
|
|
7
|
-
Dev Requirements
|
8
|
-
-----------------
|
8
|
+
## Dev Requirements
|
9
9
|
|
10
10
|
- Ruby: Any version
|
11
11
|
- Bundler
|
12
12
|
|
13
|
-
Global Installation
|
14
|
-
-----------------
|
13
|
+
## Global Installation
|
15
14
|
|
16
15
|
```ruby
|
17
16
|
gem install flash_integration
|
18
17
|
```
|
19
18
|
|
20
|
-
Installation for Rails
|
21
|
-
-----------------
|
19
|
+
## Installation for Rails
|
22
20
|
|
23
21
|
```ruby
|
24
22
|
# Add to the Gemfile
|
25
23
|
gem 'flash_integration', '~> 1.0.0'
|
26
24
|
```
|
27
25
|
|
28
|
-
Example - How to extend
|
29
|
-
-----------------
|
26
|
+
## Example - How to extend
|
30
27
|
|
31
28
|
```ruby
|
32
29
|
module MyApp
|
@@ -45,8 +42,7 @@ module MyApp
|
|
45
42
|
end
|
46
43
|
```
|
47
44
|
|
48
|
-
Example - How to request
|
49
|
-
-----------------
|
45
|
+
## Example - How to request
|
50
46
|
|
51
47
|
```ruby
|
52
48
|
res = @connection.post(
|
@@ -65,15 +61,13 @@ res.body
|
|
65
61
|
res.time
|
66
62
|
```
|
67
63
|
|
68
|
-
Problems?
|
69
|
-
-----------------
|
64
|
+
## Problems?
|
70
65
|
|
71
66
|
**Please do not directly email any committers with questions or problems.** A community is best served when discussions are held in public.
|
72
67
|
|
73
68
|
Searching the [issues](https://github.com/Quasar-Flash/flash_integration/issues) for your problem is also a good idea.
|
74
69
|
|
75
|
-
Contributing
|
76
|
-
-----------------
|
70
|
+
## Contributing
|
77
71
|
|
78
72
|
- Check out the latest master to make sure the feature hasn't been implemented or the bug hasn't been fixed yet;
|
79
73
|
- Check out the issue tracker to make sure someone already hasn't requested it and/or contributed it;
|
@@ -83,12 +77,10 @@ Contributing
|
|
83
77
|
- Make sure to add tests for it. This is important so I don't break it in a future version unintentionally.;
|
84
78
|
- Please try not to mess with the Rakefile, version, or history. If you want to have your own version, or is otherwise necessary, that is fine, but please isolate to its own commit so I can cherry-pick around it.
|
85
79
|
|
86
|
-
License
|
87
|
-
-----------------
|
80
|
+
## License
|
88
81
|
|
89
82
|
Please see [LICENSE](https://github.com/Quasar-Flash/flash_integration/blob/master/LICENSE.txt) for licensing details.
|
90
83
|
|
91
|
-
Authors
|
92
|
-
-----------------
|
84
|
+
## Authors
|
93
85
|
|
94
86
|
Danilo Carolino, [@danilogco](https://github.com/danilogco) / [@Quasar-Flash](https://github.com/Quasar-Flash)
|
@@ -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 = File.read(".version").strip
|
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: 1.0.
|
4
|
+
version: 1.0.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Danilo Carolino
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2023-03-17 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: 2.
|
22
|
+
version: 2.8.0
|
23
23
|
type: :runtime
|
24
24
|
prerelease: false
|
25
25
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -29,7 +29,27 @@ dependencies:
|
|
29
29
|
version: 1.4.1
|
30
30
|
- - "<"
|
31
31
|
- !ruby/object:Gem::Version
|
32
|
-
version: 2.
|
32
|
+
version: 2.8.0
|
33
|
+
- !ruby/object:Gem::Dependency
|
34
|
+
name: faraday-multipart
|
35
|
+
requirement: !ruby/object:Gem::Requirement
|
36
|
+
requirements:
|
37
|
+
- - "~>"
|
38
|
+
- !ruby/object:Gem::Version
|
39
|
+
version: 1.0.4
|
40
|
+
- - ">"
|
41
|
+
- !ruby/object:Gem::Version
|
42
|
+
version: 1.0.0
|
43
|
+
type: :runtime
|
44
|
+
prerelease: false
|
45
|
+
version_requirements: !ruby/object:Gem::Requirement
|
46
|
+
requirements:
|
47
|
+
- - "~>"
|
48
|
+
- !ruby/object:Gem::Version
|
49
|
+
version: 1.0.4
|
50
|
+
- - ">"
|
51
|
+
- !ruby/object:Gem::Version
|
52
|
+
version: 1.0.0
|
33
53
|
- !ruby/object:Gem::Dependency
|
34
54
|
name: bundler
|
35
55
|
requirement: !ruby/object:Gem::Requirement
|
@@ -84,28 +104,28 @@ dependencies:
|
|
84
104
|
requirements:
|
85
105
|
- - "~>"
|
86
106
|
- !ruby/object:Gem::Version
|
87
|
-
version: 3.
|
107
|
+
version: 3.12.0
|
88
108
|
type: :development
|
89
109
|
prerelease: false
|
90
110
|
version_requirements: !ruby/object:Gem::Requirement
|
91
111
|
requirements:
|
92
112
|
- - "~>"
|
93
113
|
- !ruby/object:Gem::Version
|
94
|
-
version: 3.
|
114
|
+
version: 3.12.0
|
95
115
|
- !ruby/object:Gem::Dependency
|
96
116
|
name: rubocop
|
97
117
|
requirement: !ruby/object:Gem::Requirement
|
98
118
|
requirements:
|
99
119
|
- - "~>"
|
100
120
|
- !ruby/object:Gem::Version
|
101
|
-
version: 1.
|
121
|
+
version: 1.48.0
|
102
122
|
type: :development
|
103
123
|
prerelease: false
|
104
124
|
version_requirements: !ruby/object:Gem::Requirement
|
105
125
|
requirements:
|
106
126
|
- - "~>"
|
107
127
|
- !ruby/object:Gem::Version
|
108
|
-
version: 1.
|
128
|
+
version: 1.48.0
|
109
129
|
- !ruby/object:Gem::Dependency
|
110
130
|
name: rubocop-packaging
|
111
131
|
requirement: !ruby/object:Gem::Requirement
|
@@ -126,28 +146,28 @@ dependencies:
|
|
126
146
|
requirements:
|
127
147
|
- - "~>"
|
128
148
|
- !ruby/object:Gem::Version
|
129
|
-
version: 1.
|
149
|
+
version: 1.16.0
|
130
150
|
type: :development
|
131
151
|
prerelease: false
|
132
152
|
version_requirements: !ruby/object:Gem::Requirement
|
133
153
|
requirements:
|
134
154
|
- - "~>"
|
135
155
|
- !ruby/object:Gem::Version
|
136
|
-
version: 1.
|
156
|
+
version: 1.16.0
|
137
157
|
- !ruby/object:Gem::Dependency
|
138
158
|
name: rubocop-rspec
|
139
159
|
requirement: !ruby/object:Gem::Requirement
|
140
160
|
requirements:
|
141
161
|
- - "~>"
|
142
162
|
- !ruby/object:Gem::Version
|
143
|
-
version: 2.
|
163
|
+
version: 2.19.0
|
144
164
|
type: :development
|
145
165
|
prerelease: false
|
146
166
|
version_requirements: !ruby/object:Gem::Requirement
|
147
167
|
requirements:
|
148
168
|
- - "~>"
|
149
169
|
- !ruby/object:Gem::Version
|
150
|
-
version: 2.
|
170
|
+
version: 2.19.0
|
151
171
|
- !ruby/object:Gem::Dependency
|
152
172
|
name: simplecov
|
153
173
|
requirement: !ruby/object:Gem::Requirement
|
@@ -209,7 +229,7 @@ signing_key:
|
|
209
229
|
specification_version: 4
|
210
230
|
summary: Flash Integration Library
|
211
231
|
test_files:
|
232
|
+
- spec/spec_helper.rb
|
212
233
|
- spec/flash/integration/connection_spec.rb
|
213
234
|
- spec/flash/integration/response_spec.rb
|
214
235
|
- spec/flash_integration_spec.rb
|
215
|
-
- spec/spec_helper.rb
|