bastion 3.0.1 → 3.1.0

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
  SHA1:
3
- metadata.gz: 2a6ff751c7464fcee64d64f555729d74da6fad14
4
- data.tar.gz: 6b4b431245941940ce7c98d679a8adff2207105a
3
+ metadata.gz: 87fdf9bc0adb4464483e250d56ae69ee6549f28f
4
+ data.tar.gz: d62c8789c102cdd52cbc20e5bc44927f14ed89a8
5
5
  SHA512:
6
- metadata.gz: 0c4376f43d2a7c428617fe1a41acd7ed0d52f06756dd334e01f813f5a50687ac02f09cc5881ac323ed5db96d3d9eff7ace97160089b487cbb563bc20afbe328f
7
- data.tar.gz: 4a6aafb2ad7deac647dfe9f3588dea929c117184b73574faa33f1d8d73ed41cdeeb3979d850f38278b178860818f9e4bcb81a70a8b6ddbb2f73a7ffc717b685e
6
+ metadata.gz: 0454e3d73e3481398bc301fb4e31e827712c224fcc872967e0312f592eed2b5ce13d12975997cb5307052ee39d055e9da89c319de95d6007028535efa06a75ba
7
+ data.tar.gz: 8b89e9550ca3605c609034782b10a634ca7be13e60569726f82b5d0f34816b8c8bbc2ff1b14f4697fee66978facf95408693284d2a819f8eeb7177515f380964
@@ -0,0 +1,12 @@
1
+ /**
2
+ * @ngdoc filter
3
+ * @name Bastion.utils.filter:urlencode
4
+ *
5
+ * @requires $window
6
+ *
7
+ * @description
8
+ * Encode a url
9
+ */
10
+ angular.module('Bastion.utils').filter('urlencode', function ($window) {
11
+ return $window.encodeURIComponent;
12
+ });
@@ -1,3 +1,3 @@
1
1
  module Bastion
2
- VERSION = "3.0.1"
2
+ VERSION = "3.1.0"
3
3
  end
@@ -0,0 +1,11 @@
1
+ describe('Filter:urlencode', function() {
2
+ beforeEach(module('Bastion.utils'));
3
+
4
+ beforeEach(inject(function($filter) {
5
+ urlencodeFilter = $filter('urlencode')
6
+ }));
7
+
8
+ it("should encode a url", function() {
9
+ expect(urlencodeFilter('=')).toEqual('%3D');
10
+ });
11
+ });
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.0.1
4
+ version: 3.1.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-01-14 00:00:00.000000000 Z
12
+ date: 2016-01-21 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,12 +48,6 @@ 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
57
51
  - app/assets/javascripts/bastion/auth/auth.module.js
58
52
  - app/assets/javascripts/bastion/auth/authorization.service.js
59
53
  - app/assets/javascripts/bastion/bastion-bootstrap.js
@@ -117,10 +111,8 @@ files:
117
111
  - app/assets/javascripts/bastion/features/feature-flag.service.js
118
112
  - app/assets/javascripts/bastion/features/features.module.js
119
113
  - app/assets/javascripts/bastion/features/features.service.js
120
- - app/assets/javascripts/bastion/i18n/README
121
114
  - app/assets/javascripts/bastion/i18n/bastion.pot
122
115
  - app/assets/javascripts/bastion/i18n/i18n.module.js
123
- - app/assets/javascripts/bastion/i18n/locale/README
124
116
  - app/assets/javascripts/bastion/i18n/locale/de.po
125
117
  - app/assets/javascripts/bastion/i18n/locale/es.po
126
118
  - app/assets/javascripts/bastion/i18n/locale/fr.po
@@ -128,9 +120,11 @@ files:
128
120
  - app/assets/javascripts/bastion/i18n/locale/ja.po
129
121
  - app/assets/javascripts/bastion/i18n/locale/ko.po
130
122
  - app/assets/javascripts/bastion/i18n/locale/pt_BR.po
123
+ - app/assets/javascripts/bastion/i18n/locale/README
131
124
  - app/assets/javascripts/bastion/i18n/locale/ru.po
132
125
  - app/assets/javascripts/bastion/i18n/locale/zh_CN.po
133
126
  - app/assets/javascripts/bastion/i18n/locale/zh_TW.po
127
+ - app/assets/javascripts/bastion/i18n/README
134
128
  - app/assets/javascripts/bastion/i18n/translate.service.js
135
129
  - app/assets/javascripts/bastion/i18n/translations.js
136
130
  - app/assets/javascripts/bastion/layouts/details-nutupane.html
@@ -140,6 +134,7 @@ files:
140
134
  - app/assets/javascripts/bastion/menu/menu.module.js
141
135
  - app/assets/javascripts/bastion/utils/as.filter.js
142
136
  - app/assets/javascripts/bastion/utils/form-utils.service.js
137
+ - app/assets/javascripts/bastion/utils/urlencode.filter.js
143
138
  - app/assets/javascripts/bastion/utils/utils.module.js
144
139
  - app/assets/stylesheets/bastion/animations.scss
145
140
  - app/assets/stylesheets/bastion/bastion.scss
@@ -156,55 +151,12 @@ files:
156
151
  - app/views/bastion/layouts/application.html.erb
157
152
  - app/views/bastion/layouts/application_ie.html.erb
158
153
  - app/views/bastion/layouts/assets.html.erb
159
- - bastion.js
160
- - bower.json
161
- - config/routes.rb
162
154
  - config/routes/mount_engine.rb
163
- - eslint.yaml
164
- - grunt/bower.js
165
- - grunt/eslint.js
166
- - grunt/htmlhint.js
167
- - grunt/karma.js
168
- - grunt/nggettext_compile.js
169
- - grunt/nggettext_extract.js
170
- - lib/bastion.rb
155
+ - config/routes.rb
171
156
  - lib/bastion/engine.rb
172
157
  - lib/bastion/version.rb
173
- - package.json
174
- - test/auth/authorization.service.test.js
175
- - test/bastion/bastion-resource.factory.test.js
176
- - test/bastion/test-constants.js
177
- - test/components/bst-alert.directive.test.js
178
- - test/components/bst-alerts.directive.test.js
179
- - test/components/bst-bookmark.directive.test.js
180
- - test/components/bst-bookmark.factory.test.js
181
- - test/components/bst-container-scroll.directive.test.js
182
- - test/components/bst-dropdown.directive.test.js
183
- - test/components/bst-edit.directive.test.js
184
- - test/components/bst-flyout.directive.test.js
185
- - test/components/bst-form-buttons.directive.test.js
186
- - test/components/bst-form-group.directive.test.js
187
- - test/components/bst-menu.directive.test.js
188
- - test/components/bst-modal.directive.test.js
189
- - test/components/bst-nutupane-table.directive.test.js
190
- - test/components/bst-table.directive.test.js
191
- - test/components/formatters/array-to-string.filter.test.js
192
- - test/components/formatters/boolean-to-yes-no.filter.test.js
193
- - test/components/formatters/capitalize.filter.test.js
194
- - test/components/formatters/key-value-to-string.filter.test.js
195
- - test/components/formatters/unlimited-filter.filter.test.js
196
- - test/components/nutupane.factory.test.js
197
- - test/components/page-title.directive.test.js
198
- - test/components/page-title.service.test.js
199
- - test/components/path-selector.directive.test.js
200
- - test/components/typeahead-empty.directive.test.js
201
- - test/features/bst-feature-flag.directive.test.js
202
- - test/features/feature-flag.service.test.js
203
- - test/i18n/translate.service.test.js
204
- - test/menu/menu-expander.service.test.js
205
- - test/test-mocks.module.js
206
- - test/utils/as.filter.test.js
207
- - test/utils/form-utils.service.test.js
158
+ - lib/bastion.rb
159
+ - vendor/assets/javascripts/bastion/angular/angular.js
208
160
  - vendor/assets/javascripts/bastion/angular-animate/angular-animate.js
209
161
  - vendor/assets/javascripts/bastion/angular-blocks/angular-blocks.js
210
162
  - vendor/assets/javascripts/bastion/angular-bootstrap/ui-bootstrap-tpls.js
@@ -964,12 +916,62 @@ files:
964
916
  - vendor/assets/javascripts/bastion/angular-ui-bootstrap/timepicker.js
965
917
  - vendor/assets/javascripts/bastion/angular-ui-router/angular-ui-router.js
966
918
  - vendor/assets/javascripts/bastion/angular-uuid4/angular-uuid4.js
967
- - vendor/assets/javascripts/bastion/angular/angular.js
968
919
  - vendor/assets/javascripts/bastion/es5-shim/es5-shim.js
969
920
  - vendor/assets/javascripts/bastion/json3/json3.js
970
921
  - vendor/assets/javascripts/bastion/ngInfiniteScroll/ng-infinite-scroll.js
971
922
  - vendor/assets/javascripts/bastion/ngUpload/ng-upload.js
972
923
  - 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
973
975
  homepage: http://www.github.com/Katello/bastion
974
976
  licenses: []
975
977
  metadata: {}
@@ -979,53 +981,53 @@ require_paths:
979
981
  - lib
980
982
  required_ruby_version: !ruby/object:Gem::Requirement
981
983
  requirements:
982
- - - ">="
984
+ - - '>='
983
985
  - !ruby/object:Gem::Version
984
986
  version: '0'
985
987
  required_rubygems_version: !ruby/object:Gem::Requirement
986
988
  requirements:
987
- - - ">="
989
+ - - '>='
988
990
  - !ruby/object:Gem::Version
989
991
  version: '0'
990
992
  requirements: []
991
993
  rubyforge_project:
992
- rubygems_version: 2.4.6
994
+ rubygems_version: 2.0.14
993
995
  signing_key:
994
996
  specification_version: 4
995
997
  summary: UI library of AngularJS based components for Foreman
996
998
  test_files:
997
- - test/features/bst-feature-flag.directive.test.js
998
- - test/features/feature-flag.service.test.js
999
999
  - test/auth/authorization.service.test.js
1000
+ - test/bastion/bastion-resource.factory.test.js
1001
+ - test/bastion/test-constants.js
1002
+ - test/components/bst-alert.directive.test.js
1003
+ - test/components/bst-alerts.directive.test.js
1004
+ - test/components/bst-bookmark.directive.test.js
1005
+ - test/components/bst-bookmark.factory.test.js
1006
+ - test/components/bst-container-scroll.directive.test.js
1007
+ - test/components/bst-dropdown.directive.test.js
1008
+ - test/components/bst-edit.directive.test.js
1009
+ - test/components/bst-flyout.directive.test.js
1010
+ - test/components/bst-form-buttons.directive.test.js
1000
1011
  - test/components/bst-form-group.directive.test.js
1001
- - test/components/bst-table.directive.test.js
1002
- - test/components/page-title.directive.test.js
1003
- - test/components/bst-nutupane-table.directive.test.js
1004
1012
  - test/components/bst-menu.directive.test.js
1005
- - test/components/bst-alerts.directive.test.js
1006
- - test/components/nutupane.factory.test.js
1007
- - test/components/path-selector.directive.test.js
1013
+ - test/components/bst-modal.directive.test.js
1014
+ - test/components/bst-nutupane-table.directive.test.js
1015
+ - test/components/bst-table.directive.test.js
1008
1016
  - test/components/formatters/array-to-string.filter.test.js
1009
- - test/components/formatters/unlimited-filter.filter.test.js
1017
+ - test/components/formatters/boolean-to-yes-no.filter.test.js
1010
1018
  - test/components/formatters/capitalize.filter.test.js
1011
1019
  - test/components/formatters/key-value-to-string.filter.test.js
1012
- - test/components/formatters/boolean-to-yes-no.filter.test.js
1020
+ - test/components/formatters/unlimited-filter.filter.test.js
1021
+ - test/components/nutupane.factory.test.js
1022
+ - test/components/page-title.directive.test.js
1013
1023
  - test/components/page-title.service.test.js
1014
- - test/components/bst-bookmark.factory.test.js
1015
- - test/components/bst-alert.directive.test.js
1016
- - test/components/bst-container-scroll.directive.test.js
1017
- - test/components/bst-bookmark.directive.test.js
1018
- - test/components/bst-flyout.directive.test.js
1019
- - test/components/bst-dropdown.directive.test.js
1024
+ - test/components/path-selector.directive.test.js
1020
1025
  - test/components/typeahead-empty.directive.test.js
1021
- - test/components/bst-form-buttons.directive.test.js
1022
- - test/components/bst-edit.directive.test.js
1023
- - test/components/bst-modal.directive.test.js
1024
- - test/test-mocks.module.js
1025
- - test/menu/menu-expander.service.test.js
1026
+ - test/features/bst-feature-flag.directive.test.js
1027
+ - test/features/feature-flag.service.test.js
1026
1028
  - test/i18n/translate.service.test.js
1027
- - test/bastion/test-constants.js
1028
- - test/bastion/bastion-resource.factory.test.js
1029
- - test/utils/form-utils.service.test.js
1029
+ - test/menu/menu-expander.service.test.js
1030
+ - test/test-mocks.module.js
1030
1031
  - test/utils/as.filter.test.js
1031
- has_rdoc:
1032
+ - test/utils/form-utils.service.test.js
1033
+ - test/utils/urlencode.filter.test.js