bastion 0.1.6 → 0.1.7

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,15 +1,15 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
3
  metadata.gz: !binary |-
4
- Y2MxYTYwZThlNTkzZGQ1NDY3MDc0YWRjN2Q4YzMwZTY5ZDgxZGJjYw==
4
+ ZWE2NzFhNTdkY2M5MTIyMjQyNzA4ZDg0MzczMjU0ZDdiMWQzMDUxYQ==
5
5
  data.tar.gz: !binary |-
6
- ZGQ5ODY1YzAzNmVmY2IyMDJkZjYwODllMzg2NjY4YTQxYmRkN2IxYQ==
6
+ YTcyZjMyYThkNTUyY2ZhOTVmOWUzMTlhYzYwMTljMmZiYTE2OTYyNQ==
7
7
  SHA512:
8
8
  metadata.gz: !binary |-
9
- MDU4Y2U4NzUyNThmMjEzNTdiN2ZjMmJmNjkyMTFlYmQwMjI3YmM1MThmZDQ2
10
- MmU1OTEzOTU4MDZkMzkxNzY1ZWI2ZGI1NmIzMTQ4ZGY0YTdhZTY1ZjQyNzQw
11
- YTQ4NjdlY2EwMzYyMmZkMDE4ZGEwNGE3MDJiNzhhMzhjMmE5YmE=
9
+ NmI3MDBjNTFlNmUzMGRkNWQ3MmMwM2M1NWJiMjJjZTBiYTBkNGRmMjEzNjY3
10
+ ZGE5NmU3ZTM0YjFmMDI0YTg3N2FkM2YxYTY3YTI5N2E5OGU5ODZhMmJiOTU5
11
+ ZWFhYTc3OTYwYWNlZTQ2OTBkZWQ1OTBkNjJkYmU4OGNiMjJkNzQ=
12
12
  data.tar.gz: !binary |-
13
- OGE3N2JiNTA1ZjcxYThiYWNhNmQwODNhZTZmOTQxMTVjZDk1Yzg1ZTkxOTA4
14
- NmRkMzNhNWI4MGJmOWQ3OGQ0MjFmZjRhOTM0NjAwYjdmYzY1MGViOWRmNjQz
15
- NTdjZjVkOTI0NTJkMTYxODBjYzUzYjVjM2RhNzI3YjJkYzc5N2U=
13
+ OTU4ZTlmOWMzN2ExOTg5Y2Y0MTkzNTc1YTY5ODk3ZTBiYTFmOWZmMzM2YTZj
14
+ ZTU1ODhmNWI2YjFiYWNkNGMxNjk3MDIzOTcwZWQ2ZDFlYzkxMTU2OTMxNGM2
15
+ NjM4MGI5OGM4NjYxMmE2ODA2YTBiNTMzZDg1ZTgyNDE1Yzg4ZTE=
data/Rakefile CHANGED
@@ -2,6 +2,21 @@ require File.expand_path("lib/bastion", File.dirname(__FILE__))
2
2
 
3
3
  namespace :bastion do
4
4
 
5
+ desc 'Compile assets for Bastion'
6
+ task 'assets:precompile' do
7
+ require 'uglifier'
8
+
9
+ SETTINGS = {
10
+ :bastion => {
11
+ :assets => {
12
+ :js_compressor => Uglifier.new(:mangle => false)
13
+ }
14
+ }
15
+ }
16
+
17
+ Rake::Task["plugin:assets:precompile"].invoke('bastion')
18
+ end
19
+
5
20
  desc 'Run linting and tests'
6
21
  task 'grunt', [:task] do |task, args|
7
22
  success = grunt(args[:task])
@@ -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";
@@ -22,19 +22,21 @@ module Bastion
22
22
 
23
23
  app.middleware.use ::ActionDispatch::Static, "#{Bastion::Engine.root}/app/assets/javascripts/bastion"
24
24
 
25
- SETTINGS[:bastion] = {
26
- :assets => {
27
- :precompile => [
28
- 'bastion/bastion.css',
29
- 'bastion/bastion.js'
30
- ]
31
- }
32
- }
25
+ SETTINGS[:bastion] = {:assets => {}} if SETTINGS[:bastion].nil?
26
+
27
+ SETTINGS[:bastion][:assets][:precompile] = [
28
+ 'bastion/bastion.css',
29
+ 'bastion/bastion.js'
30
+ ]
33
31
  end
34
32
 
35
33
  initializer "angular_templates", :group => :all do |app|
36
34
  app.config.angular_templates.ignore_prefix = '[bastion]*\/+'
37
35
  end
38
36
 
37
+ rake_tasks do
38
+ load "#{Bastion::Engine.root}/Rakefile"
39
+ end
40
+
39
41
  end
40
42
  end
@@ -1,3 +1,3 @@
1
1
  module Bastion
2
- VERSION = "0.1.6"
2
+ VERSION = "0.1.7"
3
3
  end
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.6
4
+ version: 0.1.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Katello
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-10-22 00:00:00.000000000 Z
11
+ date: 2014-10-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: angular-rails-templates
@@ -24,6 +24,20 @@ dependencies:
24
24
  - - ~>
25
25
  - !ruby/object:Gem::Version
26
26
  version: 0.0.4
27
+ - !ruby/object:Gem::Dependency
28
+ name: uglifier
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - ! '>='
32
+ - !ruby/object:Gem::Version
33
+ version: '0'
34
+ type: :development
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - ! '>='
39
+ - !ruby/object:Gem::Version
40
+ version: '0'
27
41
  - !ruby/object:Gem::Dependency
28
42
  name: less-rails
29
43
  requirement: !ruby/object:Gem::Requirement
@@ -343,32 +357,32 @@ signing_key:
343
357
  specification_version: 4
344
358
  summary: Summary of Bastion.
345
359
  test_files:
346
- - test/menu/menu-expander.service.test.js
347
- - test/widgets/page-title.directive.test.js
348
- - test/widgets/path-selector.directive.test.js
349
360
  - test/widgets/page-title.service.test.js
350
- - test/incubator/alch-flyout.directive.test.js
361
+ - test/widgets/path-selector.directive.test.js
362
+ - test/widgets/page-title.directive.test.js
363
+ - test/bastion/test-constants.js
364
+ - test/bastion/bastion-resource.factory.test.js
365
+ - test/menu/menu-expander.service.test.js
366
+ - test/utils/form-utils.service.test.js
367
+ - test/utils/as.filter.test.js
368
+ - test/incubator/alch-alert.directive.test.js
351
369
  - test/incubator/alch-menu.directive.test.js
352
370
  - test/incubator/alch-dropdown.directive.test.js
353
- - test/incubator/alch-modal.directive.test.js
354
- - test/incubator/alch-edit.directive.test.js
371
+ - test/incubator/alch-infinite-scroll.directive.test.js
372
+ - test/incubator/alch-container-scroll.directive.test.js
355
373
  - test/incubator/alch-form-group.directive.test.js
356
- - test/incubator/format/boolean-to-yes-no.filter.test.js
357
- - test/incubator/format/array-to-string.filter.test.js
358
- - test/incubator/format/key-value-to-string.filter.test.js
374
+ - test/incubator/alch-modal.directive.test.js
375
+ - test/incubator/nutupane-table.directive.test.js
359
376
  - test/incubator/format/unlimited-filter.filter.test.js
377
+ - test/incubator/format/key-value-to-string.filter.test.js
378
+ - test/incubator/format/array-to-string.filter.test.js
379
+ - test/incubator/format/boolean-to-yes-no.filter.test.js
360
380
  - test/incubator/format/capitalize.filter.test.js
361
- - test/incubator/alch-container-scroll.directive.test.js
362
- - test/incubator/alch-table.directive.test.js
363
- - test/incubator/nutupane.factory.test.js
364
381
  - test/incubator/alch-form-buttons.directive.test.js
365
- - test/incubator/alch-infinite-scroll.directive.test.js
366
- - test/incubator/nutupane-table.directive.test.js
367
- - test/incubator/alch-alert.directive.test.js
368
- - test/utils/as.filter.test.js
369
- - test/utils/form-utils.service.test.js
370
- - test/i18n/translate.service.test.js
382
+ - test/incubator/alch-edit.directive.test.js
383
+ - test/incubator/nutupane.factory.test.js
384
+ - test/incubator/alch-flyout.directive.test.js
385
+ - test/incubator/alch-table.directive.test.js
371
386
  - test/auth/authorization.service.test.js
372
387
  - test/test-mocks.module.js
373
- - test/bastion/bastion-resource.factory.test.js
374
- - test/bastion/test-constants.js
388
+ - test/i18n/translate.service.test.js