plesk_kit 2.0.7 → 2.0.8

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
- OTE4NDMzOTNmYWM1M2Y2ZjAzNzlkYjI0NjRiZmI2MDNlNTIwMGEwZg==
4
+ NjkwZmU0YmRiNjUwM2VjMWZhYmQ4NTkxZmI1NjlmOGVhN2RiZTk4MA==
5
5
  data.tar.gz: !binary |-
6
- NjA2YTA5NTFhYjVlNzY1OWY1M2ZjNDRjYjFiMTk4NDRhMjQwNjI3Nw==
6
+ NDA4NzkxZjljZDNjZGQyYWM2NWE0Njc2MzAyNTMzNGMxNjU1NGRiYQ==
7
7
  SHA512:
8
8
  metadata.gz: !binary |-
9
- MzczY2NlZDJmNmYyNjYzMDA5NWMzY2Y1NzllNjYxMjc0ZTY2NGFjOTg3MzNk
10
- YWU1Y2VkYTA5YTAyNmZhYTRmYzc5MmM2ZDk0MGViYTMzNDcyYTcxYTZlMzI3
11
- N2U3NjU3ZDc0YjgxYTBkMjhiMDg0NWMxMTU0OGU4NDU1NTMyMDE=
9
+ MjAwNzY4MTFkOGY5MmUwMGU4NjBlZmVkYTBiNDA4ZDJkNjk1NzEwZjQ0ZmVk
10
+ MDBhZTQyZmY0NGE4MTA0MzNhNjhlZGU5ZWJhNjc5OWEyOTRmMDlhMTFiN2Fl
11
+ NzYzZTc1Yjc5MTM0MmUxYWI1YmM0ZWNjMmJhOTZhYjUwOWU2NjQ=
12
12
  data.tar.gz: !binary |-
13
- OGZiM2ZiM2I2YjBkMzNlYzg4MGI3MTUyZjlmNWEwNTBlZGFkNDM3NDUyODZk
14
- YmVhYjE5MTA2MjhlZGJkOGY0OWMwNjgzNTBjYzc4OTkwMDU2Y2NiMDhiZTYy
15
- ZTI1MmQzOTg2MzAzOTYzMWJjZWYyZjJiOWM5MTIxY2FjY2U0ZjY=
13
+ YjUyNmZhNzQ1YzBlOTU0YmE0MmU0ZGNiNmRjYTFmYTljYWRkMjI0MDI3ZDIy
14
+ OGJiMDk3YjA3ZDIzNWZhNWJiYWU0ZjRhMGQzMDczMGZkZTQ4NjI2ZDcxNzIy
15
+ N2I0OTc0MzNjMDJkNGU5NjliMzU4YTAzYjAxM2MyYjJiNDZjNDU=
@@ -50,6 +50,7 @@ module PleskKit
50
50
  def pack_this shell, customer
51
51
  digits = customer.login.to_s.split('')
52
52
  xx = ''
53
+ digits.each {|d|xx << (d.to_i + 65).chr}
53
54
  xml = shell
54
55
  xml.instruct!
55
56
  xml.packet(:version => '1.6.3.5') {
@@ -64,7 +65,7 @@ module PleskKit
64
65
  xml.vrt_hst{
65
66
  xml.property{
66
67
  xml.name('ftp_login')
67
- xml.value("#{digits.each {|d|xx << (d.to_i + 65).chr}}") #rand(36**8).to_s(36)
68
+ xml.value(xx) #rand(36**8).to_s(36)
68
69
  }
69
70
  xml.property{
70
71
  xml.name('ftp_password')
@@ -1,3 +1,3 @@
1
1
  module PleskKit
2
- VERSION = "2.0.7"
2
+ VERSION = "2.0.8"
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.7
4
+ version: 2.0.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dionne Saunders