corn 0.1.2 → 0.1.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/corn.rb +1 -1
  3. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 2854df25b87527bcad6f7f41a52980e06b4d1320
4
- data.tar.gz: 6a5b1e50d2d1838e0969d4e2688c0831f38e4bdb
3
+ metadata.gz: 7e0842148481470e3eba2528ad61aefac7bf6844
4
+ data.tar.gz: 605b4065b7eea22b7d741b07a09205fcb9ddfc93
5
5
  SHA512:
6
- metadata.gz: 2b597d39c3a83582662a85624db6df9ab49780b0dbb760d9a2eb3dec97b51473cad349f50c1152c5d44c3aef51a99ecce921ae50f94de6b9d61b866010cbdef2
7
- data.tar.gz: e7d88ba45f291484f17e4180f2059ed904a2bf10b187b497846d87302eaa3f2dbc10fc7b1caeef49574c7663412c3c0b09fbddd572ae82008b66325a35661b1c
6
+ metadata.gz: fe7f26a430323ce90c6a788671160d4e2ec57cd183491f6b2773dac50bd618d4e58fad8c047d23eda8cd998e2bfae63c08f6c23d6a575e0a4c3ac78222576451
7
+ data.tar.gz: d2150bb526463fc4fec1588c97019fd5f01e0154e3e4fda84ed078b8e5cf13bcee73f86efa62fde27b80b8eaa3b16a43d722ce719d105ea69807aa7a966ccfdf
@@ -29,7 +29,7 @@ module Corn
29
29
  def submit(name)
30
30
  @prof.stop
31
31
  if configured?
32
- o = `curl -F data=@#{@prof.output_file} -F client_id=#{client_id} -F name=#{name} #{submit_url}`
32
+ o = `curl -F data=@#{@prof.output_file.inspect} -F client_id=#{client_id.inspect} -F name=#{name.inspect} #{submit_url}`
33
33
  if $?.exitstatus != 0
34
34
  log("Submit report error: \n#{o}")
35
35
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: corn
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.2
4
+ version: 0.1.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Xiao Li