plesk_kit 2.0.2 → 2.0.3

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
- YTNkOGJkNWUwNTU3MzEyM2E4ZDk3YTVjMDdmODQ2NzUyZDI1NzdjNg==
4
+ Zjk3MDE3MzFlMzBmMzEyNWYyYjlkMDEwZGQ0MDNhM2Q2NTU4ZjE1Zg==
5
5
  data.tar.gz: !binary |-
6
- NGQyYjYyOTQ4MjMzZmMwZDAxNWU4N2Y2MDkxMjljNzMzZWZkZTc1Ng==
6
+ NGUxMTFlZWExNTc2NDIzNWI5OTA4ZWY1M2FjM2MzNDY3NGI3NzFlMA==
7
7
  SHA512:
8
8
  metadata.gz: !binary |-
9
- NTgxOGYzNzM4NzY2N2ZiYTVhYjJkOTZlOTMzNmMyNDkxY2RiYzFlOTgwMjA4
10
- Y2ZkMDM2MWEwMjVjZTc0MTRjZGU0YzliNDUzODU4ODVmZjdkMjkzMDJiNzA0
11
- MzllYmRlZGM0OGYwMDAxNzczNzYzNmUxYWFiZjQxNjFmY2Q5NDQ=
9
+ NTZlMzY0NjlmMzY5NTAyMDY5ZTA3OTZlMTgyNjg1YzVlYmNkODIwZDA0OWQw
10
+ NmJmMzY0ZmJkNjhhMjkzYzU5NjU4MjliMWVhMTI1MTVjZTE2YWI2MWI1OTZi
11
+ ZWRhMThhZjY4ZjBkMDhlZWIzM2Y1ZDIzMjhiYWQ2Y2M2ZDczMzc=
12
12
  data.tar.gz: !binary |-
13
- YmVhNDQ3OTNmNzJkZjBiMGY2MTFmYWE0NmNkMWNmYmEwMmE2NzBjMjE4MTFh
14
- ZDNkNzVhNjNmOWRmMTlmM2I4YWIyODI5NDRjODliMzQ1Yjc1ZmZiYTk1NGUw
15
- ZWZlNjcwZjM3OGEwYzZkN2YyY2ExYTQ3MThlNmIwYjg2ZDljY2I=
13
+ ZDAzN2Q3NTdmNjA4NGVlZjBkYzkwMzk4ZGExZjI5YTc0OGMwOTkxMDc4NzBj
14
+ ZDgzYjM1ODcyYTM4NjViMGU4YWJiNjdkZTJkYmM0ZmNiMzE2OWI2M2VkODFl
15
+ NThiYTk5M2Y2OTQxYzgzODc2OGFiNjFiYjVlYzhjM2ZlNjQ5ZmU=
@@ -49,37 +49,3 @@ class Client
49
49
  return res
50
50
  end
51
51
  end
52
-
53
-
54
- url = 'https://rt.ahq.net.au/REST/1.0/NoAuth/mail-gateway'
55
- 'https://rt.ahq.net.au/REST/1.0/NoAuth/mail-gateway'
56
-
57
-
58
-
59
-
60
- class Client
61
- attr_accessor :host, :user, :pass, :timeout, :rpc_version, :xml_response, :xml_target
62
- def initialize(host,user,pass)
63
- @host, @user, @pass, @timeout = host, user, pass, 30
64
- end
65
-
66
- def send(params)
67
- http = Net::HTTP.new(@host)
68
- puts http.inspect
69
- http.use_ssl = true
70
- http.verify_mode = OpenSSL::SSL::VERIFY_NONE
71
- @headers = {
72
- 'HTTP_AUTH_LOGIN' => @user,
73
- 'HTTP_AUTH_PASSWD' => @pass
74
- }
75
- puts @headers
76
- path = "/REST/1.0/NoAuth/mail-gateway"
77
- res, data = http.post2(path, params, @headers)
78
- puts res
79
- return res.body, params
80
- end
81
- end
82
- end
83
-
84
-
85
-
@@ -1,3 +1,3 @@
1
1
  module PleskKit
2
- VERSION = "2.0.2"
2
+ VERSION = "2.0.3"
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.2
4
+ version: 2.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dionne Saunders