ocean_package 0.17.0 → 0.18.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/ocean_package/command.rb +5 -1
- data/lib/ocean_package/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8fdeaa9f9c0ec67459f5383a4ee8b93ab9d4ba23c1ab6824deafb6016871a6df
|
4
|
+
data.tar.gz: ff1af0e34f1334cdb203093f11043699b5e118b2ea867e26df40a51e12c09c1c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: abb4364e4cea33d8768dfaf0ed616ea4a31280b1c2cf3f5e0b7d28d12068c5dbfde477835d6ad16588b5d7ecbe2f8a2d60704cd51c22bdc82670418810d30d96
|
7
|
+
data.tar.gz: 40a35d23d5f527c2983f9a6b91276044ff094cf20048317336c95deb1b52c5288ffea22e5f5a63b9da9f222a28036aab5b77d1b1399188daa0c994d32cc8e024
|
@@ -3,6 +3,7 @@ module OceanPackage
|
|
3
3
|
class Command
|
4
4
|
include OceanPackage::TimeFlow::Mixin
|
5
5
|
require 'net/http'
|
6
|
+
require 'uri'
|
6
7
|
|
7
8
|
# xcodebuild 打包相关
|
8
9
|
attr_accessor :package
|
@@ -288,7 +289,7 @@ module OceanPackage
|
|
288
289
|
unless time_flow_url_value.empty?
|
289
290
|
Log.info("upload time flow data")
|
290
291
|
|
291
|
-
uri = URI
|
292
|
+
uri = URI(time_flow_url_value)
|
292
293
|
params = data
|
293
294
|
|
294
295
|
# 分割
|
@@ -305,6 +306,9 @@ module OceanPackage
|
|
305
306
|
end
|
306
307
|
end
|
307
308
|
|
309
|
+
Log.info("url: #{uri}")
|
310
|
+
Log.info("body: #{params}")
|
311
|
+
|
308
312
|
res = Net::HTTP.post_form(uri, params)
|
309
313
|
Log.info("upload time flow data result: #{res.body}")
|
310
314
|
end
|