jump_cloud 0.2.0.pre.rc2 → 0.2.0.pre.rc3

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
  SHA1:
3
- metadata.gz: a974b6398aff159eef0920fd66f30bbd37fd9492
4
- data.tar.gz: 1e138745c6f6b3cdb63798a417b55644823ef2b9
3
+ metadata.gz: 7ce86d354b03e760c0ac19e0048379cf4ceb65be
4
+ data.tar.gz: 0d6032a517fc80a6924d2dd85dee9a763e4d5677
5
5
  SHA512:
6
- metadata.gz: 077c51d9703f368cfa381b164cdc68a42dc85ebff5007d2bd9bc89e7f383317db33aa574dc72933144a2deaae91a5d3a1e33180097f539f4b52c732c461f3cba
7
- data.tar.gz: 1a0ef0b82969058424a1e71550f60fc52fdf8bc21994c93defe44bc417d0bd75614b070900ca4ad7608f6f2a15bf18b8cb60e7d562df232e2a7de6f71385a327
6
+ metadata.gz: 2f788ac8d0dd2a95f4f78d8b39f6dc79566c01440e557414f4e7e4882edf3f39ba9354051dda4dc55b78e5eb782444f46bffba177a745f2997d2ea2ae8651fc5
7
+ data.tar.gz: 0d3ff5c5e1d7a7d25e3960f485cf347c4a14ec78a020d0f708fdf5aea2776dd834e4c0e30e942d8835efcb9e411299b2f4f78bf7a720954bce7bdad71e41dada
@@ -35,7 +35,7 @@ module JumpCloud
35
35
  curl_flags = "--silent --show-error"
36
36
  curl_headers = "--header 'x-connect-key: #{JumpCloud.config.connect_key}'"
37
37
  exe = JumpCloud.config.install_sudo ? "sudo bash" : "bash"
38
- "curl #{curl_flags} #{curl_headers} #{kick_start_url} | #{exe}"
38
+ "curl #{curl_flags} #{curl_headers} #{kick_start_url} | /usr/bin/env #{exe}"
39
39
  else
40
40
  fail "Not supported"
41
41
  end
@@ -3,7 +3,7 @@ module JumpCloud
3
3
 
4
4
  def add(item)
5
5
  path = "#{self.request_path}/members"
6
- self.class.put(path, {
6
+ self.class.post(path, {
7
7
  op: "add",
8
8
  type: item.class.name.demodulize.downcase,
9
9
  id: item.id
@@ -1,3 +1,3 @@
1
1
  module JumpCloud
2
- VERSION = "0.2.0-rc2"
2
+ VERSION = "0.2.0-rc3"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jump_cloud
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0.pre.rc2
4
+ version: 0.2.0.pre.rc3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dale Stevens