asca 1.0.2 → 1.0.3

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: 137f7073a5bf2438aeb4956d68bd9db97b08c5fdc8fb0bc8cfbf3512f3907651
4
- data.tar.gz: cd9a3407a0fdba3cc8abb327062ddc04e62471409565bc002f4844067f68f88d
3
+ metadata.gz: 3b04763028905de40e4e3ca85769605648aa1cbd11930ac53e4c59d03c5b2dc2
4
+ data.tar.gz: 6aa17a0656065a4a848e8deaf36d8c46b5ef816e14a8e9ece3108d2a349564fd
5
5
  SHA512:
6
- metadata.gz: a10ee69cc466081e8418cb2c5f8a09818509a1b43845e751322f18036a7edf304ab7a59c41aaaf02a7227172fca6865c73e35efd5ac8655e895f8c71bd51890d
7
- data.tar.gz: 1f91855e1833417c3b5547d67b8f0bff7a8f701333cd106dae5fab89f12afaf522fa146d2370a3ca7e3edd3980711e33bb5a74c37c0d87d8020132349903f142
6
+ metadata.gz: e4f56958b5d96617f88cf99d5a51609d7336ca15ba7af887aa91a4b968212c63f34c5de8775606fe98718fdae61a1eaaeb5b8b67ef377293717854da82716182
7
+ data.tar.gz: af82a63382977f9e71fe4545b2af5143c3ca50014bd88d3bf3b0f94b5d5dcd2d259882d719b4d2a3109539389e93cfb16b81754ed342b97228722a0066cbb98b
data/exe/asca CHANGED
@@ -66,7 +66,7 @@ elsif api_name
66
66
  when 'get'
67
67
  Asca::REST::Provisioning::Devices.list_devices
68
68
  when 'post'
69
- Asca::REST::Provisioning::Devices.register_new_device options[:udid], options[:name]
69
+ Asca::REST::Provisioning::Devices.register_new_device :udid => options[:udid], :name => options[:name]
70
70
  else
71
71
  Asca::Tools::Log.error("Unsupported request method #{method} for api #{api_name}, coming soon!!")
72
72
  end
@@ -30,6 +30,7 @@ module Asca
30
30
  if response.status.success?
31
31
  return true
32
32
  else
33
+ Asca::Tools::Log.error(response.body)
33
34
  return false
34
35
  end
35
36
  end
@@ -1,3 +1,3 @@
1
1
  module Asca
2
- VERSION = "1.0.2"
2
+ VERSION = "1.0.3"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: asca
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.2
4
+ version: 1.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - xueminghao
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2020-09-03 00:00:00.000000000 Z
11
+ date: 2020-09-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler