plesk_kit 2.2.2 → 2.2.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +8 -8
- data/app/models/plesk_kit/subscription.rb +1 -1
- data/app/views/plesk_kit/servers/index.html.erb +2 -0
- data/db/migrate/20140209235653_add_ip_address_to_plesk_kit_servers.rb +5 -0
- data/lib/plesk_kit/version.rb +1 -1
- data/test/dummy/db/schema.rb +1 -0
- data/test/dummy/log/development.log +12 -0
- metadata +3 -2
checksums.yaml
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
---
|
2
2
|
!binary "U0hBMQ==":
|
3
3
|
metadata.gz: !binary |-
|
4
|
-
|
4
|
+
MWFlNGY1Mzk4NDlkNmZjYTgzOWUyNmQ0MjExZTY2YTE0ZDFhOTllZQ==
|
5
5
|
data.tar.gz: !binary |-
|
6
|
-
|
6
|
+
MDI0Y2EyNDJiNTIxZDVjOGI5YWZmNjRjM2M5MDhjNmIyNGM4MDM3NQ==
|
7
7
|
SHA512:
|
8
8
|
metadata.gz: !binary |-
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
OGViYWVjYjA5NmVjNGMzNDE0ZGI0OWJlZWY5ZjlmMGEyODU2YTEwOWI0OWRk
|
10
|
+
YWU5MDc2MWM3MDkwODkwMjJkNWZiYWU4NWFmMDdmZDQxN2U0MTE2Nzg5MzZi
|
11
|
+
MGMxOTM0MjI1OGVhN2Y0Y2UwZTUyZjQzNmVjZjI2ODM1YWE0NzQ=
|
12
12
|
data.tar.gz: !binary |-
|
13
|
-
|
14
|
-
|
15
|
-
|
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.
|
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>
|
data/lib/plesk_kit/version.rb
CHANGED
data/test/dummy/db/schema.rb
CHANGED
@@ -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
|
+
[1m[36m (77.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
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
|
+
[1m[35m (0.1ms)[0m select sqlite_version(*)
|
9473
|
+
[1m[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
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.
|
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:
|
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
|