foreman_teamdynamix 2.0.0 → 2.0.1
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
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: b40a15addc4d8c3192b5fc6d44caf73fb95e2874b7cd1bc2d13c27af1d6404de
|
|
4
|
+
data.tar.gz: 983c8cdc8f8b6423e5e7ca39715b24407068283be15b6042c00e6c174893d440
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 76495ac1fc2e103f9142d2051afe48fdb94c2c5062de4f0f6ddd20e73134c35bcea932663f9f9e98c52f667c280c1cfa05a817bcfd9a90c89676a91c83fcea3b
|
|
7
|
+
data.tar.gz: a64494b5c516bb9561bfada9c7559e2376ec4aa062f1029b9cc085b740da9719d1eabcefad791e912dca803b72865a6bd16b877be1707adfe9a118f6f9c74029
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
if SETTINGS[:teamdynamix]
|
|
2
2
|
Deface::Override.new(:virtual_path => 'hosts/show',
|
|
3
3
|
:name => 'teamdynamix_add_tab',
|
|
4
|
-
:insert_bottom => 'ul#
|
|
4
|
+
:insert_bottom => 'ul#host-show-tabs',
|
|
5
5
|
:text =>
|
|
6
6
|
"<li><a href='#teamdynamix' data-toggle='tab'><%= _(teamdynamix_title) %></a></li>")
|
|
7
7
|
end
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
if SETTINGS[:teamdynamix]
|
|
2
2
|
Deface::Override.new(:virtual_path => 'hosts/show',
|
|
3
3
|
:name => 'teamdynamix_add_tab_link',
|
|
4
|
-
:insert_bottom => 'div#
|
|
4
|
+
:insert_bottom => 'div#host-show-tabs-content',
|
|
5
5
|
:text =>
|
|
6
6
|
"\n <div id='teamdynamix' class='tab-pane'
|
|
7
7
|
data-ajax-url='<%= teamdynamix_host_path(@host)%>' data-on-complete='onContentLoad'>
|
|
@@ -14,7 +14,7 @@ class HostsControllerTest < ActionController::TestCase
|
|
|
14
14
|
test 'loads the TeamDynamix tab' do
|
|
15
15
|
get :show, { :id => host.name }, set_session_user
|
|
16
16
|
assert_includes response.headers['Content-Type'], 'text/html'
|
|
17
|
-
assert_includes response.body, "<ul id=\"
|
|
17
|
+
assert_includes response.body, "<ul id=\"host-show-tabs\""
|
|
18
18
|
assert_equal(200, response.status)
|
|
19
19
|
assert_includes response.body, "<li><a href=\"#teamdynamix\" data-toggle=\"tab\">#{td_tab_title}</a></li>"
|
|
20
20
|
assert_includes response.body,
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: foreman_teamdynamix
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 2.0.
|
|
4
|
+
version: 2.0.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Nipendar Tyagi
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2021-01-
|
|
11
|
+
date: 2021-01-10 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: deface
|