bastion 0.1.10 → 0.1.11
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 +4 -4
- data/lib/bastion/engine.rb +8 -3
- data/lib/bastion/version.rb +1 -1
- data/lib/bastion.rb +0 -2
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 215e758692928b45be50032619813c27e60d4f9a
|
|
4
|
+
data.tar.gz: f94dde9b9f3a7c2b8f23f06d9d1535576460779c
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 1b1b70043f1d2dde8ef1f67fd73ef0a5f773fd2ec0787cb1cab5eccf41be2586e08fa88ee6703277afd5c0a517c9394732bb1325da531db3942bbc5a516c5e89
|
|
7
|
+
data.tar.gz: 921f02922c74e79c88f84308195a6f01612a27d8faec0860bd2ae75d00b4842ec89cdfd35d0d25fd388b29dae549ebcf9c59b43ede36bced14565f8195e31cfd
|
data/lib/bastion/engine.rb
CHANGED
|
@@ -14,10 +14,15 @@ module Bastion
|
|
|
14
14
|
app.routes_reloader.paths.unshift("#{Bastion::Engine.root}/config/routes.rb")
|
|
15
15
|
end
|
|
16
16
|
|
|
17
|
-
initializer "bastion.
|
|
18
|
-
|
|
19
|
-
|
|
17
|
+
initializer "bastion.assets", :group => :all do |app|
|
|
18
|
+
if Rails.env.production?
|
|
19
|
+
app.config.assets.paths << "#{Bastion::Engine.root}/vendor/assets/stylesheets/bastion"
|
|
20
|
+
else
|
|
21
|
+
app.config.less.paths << "#{Bastion::Engine.root}/vendor/assets/stylesheets/bastion"
|
|
22
|
+
end
|
|
23
|
+
end
|
|
20
24
|
|
|
25
|
+
initializer "bastion.plugin", :group => :all do |app|
|
|
21
26
|
SETTINGS[:bastion] = {:assets => {}} if SETTINGS[:bastion].nil?
|
|
22
27
|
|
|
23
28
|
SETTINGS[:bastion][:assets][:precompile] = [
|
data/lib/bastion/version.rb
CHANGED
data/lib/bastion.rb
CHANGED
|
@@ -1,7 +1,5 @@
|
|
|
1
1
|
# to make Foreman#in_rake? helper available if Foreman's lib is available
|
|
2
2
|
require 'rails'
|
|
3
|
-
lib_foreman = File.expand_path('lib/foreman', Rails.root)
|
|
4
|
-
require lib_foreman unless !Dir.exist?(lib_foreman)
|
|
5
3
|
|
|
6
4
|
require 'less-rails' unless Rails.env.production?
|
|
7
5
|
require 'angular-rails-templates'
|
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.
|
|
4
|
+
version: 0.1.11
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Katello
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2014-12-
|
|
11
|
+
date: 2014-12-02 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: angular-rails-templates
|