luna-binary-uploader 0.1.11 → 0.1.12

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 2be18823676fca9bb18233b751f1d371a60534c07e54caa1a14b72fb8c040e89
4
- data.tar.gz: c81637d974e0d35cc8e9de5464618ff7198c055430b07599877c20f1b6102e00
3
+ metadata.gz: 055124f814326d00613b601e0b88cbe16a73ed1bb6ca590cf8ac8ff9cffcbf26
4
+ data.tar.gz: bc95cf8dedbed5fb05340f46b59fbea40c4452f61d3e39a8a8d8a16d828c8b88
5
5
  SHA512:
6
- metadata.gz: 350e9c4a52c80b9f4aa77e589783c10c1a0240b1c0151ca87771d0478244af4109219a247b535804453c6bbb577f157738a72f57ab7d678afbebe4ff699634c1
7
- data.tar.gz: cbcb31fa3171119886fce5a62f25643200a15ceb317e6c43e3e2d60cc009481f7ac051c86aa916369a34db4ddff30444309a855a990ea50b2bccd45dc4c53986
6
+ metadata.gz: a174a6779e8a4d5716dd891c0763f73d1998bb4023d654bef42e471d0d03ee8c27b8854dea88a7e20bf305820a5d0f3cecb6d8950c7961185c0a48b1fa3e50fa
7
+ data.tar.gz: da37682445afd5deca1c1384325ec517b87b95e2573b6d41118307762f01b4dac677e766b12a84300f88e6a206b9eed9d98f53b389ab249988a68fe9e3310157
@@ -21,15 +21,15 @@ module Luna
21
21
  if pathArr != nil
22
22
  Pod::UserInterface.puts "#{pathArr.first} #{k}".yellow
23
23
  srcPath = File.dirname(pathArr.first)
24
- File.rename(srcPath, "#{rootPath}/#{k}")
25
- system "cp -r #{srcPath} #{rootPath}; "
24
+ system "cp -r #{srcPath} #{rootPath};"
25
+ File.rename("#{rootPath}/#{File.basename(srcPath)}", "#{rootPath}/#{k}")
26
26
  zipCommand = "cd #{rootPath};zip -r #{k}.zip #{k}"
27
27
  p zipCommand
28
28
  system zipCommand
29
- Luna::Binary::Delete.new(k,v).deleteBinaryFramework
30
- command = "cd #{rootPath};curl #{CBin.config.binary_upload_url} -F \"name=#{k}\" -F \"version=#{v}\" -F \"annotate=#{k}_#{v}_log\" -F \"file=@#{k}.zip\""
31
- p command
32
- system command
29
+ # Luna::Binary::Delete.new(k,v).deleteBinaryFramework
30
+ # command = "cd #{rootPath};curl #{CBin.config.binary_upload_url} -F \"name=#{k}\" -F \"version=#{v}\" -F \"annotate=#{k}_#{v}_log\" -F \"file=@#{k}.zip\""
31
+ # p command
32
+ # system command
33
33
  end
34
34
  rescue => exception
35
35
  p exception
@@ -1,7 +1,7 @@
1
1
  module Luna
2
2
  module Binary
3
3
  module Uploader
4
- VERSION = "0.1.11"
4
+ VERSION = "0.1.12"
5
5
  end
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: luna-binary-uploader
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.11
4
+ version: 0.1.12
5
5
  platform: ruby
6
6
  authors:
7
7
  - 车德超