bastion 0.1.0 → 0.1.1

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,15 +1,15 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
3
  metadata.gz: !binary |-
4
- YzI3MmYzMTMyNzAwNjI4Y2E2M2Y2YWI1ZTZmZjk3MzMyYmFlYjY3Yg==
4
+ OGVmMDYxNTNjY2M0ODgwMzA1ZWUzNWE1ZjM0NTMxZDY3ODM2YjI5Nw==
5
5
  data.tar.gz: !binary |-
6
- YTkwYzFjNWM0NGFmOTc3ZWZhNGYyOWJlN2U0YTQzMDI5Y2E2YmQ0Yg==
6
+ Yzc3MTFkODhmMDI0MzhjZDRhMjFlZDc5OWNmMzhlZGY2MDAzZjZjYg==
7
7
  SHA512:
8
8
  metadata.gz: !binary |-
9
- NWMxZjkwYzI0NDNhZWNhOTAyM2I4YWUwYzI3YTBlYTg3ZTQ3ZTdiZDIwODMz
10
- NGU4ZWRiMzU0YTMwZGRmZDFjNmQ1ZDc3ZmFiZGM0NDRiOTQ4ZTBhOTUwYzgy
11
- MmU2OTRjMTFmZGQzOTVhNDZjZmI0ODA3YmY3M2Q4ODBhMjJmZDg=
9
+ YmE4ZTg3YmJiYWNiZjQzYzAxNjNkNTc5NWU4ZWM1NWJlNWRlNGVlYmI0ZmIz
10
+ YzA5MjAxZDZiZTA0ZDFhMjM1NDkzMjQ2NTdjYzZmZTg5MzNkZTc3YmZlNzkw
11
+ ZGUzYTdmMWNlZGQ1OGJhMDg1ZTQ4Y2IyYWJmNTBlY2UyOTZiNDM=
12
12
  data.tar.gz: !binary |-
13
- OWE3NmM0ZjgxYzI5MTI0ZTAzYjBkZDAxZjFhODk4NjY3NzFjZGIxYmE3MTU1
14
- OTk1YTBiZTIxZDFhYzBhYmJhZDFmYmVmZGI2ZTU2MDA4OWJiMjhjYzhiNTg4
15
- YjNlZTMxYWYzYmNkZTY1MzA3NDk2YTMyZDA0MmI5ZDgwN2MyNWY=
13
+ MDM2MDliMjVmMzIyY2Y5ZGRhMzdkM2Y4YzE0NzliNjE0YmE5Y2JkY2I5NzNh
14
+ OWIwZWI1MmY5YjVkNzUxNDZiM2NmOWM4OTUxMWZmNWRhNjMwNGM1ZDFhYTMw
15
+ Y2ZjMTQ0NTM2NTFmMWQwMzI2OWM4ZWIwZTYwODQ2YWJlYjk2YmQ=
@@ -9,12 +9,9 @@
9
9
  @import "mixins";
10
10
  @import "variables";
11
11
  @import "nutupane";
12
- @import "systems";
13
- @import "tasks";
14
12
  @import "overrides";
15
13
  @import "helpers";
16
14
  @import "./forms";
17
- @import "gpg-keys";
18
15
  @import "animations";
19
16
  @import "path-selector";
20
17
  @import "typography";
@@ -1,4 +1,5 @@
1
1
  @import "variables";
2
+ @import (reference) "rcue/rcue";
2
3
 
3
4
  .table {
4
5
  table-layout: fixed;
@@ -15,8 +15,11 @@ module Bastion
15
15
  end
16
16
 
17
17
  initializer "bastion.assets.paths", :group => :all do |app|
18
- app.config.less.paths << "#{Bastion::Engine.root}/app/assets/stylesheets/bastion"
19
- app.config.less.paths << "#{Bastion::Engine.root}/vendor/assets/stylesheets/bastion"
18
+ if defined? Less::Rails
19
+ app.config.less.paths << "#{Bastion::Engine.root}/app/assets/stylesheets/bastion"
20
+ app.config.less.paths << "#{Bastion::Engine.root}/vendor/assets/stylesheets/bastion"
21
+ end
22
+
20
23
  app.middleware.use ::ActionDispatch::Static, "#{Bastion::Engine.root}/app/assets/javascripts/bastion"
21
24
 
22
25
  SETTINGS[:bastion] = {
@@ -1,3 +1,3 @@
1
1
  module Bastion
2
- VERSION = "0.1.0"
2
+ VERSION = "0.1.1"
3
3
  end
data/lib/bastion.rb CHANGED
@@ -1,7 +1,12 @@
1
- require File.expand_path('bastion/engine', File.dirname(__FILE__))
2
- require 'less-rails'
1
+ # to make Foreman#in_rake? helper available if Foreman's lib is available
2
+ lib_foreman = File.expand_path('lib/foreman', Rails.root)
3
+ require lib_foreman unless !Dir.exist?(lib_foreman)
4
+
5
+ require 'less-rails' if !Rails.env.production? || Foreman.in_rake?
3
6
  require 'angular-rails-templates'
4
7
 
8
+ require File.expand_path('bastion/engine', File.dirname(__FILE__))
9
+
5
10
  module Bastion
6
11
 
7
12
  @@plugins = {};
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bastion
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Katello
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-09-30 00:00:00.000000000 Z
11
+ date: 2014-10-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: less-rails
@@ -121,14 +121,11 @@ files:
121
121
  - app/assets/stylesheets/bastion/animations.less
122
122
  - app/assets/stylesheets/bastion/bastion.less
123
123
  - app/assets/stylesheets/bastion/forms.less
124
- - app/assets/stylesheets/bastion/gpg-keys.less
125
124
  - app/assets/stylesheets/bastion/helpers.less
126
125
  - app/assets/stylesheets/bastion/mixins.less
127
126
  - app/assets/stylesheets/bastion/nutupane.less
128
127
  - app/assets/stylesheets/bastion/overrides.less
129
128
  - app/assets/stylesheets/bastion/path-selector.less
130
- - app/assets/stylesheets/bastion/systems.less
131
- - app/assets/stylesheets/bastion/tasks.less
132
129
  - app/assets/stylesheets/bastion/typography.less
133
130
  - app/assets/stylesheets/bastion/variables.less
134
131
  - app/controllers/bastion/bastion_controller.rb
@@ -1,36 +0,0 @@
1
- .form {
2
- .gpg-textarea {
3
- width: 560px;
4
- height: 300px;
5
- font-family:Consolas,Monaco,Lucida Console,Liberation Mono,DejaVu Sans Mono,
6
- Bitstream Vera Sans Mono,Courier New,monospace;
7
- }
8
- }
9
- .gpg-details.details {
10
- width: 82%;
11
- }
12
- .gpg-alch-edit {
13
- .editable-value {
14
- float: left;
15
- }
16
- .alch-edit{
17
- .value {
18
- width: 520px;
19
- font-family: Consolas,Monaco,Lucida Console,Liberation Mono,DejaVu Sans Mono,
20
- Bitstream Vera Sans Mono,Courier New,monospace;
21
- word-break: break-all;
22
- word-wrap: break-word;
23
- white-space: pre-wrap;
24
- }
25
- }
26
- textarea {
27
- .form.gpg-textarea;
28
- }
29
-
30
- .value.editable {
31
- .fr {
32
- margin-top:-80px;
33
- }
34
- }
35
-
36
- }
@@ -1,35 +0,0 @@
1
- html.custom-information {
2
- .form input {
3
- width: 200px;
4
- }
5
-
6
- button {
7
- vertical-align: middle;
8
- }
9
-
10
- .existing-items {
11
- margin-top: 25px;
12
- }
13
-
14
- .details-container {
15
- max-height: 250px;
16
- overflow-y: auto;
17
- padding: 15px;
18
- }
19
-
20
- .info-value {
21
- display: inline-block;
22
- }
23
- }
24
-
25
- .system-subscriptions {
26
- margin-top: 35px;
27
- }
28
-
29
- .filter-options {
30
- clear: both;
31
-
32
- .filter-option {
33
- padding: 5px;
34
- }
35
- }
@@ -1,23 +0,0 @@
1
- table div.progress {
2
- margin-bottom: 0;
3
- }
4
-
5
- table.tasks-table th.task-status {
6
- width: 10%;
7
- }
8
-
9
- table.tasks-table th.task-user {
10
- width: 15%;
11
- }
12
-
13
- .task-details {
14
- .nutupane-details;
15
- left: 0;
16
- width: 100%;
17
- box-shadow: none;
18
- }
19
-
20
- .current-tasks {
21
- width: 50em;
22
- padding-left: 1em;
23
- }