bastion 3.1.0 → 3.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +15 -0
- data/app/assets/javascripts/bastion/components/bst-edit.directive.js +16 -0
- data/app/assets/javascripts/bastion/components/bst-global-notification.directive.js +21 -0
- data/app/assets/javascripts/bastion/components/global-notification.service.js +29 -0
- data/app/assets/javascripts/bastion/components/views/bst-alerts.html +2 -1
- data/app/assets/javascripts/bastion/components/views/bst-edit-number.html +6 -0
- data/app/assets/javascripts/bastion/components/views/bst-global-notification.html +1 -0
- data/app/assets/javascripts/bastion/i18n/zanata.xml +19 -0
- data/app/assets/javascripts/bastion/layouts/nutupane.html +1 -1
- data/lib/bastion/version.rb +1 -1
- data/test/components/bst-alerts.directive.test.js +6 -1
- data/test/components/bst-edit.directive.test.js +42 -0
- data/test/components/bst-global-notification.directive.test.js +39 -0
- data/test/components/global-notification.service.test.js +35 -0
- metadata +94 -85
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: bad53e7a8ee82edce618781413b669de5b15686c
|
4
|
+
data.tar.gz: 222ff135caa097efdc97a2e140314b5bb5bce55f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b6c76b07b5709dbad9a786cd64e2c14db2a5816aa861f00424ed8e45df40ef6b7f866d95218690ff023a9bf6a72a21a75e423b5eef1ffbaf930d79b50d8af2e0
|
7
|
+
data.tar.gz: ad4b90068267f8788fb0331f27dd09540bf9c962e3af7f3ea27e4dc5ed21e20e34a1321ea1dabdadeb25a66880d7c46d065a02861246383034ea5dafc6b4156f
|
data/README.md
CHANGED
@@ -293,6 +293,21 @@ To create an angular object from translated .po files run:
|
|
293
293
|
grunt i18n:compile
|
294
294
|
```
|
295
295
|
|
296
|
+
## Releasing Bastion ##
|
297
|
+
|
298
|
+
In order to release a new version of Bastion, the following is required:
|
299
|
+
|
300
|
+
1. Update the version in `lib/bastion/version.rb`
|
301
|
+
1. Commit the changes
|
302
|
+
1. `git tag <version>`
|
303
|
+
1. `gem build bastion.gemspec`
|
304
|
+
1. `gem push bastion-<version>.gem`
|
305
|
+
1. `git push origin <version>`
|
306
|
+
1. `git push origin master`
|
307
|
+
|
308
|
+
In addition to the above the previous Bastion release in Redmine should be closed and a new release created with the
|
309
|
+
version used above.
|
310
|
+
|
296
311
|
## Contributing ##
|
297
312
|
|
298
313
|
We welcome contributions, please see the Bastion [developer guide](https://github.com/Katello/katello.org/blob/master/docs/developer_guide/bastion/index.md).
|
@@ -193,6 +193,22 @@ angular.module('Bastion.components')
|
|
193
193
|
templateUrl: 'components/views/bst-edit-textarea.html'
|
194
194
|
};
|
195
195
|
})
|
196
|
+
.directive('bstEditNumber', function () {
|
197
|
+
return {
|
198
|
+
replace: true,
|
199
|
+
scope: {
|
200
|
+
model: '=bstEditNumber',
|
201
|
+
readonly: '=',
|
202
|
+
min: '@',
|
203
|
+
max: '@',
|
204
|
+
handleSave: '&onSave',
|
205
|
+
handleCancel: '&onCancel',
|
206
|
+
deletable: '@deletable',
|
207
|
+
handleDelete: '&onDelete'
|
208
|
+
},
|
209
|
+
templateUrl: 'components/views/bst-edit-number.html'
|
210
|
+
};
|
211
|
+
})
|
196
212
|
.directive('bstEditCheckbox', function () {
|
197
213
|
return {
|
198
214
|
replace: true,
|
@@ -0,0 +1,21 @@
|
|
1
|
+
/**
|
2
|
+
* @ngdoc directive
|
3
|
+
* @name Bastion.components.directive:bstGlobalNotification
|
4
|
+
*
|
5
|
+
* @requires $scope
|
6
|
+
* @requires GlobalNotification
|
7
|
+
*
|
8
|
+
* @description
|
9
|
+
* Provides a way to display global notifications
|
10
|
+
*/
|
11
|
+
|
12
|
+
angular.module("Bastion.components").directive('bstGlobalNotification', function () {
|
13
|
+
return {
|
14
|
+
templateUrl: 'components/views/bst-global-notification.html',
|
15
|
+
scope: {},
|
16
|
+
controller: ['$scope', 'GlobalNotification', function ($scope, GlobalNotification) {
|
17
|
+
$scope.successMessages = GlobalNotification.successMessages;
|
18
|
+
$scope.errorMessages = GlobalNotification.errorMessages;
|
19
|
+
}]
|
20
|
+
};
|
21
|
+
});
|
@@ -0,0 +1,29 @@
|
|
1
|
+
/**
|
2
|
+
* @ngdoc service
|
3
|
+
* @name Bastion.components.service:GlobalNotification
|
4
|
+
*
|
5
|
+
* @description
|
6
|
+
* Service to display a global notifcation
|
7
|
+
*/
|
8
|
+
angular.module('Bastion.components').service("GlobalNotification", function () {
|
9
|
+
this.errorMessages = [];
|
10
|
+
this.successMessages = [];
|
11
|
+
|
12
|
+
this.setSuccessMessage = function (message) {
|
13
|
+
this.successMessages.push(message);
|
14
|
+
};
|
15
|
+
|
16
|
+
this.setErrorMessage = function (message) {
|
17
|
+
this.errorMessages.push(message);
|
18
|
+
};
|
19
|
+
|
20
|
+
this.setRenderedSuccessMessage = function (message) {
|
21
|
+
var messageObj = { "message": message, "render": true };
|
22
|
+
this.successMessages.push(messageObj);
|
23
|
+
};
|
24
|
+
|
25
|
+
this.setRenderedErrorMessage = function (message) {
|
26
|
+
var messageObj = { "message": message, "render": true };
|
27
|
+
this.errorMessages.push(messageObj);
|
28
|
+
};
|
29
|
+
});
|
@@ -1,6 +1,7 @@
|
|
1
1
|
<div ng-repeat="type in types">
|
2
2
|
<div bst-alert="{{type}}" ng-repeat="alert in alerts[type] track by $index" close="closeAlert(type, $index)">
|
3
|
-
|
3
|
+
<span ng-if="alert.render" ng-bind-html="alert.message"></span>
|
4
|
+
<span ng-if="!(alert.render)">{{ alert }}</span>
|
4
5
|
</div>
|
5
6
|
</div>
|
6
7
|
|
@@ -0,0 +1 @@
|
|
1
|
+
<div bst-alerts error-messages="errorMessages" success-messages="successMessages"></div>
|
@@ -0,0 +1,19 @@
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
|
2
|
+
<config xmlns="http://zanata.org/namespace/config/">
|
3
|
+
<url>https://translate.zanata.org/zanata/</url>
|
4
|
+
<project>bastion</project>
|
5
|
+
<project-version>master</project-version>
|
6
|
+
<project-type>gettext</project-type>
|
7
|
+
<locales>
|
8
|
+
<locale>fr</locale>
|
9
|
+
<locale>it</locale>
|
10
|
+
<locale>ja</locale>
|
11
|
+
<locale>ko</locale>
|
12
|
+
<locale>ru</locale>
|
13
|
+
<locale>de</locale>
|
14
|
+
<locale>es</locale>
|
15
|
+
<locale map-from="pt_BR">pt-BR</locale>
|
16
|
+
<locale map-from="zh_CN">zh-Hans-CN</locale>
|
17
|
+
<locale map-from="zh_TW">zh-Hans-TW</locale>
|
18
|
+
</locales>
|
19
|
+
</config>
|
data/lib/bastion/version.rb
CHANGED
@@ -4,7 +4,12 @@ describe('Directive: bstAlerts', function() {
|
|
4
4
|
element,
|
5
5
|
elementScope;
|
6
6
|
|
7
|
-
beforeEach(module(
|
7
|
+
beforeEach(module(
|
8
|
+
'ngSanitize',
|
9
|
+
'Bastion.components',
|
10
|
+
'components/views/bst-alerts.html',
|
11
|
+
'components/views/bst-alert.html'
|
12
|
+
));
|
8
13
|
|
9
14
|
beforeEach(inject(function(_$compile_, _$rootScope_) {
|
10
15
|
compile = _$compile_;
|
@@ -8,6 +8,7 @@ describe('Directive: bstEdit', function() {
|
|
8
8
|
'components/views/bst-edit.html',
|
9
9
|
'components/views/bst-edit-text.html',
|
10
10
|
'components/views/bst-edit-textarea.html',
|
11
|
+
'components/views/bst-edit-number.html',
|
11
12
|
'components/views/bst-edit-select.html',
|
12
13
|
'components/views/bst-edit-add-item.html',
|
13
14
|
'components/views/bst-edit-checkbox.html',
|
@@ -199,6 +200,47 @@ describe('Directive: bstEdit', function() {
|
|
199
200
|
|
200
201
|
});
|
201
202
|
|
203
|
+
describe('bstEditNumber directive', function() {
|
204
|
+
var editableElement;
|
205
|
+
|
206
|
+
it("should display an input with type of number on editable click", function() {
|
207
|
+
editableElement = angular.element(
|
208
|
+
'<span bst-edit-number="item.name"></span>');
|
209
|
+
|
210
|
+
scope.item = testItem;
|
211
|
+
|
212
|
+
compile(editableElement)(scope);
|
213
|
+
scope.$digest();
|
214
|
+
|
215
|
+
var element = editableElement.find('.editable'),
|
216
|
+
input = editableElement.find('input');
|
217
|
+
element.trigger('click');
|
218
|
+
|
219
|
+
expect(input.css('display')).not.toBe('none');
|
220
|
+
expect(input.attr('type')).toBe('number');
|
221
|
+
});
|
222
|
+
|
223
|
+
it("should display an input with type of number on editable click with min and max", function() {
|
224
|
+
editableElement = angular.element(
|
225
|
+
'<span bst-edit-number="item.name" min=123 max=456></span>');
|
226
|
+
|
227
|
+
scope.item = testItem;
|
228
|
+
|
229
|
+
compile(editableElement)(scope);
|
230
|
+
scope.$digest();
|
231
|
+
|
232
|
+
var element = editableElement.find('.editable'),
|
233
|
+
input = editableElement.find('input');
|
234
|
+
element.trigger('click');
|
235
|
+
|
236
|
+
expect(input.css('display')).not.toBe('none');
|
237
|
+
expect(input.attr('type')).toBe('number');
|
238
|
+
expect(input.attr('min')).toBe('123');
|
239
|
+
expect(input.attr('max')).toBe('456');
|
240
|
+
});
|
241
|
+
|
242
|
+
});
|
243
|
+
|
202
244
|
describe('bstEditSelect directive', function() {
|
203
245
|
var editableElement;
|
204
246
|
|
@@ -0,0 +1,39 @@
|
|
1
|
+
describe('Directive: bstGlobalNotification', function () {
|
2
|
+
var $scope, $compile, PageTitle;
|
3
|
+
|
4
|
+
beforeEach(module(
|
5
|
+
'ngSanitize',
|
6
|
+
'Bastion.components',
|
7
|
+
'components/views/bst-global-notification.html',
|
8
|
+
'components/views/bst-alert.html',
|
9
|
+
'components/views/bst-alerts.html'
|
10
|
+
));
|
11
|
+
|
12
|
+
beforeEach(inject(function(_$compile_, _$rootScope_, _GlobalNotification_) {
|
13
|
+
$compile = _$compile_;
|
14
|
+
$scope = _$rootScope_;
|
15
|
+
GlobalNotification = _GlobalNotification_;
|
16
|
+
}));
|
17
|
+
|
18
|
+
beforeEach(function () {
|
19
|
+
element = angular.element('<div bst-global-notification></div>');
|
20
|
+
$compile(element)($scope);
|
21
|
+
$scope.$digest();
|
22
|
+
});
|
23
|
+
|
24
|
+
it("should display an error message", function () {
|
25
|
+
errorMessage = "Something is wrong!!";
|
26
|
+
GlobalNotification.setErrorMessage(errorMessage);
|
27
|
+
|
28
|
+
$scope.$digest();
|
29
|
+
expect(element.html().indexOf(errorMessage)).toBeGreaterThan(0);
|
30
|
+
});
|
31
|
+
|
32
|
+
it("should display a success message", function () {
|
33
|
+
successMessage = "success!!";
|
34
|
+
GlobalNotification.setSuccessMessage(successMessage);
|
35
|
+
|
36
|
+
$scope.$digest();
|
37
|
+
expect(element.html().indexOf(successMessage)).toBeGreaterThan(0);
|
38
|
+
});
|
39
|
+
});
|
@@ -0,0 +1,35 @@
|
|
1
|
+
describe('Factory: GlobalNofification', function() {
|
2
|
+
beforeEach(module('Bastion.components'));
|
3
|
+
|
4
|
+
beforeEach(inject(function (_GlobalNotification_) {
|
5
|
+
GlobalNotification = _GlobalNotification_;
|
6
|
+
}));
|
7
|
+
|
8
|
+
it("provides a way to set error messages", function () {
|
9
|
+
errorMessage = "Everything is broken!";
|
10
|
+
GlobalNotification.setErrorMessage(errorMessage);
|
11
|
+
expect(GlobalNotification.errorMessages.length).toBe(1);
|
12
|
+
expect(GlobalNotification.errorMessages[0]).toBe(errorMessage);
|
13
|
+
});
|
14
|
+
|
15
|
+
it("provides a way to set success messages", function () {
|
16
|
+
successMessage = "Everything ran correctly!";
|
17
|
+
GlobalNotification.setSuccessMessage(successMessage);
|
18
|
+
expect(GlobalNotification.successMessages.length).toBe(1);
|
19
|
+
expect(GlobalNotification.successMessages[0]).toBe(successMessage);
|
20
|
+
});
|
21
|
+
|
22
|
+
it("provides a way to set rendered error messages", function () {
|
23
|
+
errorMessage = "Everything is broken!";
|
24
|
+
GlobalNotification.setRenderedErrorMessage(errorMessage);
|
25
|
+
expect(GlobalNotification.errorMessages.length).toBe(1);
|
26
|
+
expect(GlobalNotification.errorMessages[0]['message']).toBe(errorMessage);
|
27
|
+
});
|
28
|
+
|
29
|
+
it("provides a way to set rendered success messages", function () {
|
30
|
+
successMessage = "Everything ran correctly!";
|
31
|
+
GlobalNotification.setRenderedSuccessMessage(successMessage);
|
32
|
+
expect(GlobalNotification.successMessages.length).toBe(1);
|
33
|
+
expect(GlobalNotification.successMessages[0]['message']).toBe(successMessage);
|
34
|
+
})
|
35
|
+
});
|
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: 3.
|
4
|
+
version: 3.2.0
|
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: 2016-
|
12
|
+
date: 2016-02-17 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
|
@@ -64,6 +70,7 @@ files:
|
|
64
70
|
- app/assets/javascripts/bastion/components/bst-flyout.directive.js
|
65
71
|
- app/assets/javascripts/bastion/components/bst-form-buttons.directive.js
|
66
72
|
- app/assets/javascripts/bastion/components/bst-form-group.directive.js
|
73
|
+
- app/assets/javascripts/bastion/components/bst-global-notification.directive.js
|
67
74
|
- app/assets/javascripts/bastion/components/bst-menu.directive.js
|
68
75
|
- app/assets/javascripts/bastion/components/bst-modal.directive.js
|
69
76
|
- app/assets/javascripts/bastion/components/bst-on-enter.directive.js
|
@@ -77,6 +84,7 @@ files:
|
|
77
84
|
- app/assets/javascripts/bastion/components/formatters/components-formatters.module.js
|
78
85
|
- app/assets/javascripts/bastion/components/formatters/key-value-to-string.filter.js
|
79
86
|
- app/assets/javascripts/bastion/components/formatters/unlimitedFilter.filter.js
|
87
|
+
- app/assets/javascripts/bastion/components/global-notification.service.js
|
80
88
|
- app/assets/javascripts/bastion/components/nutupane-table.directive.js
|
81
89
|
- app/assets/javascripts/bastion/components/nutupane.factory.js
|
82
90
|
- app/assets/javascripts/bastion/components/page-title.directive.js
|
@@ -93,6 +101,7 @@ files:
|
|
93
101
|
- app/assets/javascripts/bastion/components/views/bst-edit-checkbox.html
|
94
102
|
- app/assets/javascripts/bastion/components/views/bst-edit-custom.html
|
95
103
|
- app/assets/javascripts/bastion/components/views/bst-edit-multiselect.html
|
104
|
+
- app/assets/javascripts/bastion/components/views/bst-edit-number.html
|
96
105
|
- app/assets/javascripts/bastion/components/views/bst-edit-save-cancel.html
|
97
106
|
- app/assets/javascripts/bastion/components/views/bst-edit-select.html
|
98
107
|
- app/assets/javascripts/bastion/components/views/bst-edit-text.html
|
@@ -101,6 +110,7 @@ files:
|
|
101
110
|
- app/assets/javascripts/bastion/components/views/bst-flyout.html
|
102
111
|
- app/assets/javascripts/bastion/components/views/bst-form-buttons.html
|
103
112
|
- app/assets/javascripts/bastion/components/views/bst-form-group.html
|
113
|
+
- app/assets/javascripts/bastion/components/views/bst-global-notification.html
|
104
114
|
- app/assets/javascripts/bastion/components/views/bst-menu.html
|
105
115
|
- app/assets/javascripts/bastion/components/views/bst-modal.html
|
106
116
|
- app/assets/javascripts/bastion/components/views/bst-save-control.html
|
@@ -111,8 +121,10 @@ files:
|
|
111
121
|
- app/assets/javascripts/bastion/features/feature-flag.service.js
|
112
122
|
- app/assets/javascripts/bastion/features/features.module.js
|
113
123
|
- app/assets/javascripts/bastion/features/features.service.js
|
124
|
+
- app/assets/javascripts/bastion/i18n/README
|
114
125
|
- app/assets/javascripts/bastion/i18n/bastion.pot
|
115
126
|
- app/assets/javascripts/bastion/i18n/i18n.module.js
|
127
|
+
- app/assets/javascripts/bastion/i18n/locale/README
|
116
128
|
- app/assets/javascripts/bastion/i18n/locale/de.po
|
117
129
|
- app/assets/javascripts/bastion/i18n/locale/es.po
|
118
130
|
- app/assets/javascripts/bastion/i18n/locale/fr.po
|
@@ -120,13 +132,12 @@ files:
|
|
120
132
|
- app/assets/javascripts/bastion/i18n/locale/ja.po
|
121
133
|
- app/assets/javascripts/bastion/i18n/locale/ko.po
|
122
134
|
- app/assets/javascripts/bastion/i18n/locale/pt_BR.po
|
123
|
-
- app/assets/javascripts/bastion/i18n/locale/README
|
124
135
|
- app/assets/javascripts/bastion/i18n/locale/ru.po
|
125
136
|
- app/assets/javascripts/bastion/i18n/locale/zh_CN.po
|
126
137
|
- app/assets/javascripts/bastion/i18n/locale/zh_TW.po
|
127
|
-
- app/assets/javascripts/bastion/i18n/README
|
128
138
|
- app/assets/javascripts/bastion/i18n/translate.service.js
|
129
139
|
- app/assets/javascripts/bastion/i18n/translations.js
|
140
|
+
- app/assets/javascripts/bastion/i18n/zanata.xml
|
130
141
|
- app/assets/javascripts/bastion/layouts/details-nutupane.html
|
131
142
|
- app/assets/javascripts/bastion/layouts/nutupane.html
|
132
143
|
- app/assets/javascripts/bastion/layouts/select-all-results.html
|
@@ -151,12 +162,58 @@ files:
|
|
151
162
|
- app/views/bastion/layouts/application.html.erb
|
152
163
|
- app/views/bastion/layouts/application_ie.html.erb
|
153
164
|
- app/views/bastion/layouts/assets.html.erb
|
154
|
-
-
|
165
|
+
- bastion.js
|
166
|
+
- bower.json
|
155
167
|
- config/routes.rb
|
168
|
+
- config/routes/mount_engine.rb
|
169
|
+
- eslint.yaml
|
170
|
+
- grunt/bower.js
|
171
|
+
- grunt/eslint.js
|
172
|
+
- grunt/htmlhint.js
|
173
|
+
- grunt/karma.js
|
174
|
+
- grunt/nggettext_compile.js
|
175
|
+
- grunt/nggettext_extract.js
|
176
|
+
- lib/bastion.rb
|
156
177
|
- lib/bastion/engine.rb
|
157
178
|
- lib/bastion/version.rb
|
158
|
-
-
|
159
|
-
-
|
179
|
+
- package.json
|
180
|
+
- test/auth/authorization.service.test.js
|
181
|
+
- test/bastion/bastion-resource.factory.test.js
|
182
|
+
- test/bastion/test-constants.js
|
183
|
+
- test/components/bst-alert.directive.test.js
|
184
|
+
- test/components/bst-alerts.directive.test.js
|
185
|
+
- test/components/bst-bookmark.directive.test.js
|
186
|
+
- test/components/bst-bookmark.factory.test.js
|
187
|
+
- test/components/bst-container-scroll.directive.test.js
|
188
|
+
- test/components/bst-dropdown.directive.test.js
|
189
|
+
- test/components/bst-edit.directive.test.js
|
190
|
+
- test/components/bst-flyout.directive.test.js
|
191
|
+
- test/components/bst-form-buttons.directive.test.js
|
192
|
+
- test/components/bst-form-group.directive.test.js
|
193
|
+
- test/components/bst-global-notification.directive.test.js
|
194
|
+
- test/components/bst-menu.directive.test.js
|
195
|
+
- test/components/bst-modal.directive.test.js
|
196
|
+
- test/components/bst-nutupane-table.directive.test.js
|
197
|
+
- test/components/bst-table.directive.test.js
|
198
|
+
- test/components/formatters/array-to-string.filter.test.js
|
199
|
+
- test/components/formatters/boolean-to-yes-no.filter.test.js
|
200
|
+
- test/components/formatters/capitalize.filter.test.js
|
201
|
+
- test/components/formatters/key-value-to-string.filter.test.js
|
202
|
+
- test/components/formatters/unlimited-filter.filter.test.js
|
203
|
+
- test/components/global-notification.service.test.js
|
204
|
+
- test/components/nutupane.factory.test.js
|
205
|
+
- test/components/page-title.directive.test.js
|
206
|
+
- test/components/page-title.service.test.js
|
207
|
+
- test/components/path-selector.directive.test.js
|
208
|
+
- test/components/typeahead-empty.directive.test.js
|
209
|
+
- test/features/bst-feature-flag.directive.test.js
|
210
|
+
- test/features/feature-flag.service.test.js
|
211
|
+
- test/i18n/translate.service.test.js
|
212
|
+
- test/menu/menu-expander.service.test.js
|
213
|
+
- test/test-mocks.module.js
|
214
|
+
- test/utils/as.filter.test.js
|
215
|
+
- test/utils/form-utils.service.test.js
|
216
|
+
- test/utils/urlencode.filter.test.js
|
160
217
|
- vendor/assets/javascripts/bastion/angular-animate/angular-animate.js
|
161
218
|
- vendor/assets/javascripts/bastion/angular-blocks/angular-blocks.js
|
162
219
|
- vendor/assets/javascripts/bastion/angular-bootstrap/ui-bootstrap-tpls.js
|
@@ -916,62 +973,12 @@ files:
|
|
916
973
|
- vendor/assets/javascripts/bastion/angular-ui-bootstrap/timepicker.js
|
917
974
|
- vendor/assets/javascripts/bastion/angular-ui-router/angular-ui-router.js
|
918
975
|
- vendor/assets/javascripts/bastion/angular-uuid4/angular-uuid4.js
|
976
|
+
- vendor/assets/javascripts/bastion/angular/angular.js
|
919
977
|
- vendor/assets/javascripts/bastion/es5-shim/es5-shim.js
|
920
978
|
- vendor/assets/javascripts/bastion/json3/json3.js
|
921
979
|
- vendor/assets/javascripts/bastion/ngInfiniteScroll/ng-infinite-scroll.js
|
922
980
|
- vendor/assets/javascripts/bastion/ngUpload/ng-upload.js
|
923
981
|
- vendor/assets/javascripts/bastion/underscore/underscore.js
|
924
|
-
- grunt/bower.js
|
925
|
-
- grunt/eslint.js
|
926
|
-
- grunt/htmlhint.js
|
927
|
-
- grunt/karma.js
|
928
|
-
- grunt/nggettext_compile.js
|
929
|
-
- grunt/nggettext_extract.js
|
930
|
-
- Rakefile
|
931
|
-
- README.md
|
932
|
-
- Gruntfile.js
|
933
|
-
- package.json
|
934
|
-
- bower.json
|
935
|
-
- bastion.js
|
936
|
-
- eslint.yaml
|
937
|
-
- .eslintignore
|
938
|
-
- LICENSE
|
939
|
-
- .jshintrc
|
940
|
-
- test/auth/authorization.service.test.js
|
941
|
-
- test/bastion/bastion-resource.factory.test.js
|
942
|
-
- test/bastion/test-constants.js
|
943
|
-
- test/components/bst-alert.directive.test.js
|
944
|
-
- test/components/bst-alerts.directive.test.js
|
945
|
-
- test/components/bst-bookmark.directive.test.js
|
946
|
-
- test/components/bst-bookmark.factory.test.js
|
947
|
-
- test/components/bst-container-scroll.directive.test.js
|
948
|
-
- test/components/bst-dropdown.directive.test.js
|
949
|
-
- test/components/bst-edit.directive.test.js
|
950
|
-
- test/components/bst-flyout.directive.test.js
|
951
|
-
- test/components/bst-form-buttons.directive.test.js
|
952
|
-
- test/components/bst-form-group.directive.test.js
|
953
|
-
- test/components/bst-menu.directive.test.js
|
954
|
-
- test/components/bst-modal.directive.test.js
|
955
|
-
- test/components/bst-nutupane-table.directive.test.js
|
956
|
-
- test/components/bst-table.directive.test.js
|
957
|
-
- test/components/formatters/array-to-string.filter.test.js
|
958
|
-
- test/components/formatters/boolean-to-yes-no.filter.test.js
|
959
|
-
- test/components/formatters/capitalize.filter.test.js
|
960
|
-
- test/components/formatters/key-value-to-string.filter.test.js
|
961
|
-
- test/components/formatters/unlimited-filter.filter.test.js
|
962
|
-
- test/components/nutupane.factory.test.js
|
963
|
-
- test/components/page-title.directive.test.js
|
964
|
-
- test/components/page-title.service.test.js
|
965
|
-
- test/components/path-selector.directive.test.js
|
966
|
-
- test/components/typeahead-empty.directive.test.js
|
967
|
-
- test/features/bst-feature-flag.directive.test.js
|
968
|
-
- test/features/feature-flag.service.test.js
|
969
|
-
- test/i18n/translate.service.test.js
|
970
|
-
- test/menu/menu-expander.service.test.js
|
971
|
-
- test/test-mocks.module.js
|
972
|
-
- test/utils/as.filter.test.js
|
973
|
-
- test/utils/form-utils.service.test.js
|
974
|
-
- test/utils/urlencode.filter.test.js
|
975
982
|
homepage: http://www.github.com/Katello/bastion
|
976
983
|
licenses: []
|
977
984
|
metadata: {}
|
@@ -981,53 +988,55 @@ require_paths:
|
|
981
988
|
- lib
|
982
989
|
required_ruby_version: !ruby/object:Gem::Requirement
|
983
990
|
requirements:
|
984
|
-
- -
|
991
|
+
- - ">="
|
985
992
|
- !ruby/object:Gem::Version
|
986
993
|
version: '0'
|
987
994
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
988
995
|
requirements:
|
989
|
-
- -
|
996
|
+
- - ">="
|
990
997
|
- !ruby/object:Gem::Version
|
991
998
|
version: '0'
|
992
999
|
requirements: []
|
993
1000
|
rubyforge_project:
|
994
|
-
rubygems_version: 2.
|
1001
|
+
rubygems_version: 2.4.8
|
995
1002
|
signing_key:
|
996
1003
|
specification_version: 4
|
997
1004
|
summary: UI library of AngularJS based components for Foreman
|
998
1005
|
test_files:
|
999
|
-
- test/auth/authorization.service.test.js
|
1000
1006
|
- test/bastion/bastion-resource.factory.test.js
|
1001
1007
|
- test/bastion/test-constants.js
|
1002
|
-
- test/
|
1003
|
-
- test/
|
1004
|
-
- test/
|
1005
|
-
- test/
|
1006
|
-
- test/components/bst-
|
1008
|
+
- test/features/bst-feature-flag.directive.test.js
|
1009
|
+
- test/features/feature-flag.service.test.js
|
1010
|
+
- test/auth/authorization.service.test.js
|
1011
|
+
- test/i18n/translate.service.test.js
|
1012
|
+
- test/components/bst-nutupane-table.directive.test.js
|
1007
1013
|
- test/components/bst-dropdown.directive.test.js
|
1008
|
-
- test/components/bst-
|
1009
|
-
- test/components/bst-flyout.directive.test.js
|
1014
|
+
- test/components/bst-bookmark.factory.test.js
|
1010
1015
|
- test/components/bst-form-buttons.directive.test.js
|
1011
|
-
- test/components/
|
1012
|
-
- test/components/bst-
|
1013
|
-
- test/components/
|
1014
|
-
- test/components/
|
1016
|
+
- test/components/typeahead-empty.directive.test.js
|
1017
|
+
- test/components/bst-alerts.directive.test.js
|
1018
|
+
- test/components/nutupane.factory.test.js
|
1019
|
+
- test/components/page-title.directive.test.js
|
1015
1020
|
- test/components/bst-table.directive.test.js
|
1021
|
+
- test/components/bst-container-scroll.directive.test.js
|
1022
|
+
- test/components/global-notification.service.test.js
|
1023
|
+
- test/components/formatters/capitalize.filter.test.js
|
1016
1024
|
- test/components/formatters/array-to-string.filter.test.js
|
1017
1025
|
- test/components/formatters/boolean-to-yes-no.filter.test.js
|
1018
|
-
- test/components/formatters/capitalize.filter.test.js
|
1019
|
-
- test/components/formatters/key-value-to-string.filter.test.js
|
1020
1026
|
- test/components/formatters/unlimited-filter.filter.test.js
|
1021
|
-
- test/components/
|
1022
|
-
- test/components/
|
1027
|
+
- test/components/formatters/key-value-to-string.filter.test.js
|
1028
|
+
- test/components/bst-menu.directive.test.js
|
1029
|
+
- test/components/bst-bookmark.directive.test.js
|
1030
|
+
- test/components/bst-edit.directive.test.js
|
1031
|
+
- test/components/bst-modal.directive.test.js
|
1032
|
+
- test/components/bst-form-group.directive.test.js
|
1033
|
+
- test/components/bst-flyout.directive.test.js
|
1034
|
+
- test/components/bst-global-notification.directive.test.js
|
1023
1035
|
- test/components/page-title.service.test.js
|
1036
|
+
- test/components/bst-alert.directive.test.js
|
1024
1037
|
- test/components/path-selector.directive.test.js
|
1025
|
-
- test/components/typeahead-empty.directive.test.js
|
1026
|
-
- test/features/bst-feature-flag.directive.test.js
|
1027
|
-
- test/features/feature-flag.service.test.js
|
1028
|
-
- test/i18n/translate.service.test.js
|
1029
|
-
- test/menu/menu-expander.service.test.js
|
1030
|
-
- test/test-mocks.module.js
|
1031
1038
|
- test/utils/as.filter.test.js
|
1032
1039
|
- test/utils/form-utils.service.test.js
|
1033
1040
|
- test/utils/urlencode.filter.test.js
|
1041
|
+
- test/test-mocks.module.js
|
1042
|
+
- test/menu/menu-expander.service.test.js
|