bastion 6.1.12 → 6.1.13

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
- SHA256:
3
- metadata.gz: 6f11831c757e085964eec515d0098685f75cbb377e37f520d7cc491e241a3ef8
4
- data.tar.gz: f8aa80f861bc4f05bdc2cf907650325907369eae257e1b4d71815fb80bdf85ae
2
+ SHA1:
3
+ metadata.gz: 843cbe52497301c917e80263516ba4e013d8bbea
4
+ data.tar.gz: 59e6a3520d407e6644f9b517c6184debaf02c91f
5
5
  SHA512:
6
- metadata.gz: 572b7dac5e2e6c73886d4af66cb1913f51af9091e3b014ca19dfc4e9b7e6905a2c78a417a7b3e1adbd3ba942c3775b0a0d35b23534efab033dca74fe41d94168
7
- data.tar.gz: ae41ce75f9710d2021e26191ae466fed3c13aa7cd1f23896a8eb388bedbadc92b1f64415605da9309e55a6b4699f2e60e1e503b6adc1286014fdefc5afe5a678
6
+ metadata.gz: 3a239a9608796991b93abd0d6a234cf4ab9198701a9898e6d78aec820942802424507d70fb7e42cb874bfe75e0869d1dd6e26d62de56d09c78effc4d536a9113
7
+ data.tar.gz: cf56f408f9354e9c7e31755a96a0a49937c0320fbda6e3b32b8e0ddde6a7771caec49f44c33c234d306b2c9926215e0ada1a34368cfa32825f10cc0fa53edcca
@@ -1,4 +1,4 @@
1
- angular.element(document).ready(function () {
1
+ angular.element(document).ready(function () {
2
2
  angular.bootstrap(document, BASTION_MODULES);
3
3
  });
4
4
 
@@ -138,6 +138,8 @@ angular.module('Bastion.components')
138
138
  $scope.$watch('editTrigger', function (edit) {
139
139
  if (edit) {
140
140
  $scope.edit();
141
+ } else {
142
+ $scope.editMode = false;
141
143
  }
142
144
  });
143
145
 
@@ -174,7 +176,9 @@ angular.module('Bastion.components')
174
176
  handleSave: '&onSave',
175
177
  handleCancel: '&onCancel',
176
178
  deletable: '@deletable',
177
- handleDelete: '&onDelete'
179
+ handleDelete: '&onDelete',
180
+ editTrigger: '=',
181
+ forcedWorkingMode: '='
178
182
  },
179
183
  templateUrl: 'components/views/bst-edit-text.html'
180
184
  };
@@ -247,7 +251,8 @@ angular.module('Bastion.components')
247
251
  handleCancel: '&onCancel',
248
252
  deletable: '=deletable',
249
253
  handleDelete: '&onDelete',
250
- editTrigger: '='
254
+ editTrigger: '=',
255
+ forcedWorkingMode: '='
251
256
  },
252
257
  templateUrl: 'components/views/bst-edit-select.html',
253
258
  compile: function (element, attrs) {
@@ -82,7 +82,7 @@ angular.module('Bastion.components').factory('Nutupane',
82
82
 
83
83
  self.loadParamsFromExistingTable = function (existingTable) {
84
84
  _.extend(existingTable.params, params);
85
- self.table.params = existingTable.params;
85
+ self.params = existingTable.params;
86
86
  if (!self.table.searchTerm) {
87
87
  self.table.searchTerm = existingTable.searchTerm;
88
88
  }
@@ -1,3 +1,3 @@
1
1
  module Bastion
2
- VERSION = "6.1.12"
2
+ VERSION = "6.1.13"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bastion
3
3
  version: !ruby/object:Gem::Version
4
- version: 6.1.12
4
+ version: 6.1.13
5
5
  platform: ruby
6
6
  authors:
7
7
  - Eric D Helms
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2018-06-04 00:00:00.000000000 Z
12
+ date: 2018-09-10 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: angular-rails-templates
@@ -1761,47 +1761,47 @@ required_rubygems_version: !ruby/object:Gem::Requirement
1761
1761
  version: '0'
1762
1762
  requirements: []
1763
1763
  rubyforge_project:
1764
- rubygems_version: 2.7.6
1764
+ rubygems_version: 2.6.14
1765
1765
  signing_key:
1766
1766
  specification_version: 4
1767
1767
  summary: UI library of AngularJS based components for Foreman
1768
1768
  test_files:
1769
+ - test/auth/authorization.service.test.js
1769
1770
  - test/bastion-config.test.js
1770
- - test/components/formatters/unlimited-filter.filter.test.js
1771
- - test/components/formatters/capitalize.filter.test.js
1772
- - test/components/formatters/array-to-string.filter.test.js
1773
- - test/components/formatters/key-value-to-string.filter.test.js
1774
- - test/components/formatters/boolean-to-yes-no.filter.test.js
1775
- - test/components/path-selector.directive.test.js
1776
- - test/components/bst-form-buttons.directive.test.js
1777
- - test/components/notification.service.test.js
1778
- - test/components/bst-edit.directive.test.js
1779
- - test/components/bst-dropdown.directive.test.js
1780
- - test/components/typeahead-empty.directive.test.js
1781
- - test/components/bst-menu.directive.test.js
1771
+ - test/bastion/test-constants.js
1772
+ - test/components/bst-alert.directive.test.js
1782
1773
  - test/components/bst-bookmark.directive.test.js
1774
+ - test/components/bst-bookmark.factory.test.js
1775
+ - test/components/bst-dropdown.directive.test.js
1776
+ - test/components/bst-edit.directive.test.js
1783
1777
  - test/components/bst-flyout.directive.test.js
1784
- - test/components/bst-table.directive.test.js
1778
+ - test/components/bst-form-buttons.directive.test.js
1779
+ - test/components/bst-form-group.directive.test.js
1780
+ - test/components/bst-menu.directive.test.js
1785
1781
  - test/components/bst-modal.directive.test.js
1786
- - test/components/page-title.directive.test.js
1787
- - test/components/bst-bookmark.factory.test.js
1788
1782
  - test/components/bst-resource-switcher.directive.test.js
1789
- - test/components/bst-alert.directive.test.js
1790
- - test/components/page-title.service.test.js
1791
- - test/components/bst-form-group.directive.test.js
1783
+ - test/components/bst-table.directive.test.js
1784
+ - test/components/formatters/array-to-string.filter.test.js
1785
+ - test/components/formatters/boolean-to-yes-no.filter.test.js
1786
+ - test/components/formatters/capitalize.filter.test.js
1787
+ - test/components/formatters/key-value-to-string.filter.test.js
1788
+ - test/components/formatters/unlimited-filter.filter.test.js
1789
+ - test/components/notification.service.test.js
1792
1790
  - test/components/nutupane.factory.test.js
1791
+ - test/components/page-title.directive.test.js
1792
+ - test/components/page-title.service.test.js
1793
+ - test/components/path-selector.directive.test.js
1793
1794
  - test/components/table-cache.service.test.js
1794
- - test/menu/menu-expander.service.test.js
1795
+ - test/components/typeahead-empty.directive.test.js
1795
1796
  - test/features/bst-feature-flag.directive.test.js
1796
1797
  - test/features/feature-flag.service.test.js
1797
- - test/test-mocks.module.js
1798
1798
  - test/i18n/translate.service.test.js
1799
+ - test/menu/menu-expander.service.test.js
1799
1800
  - test/routing.module.test.js
1800
- - test/auth/authorization.service.test.js
1801
- - test/utils/stop-event.directive.test.js
1802
- - test/utils/round-up.filter.test.js
1801
+ - test/test-mocks.module.js
1803
1802
  - test/utils/bastion-resource.factory.test.js
1804
- - test/utils/urlencode.filter.test.js
1805
1803
  - test/utils/disable-link.directive.test.js
1806
1804
  - test/utils/form-utils.service.test.js
1807
- - test/bastion/test-constants.js
1805
+ - test/utils/round-up.filter.test.js
1806
+ - test/utils/stop-event.directive.test.js
1807
+ - test/utils/urlencode.filter.test.js