plesk_kit 2.0.3 → 2.0.4

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,15 +1,15 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
3
  metadata.gz: !binary |-
4
- Zjk3MDE3MzFlMzBmMzEyNWYyYjlkMDEwZGQ0MDNhM2Q2NTU4ZjE1Zg==
4
+ NWExOWFjOTQ1MGZkODg0NDIwODEyMGI2MGRkYTJkZTY5NmQ4YTY1YQ==
5
5
  data.tar.gz: !binary |-
6
- NGUxMTFlZWExNTc2NDIzNWI5OTA4ZWY1M2FjM2MzNDY3NGI3NzFlMA==
6
+ MjVkYWM5ZThhMjBlYjQ2NzEzODQyZDJlNDk2Nzg5ZGNkYTU2NDAwOA==
7
7
  SHA512:
8
8
  metadata.gz: !binary |-
9
- NTZlMzY0NjlmMzY5NTAyMDY5ZTA3OTZlMTgyNjg1YzVlYmNkODIwZDA0OWQw
10
- NmJmMzY0ZmJkNjhhMjkzYzU5NjU4MjliMWVhMTI1MTVjZTE2YWI2MWI1OTZi
11
- ZWRhMThhZjY4ZjBkMDhlZWIzM2Y1ZDIzMjhiYWQ2Y2M2ZDczMzc=
9
+ ZWZmY2VlYmY2NjQ5YWI3ZmYzNWVmOWQwZTA3Y2I5Yzg2ZGNkYjYzN2NkY2Ey
10
+ M2VjODg0YmZiYmM0ZTc5OTY2MTU1Mjk1OWMxOWZiMmVhMDllZTk1Y2JjY2I3
11
+ YjBmZDQ3YTRlOTI3Njk0MzZhNzU1OWU0MTU3ZTc5NWEwOTE3ZDY=
12
12
  data.tar.gz: !binary |-
13
- ZDAzN2Q3NTdmNjA4NGVlZjBkYzkwMzk4ZGExZjI5YTc0OGMwOTkxMDc4NzBj
14
- ZDgzYjM1ODcyYTM4NjViMGU4YWJiNjdkZTJkYmM0ZmNiMzE2OWI2M2VkODFl
15
- NThiYTk5M2Y2OTQxYzgzODc2OGFiNjFiYjVlYzhjM2ZlNjQ5ZmU=
13
+ OGVmZTM1MWE3ODBlOWI4ZDlkYmU5NjI3YTQwNjA2ZGM3ODYzMmMxNzJmMGZl
14
+ YjlkNDc3OTNhZDA4MWNlMmE2M2I3Zjk2YWFhODZlYWUwZTgzMDE5OGQxMmQz
15
+ NDA1ZDA3ZTA1NDNlOGQ3YmJkMDJkZjVjMWQ4N2M1M2U3Yjk1NGQ=
@@ -22,30 +22,4 @@ module PleskKit
22
22
  return res.body, xml
23
23
  end
24
24
  end
25
- end
26
-
27
-
28
-
29
-
30
- class Client
31
- attr_accessor :host, :user, :pass, :timeout, :rpc_version, :xml_response, :xml_target
32
- def initialize(host,user,pass)
33
- @host, @user, @pass, @timeout = host, user, pass, 30
34
- end
35
-
36
- def send
37
- http = Net::HTTP.new(@host)
38
- puts http.inspect
39
- http.use_ssl = true
40
- http.verify_mode = OpenSSL::SSL::VERIFY_NONE
41
- @headers = {
42
- 'HTTP_AUTH_LOGIN' => @user,
43
- 'HTTP_AUTH_PASSWD' => @pass
44
- }
45
- puts @headers
46
- path = "/REST/1.0/NoAuth/mail-gateway"
47
- res, data = http.get(path, @headers)
48
- puts res
49
- return res
50
- end
51
- end
25
+ end
@@ -1,3 +1,3 @@
1
1
  module PleskKit
2
- VERSION = "2.0.3"
2
+ VERSION = "2.0.4"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: plesk_kit
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.3
4
+ version: 2.0.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dionne Saunders