fastlane-plugin-fileio_upload 0.2.0 → 0.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +11 -0
- data/lib/fastlane/plugin/fileio_upload/version.rb +1 -1
- metadata +15 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1f8b68a5d2300b47b2976059ce41bb8b27910706ecfd43d904df2104ef3122d2
|
4
|
+
data.tar.gz: d2df16cd2f6b190affcc617b98234f5baf5f0093d7e558402e97aba60a46768e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a98147072cbdf64ed2174880ad6ad642c3247f0f1a2e5e85a4be7e669dfb3a5e44f67bcf690e3012a3c5360738f97d90800936cacb619240e4179dbe37387339
|
7
|
+
data.tar.gz: 8b201fb0774cfa0960722a1671048392e32484ea7d049e69c852daec6f343baec9bf84300dc55cca9376951cb732c17dc017568d091135b155216272361f00d3
|
data/README.md
CHANGED
@@ -31,6 +31,17 @@ fileio_upload(
|
|
31
31
|
)
|
32
32
|
```
|
33
33
|
|
34
|
+
You can also do something with handle the response:
|
35
|
+
|
36
|
+
```ruby
|
37
|
+
upload_result = fileio_upload(file: "file.zip", apiKey: ENV["FILEIO_API_TOKEN"])
|
38
|
+
|
39
|
+
if (upload_result["success"]) then
|
40
|
+
link = upload_result["link"]
|
41
|
+
else
|
42
|
+
UI.error("Uploading the file failed!")
|
43
|
+
end
|
44
|
+
```
|
34
45
|
## Example
|
35
46
|
|
36
47
|
Check out the [example `Fastfile`](fastlane/Fastfile) to see how to use this plugin. Try it by cloning the repo, running `fastlane install_plugins` and `bundle exec fastlane test`.
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: fastlane-plugin-fileio_upload
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.3.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Paul Bancarel
|
@@ -10,6 +10,20 @@ bindir: bin
|
|
10
10
|
cert_chain: []
|
11
11
|
date: 2022-02-08 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: rest-client
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - ">="
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: '0'
|
20
|
+
type: :runtime
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - ">="
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: '0'
|
13
27
|
- !ruby/object:Gem::Dependency
|
14
28
|
name: bundler
|
15
29
|
requirement: !ruby/object:Gem::Requirement
|