bastion 5.0.4 → 5.0.5

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 0b38acac7159ccc6fd0448faa66044035a94c42c
4
- data.tar.gz: f3721642acc5343d5d92f31c505aaa24120ca368
3
+ metadata.gz: e7039c9850722913c6e9f047b33647ce9f1a6b14
4
+ data.tar.gz: c40a7dbcfcfc889ec28014c8c513ee02115949b3
5
5
  SHA512:
6
- metadata.gz: f795bad41b47115b0f7a05bb5e088c1f18ead3c9c55f3e12ba29e45d6b8701c7fa181aab004a461cafe94585d171e6b534e454f02db46c46cdd0aefbd8d72a39
7
- data.tar.gz: a426352d760c209b2b720e14c72ab7c29e126eeba35f819d1fc850671fbe8888a064030f3d090bf2b7e358e0e06ff1c78de4c767aaab3c3a3ef5987831fe2f83
6
+ metadata.gz: 2690d566f382dc3886384a10543535739e926199afd3d6fbf61691e3926b037b187043cd87b3e497f4345ca97c1e483683e677966816b7073c15e24372676cb7
7
+ data.tar.gz: 1252615f5b8a1999362d73c740c7fc86d806b4d38b0a321918a3739ca155e4937ee8af37937ecb9004df77f497f894836dd2021c75c8ea20d187ea46d1b02cbe
@@ -10,7 +10,7 @@
10
10
  * @example
11
11
  */
12
12
  angular.module('Bastion.components')
13
- .directive('bstTable', ['$window', function ($window) {
13
+ .directive('bstTable', function () {
14
14
  return {
15
15
  restrict: 'A',
16
16
  replace: true,
@@ -20,23 +20,43 @@ angular.module('Bastion.components')
20
20
  'rowChoice': '@'
21
21
  },
22
22
  controller: 'BstTableController',
23
- link: function (scope) {
24
- var resize = function () {
25
- angular.element($window).trigger('resize');
26
- };
23
+ link: function (scope, element) {
24
+ function checkForResults(rows) {
25
+ var table = scope.table,
26
+ tableElement = element.find('table'),
27
+ tableBody = tableElement.find('tbody'),
28
+ existingTr, numberOfColumns, messageTd, message;
29
+
30
+ tableBody.find('#noRowsTr').remove();
31
+
32
+ if (rows.length === 0 && !table.working) {
33
+ existingTr = tableBody.find('#noRowsTr');
34
+ numberOfColumns = tableElement.find('th').length;
35
+
36
+ if (table.searchTerm || table.searchCompleted) {
37
+ message = element.find("#noSearchResultsMessage").html();
38
+ } else {
39
+ message = element.find("#noRowsMessage").html();
40
+ }
41
+
42
+ messageTd = $('<td>').attr('colspan', numberOfColumns);
43
+ messageTd.html(message);
44
+
45
+ if (existingTr.length > 0) {
46
+ existingTr.html(messageTd);
47
+ } else {
48
+ tableBody.append($('<tr id="noRowsTr">'));
49
+ tableBody.find('tr').html(messageTd);
50
+ }
27
51
 
28
- // Trigger resize after resource $promise is resolved
29
- scope.$watch('table.resource', function (resource) {
30
- if (resource && resource.hasOwnProperty('$promise')) {
31
- resource.$promise.then(resize);
32
52
  }
33
- });
53
+ }
34
54
 
35
- // Trigger resize when rows change
36
- scope.$watch('table.rows', resize);
55
+ // Check for results and handle no rows message
56
+ scope.$watch('table.rows', checkForResults);
37
57
  }
38
58
  };
39
- }])
59
+ })
40
60
  .controller('BstTableController', ['$scope', function ($scope) {
41
61
  var rows = $scope.rows = [],
42
62
  headers = $scope.headers = [],
@@ -223,6 +223,7 @@ angular.module('Bastion.components').factory('Nutupane',
223
223
 
224
224
  self.table.refreshing = true;
225
225
  self.table.numSelected = 0;
226
+ self.table.selectAllResults(false);
226
227
  return self.load();
227
228
  };
228
229
 
@@ -352,6 +353,16 @@ angular.module('Bastion.components').factory('Nutupane',
352
353
  return (pageNumber >= 1) && (pageNumber <= self.table.getLastPage());
353
354
  };
354
355
 
356
+ self.table.getPageStart = function () {
357
+ var table = self.table, pageStart = 0;
358
+
359
+ if (table.rows.length > 0) {
360
+ pageStart = table.resource.offset;
361
+ }
362
+
363
+ return pageStart;
364
+ };
365
+
355
366
  self.table.getPageEnd = function () {
356
367
  var table = self.table, pageEnd;
357
368
 
@@ -1,4 +1,4 @@
1
- <div class="row toolbar-pf table-view-pf-toolbar-external" ng-class="{'empty-table': table.rows.length === 0}">
1
+ <div class="row toolbar-pf table-view-pf-toolbar-external">
2
2
  <div class="col-sm-12">
3
3
  <form class="toolbar-pf-actions">
4
4
  <div class="form-group toolbar-pf-search-filter">
@@ -47,10 +47,10 @@
47
47
  </div>
48
48
  </form>
49
49
 
50
- <div class="row toolbar-pf-results" ng-show="table.rows.length > 0">
50
+ <div class="row toolbar-pf-results">
51
51
  <div class="col-sm-9"></div>
52
52
  <div class="col-sm-3 table-view-pf-select-results" ng-show="table.rowSelect">
53
- <span translate>{{ table.numSelected }} of {{ table.resource.total }} Selected</span>
53
+ <span translate>{{ table.numSelected }} of {{ table.resource.subtotal }} Selected</span>
54
54
  </div>
55
55
  </div>
56
56
  </div>
@@ -59,14 +59,14 @@
59
59
  <div bst-table="table">
60
60
  <div class="row">
61
61
  <div class="col-sm-12">
62
- <p bst-alert="info" ng-show="table.rows.length === 0 && !table.working && !table.searchTerm && !table.searchCompleted">
62
+ <p id="noRowsMessage" ng-show="false">
63
63
  <span data-block="no-rows-message"></span>
64
64
  </p>
65
- <p bst-alert="info" ng-show="table.rows.length === 0 && !table.working && (table.searchTerm || table.searchCompleted)">
65
+ <p id="noSearchResultsMessage" ng-show="false">
66
66
  <span data-block="no-search-results-message"></span>
67
67
  </p>
68
68
 
69
- <div ng-show="table.rows.length > 0" ng-class="{'table-mask': table.refreshing || table.working}">
69
+ <div ng-class="{'table-mask': table.refreshing || table.working}">
70
70
  <div data-block="table"></div>
71
71
 
72
72
  <form class="content-view-pf-pagination table-view-pf-pagination clearfix">
@@ -80,7 +80,7 @@
80
80
  </div>
81
81
  <div class="form-group">
82
82
  <span>
83
- <span class="pagination-pf-items-current">{{ table.resource.offset }} - {{ table.getPageEnd() }}</span>
83
+ <span class="pagination-pf-items-current" translate>Showing {{ table.getPageStart() }} - {{ table.getPageEnd() }}</span>
84
84
  <span translate>of </span>
85
85
  <span class="pagination-pf-items-total">{{ table.resource.subtotal }}</span>
86
86
  </span>
@@ -100,7 +100,11 @@
100
100
  <label for="currentPage" class="sr-only" translate>
101
101
  Current Page
102
102
  </label>
103
- <input id="currentPage" class="pagination-pf-page" type="text" ng-model="table.params.page" ng-blur="table.changePage(table.params.page)" bst-on-enter="table.changePage()"/>
103
+
104
+ <input id="currentPage" ng-show="table.resource.subtotal > 0" class="pagination-pf-page" type="text" ng-model="table.params.page"
105
+ ng-blur="table.changePage(table.params.page)" bst-on-enter="table.changePage()"/>
106
+
107
+ <input ng-show="table.resource.subtotal === 0" class="pagination-pf-page" type="text" readonly="true" ng-value="table.resource.subtotal"/>
104
108
 
105
109
  <span translate>of
106
110
  <span class="pagination-pf-pages">{{ (table.resource.subtotal / table.resource.per_page) | roundUp }}</span>
@@ -86,7 +86,7 @@ angular.module('Bastion.routing', ['ui.router']);
86
86
  } else {
87
87
  $window.location.href = url;
88
88
  }
89
- return $location.path();
89
+ return $location.url();
90
90
  });
91
91
 
92
92
  $locationProvider.html5Mode({enabled: true, requireBase: false});
@@ -146,22 +146,6 @@
146
146
  }
147
147
  }
148
148
 
149
- .info-blocks {
150
- margin-top: 20px;
151
- margin-bottom: 20px;
152
-
153
- .info-block-head {
154
- font-size: 18px;
155
- padding-left: 15px;
156
- padding-top: 18px;
157
- background: #F7F7F7;
158
- }
159
-
160
- .info-block {
161
- text-align: center;
162
- }
163
- }
164
-
165
149
  .details-page {
166
150
  padding-top: 20px;
167
151
 
@@ -1,3 +1,6 @@
1
+ @import "bootstrap/variables";
2
+ @import "variables";
3
+
1
4
  .nav.nav-tabs.details-nav {
2
5
  margin-bottom: 10px;
3
6
  }
@@ -20,3 +23,38 @@
20
23
  word-wrap: break-word;
21
24
  }
22
25
  }
26
+
27
+ .info-blocks {
28
+ margin-top: 20px;
29
+ margin-bottom: 20px;
30
+
31
+ tr:hover td > a,
32
+ tr.focus td > a
33
+ {
34
+ color: $link-color;
35
+ }
36
+
37
+ tr:hover td:not(.info-block-head),
38
+ tr.focus td:not(.info-block-head)
39
+ {
40
+ background-color: $body-bg;
41
+ color: $text-color;
42
+ }
43
+
44
+ .info-block-head,
45
+ tr:hover td.info-block-head,
46
+ tr.focus td.info-block-head,
47
+ {
48
+ background: #F7F7F7;
49
+ }
50
+
51
+ .info-block-head {
52
+ font-size: 18px;
53
+ padding-left: 15px;
54
+ padding-top: 18px;
55
+ }
56
+
57
+ .info-block {
58
+ text-align: center;
59
+ }
60
+ }
@@ -45,8 +45,8 @@ td.row-select {
45
45
 
46
46
  tr:hover td, tr:hover td > a,
47
47
  tr.focus td, tr.focus td > a {
48
- background-color: $listhover_color;
49
- color: #FFF;
48
+ background-color: $hover-bg-color;
49
+ color: $hover-color;
50
50
 
51
51
  button, select {
52
52
  color: #000;
@@ -54,11 +54,11 @@ td.row-select {
54
54
  }
55
55
 
56
56
  tr.active, tbody tr:hover, tr.selected-row td {
57
- background-color: $listhover_color;
58
- color: #FFF;
57
+ background-color: $hover-bg-color;
58
+ color: $hover-color;
59
59
 
60
60
  > a {
61
- color: #FFF;
61
+ color: $hover-color;
62
62
  }
63
63
 
64
64
  .bst-edit:hover {
@@ -103,11 +103,11 @@ td.row-select {
103
103
  }
104
104
 
105
105
  td.active-row {
106
- background-color: lighten($listhover_color, 8%);
107
- color: white;
106
+ background-color: lighten($hover-bg-color, 8%);
107
+ color: $hover-color;
108
108
 
109
109
  > a {
110
- color: white;
110
+ color: $hover-color;
111
111
  }
112
112
  }
113
113
 
@@ -367,8 +367,8 @@ div.alch-dialog.open.info-value {
367
367
  color: black;
368
368
 
369
369
  &:hover {
370
- color: $listhover_color;
371
- border-bottom: 2px solid $listhover_color;
370
+ color: $hover-color;
371
+ border-bottom: 2px solid $hover-bg-color;
372
372
  }
373
373
 
374
374
  &:first-child {
@@ -379,8 +379,8 @@ div.alch-dialog.open.info-value {
379
379
  .active {
380
380
 
381
381
  a {
382
- color: $listhover_color;
383
- border-bottom: 2px solid $listhover_color;
382
+ color: $hover-bg-color;
383
+ border-bottom: 2px solid $hover-bg-color;
384
384
  }
385
385
  }
386
386
 
@@ -1,7 +1,9 @@
1
+ @import "variables";
2
+
1
3
  $widget-border-color: #D7D7D7;
2
4
  $widget-background-color: #F9F8F8;
3
5
  $breadcrumbbg_color: #e9e9e9;
4
- $listhover_color: #00a8d6;
6
+ $hover-bg-color: #00a8d6;
5
7
  $path-item-color: #FFF;//#e9e9e9;
6
8
  $disabled-item-color: #e9e9e9;
7
9
  $path-active-color: #005870;
@@ -39,13 +41,13 @@ $path-active-color: #005870;
39
41
  padding-right: 16px;
40
42
 
41
43
  &:hover:not([disabled]) {
42
- color: white;
43
- background: $listhover_color;
44
+ color: $hover-color;
45
+ background: $hover-bg-color;
44
46
  }
45
47
  &:after {
46
48
  border: 0;
47
49
  border-left: 0px solid $breadcrumbbg_color;
48
- &:hover { border-left-color: $listhover_color; }
50
+ &:hover { border-left-color: $hover-bg-color; }
49
51
  }
50
52
  }
51
53
  }
@@ -66,12 +68,12 @@ $path-active-color: #005870;
66
68
  color: white;
67
69
  text-shadow: 1px 1px #000;
68
70
  &:after { border-left-color: $path-active-color; };
69
- &:hover:after { border-left-color: $listhover_color; }
71
+ &:hover:after { border-left-color: $hover-bg-color; }
70
72
  }
71
73
  &:hover:not([disabled]) {
72
- background: $listhover_color;
73
- color: white;
74
- &:after { border-left-color: $listhover_color; }
74
+ background: $hover-bg-color;
75
+ color: $hover-color;
76
+ &:after { border-left-color: $hover-bg-color; }
75
77
  }
76
78
  &:after {
77
79
  content: " ";
@@ -26,22 +26,19 @@
26
26
  max-width: $row-select-width;
27
27
  }
28
28
 
29
- tr:hover td, tr:hover td > a,
30
- tr.focus td, tr.focus td > a {
31
- background-color: $listhover_color;
32
- color: #FFF;
29
+ tr.active td,
30
+ tr:hover td,
31
+ tr.focus td,
32
+ tr.selected-row td {
33
+ background-color: $hover-bg-color;
34
+ color: $hover-color;
33
35
 
34
- button, select {
35
- color: #000;
36
+ > a {
37
+ color: $hover-color;
36
38
  }
37
- }
38
39
 
39
- tr.active, tbody tr:hover, tr.selected-row td {
40
- background-color: $listhover_color;
41
- color: #FFF;
42
-
43
- > a {
44
- color: #FFF;
40
+ button, select {
41
+ color: #000;
45
42
  }
46
43
 
47
44
  .bst-edit:hover {
@@ -1,4 +1,5 @@
1
- $listhover_color: rgb(0, 153, 211);
1
+ $hover-color: #FFF;
2
+ $hover-bg-color: rgb(0, 153, 211);
2
3
  $label-color: #000;
3
4
  $border_color: #d7d7d7;
4
5
  $grid-gutter-width: 30px;
data/grunt/karma.js CHANGED
@@ -6,7 +6,7 @@ module.exports = {
6
6
  options: {
7
7
  frameworks: ['jasmine'],
8
8
  runnerPort: 9100,
9
- browserNoActivityTimeout: 30000,
9
+ browserNoActivityTimeout: 100000,
10
10
  colors: true,
11
11
  browsers: ['PhantomJS'],
12
12
  reporters: ['progress'],
@@ -1,3 +1,3 @@
1
1
  module Bastion
2
- VERSION = "5.0.4"
2
+ VERSION = "5.0.5"
3
3
  end
@@ -42,7 +42,7 @@ describe('Factory: Nutupane', function() {
42
42
  per_page: 2,
43
43
  total: 10,
44
44
  subtotal: 8,
45
- offset: 5,
45
+ offset: 1,
46
46
  sort: {
47
47
  by: "description",
48
48
  order: "ASC"
@@ -225,9 +225,14 @@ describe('Factory: Nutupane', function() {
225
225
  expect(nutupane.table.pageExists(23524)).toBe(false);
226
226
  });
227
227
 
228
+ it("provides a way to get the page start based on offset", function () {
229
+ expect(nutupane.table.getPageStart()).toBe(1);
230
+ nutupane.table.rows = [];
231
+ expect(nutupane.table.getPageStart()).toBe(0);
232
+ });
228
233
 
229
234
  it("provides a way to get the page end based on offset", function () {
230
- expect(nutupane.table.getPageEnd()).toBe(6);
235
+ expect(nutupane.table.getPageEnd()).toBe(2);
231
236
  });
232
237
 
233
238
  describe("provides page navigation", function () {
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: 5.0.4
4
+ version: 5.0.5
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: 2017-05-09 00:00:00.000000000 Z
12
+ date: 2017-06-07 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: angular-rails-templates
@@ -29,14 +29,14 @@ dependencies:
29
29
  name: uglifier
30
30
  requirement: !ruby/object:Gem::Requirement
31
31
  requirements:
32
- - - '>='
32
+ - - ">="
33
33
  - !ruby/object:Gem::Version
34
34
  version: '0'
35
35
  type: :development
36
36
  prerelease: false
37
37
  version_requirements: !ruby/object:Gem::Requirement
38
38
  requirements:
39
- - - '>='
39
+ - - ">="
40
40
  - !ruby/object:Gem::Version
41
41
  version: '0'
42
42
  description: Bastion provides a UI library of AngularJS based components designed
@@ -48,6 +48,12 @@ executables: []
48
48
  extensions: []
49
49
  extra_rdoc_files: []
50
50
  files:
51
+ - ".eslintignore"
52
+ - ".jshintrc"
53
+ - Gruntfile.js
54
+ - LICENSE
55
+ - README.md
56
+ - Rakefile
51
57
  - app/assets/javascripts/bastion/auth/auth.module.js
52
58
  - app/assets/javascripts/bastion/auth/authorization.service.js
53
59
  - app/assets/javascripts/bastion/bastion-bootstrap.js
@@ -113,8 +119,10 @@ files:
113
119
  - app/assets/javascripts/bastion/features/feature-flag.service.js
114
120
  - app/assets/javascripts/bastion/features/features.module.js
115
121
  - app/assets/javascripts/bastion/features/features.service.js
122
+ - app/assets/javascripts/bastion/i18n/README
116
123
  - app/assets/javascripts/bastion/i18n/bastion.pot
117
124
  - app/assets/javascripts/bastion/i18n/i18n.module.js
125
+ - app/assets/javascripts/bastion/i18n/locale/README
118
126
  - app/assets/javascripts/bastion/i18n/locale/de.po
119
127
  - app/assets/javascripts/bastion/i18n/locale/es.po
120
128
  - app/assets/javascripts/bastion/i18n/locale/fr.po
@@ -122,11 +130,9 @@ files:
122
130
  - app/assets/javascripts/bastion/i18n/locale/ja.po
123
131
  - app/assets/javascripts/bastion/i18n/locale/ko.po
124
132
  - app/assets/javascripts/bastion/i18n/locale/pt_BR.po
125
- - app/assets/javascripts/bastion/i18n/locale/README
126
133
  - app/assets/javascripts/bastion/i18n/locale/ru.po
127
134
  - app/assets/javascripts/bastion/i18n/locale/zh_CN.po
128
135
  - app/assets/javascripts/bastion/i18n/locale/zh_TW.po
129
- - app/assets/javascripts/bastion/i18n/README
130
136
  - app/assets/javascripts/bastion/i18n/translate.service.js
131
137
  - app/assets/javascripts/bastion/i18n/translations.js
132
138
  - app/assets/javascripts/bastion/i18n/zanata.xml
@@ -168,12 +174,60 @@ files:
168
174
  - app/views/bastion/layouts/application.html.erb
169
175
  - app/views/bastion/layouts/application_ie.html.erb
170
176
  - app/views/bastion/layouts/assets.html.erb
171
- - config/routes/mount_engine.rb
177
+ - bastion.js
178
+ - bower.json
172
179
  - config/routes.rb
180
+ - config/routes/mount_engine.rb
181
+ - eslint.yaml
182
+ - grunt/bower.js
183
+ - grunt/eslint.js
184
+ - grunt/htmlhint.js
185
+ - grunt/karma.js
186
+ - grunt/nggettext_compile.js
187
+ - grunt/nggettext_extract.js
188
+ - lib/bastion.rb
173
189
  - lib/bastion/engine.rb
174
190
  - lib/bastion/version.rb
175
- - lib/bastion.rb
176
- - vendor/assets/javascripts/bastion/angular/angular.js
191
+ - package.json
192
+ - test/auth/authorization.service.test.js
193
+ - test/bastion/test-constants.js
194
+ - test/components/bst-alert.directive.test.js
195
+ - test/components/bst-alerts.directive.test.js
196
+ - test/components/bst-bookmark.directive.test.js
197
+ - test/components/bst-bookmark.factory.test.js
198
+ - test/components/bst-dropdown.directive.test.js
199
+ - test/components/bst-edit.directive.test.js
200
+ - test/components/bst-flyout.directive.test.js
201
+ - test/components/bst-form-buttons.directive.test.js
202
+ - test/components/bst-form-group.directive.test.js
203
+ - test/components/bst-global-notification.directive.test.js
204
+ - test/components/bst-menu.directive.test.js
205
+ - test/components/bst-modal.directive.test.js
206
+ - test/components/bst-table.directive.test.js
207
+ - test/components/formatters/array-to-string.filter.test.js
208
+ - test/components/formatters/boolean-to-yes-no.filter.test.js
209
+ - test/components/formatters/capitalize.filter.test.js
210
+ - test/components/formatters/key-value-to-string.filter.test.js
211
+ - test/components/formatters/unlimited-filter.filter.test.js
212
+ - test/components/global-notification.service.test.js
213
+ - test/components/nutupane.factory.test.js
214
+ - test/components/page-title.directive.test.js
215
+ - test/components/page-title.service.test.js
216
+ - test/components/path-selector.directive.test.js
217
+ - test/components/table-cache.service.test.js
218
+ - test/components/typeahead-empty.directive.test.js
219
+ - test/features/bst-feature-flag.directive.test.js
220
+ - test/features/feature-flag.service.test.js
221
+ - test/i18n/translate.service.test.js
222
+ - test/menu/menu-expander.service.test.js
223
+ - test/routing.module.test.js
224
+ - test/test-mocks.module.js
225
+ - test/utils/bastion-resource.factory.test.js
226
+ - test/utils/disable-link.directive.test.js
227
+ - test/utils/form-utils.service.test.js
228
+ - test/utils/round-up.filter.test.js
229
+ - test/utils/stop-event.directive.test.js
230
+ - test/utils/urlencode.filter.test.js
177
231
  - vendor/assets/javascripts/bastion/angular-animate/angular-animate.js
178
232
  - vendor/assets/javascripts/bastion/angular-blocks/angular-blocks.js
179
233
  - vendor/assets/javascripts/bastion/angular-bootstrap/ui-bootstrap-tpls.js
@@ -1684,63 +1738,9 @@ files:
1684
1738
  - vendor/assets/javascripts/bastion/angular-ui-bootstrap/timepicker.js
1685
1739
  - vendor/assets/javascripts/bastion/angular-ui-router/angular-ui-router.js
1686
1740
  - vendor/assets/javascripts/bastion/angular-uuid4/angular-uuid4.js
1741
+ - vendor/assets/javascripts/bastion/angular/angular.js
1687
1742
  - vendor/assets/javascripts/bastion/json3/json3.js
1688
1743
  - vendor/assets/javascripts/bastion/ngUpload/ng-upload.js
1689
- - grunt/bower.js
1690
- - grunt/eslint.js
1691
- - grunt/htmlhint.js
1692
- - grunt/karma.js
1693
- - grunt/nggettext_compile.js
1694
- - grunt/nggettext_extract.js
1695
- - Rakefile
1696
- - README.md
1697
- - Gruntfile.js
1698
- - package.json
1699
- - bower.json
1700
- - bastion.js
1701
- - eslint.yaml
1702
- - .eslintignore
1703
- - LICENSE
1704
- - .jshintrc
1705
- - test/auth/authorization.service.test.js
1706
- - test/bastion/test-constants.js
1707
- - test/components/bst-alert.directive.test.js
1708
- - test/components/bst-alerts.directive.test.js
1709
- - test/components/bst-bookmark.directive.test.js
1710
- - test/components/bst-bookmark.factory.test.js
1711
- - test/components/bst-dropdown.directive.test.js
1712
- - test/components/bst-edit.directive.test.js
1713
- - test/components/bst-flyout.directive.test.js
1714
- - test/components/bst-form-buttons.directive.test.js
1715
- - test/components/bst-form-group.directive.test.js
1716
- - test/components/bst-global-notification.directive.test.js
1717
- - test/components/bst-menu.directive.test.js
1718
- - test/components/bst-modal.directive.test.js
1719
- - test/components/bst-table.directive.test.js
1720
- - test/components/formatters/array-to-string.filter.test.js
1721
- - test/components/formatters/boolean-to-yes-no.filter.test.js
1722
- - test/components/formatters/capitalize.filter.test.js
1723
- - test/components/formatters/key-value-to-string.filter.test.js
1724
- - test/components/formatters/unlimited-filter.filter.test.js
1725
- - test/components/global-notification.service.test.js
1726
- - test/components/nutupane.factory.test.js
1727
- - test/components/page-title.directive.test.js
1728
- - test/components/page-title.service.test.js
1729
- - test/components/path-selector.directive.test.js
1730
- - test/components/table-cache.service.test.js
1731
- - test/components/typeahead-empty.directive.test.js
1732
- - test/features/bst-feature-flag.directive.test.js
1733
- - test/features/feature-flag.service.test.js
1734
- - test/i18n/translate.service.test.js
1735
- - test/menu/menu-expander.service.test.js
1736
- - test/routing.module.test.js
1737
- - test/test-mocks.module.js
1738
- - test/utils/bastion-resource.factory.test.js
1739
- - test/utils/disable-link.directive.test.js
1740
- - test/utils/form-utils.service.test.js
1741
- - test/utils/round-up.filter.test.js
1742
- - test/utils/stop-event.directive.test.js
1743
- - test/utils/urlencode.filter.test.js
1744
1744
  homepage: http://www.github.com/Katello/bastion
1745
1745
  licenses: []
1746
1746
  metadata: {}
@@ -1750,57 +1750,57 @@ require_paths:
1750
1750
  - lib
1751
1751
  required_ruby_version: !ruby/object:Gem::Requirement
1752
1752
  requirements:
1753
- - - '>='
1753
+ - - ">="
1754
1754
  - !ruby/object:Gem::Version
1755
1755
  version: '0'
1756
1756
  required_rubygems_version: !ruby/object:Gem::Requirement
1757
1757
  requirements:
1758
- - - '>='
1758
+ - - ">="
1759
1759
  - !ruby/object:Gem::Version
1760
1760
  version: '0'
1761
1761
  requirements: []
1762
1762
  rubyforge_project:
1763
- rubygems_version: 2.0.14
1763
+ rubygems_version: 2.4.6
1764
1764
  signing_key:
1765
1765
  specification_version: 4
1766
1766
  summary: UI library of AngularJS based components for Foreman
1767
1767
  test_files:
1768
+ - test/features/bst-feature-flag.directive.test.js
1769
+ - test/features/feature-flag.service.test.js
1768
1770
  - test/auth/authorization.service.test.js
1769
- - test/bastion/test-constants.js
1770
- - test/components/bst-alert.directive.test.js
1771
- - test/components/bst-alerts.directive.test.js
1772
- - test/components/bst-bookmark.directive.test.js
1773
- - test/components/bst-bookmark.factory.test.js
1774
- - test/components/bst-dropdown.directive.test.js
1775
- - test/components/bst-edit.directive.test.js
1776
- - test/components/bst-flyout.directive.test.js
1777
- - test/components/bst-form-buttons.directive.test.js
1778
1771
  - test/components/bst-form-group.directive.test.js
1779
- - test/components/bst-global-notification.directive.test.js
1780
- - test/components/bst-menu.directive.test.js
1781
- - test/components/bst-modal.directive.test.js
1782
1772
  - test/components/bst-table.directive.test.js
1773
+ - test/components/page-title.directive.test.js
1774
+ - test/components/bst-menu.directive.test.js
1775
+ - test/components/bst-alerts.directive.test.js
1776
+ - test/components/nutupane.factory.test.js
1777
+ - test/components/path-selector.directive.test.js
1783
1778
  - test/components/formatters/array-to-string.filter.test.js
1784
- - test/components/formatters/boolean-to-yes-no.filter.test.js
1779
+ - test/components/formatters/unlimited-filter.filter.test.js
1785
1780
  - test/components/formatters/capitalize.filter.test.js
1786
1781
  - test/components/formatters/key-value-to-string.filter.test.js
1787
- - test/components/formatters/unlimited-filter.filter.test.js
1788
- - test/components/global-notification.service.test.js
1789
- - test/components/nutupane.factory.test.js
1790
- - test/components/page-title.directive.test.js
1782
+ - test/components/formatters/boolean-to-yes-no.filter.test.js
1791
1783
  - test/components/page-title.service.test.js
1792
- - test/components/path-selector.directive.test.js
1784
+ - test/components/bst-bookmark.factory.test.js
1785
+ - test/components/bst-alert.directive.test.js
1786
+ - test/components/bst-bookmark.directive.test.js
1787
+ - test/components/bst-global-notification.directive.test.js
1788
+ - test/components/bst-flyout.directive.test.js
1793
1789
  - test/components/table-cache.service.test.js
1790
+ - test/components/bst-dropdown.directive.test.js
1794
1791
  - test/components/typeahead-empty.directive.test.js
1795
- - test/features/bst-feature-flag.directive.test.js
1796
- - test/features/feature-flag.service.test.js
1797
- - test/i18n/translate.service.test.js
1798
- - test/menu/menu-expander.service.test.js
1792
+ - test/components/bst-form-buttons.directive.test.js
1793
+ - test/components/global-notification.service.test.js
1794
+ - test/components/bst-edit.directive.test.js
1795
+ - test/components/bst-modal.directive.test.js
1799
1796
  - test/routing.module.test.js
1800
1797
  - test/test-mocks.module.js
1801
- - test/utils/bastion-resource.factory.test.js
1802
- - test/utils/disable-link.directive.test.js
1798
+ - test/menu/menu-expander.service.test.js
1799
+ - test/i18n/translate.service.test.js
1800
+ - test/bastion/test-constants.js
1803
1801
  - test/utils/form-utils.service.test.js
1804
- - test/utils/round-up.filter.test.js
1802
+ - test/utils/disable-link.directive.test.js
1805
1803
  - test/utils/stop-event.directive.test.js
1804
+ - test/utils/bastion-resource.factory.test.js
1806
1805
  - test/utils/urlencode.filter.test.js
1806
+ - test/utils/round-up.filter.test.js