foreman_setup 2.0.1 → 2.0.2

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: 85cdc5b104da288ecd8e2535cf43182684eaeb0b
4
- data.tar.gz: c4b518d75acfa4e162a1e642651d2d08b8af35fd
3
+ metadata.gz: 06b696364208f23f38737a12d4bef14e7d01b649
4
+ data.tar.gz: 9249c0ea3ffd43ee9268ae96790772fc336f8b24
5
5
  SHA512:
6
- metadata.gz: 9b56fe183ebbba0ea988342804a0f5fd58d1bd4f23926d47b8997a62cf1da50a682a07c2311d38bd101cc3ffb3bf946af4b1c85998eae1c6d2c764f1884f225d
7
- data.tar.gz: bd9ed8aacf0dccb740e6cd050ec2fa3858e8c855b363011405e095a5e358a123dcef658ade4105534ffd9e2e8a3efe027c585982c74da57bff4f8df8faca13d6
6
+ metadata.gz: c8abdf16fd6ee68536544ee81bce81348bd367704d27dd481e30073ec27446d6b74d23136b3481eec9a7495c9ff6c9c653503665f5f6f54f79b82c05311dab78
7
+ data.tar.gz: db6f043f7bfb546e10267ce358b4301e18f1af4dc74c3453b4c20a29695c3b5bbdf7225f510f2e6a8a4eafd0c035fb679aee435e964dbf26099442eed0537bd4
data/CHANGES.md CHANGED
@@ -1,5 +1,8 @@
1
1
  # Changelog
2
2
 
3
+ ## v2.0.2
4
+ * remove obsolete menu extension, causing warnings
5
+
3
6
  ## v2.0.1
4
7
  * add support for precompiling JavaScript assets
5
8
 
@@ -39,14 +39,6 @@ module ForemanSetup
39
39
  }
40
40
  }
41
41
  end
42
-
43
- config.to_prepare do
44
- begin
45
- ::HomeHelper.send :include, ForemanSetup::HomeHelperExt
46
- rescue => e
47
- puts "#{ForemanSetup::ENGINE_NAME}: skipping engine hook (#{e.to_s})"
48
- end
49
- end
50
42
  end
51
43
 
52
44
  def table_name_prefix
@@ -1,3 +1,3 @@
1
1
  module ForemanSetup
2
- VERSION = '2.0.1'
2
+ VERSION = '2.0.2'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: foreman_setup
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.1
4
+ version: 2.0.2
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-10 00:00:00.000000000 Z
11
+ date: 2014-04-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: deface
@@ -38,7 +38,6 @@ files:
38
38
  - README.md
39
39
  - app/assets/javascripts/foreman_setup/provisioner.js
40
40
  - app/controllers/foreman_setup/provisioners_controller.rb
41
- - app/helpers/concerns/foreman_setup/home_helper_ext.rb
42
41
  - app/helpers/foreman_setup/provisioner_helper.rb
43
42
  - app/models/foreman_setup/provisioner.rb
44
43
  - app/overrides/add_dashboard_provisioners_link.rb
@@ -1,15 +0,0 @@
1
- module ForemanSetup
2
- module HomeHelperExt
3
- extend ActiveSupport::Concern
4
-
5
- included do
6
- alias_method_chain :settings_menu_items, :provisioners_link
7
- end
8
-
9
- def settings_menu_items_with_provisioners_link
10
- menu_items = settings_menu_items_without_provisioners_link
11
- menu_items[2][2].insert(7, [_('Provisioning Setup'), :'foreman_setup/provisioners']) if menu_items[2]
12
- menu_items
13
- end
14
- end
15
- end