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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 637039069377b11f47969195b4475e5a43cc6b1be2ffacc14ecf6560df2f1605
4
- data.tar.gz: d67605f811908a1e9a618a6a24b41eef85e6b9e9f00ae00b6b47a7dd5d2e317e
3
+ metadata.gz: 8fdeaa9f9c0ec67459f5383a4ee8b93ab9d4ba23c1ab6824deafb6016871a6df
4
+ data.tar.gz: ff1af0e34f1334cdb203093f11043699b5e118b2ea867e26df40a51e12c09c1c
5
5
  SHA512:
6
- metadata.gz: 862d453052e203c6e0ed8d059b14cc43c56ad61fac6be162baac34d53f587e0aff04b08d4e206ed1bca30d7f000751abe0b1f9eeb8e35ec707d29ded1a9c7f5c
7
- data.tar.gz: b0786cf6887ed1b7750c0d7af7958e820d976f36df93a37da66284eff52e3118fb80e9a5753b8d11462995addf5cc48fecb74442fb510dbe9b0c4d1135d05dbd
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.parse(time_flow_url_value)
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
@@ -1,3 +1,3 @@
1
1
  module OceanPackage
2
- VERSION = "0.17.0"
2
+ VERSION = "0.18.0"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ocean_package
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.17.0
4
+ version: 0.18.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - ocean