plesk_kit 2.2.2 → 2.2.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
- ZDYwYmVjNjRiN2NiN2Y3MzQwY2U1N2Y1MzI1YjFlNzFhMDVjZWRkYQ==
4
+ MWFlNGY1Mzk4NDlkNmZjYTgzOWUyNmQ0MjExZTY2YTE0ZDFhOTllZQ==
5
5
  data.tar.gz: !binary |-
6
- YmFkMGUxNDRjZjg5ODZjZDYxZGMwNGJmMDRkMzQzMWNmNDFiMjJlZA==
6
+ MDI0Y2EyNDJiNTIxZDVjOGI5YWZmNjRjM2M5MDhjNmIyNGM4MDM3NQ==
7
7
  SHA512:
8
8
  metadata.gz: !binary |-
9
- ZDVkZWQ4ZWI1NWZjMjU3ZTc3MDUyMTc0OWZkOGI3ZDRkOWExNDA4MmVjOWUy
10
- NzQ0YzZiNWFkOTFmMmVjY2UwMmZhN2VhNTBkZDA0YWIxYTZmOTU4MjE3YzFi
11
- ZGJlN2M4NjhhYTUwMTQ5ZGQzYTNlNmU5MGI5NGNmYzY1YThlZDc=
9
+ OGViYWVjYjA5NmVjNGMzNDE0ZGI0OWJlZWY5ZjlmMGEyODU2YTEwOWI0OWRk
10
+ YWU5MDc2MWM3MDkwODkwMjJkNWZiYWU4NWFmMDdmZDQxN2U0MTE2Nzg5MzZi
11
+ MGMxOTM0MjI1OGVhN2Y0Y2UwZTUyZjQzNmVjZjI2ODM1YWE0NzQ=
12
12
  data.tar.gz: !binary |-
13
- N2VjNGVmOWZhMmM3OTZiOWJiYjUyNjY3MmYyMzJlMTdhN2YzZmFjMzM4Zjdi
14
- N2UzNDNlY2FhYzdhNGJlMzljOWMwZDBjNThkMzgyMDc5ZWFiNzRiNGM0ZDdi
15
- YTJlZTYzOTAzYjNlMGUzYTk3NjJkZjlhMTI0NTkwOTYyMmMwOGI=
13
+ MGQ4MTg3OTAyMDJmZjQyM2ZjN2ZiMzVkZDM3ODdlYTI0MzNiNmZkNjMxN2Jk
14
+ NzlkZDJmYjE1MzE0MDcxNzIxM2JlOGMzZGMzNzU0MTExMmZmODBkMTFkMWMz
15
+ ZjBhYmU3N2IyYmM2MTllYjNlMDNiYjQ4NjVjYjBhODEzNTVhNzg=
@@ -30,7 +30,7 @@ module PleskKit
30
30
  self.service_plan_id = plan.id
31
31
  if plan.find_or_push(account.server).present?
32
32
  self.plan_name = self.plan_name
33
- self.ip_address = account.server.host
33
+ self.ip_address = account.server.ip_address
34
34
  self.owner_login = account.login
35
35
  self.name = self.name
36
36
  if account.class.to_s == 'PleskKit::ResellerAccount'
@@ -7,6 +7,7 @@
7
7
  <th>Username</th>
8
8
  <th>Password</th>
9
9
  <th>Ghostname</th>
10
+ <th>IP Address</th>
10
11
  <th></th>
11
12
  <th></th>
12
13
  <th></th>
@@ -19,6 +20,7 @@
19
20
  <td><%= server.username %></td>
20
21
  <td><%= server.password %></td>
21
22
  <td><%= server.ghostname %></td>
23
+ <td><%= server.ip_address %></td>
22
24
  <td><%= link_to 'Show', server %></td>
23
25
  <td><%= link_to 'Edit', edit_server_path(server) %></td>
24
26
  <td><%= link_to 'Destroy', server, method: :delete, data: { confirm: 'Are you sure?' } %></td>
@@ -0,0 +1,5 @@
1
+ class AddIpAddressToPleskKitServers < ActiveRecord::Migration
2
+ def change
3
+ add_column :plesk_kit_servers, :ip_address, :string
4
+ end
5
+ end
@@ -1,3 +1,3 @@
1
1
  module PleskKit
2
- VERSION = "2.2.2"
2
+ VERSION = "2.2.3"
3
3
  end
@@ -52,6 +52,7 @@ ActiveRecord::Schema.define(:version => 20130925230905) do
52
52
  t.datetime "created_at", :null => false
53
53
  t.datetime "updated_at", :null => false
54
54
  t.string "platform"
55
+ t.string "ip_address"
55
56
  end
56
57
 
57
58
  create_table "plesk_kit_service_plans", :force => true do |t|
@@ -9459,3 +9459,15 @@ Connecting to database specified by database.yml
9459
9459
  Connecting to database specified by database.yml
9460
9460
  Connecting to database specified by database.yml
9461
9461
  Connecting to database specified by database.yml
9462
+ Connecting to database specified by database.yml
9463
+  (77.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
9464
+ Migrating to CreatePleskKitCustomerAccounts (20130906035255)
9465
+ Migrating to CreatePleskKitResellerAccounts (20130906035256)
9466
+ Migrating to CreatePleskKitSubscriptions (20130906035257)
9467
+ Migrating to CreatePleskKitServers (20130906040830)
9468
+ Migrating to CreatePleskKitServicePlans (20130917020158)
9469
+ Migrating to AddPlatformToCustomerAccount (20130925230903)
9470
+ Migrating to AddPlatformToResellerAccount (20130925230904)
9471
+ Migrating to AddPlatformToServer (20130925230905)
9472
+  (0.1ms) select sqlite_version(*)
9473
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: plesk_kit
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.2.2
4
+ version: 2.2.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dionne Saunders
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2013-12-10 00:00:00.000000000 Z
11
+ date: 2014-02-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
@@ -105,6 +105,7 @@ files:
105
105
  - db/migrate/20130925025125_add_platform_to_customer_account.rb
106
106
  - db/migrate/20130925025132_add_platform_to_reseller_account.rb
107
107
  - db/migrate/20130925030540_add_platform_to_server.rb
108
+ - db/migrate/20140209235653_add_ip_address_to_plesk_kit_servers.rb
108
109
  - lib/plesk_kit/engine.rb
109
110
  - lib/plesk_kit/version.rb
110
111
  - lib/plesk_kit.rb