bastion 1.0.1 → 1.0.2
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 +5 -13
- data/Gruntfile.js +0 -13
- data/app/assets/javascripts/bastion/auth/auth.module.js +16 -15
- data/app/assets/javascripts/bastion/auth/authorization.service.js +0 -13
- data/app/assets/javascripts/bastion/bastion-bootstrap.js +0 -13
- data/app/assets/javascripts/bastion/bastion-resource.factory.js +0 -13
- data/app/assets/javascripts/bastion/bastion.js +0 -12
- data/app/assets/javascripts/bastion/bastion.module.js +0 -13
- data/app/assets/javascripts/bastion/components/bst-alert.directive.js +0 -13
- data/app/assets/javascripts/bastion/components/bst-alerts.directive.js +0 -13
- data/app/assets/javascripts/bastion/components/bst-edit.directive.js +0 -13
- data/app/assets/javascripts/bastion/components/bst-form-buttons.directive.js +0 -13
- data/app/assets/javascripts/bastion/components/bst-form-group.directive.js +0 -13
- data/app/assets/javascripts/bastion/components/bst-infinite-scroll.directive.js +5 -15
- data/app/assets/javascripts/bastion/components/bst-modal.directive.js +0 -13
- data/app/assets/javascripts/bastion/components/bst-on-enter.directive.js +0 -13
- data/app/assets/javascripts/bastion/components/bst-save-control.directive.js +0 -13
- data/app/assets/javascripts/bastion/components/components.module.js +0 -13
- data/app/assets/javascripts/bastion/components/current-tasks.directive.js +0 -13
- data/app/assets/javascripts/bastion/components/formatters/array-to-string.filter.js +0 -13
- data/app/assets/javascripts/bastion/components/formatters/boolean-to-yes-no.filter.js +0 -13
- data/app/assets/javascripts/bastion/components/formatters/capitalize.filter.js +0 -13
- data/app/assets/javascripts/bastion/components/formatters/components-formatters.module.js +0 -13
- data/app/assets/javascripts/bastion/components/formatters/key-value-to-string.filter.js +0 -13
- data/app/assets/javascripts/bastion/components/formatters/unlimitedFilter.filter.js +0 -13
- data/app/assets/javascripts/bastion/components/nutupane.factory.js +0 -13
- data/app/assets/javascripts/bastion/components/page-title.directive.js +0 -13
- data/app/assets/javascripts/bastion/components/page-title.service.js +0 -13
- data/app/assets/javascripts/bastion/components/path-selector.directive.js +0 -13
- data/app/assets/javascripts/bastion/components/typeahead-empty.directive.js +0 -13
- data/app/assets/javascripts/bastion/components/views/path-selector.html +1 -1
- data/app/assets/javascripts/bastion/features/bst-feature-flag.directive.js +0 -14
- data/app/assets/javascripts/bastion/features/feature-flag.run.js +0 -14
- data/app/assets/javascripts/bastion/features/feature-flag.service.js +0 -14
- data/app/assets/javascripts/bastion/features/features.module.js +0 -14
- data/app/assets/javascripts/bastion/features/features.service.js +0 -14
- data/app/assets/javascripts/bastion/i18n/i18n.module.js +0 -13
- data/app/assets/javascripts/bastion/menu/menu-expander.service.js +0 -13
- data/app/assets/javascripts/bastion/menu/menu.module.js +0 -13
- data/app/assets/javascripts/bastion/utils/as.filter.js +0 -13
- data/app/assets/javascripts/bastion/utils/form-utils.service.js +0 -13
- data/app/assets/javascripts/bastion/utils/utils.module.js +0 -13
- data/app/assets/stylesheets/bastion/nutupane.less +2 -0
- data/app/controllers/bastion/bastion_controller.rb +0 -11
- data/lib/bastion/version.rb +1 -1
- data/test/auth/authorization.service.test.js +0 -13
- data/test/bastion/bastion-resource.factory.test.js +0 -13
- data/test/bastion/test-constants.js +0 -13
- data/test/components/bst-alert.directive.test.js +0 -13
- data/test/components/bst-alerts.directive.test.js +0 -13
- data/test/components/bst-container-scroll.directive.test.js +0 -14
- data/test/components/bst-dropdown.directive.test.js +0 -13
- data/test/components/bst-edit.directive.test.js +0 -14
- data/test/components/bst-flyout.directive.test.js +0 -13
- data/test/components/bst-form-buttons.directive.test.js +0 -14
- data/test/components/bst-form-group.directive.test.js +0 -14
- data/test/components/bst-infinite-scroll.directive.test.js +19 -15
- data/test/components/bst-menu.directive.test.js +0 -13
- data/test/components/bst-modal.directive.test.js +0 -13
- data/test/components/bst-nutupane-table.directive.test.js +0 -14
- data/test/components/bst-table.directive.test.js +0 -14
- data/test/components/formatters/array-to-string.filter.test.js +0 -12
- data/test/components/formatters/boolean-to-yes-no.filter.test.js +0 -12
- data/test/components/formatters/capitalize.filter.test.js +0 -12
- data/test/components/formatters/key-value-to-string.filter.test.js +0 -12
- data/test/components/formatters/unlimited-filter.filter.test.js +0 -12
- data/test/components/nutupane.factory.test.js +0 -13
- data/test/components/page-title.directive.test.js +0 -13
- data/test/components/page-title.service.test.js +0 -13
- data/test/components/path-selector.directive.test.js +0 -13
- data/test/components/typeahead-empty.directive.test.js +0 -13
- data/test/features/bst-feature-flag.directive.test.js +0 -13
- data/test/features/feature-flag.service.test.js +0 -13
- data/test/i18n/translate.service.test.js +0 -13
- data/test/menu/menu-expander.service.test.js +0 -13
- data/test/test-mocks.module.js +0 -13
- data/test/utils/as.filter.test.js +0 -13
- data/test/utils/form-utils.service.test.js +0 -13
- metadata +39 -36
|
@@ -1,16 +1,3 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Copyright 2014 Red Hat, Inc.
|
|
3
|
-
*
|
|
4
|
-
* This software is licensed to you under the GNU General Public
|
|
5
|
-
* License as published by the Free Software Foundation; either version
|
|
6
|
-
* 2 of the License (GPLv2) or (at your option) any later version.
|
|
7
|
-
* There is NO WARRANTY for this software, express or implied,
|
|
8
|
-
* including the implied warranties of MERCHANTABILITY,
|
|
9
|
-
* NON-INFRINGEMENT, or FITNESS FOR A PARTICULAR PURPOSE. You should
|
|
10
|
-
* have received a copy of GPLv2 along with this software; if not, see
|
|
11
|
-
* http://www.gnu.org/licenses/old-licenses/gpl-2.0.txt.
|
|
12
|
-
*/
|
|
13
|
-
|
|
14
1
|
describe('Directive: bstAlert', function() {
|
|
15
2
|
var scope,
|
|
16
3
|
compile,
|
|
@@ -1,16 +1,3 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Copyright 2014 Red Hat, Inc.
|
|
3
|
-
*
|
|
4
|
-
* This software is licensed to you under the GNU General Public
|
|
5
|
-
* License as published by the Free Software Foundation; either version
|
|
6
|
-
* 2 of the License (GPLv2) or (at your option) any later version.
|
|
7
|
-
* There is NO WARRANTY for this software, express or implied,
|
|
8
|
-
* including the implied warranties of MERCHANTABILITY,
|
|
9
|
-
* NON-INFRINGEMENT, or FITNESS FOR A PARTICULAR PURPOSE. You should
|
|
10
|
-
* have received a copy of GPLv2 along with this software; if not, see
|
|
11
|
-
* http://www.gnu.org/licenses/old-licenses/gpl-2.0.txt.
|
|
12
|
-
*/
|
|
13
|
-
|
|
14
1
|
describe('Directive: bstAlerts', function() {
|
|
15
2
|
var scope,
|
|
16
3
|
compile,
|
|
@@ -1,17 +1,3 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Copyright 2014 Red Hat, Inc.
|
|
3
|
-
*
|
|
4
|
-
* This software is licensed to you under the GNU General Public
|
|
5
|
-
* License as published by the Free Software Foundation; either version
|
|
6
|
-
* 2 of the License (GPLv2) or (at your option) any later version.
|
|
7
|
-
* There is NO WARRANTY for this software, express or implied,
|
|
8
|
-
* including the implied warranties of MERCHANTABILITY,
|
|
9
|
-
* NON-INFRINGEMENT, or FITNESS FOR A PARTICULAR PURPOSE. You should
|
|
10
|
-
* have received a copy of GPLv2 along with this software; if not, see
|
|
11
|
-
* http://www.gnu.org/licenses/old-licenses/gpl-2.0.txt.
|
|
12
|
-
*/
|
|
13
|
-
|
|
14
|
-
|
|
15
1
|
describe('Directive: bstContainerScroll', function() {
|
|
16
2
|
var scope,
|
|
17
3
|
compile,
|
|
@@ -1,16 +1,3 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Copyright 2014 Red Hat, Inc.
|
|
3
|
-
*
|
|
4
|
-
* This software is licensed to you under the GNU General Public
|
|
5
|
-
* License as published by the Free Software Foundation; either version
|
|
6
|
-
* 2 of the License (GPLv2) or (at your option) any later version.
|
|
7
|
-
* There is NO WARRANTY for this software, express or implied,
|
|
8
|
-
* including the implied warranties of MERCHANTABILITY,
|
|
9
|
-
* NON-INFRINGEMENT, or FITNESS FOR A PARTICULAR PURPOSE. You should
|
|
10
|
-
* have received a copy of GPLv2 along with this software; if not, see
|
|
11
|
-
* http://www.gnu.org/licenses/old-licenses/gpl-2.0.txt.
|
|
12
|
-
*/
|
|
13
|
-
|
|
14
1
|
describe('Directive: bstDropdown', function() {
|
|
15
2
|
var scope,
|
|
16
3
|
compile,
|
|
@@ -1,17 +1,3 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Copyright 2014 Red Hat, Inc.
|
|
3
|
-
*
|
|
4
|
-
* This software is licensed to you under the GNU General Public
|
|
5
|
-
* License as published by the Free Software Foundation; either version
|
|
6
|
-
* 2 of the License (GPLv2) or (at your option) any later version.
|
|
7
|
-
* There is NO WARRANTY for this software, express or implied,
|
|
8
|
-
* including the implied warranties of MERCHANTABILITY,
|
|
9
|
-
* NON-INFRINGEMENT, or FITNESS FOR A PARTICULAR PURPOSE. You should
|
|
10
|
-
* have received a copy of GPLv2 along with this software; if not, see
|
|
11
|
-
* http://www.gnu.org/licenses/old-licenses/gpl-2.0.txt.
|
|
12
|
-
*/
|
|
13
|
-
|
|
14
|
-
|
|
15
1
|
describe('Directive: bstEdit', function() {
|
|
16
2
|
var scope,
|
|
17
3
|
compile,
|
|
@@ -1,16 +1,3 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Copyright 2014 Red Hat, Inc.
|
|
3
|
-
*
|
|
4
|
-
* This software is licensed to you under the GNU General Public
|
|
5
|
-
* License as published by the Free Software Foundation; either version
|
|
6
|
-
* 2 of the License (GPLv2) or (at your option) any later version.
|
|
7
|
-
* There is NO WARRANTY for this software, express or implied,
|
|
8
|
-
* including the implied warranties of MERCHANTABILITY,
|
|
9
|
-
* NON-INFRINGEMENT, or FITNESS FOR A PARTICULAR PURPOSE. You should
|
|
10
|
-
* have received a copy of GPLv2 along with this software; if not, see
|
|
11
|
-
* http://www.gnu.org/licenses/old-licenses/gpl-2.0.txt.
|
|
12
|
-
*/
|
|
13
|
-
|
|
14
1
|
describe('Directive: bstFlyout', function() {
|
|
15
2
|
var scope,
|
|
16
3
|
compile,
|
|
@@ -1,17 +1,3 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Copyright 2014 Red Hat, Inc.
|
|
3
|
-
*
|
|
4
|
-
* This software is licensed to you under the GNU General Public
|
|
5
|
-
* License as published by the Free Software Foundation; either version
|
|
6
|
-
* 2 of the License (GPLv2) or (at your option) any later version.
|
|
7
|
-
* There is NO WARRANTY for this software, express or implied,
|
|
8
|
-
* including the implied warranties of MERCHANTABILITY,
|
|
9
|
-
* NON-INFRINGEMENT, or FITNESS FOR A PARTICULAR PURPOSE. You should
|
|
10
|
-
* have received a copy of GPLv2 along with this software; if not, see
|
|
11
|
-
* http://www.gnu.org/licenses/old-licenses/gpl-2.0.txt.
|
|
12
|
-
*/
|
|
13
|
-
|
|
14
|
-
|
|
15
1
|
describe('Directive: bstFormButtons', function() {
|
|
16
2
|
var $scope, $compile, element;
|
|
17
3
|
|
|
@@ -1,17 +1,3 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Copyright 2014 Red Hat, Inc.
|
|
3
|
-
*
|
|
4
|
-
* This software is licensed to you under the GNU General Public
|
|
5
|
-
* License as published by the Free Software Foundation; either version
|
|
6
|
-
* 2 of the License (GPLv2) or (at your option) any later version.
|
|
7
|
-
* There is NO WARRANTY for this software, express or implied,
|
|
8
|
-
* including the implied warranties of MERCHANTABILITY,
|
|
9
|
-
* NON-INFRINGEMENT, or FITNESS FOR A PARTICULAR PURPOSE. You should
|
|
10
|
-
* have received a copy of GPLv2 along with this software; if not, see
|
|
11
|
-
* http://www.gnu.org/licenses/old-licenses/gpl-2.0.txt.
|
|
12
|
-
*/
|
|
13
|
-
|
|
14
|
-
|
|
15
1
|
describe('Directive: bstFormGroup', function() {
|
|
16
2
|
var $scope, $compile, element;
|
|
17
3
|
|
|
@@ -1,15 +1,3 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Copyright 2014 Red Hat, Inc.
|
|
3
|
-
*
|
|
4
|
-
* This software is licensed to you under the GNU General Public
|
|
5
|
-
* License as published by the Free Software Foundation; either version
|
|
6
|
-
* 2 of the License (GPLv2) or (at your option) any later version.
|
|
7
|
-
* There is NO WARRANTY for this software, express or implied,
|
|
8
|
-
* including the implied warranties of MERCHANTABILITY,
|
|
9
|
-
* NON-INFRINGEMENT, or FITNESS FOR A PARTICULAR PURPOSE. You should
|
|
10
|
-
* have received a copy of GPLv2 along with this software; if not, see
|
|
11
|
-
* http://www.gnu.org/licenses/old-licenses/gpl-2.0.txt.
|
|
12
|
-
*/
|
|
13
1
|
describe('Directive: bstInfiniteScroll', function () {
|
|
14
2
|
var $scope, $compile, $q, element;
|
|
15
3
|
|
|
@@ -29,7 +17,7 @@ describe('Directive: bstInfiniteScroll', function () {
|
|
|
29
17
|
}
|
|
30
18
|
};
|
|
31
19
|
$scope.data = [];
|
|
32
|
-
element = angular.element('<div data="data" bst-infinite-scroll="scrollHandler.doIt()" style="
|
|
20
|
+
element = angular.element('<div data="data" bst-infinite-scroll="scrollHandler.doIt()" style="height: 100px; position: absolute; overflow-y: auto;"></div>');
|
|
33
21
|
$('body').append(element);
|
|
34
22
|
}));
|
|
35
23
|
|
|
@@ -90,10 +78,12 @@ describe('Directive: bstInfiniteScroll', function () {
|
|
|
90
78
|
|
|
91
79
|
it("loads more results if the scroll height is less than element height.", function() {
|
|
92
80
|
spyOn($scope.scrollHandler, "doIt").andCallThrough();
|
|
93
|
-
element.height("
|
|
81
|
+
element.height("11px");
|
|
94
82
|
|
|
95
83
|
$compile(element)($scope);
|
|
96
84
|
$scope.$digest();
|
|
85
|
+
$scope.$digest();
|
|
86
|
+
|
|
97
87
|
|
|
98
88
|
expect($scope.scrollHandler.doIt.callCount).toBe(1);
|
|
99
89
|
});
|
|
@@ -110,7 +100,7 @@ describe('Directive: bstInfiniteScroll', function () {
|
|
|
110
100
|
});
|
|
111
101
|
|
|
112
102
|
it("does not load more results if the scroll height is greater than the element height.", function() {
|
|
113
|
-
element.height("
|
|
103
|
+
element.height("9px");
|
|
114
104
|
element.append('<p style="height: 10px;"></p>');
|
|
115
105
|
$compile(element)($scope);
|
|
116
106
|
|
|
@@ -119,5 +109,19 @@ describe('Directive: bstInfiniteScroll', function () {
|
|
|
119
109
|
|
|
120
110
|
expect($scope.scrollHandler.doIt.callCount).toBe(0);
|
|
121
111
|
});
|
|
112
|
+
|
|
113
|
+
it("on resize", function() {
|
|
114
|
+
element.height("11px");
|
|
115
|
+
$compile(element)($scope);
|
|
116
|
+
$scope.$digest();
|
|
117
|
+
spyOn($scope.scrollHandler, "doIt").andCallThrough();
|
|
118
|
+
|
|
119
|
+
element.height("21px");
|
|
120
|
+
$(window).trigger('resize');
|
|
121
|
+
$scope.$digest();
|
|
122
|
+
|
|
123
|
+
|
|
124
|
+
expect($scope.scrollHandler.doIt.callCount).toBe(1);
|
|
125
|
+
});
|
|
122
126
|
});
|
|
123
127
|
});
|
|
@@ -1,16 +1,3 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Copyright 2014 Red Hat, Inc.
|
|
3
|
-
*
|
|
4
|
-
* This software is licensed to you under the GNU General Public
|
|
5
|
-
* License as published by the Free Software Foundation; either version
|
|
6
|
-
* 2 of the License (GPLv2) or (at your option) any later version.
|
|
7
|
-
* There is NO WARRANTY for this software, express or implied,
|
|
8
|
-
* including the implied warranties of MERCHANTABILITY,
|
|
9
|
-
* NON-INFRINGEMENT, or FITNESS FOR A PARTICULAR PURPOSE. You should
|
|
10
|
-
* have received a copy of GPLv2 along with this software; if not, see
|
|
11
|
-
* http://www.gnu.org/licenses/old-licenses/gpl-2.0.txt.
|
|
12
|
-
*/
|
|
13
|
-
|
|
14
1
|
describe('Directive: bstMenu', function() {
|
|
15
2
|
var scope,
|
|
16
3
|
compile,
|
|
@@ -1,16 +1,3 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Copyright 2014 Red Hat, Inc.
|
|
3
|
-
*
|
|
4
|
-
* This software is licensed to you under the GNU General Public
|
|
5
|
-
* License as published by the Free Software Foundation; either version
|
|
6
|
-
* 2 of the License (GPLv2) or (at your option) any later version.
|
|
7
|
-
* There is NO WARRANTY for this software, express or implied,
|
|
8
|
-
* including the implied warranties of MERCHANTABILITY,
|
|
9
|
-
* NON-INFRINGEMENT, or FITNESS FOR A PARTICULAR PURPOSE. You should
|
|
10
|
-
* have received a copy of GPLv2 along with this software; if not, see
|
|
11
|
-
* http://www.gnu.org/licenses/old-licenses/gpl-2.0.txt.
|
|
12
|
-
*/
|
|
13
|
-
|
|
14
1
|
describe('Directive: bstModal', function() {
|
|
15
2
|
var scope,
|
|
16
3
|
compile,
|
|
@@ -1,17 +1,3 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Copyright 2014 Red Hat, Inc.
|
|
3
|
-
*
|
|
4
|
-
* This software is licensed to you under the GNU General Public
|
|
5
|
-
* License as published by the Free Software Foundation; either version
|
|
6
|
-
* 2 of the License (GPLv2) or (at your option) any later version.
|
|
7
|
-
* There is NO WARRANTY for this software, express or implied,
|
|
8
|
-
* including the implied warranties of MERCHANTABILITY,
|
|
9
|
-
* NON-INFRINGEMENT, or FITNESS FOR A PARTICULAR PURPOSE. You should
|
|
10
|
-
* have received a copy of GPLv2 along with this software; if not, see
|
|
11
|
-
* http://www.gnu.org/licenses/old-licenses/gpl-2.0.txt.
|
|
12
|
-
*/
|
|
13
|
-
|
|
14
|
-
|
|
15
1
|
describe('Directive: nutupaneTable', function() {
|
|
16
2
|
var scope,
|
|
17
3
|
compile,
|
|
@@ -1,17 +1,3 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Copyright 2014 Red Hat, Inc.
|
|
3
|
-
*
|
|
4
|
-
* This software is licensed to you under the GNU General Public
|
|
5
|
-
* License as published by the Free Software Foundation; either version
|
|
6
|
-
* 2 of the License (GPLv2) or (at your option) any later version.
|
|
7
|
-
* There is NO WARRANTY for this software, express or implied,
|
|
8
|
-
* including the implied warranties of MERCHANTABILITY,
|
|
9
|
-
* NON-INFRINGEMENT, or FITNESS FOR A PARTICULAR PURPOSE. You should
|
|
10
|
-
* have received a copy of GPLv2 along with this software; if not, see
|
|
11
|
-
* http://www.gnu.org/licenses/old-licenses/gpl-2.0.txt.
|
|
12
|
-
*/
|
|
13
|
-
|
|
14
|
-
|
|
15
1
|
describe('Directive: bstTable', function() {
|
|
16
2
|
var scope,
|
|
17
3
|
compile,
|
|
@@ -1,15 +1,3 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Copyright 2014 Red Hat, Inc.
|
|
3
|
-
*
|
|
4
|
-
* This software is licensed to you under the GNU General Public
|
|
5
|
-
* License as published by the Free Software Foundation; either version
|
|
6
|
-
* 2 of the License (GPLv2) or (at your option) any later version.
|
|
7
|
-
* There is NO WARRANTY for this software, express or implied,
|
|
8
|
-
* including the implied warranties of MERCHANTABILITY,
|
|
9
|
-
* NON-INFRINGEMENT, or FITNESS FOR A PARTICULAR PURPOSE. You should
|
|
10
|
-
* have received a copy of GPLv2 along with this software; if not, see
|
|
11
|
-
* http://www.gnu.org/licenses/old-licenses/gpl-2.0.txt.
|
|
12
|
-
*/
|
|
13
1
|
describe('Filter:arrayToString', function() {
|
|
14
2
|
var array, arrayToStringFilter;
|
|
15
3
|
|
|
@@ -1,15 +1,3 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Copyright 2014 Red Hat, Inc.
|
|
3
|
-
*
|
|
4
|
-
* This software is licensed to you under the GNU General Public
|
|
5
|
-
* License as published by the Free Software Foundation; either version
|
|
6
|
-
* 2 of the License (GPLv2) or (at your option) any later version.
|
|
7
|
-
* There is NO WARRANTY for this software, express or implied,
|
|
8
|
-
* including the implied warranties of MERCHANTABILITY,
|
|
9
|
-
* NON-INFRINGEMENT, or FITNESS FOR A PARTICULAR PURPOSE. You should
|
|
10
|
-
* have received a copy of GPLv2 along with this software; if not, see
|
|
11
|
-
* http://www.gnu.org/licenses/old-licenses/gpl-2.0.txt.
|
|
12
|
-
*/
|
|
13
1
|
describe('Filter:booleanToYesNo', function() {
|
|
14
2
|
var filter;
|
|
15
3
|
|
|
@@ -1,15 +1,3 @@
|
|
|
1
|
-
/**
|
|
2
|
-
Copyright 2014 Red Hat, Inc.
|
|
3
|
-
|
|
4
|
-
This software is licensed to you under the GNU General Public
|
|
5
|
-
License as published by the Free Software Foundation; either version
|
|
6
|
-
2 of the License (GPLv2) or (at your option) any later version.
|
|
7
|
-
There is NO WARRANTY for this software, express or implied,
|
|
8
|
-
including the implied warranties of MERCHANTABILITY,
|
|
9
|
-
NON-INFRINGEMENT, or FITNESS FOR A PARTICULAR PURPOSE. You should
|
|
10
|
-
have received a copy of GPLv2 along with this software; if not, see
|
|
11
|
-
http://www.gnu.org/licenses/old-licenses/gpl-2.0.txt.
|
|
12
|
-
**/
|
|
13
1
|
describe('Filter:capitalize', function() {
|
|
14
2
|
var capitalizeFilter;
|
|
15
3
|
|
|
@@ -1,15 +1,3 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Copyright 2014 Red Hat, Inc.
|
|
3
|
-
*
|
|
4
|
-
* This software is licensed to you under the GNU General Public
|
|
5
|
-
* License as published by the Free Software Foundation; either version
|
|
6
|
-
* 2 of the License (GPLv2) or (at your option) any later version.
|
|
7
|
-
* There is NO WARRANTY for this software, express or implied,
|
|
8
|
-
* including the implied warranties of MERCHANTABILITY,
|
|
9
|
-
* NON-INFRINGEMENT, or FITNESS FOR A PARTICULAR PURPOSE. You should
|
|
10
|
-
* have received a copy of GPLv2 along with this software; if not, see
|
|
11
|
-
* http://www.gnu.org/licenses/old-licenses/gpl-2.0.txt.
|
|
12
|
-
*/
|
|
13
1
|
describe('Filter:keyValueToString', function() {
|
|
14
2
|
var keyValues, keyValueFilter;
|
|
15
3
|
|
|
@@ -1,15 +1,3 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Copyright 2014 Red Hat, Inc.
|
|
3
|
-
*
|
|
4
|
-
* This software is licensed to you under the GNU General Public
|
|
5
|
-
* License as published by the Free Software Foundation; either version
|
|
6
|
-
* 2 of the License (GPLv2) or (at your option) any later version.
|
|
7
|
-
* There is NO WARRANTY for this software, express or implied,
|
|
8
|
-
* including the implied warranties of MERCHANTABILITY,
|
|
9
|
-
* NON-INFRINGEMENT, or FITNESS FOR A PARTICULAR PURPOSE. You should
|
|
10
|
-
* have received a copy of GPLv2 along with this software; if not, see
|
|
11
|
-
* http://www.gnu.org/licenses/old-licenses/gpl-2.0.txt.
|
|
12
|
-
*/
|
|
13
1
|
describe('Filter:unlimitedFilter', function() {
|
|
14
2
|
var unlimitedFilter;
|
|
15
3
|
|
|
@@ -1,16 +1,3 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Copyright 2014 Red Hat, Inc.
|
|
3
|
-
*
|
|
4
|
-
* This software is licensed to you under the GNU General Public
|
|
5
|
-
* License as published by the Free Software Foundation; either version
|
|
6
|
-
* 2 of the License (GPLv2) or (at your option) any later version.
|
|
7
|
-
* There is NO WARRANTY for this software, express or implied,
|
|
8
|
-
* including the implied warranties of MERCHANTABILITY,
|
|
9
|
-
* NON-INFRINGEMENT, or FITNESS FOR A PARTICULAR PURPOSE. You should
|
|
10
|
-
* have received a copy of GPLv2 along with this software; if not, see
|
|
11
|
-
* http://www.gnu.org/licenses/old-licenses/gpl-2.0.txt.
|
|
12
|
-
*/
|
|
13
|
-
|
|
14
1
|
describe('Factory: Nutupane', function() {
|
|
15
2
|
var $timeout,
|
|
16
3
|
$location,
|
|
@@ -1,16 +1,3 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Copyright 2014 Red Hat, Inc.
|
|
3
|
-
*
|
|
4
|
-
* This software is licensed to you under the GNU General Public
|
|
5
|
-
* License as published by the Free Software Foundation; either version
|
|
6
|
-
* 2 of the License (GPLv2) or (at your option) any later version.
|
|
7
|
-
* There is NO WARRANTY for this software, express or implied,
|
|
8
|
-
* including the implied warranties of MERCHANTABILITY,
|
|
9
|
-
* NON-INFRINGEMENT, or FITNESS FOR A PARTICULAR PURPOSE. You should
|
|
10
|
-
* have received a copy of GPLv2 along with this software; if not, see
|
|
11
|
-
* http://www.gnu.org/licenses/old-licenses/gpl-2.0.txt.
|
|
12
|
-
*/
|
|
13
|
-
|
|
14
1
|
describe('Directive: setTitle', function () {
|
|
15
2
|
var $scope, $compile, PageTitle, resource, element;
|
|
16
3
|
|
|
@@ -1,16 +1,3 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Copyright 2014 Red Hat, Inc.
|
|
3
|
-
*
|
|
4
|
-
* This software is licensed to you under the GNU General Public
|
|
5
|
-
* License as published by the Free Software Foundation; either version
|
|
6
|
-
* 2 of the License (GPLv2) or (at your option) any later version.
|
|
7
|
-
* There is NO WARRANTY for this software, express or implied,
|
|
8
|
-
* including the implied warranties of MERCHANTABILITY,
|
|
9
|
-
* NON-INFRINGEMENT, or FITNESS FOR A PARTICULAR PURPOSE. You should
|
|
10
|
-
* have received a copy of GPLv2 along with this software; if not, see
|
|
11
|
-
* http://www.gnu.org/licenses/old-licenses/gpl-2.0.txt.
|
|
12
|
-
**/
|
|
13
|
-
|
|
14
1
|
describe('Factory: PageTitle', function () {
|
|
15
2
|
var $window, $interpolate, PageTitle;
|
|
16
3
|
|
|
@@ -1,16 +1,3 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Copyright 2014 Red Hat, Inc.
|
|
3
|
-
*
|
|
4
|
-
* This software is licensed to you under the GNU General Public
|
|
5
|
-
* License as published by the Free Software Foundation; either version
|
|
6
|
-
* 2 of the License (GPLv2) or (at your option) any later version.
|
|
7
|
-
* There is NO WARRANTY for this software, express or implied,
|
|
8
|
-
* including the implied warranties of MERCHANTABILITY,
|
|
9
|
-
* NON-INFRINGEMENT, or FITNESS FOR A PARTICULAR PURPOSE. You should
|
|
10
|
-
* have received a copy of GPLv2 along with this software; if not, see
|
|
11
|
-
* http://www.gnu.org/licenses/old-licenses/gpl-2.0.txt.
|
|
12
|
-
*/
|
|
13
|
-
|
|
14
1
|
describe('Directive: pathSelector', function() {
|
|
15
2
|
var scope,
|
|
16
3
|
compile,
|