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: 794c51b66dd0d644686457e879f7afdac549631887c3992ff7fb3e0f605c75b6
4
- data.tar.gz: 643df4d3a0afa76409a95bea74a9d1827ba52ccb34de79d1beef8100c9ecc21d
3
+ metadata.gz: b40a15addc4d8c3192b5fc6d44caf73fb95e2874b7cd1bc2d13c27af1d6404de
4
+ data.tar.gz: 983c8cdc8f8b6423e5e7ca39715b24407068283be15b6042c00e6c174893d440
5
5
  SHA512:
6
- metadata.gz: 43388c4a90d67990cafa869640227c28dcc11d16ec9a404aca967c4e06ef44ee1637c9d95fb381cc398eca99f40a1e713799c11b0432510061da40286b6f14a6
7
- data.tar.gz: a197a8ec8140d1d076b5173529d1bde01c8c3145708f701bf7ba3088fcb0f2d142b4c95eee03269ccbe4925a4ae0e10716f849b08bd1b442879f376e8f4c1ae1
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#myTab',
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#myTabContent',
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'>
@@ -1,3 +1,3 @@
1
1
  module ForemanTeamdynamix
2
- VERSION = '2.0.0'.freeze
2
+ VERSION = '2.0.1'.freeze
3
3
  end
@@ -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=\"myTab\""
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.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-08 00:00:00.000000000 Z
11
+ date: 2021-01-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: deface