foreman_setup 2.0.0 → 2.0.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 5dcdedbef7bdb8de44908f4043e201d11bfdbd49
4
- data.tar.gz: 37b24908a75c247c024f8416f1dfc499792591ca
3
+ metadata.gz: 85cdc5b104da288ecd8e2535cf43182684eaeb0b
4
+ data.tar.gz: c4b518d75acfa4e162a1e642651d2d08b8af35fd
5
5
  SHA512:
6
- metadata.gz: 5c9f82d19bf197bfd150b384cc5eeefa5425cf6f7ec0e71e81971f5fa4455f0b61f9eb4da5e90bae36c6c20bc58ffae85a309aa7de21303ff3b249756c7fd3a7
7
- data.tar.gz: 2a23e156c06ec9154dc82b735b24b3279f4d473c7da4cc42b8be0616143cb8eba1d86ed9c7e168330e5ffbf6b2177435e938edb2e4807e1b1d032110de8e27fc
6
+ metadata.gz: 9b56fe183ebbba0ea988342804a0f5fd58d1bd4f23926d47b8997a62cf1da50a682a07c2311d38bd101cc3ffb3bf946af4b1c85998eae1c6d2c764f1884f225d
7
+ data.tar.gz: bd9ed8aacf0dccb740e6cd050ec2fa3858e8c855b363011405e095a5e358a123dcef658ade4105534ffd9e2e8a3efe027c585982c74da57bff4f8df8faca13d6
data/CHANGES.md CHANGED
@@ -1,5 +1,8 @@
1
1
  # Changelog
2
2
 
3
+ ## v2.0.1
4
+ * add support for precompiling JavaScript assets
5
+
3
6
  ## v2.0.0
4
7
  * add support for Foreman 1.5 auth system (#4538)
5
8
  * this version (2.x) drops support for Foreman 1.4 and earlier
@@ -30,6 +30,16 @@ module ForemanSetup
30
30
  end
31
31
  end
32
32
 
33
+ initializer 'foreman_setup.configure_assets', :group => :assets do
34
+ SETTINGS[:setup] = {
35
+ :assets => {
36
+ :precompile => [
37
+ 'foreman_setup/provisioner.js'
38
+ ],
39
+ }
40
+ }
41
+ end
42
+
33
43
  config.to_prepare do
34
44
  begin
35
45
  ::HomeHelper.send :include, ForemanSetup::HomeHelperExt
@@ -1,3 +1,3 @@
1
1
  module ForemanSetup
2
- VERSION = '2.0.0'
2
+ VERSION = '2.0.1'
3
3
  end
metadata CHANGED
@@ -1,27 +1,27 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: foreman_setup
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.0
4
+ version: 2.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dominic Cleal
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-03-05 00:00:00.000000000 Z
11
+ date: 2014-03-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: deface
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - <
17
+ - - "<"
18
18
  - !ruby/object:Gem::Version
19
19
  version: '1.0'
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
- - - <
24
+ - - "<"
25
25
  - !ruby/object:Gem::Version
26
26
  version: '1.0'
27
27
  description: Plugin for Foreman that helps set up provisioning.
@@ -73,17 +73,17 @@ require_paths:
73
73
  - lib
74
74
  required_ruby_version: !ruby/object:Gem::Requirement
75
75
  requirements:
76
- - - '>='
76
+ - - ">="
77
77
  - !ruby/object:Gem::Version
78
78
  version: '0'
79
79
  required_rubygems_version: !ruby/object:Gem::Requirement
80
80
  requirements:
81
- - - '>='
81
+ - - ">="
82
82
  - !ruby/object:Gem::Version
83
83
  version: '0'
84
84
  requirements: []
85
85
  rubyforge_project:
86
- rubygems_version: 2.0.6
86
+ rubygems_version: 2.2.1
87
87
  signing_key:
88
88
  specification_version: 4
89
89
  summary: Helps set up Foreman for provisioning