bastion 6.1.1 → 6.1.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
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 83a91798e5c6d38cfe9a0ffd70d52f3103eec19c
|
|
4
|
+
data.tar.gz: 103c5dd8c93b2a8e2c6fe67e5adbfb45ae9b45b2
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 30fd015d73c045b32ec53b481f5da69eedf9e31199f5736b2676c847fff8a7d776a5477a5c025685188b1eee6e475073648fffb9d584f695df940dae7989caf5
|
|
7
|
+
data.tar.gz: 383f060d5c021969f800e2e87dc63504a55210948663c1440d4d11f530c2f0e66ee0debb0e624bbdcf41345cf36569c4b140f075039ca46a955fbbc9c7f42797
|
|
@@ -75,14 +75,13 @@ angular.module('Bastion').config(
|
|
|
75
75
|
* @requires $window
|
|
76
76
|
* @requires $breadcrumb
|
|
77
77
|
* @requires PageTitle
|
|
78
|
-
* @requires markActiveMenu
|
|
79
78
|
* @requires BastionConfig
|
|
80
79
|
*
|
|
81
80
|
* @description
|
|
82
81
|
* Set up some common state related functionality and set the current language.
|
|
83
82
|
*/
|
|
84
|
-
angular.module('Bastion').run(['$rootScope', '$state', '$stateParams', 'gettextCatalog', 'currentLocale', '$location', '$window', '$breadcrumb', 'PageTitle', '
|
|
85
|
-
function ($rootScope, $state, $stateParams, gettextCatalog, currentLocale, $location, $window, $breadcrumb, PageTitle,
|
|
83
|
+
angular.module('Bastion').run(['$rootScope', '$state', '$stateParams', 'gettextCatalog', 'currentLocale', '$location', '$window', '$breadcrumb', 'PageTitle', 'BastionConfig',
|
|
84
|
+
function ($rootScope, $state, $stateParams, gettextCatalog, currentLocale, $location, $window, $breadcrumb, PageTitle, BastionConfig) {
|
|
86
85
|
var fromState, fromParams, orgSwitcherRegex;
|
|
87
86
|
|
|
88
87
|
$rootScope.$state = $state;
|
|
@@ -129,9 +128,6 @@ angular.module('Bastion').run(['$rootScope', '$state', '$stateParams', 'gettextC
|
|
|
129
128
|
if (PageTitle.titles.length > 1) {
|
|
130
129
|
PageTitle.resetToFirst();
|
|
131
130
|
}
|
|
132
|
-
|
|
133
|
-
//Set the active menu item in Foreman
|
|
134
|
-
markActiveMenu();
|
|
135
131
|
}
|
|
136
132
|
);
|
|
137
133
|
|
|
@@ -22,7 +22,6 @@
|
|
|
22
22
|
angular.module('Bastion').value('CurrentOrganization', "<%= Organization.current.id if Organization.current %>");
|
|
23
23
|
angular.module('Bastion').value('contentAccessMode', "<%= Organization.current.try(:content_access_mode) if Organization.current %>");
|
|
24
24
|
angular.module('Bastion').value('foreman', tfm);
|
|
25
|
-
angular.module('Bastion').value('markActiveMenu', mark_active_menu);
|
|
26
25
|
angular.module('Bastion').value('entriesPerPage', "<%= Setting[:entries_per_page] %>");
|
|
27
26
|
angular.module('Bastion').constant('BastionConfig', angular.fromJson('<%= Bastion.config.to_json.html_safe %>'));
|
|
28
27
|
angular.module('Bastion.auth').value('CurrentUser', {
|
data/lib/bastion/version.rb
CHANGED
|
@@ -4,7 +4,6 @@ angular.module('Bastion').value('CurrentOrganization', "ACME");
|
|
|
4
4
|
angular.module('Bastion').value('Authorization', {});
|
|
5
5
|
angular.module('Bastion').value('entriesPerPage', 20);
|
|
6
6
|
angular.module('Bastion').value('PageTitle', 'Bastion Page');
|
|
7
|
-
angular.module('Bastion').value('markActiveMenu', function () {});
|
|
8
7
|
angular.module('Bastion').value('foreman', function () {});
|
|
9
8
|
angular.module('Bastion').constant('BastionConfig', {
|
|
10
9
|
consumerCertRPM: "consumer_cert_rpm",
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: bastion
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 6.1.
|
|
4
|
+
version: 6.1.2
|
|
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-10-
|
|
12
|
+
date: 2017-10-16 00:00:00.000000000 Z
|
|
13
13
|
dependencies:
|
|
14
14
|
- !ruby/object:Gem::Dependency
|
|
15
15
|
name: angular-rails-templates
|