staypuft 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 CHANGED
@@ -1,15 +1,15 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
3
  metadata.gz: !binary |-
4
- ZDRmYjU0MzQ2ZTczOThmMmY3OGYzYTVlYTAzODRkZGVhZjg2Njk2ZQ==
4
+ ZjMyMjI1NjU5ZDUzZDQwMTM3NTYwMGJkNDEwZWU3ZDk4MWM2NjkxOA==
5
5
  data.tar.gz: !binary |-
6
- NzQ5NGZlMTA5MmVkNjk0NGJkNWE0MjEzYmNhODc0MjI2Mjk5OWRkYw==
6
+ YjVkNzI2YTc3YWE5MzZhYTcwMDJhYjhhNmIzMjNhYTQwYjNjMzFiMg==
7
7
  SHA512:
8
8
  metadata.gz: !binary |-
9
- OGRiMmRhNGY2NDVkOWEyMzZhOWNhYTdkZmQxMjI1YjJhMzdiMDBmNGFhOWQ3
10
- M2I5Nzg4YTJiMDIxMTdhODA2NTQ2MmRiYjI1NzMxOThjYWY5Y2I3ZjUyYmEx
11
- OTRmYTJjZDUwZDIzZTdhMGExYWEwNjhkNjkyODYzOTY0Yjk4Yzc=
9
+ NmZlNTAwZTcwODIxMDczYzMxZTE0OTY1NjE3OTI5YjlmNjU0YmM4ZGNjZjEx
10
+ MTRkMDQ5NjJlMTk1MjZkNTQ5NmFmNmIwMTNjNzcyNjdhYzFiMDk0ZjgwMGMw
11
+ ZDZmM2VlNDczNzBmOGI5MzFmZTBhNmJkMDY3YWYxYmZmZWI2MDk=
12
12
  data.tar.gz: !binary |-
13
- OWRiYTVkMGI5ZjE3MzgzOGI0MDlhOGQwM2JiNTdhYjEzYTAxNDYwYWJjYmRk
14
- OGMyNzQ0NmUxZGIzYjgzZDkxZTc3YzFjMjI5ODI2NjlmMTY5MmU3YWI1ZmFl
15
- YTc3N2Q3OGZiZDlkYzg2M2QwZDZkNDY3ZjU4Y2M3OTBkZGQzZWI=
13
+ ZmE3ZGE4MDYwMTllZWY3OGExMDY1MTA1N2MyZTIwZjBkMWYxMGVhZGFkMmI0
14
+ NDcwY2Q1OTNkMTVmMDUyMWM1MjY0MWY0MzUwOGU0NGQ0NWQxZDQ4ZjIyMTEx
15
+ YTNkZWQxOTg1OGViMWIyZDc3NWMzYzM4M2ZhNzIxMWRiMTRlMDg=
@@ -34,6 +34,13 @@ module Staypuft
34
34
  ::Hostgroup.send :include, Staypuft::Concerns::HostgroupExtensions
35
35
  ::Environment.send :include, Staypuft::Concerns::EnvironmentExtensions
36
36
  ::LookupKey.send :include, Staypuft::Concerns::LookupKeyExtensions
37
+
38
+ # preload all the Foreman's lib files
39
+ Dir.glob(File.join(Rails.root, 'lib', '**', '*.rb')).
40
+ map { |p| p.to_s.gsub "#{Rails.root}/lib/", '' }.
41
+ map { |v| v.gsub /\.rb$/, '' }.
42
+ sort_by { |v| v.scan('/').size }. # ordered by the directory depth
43
+ map { |v| require_dependency v }
37
44
  end
38
45
 
39
46
  rake_tasks do
@@ -1,3 +1,3 @@
1
1
  module Staypuft
2
- VERSION = '0.1.10'
2
+ VERSION = '0.1.11'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: staypuft
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.10
4
+ version: 0.1.11
5
5
  platform: ruby
6
6
  authors:
7
7
  - Staypuft team
@@ -204,9 +204,10 @@ signing_key:
204
204
  specification_version: 4
205
205
  summary: OpenStack Foreman Installer
206
206
  test_files:
207
- - test/test_helper.rb
208
- - test/staypuft_test.rb
209
- - test/unit/staypuft_test.rb
210
- - test/test_plugin_helper.rb
211
207
  - test/factories/staypuft_factories.rb
212
208
  - test/integration/navigation_test.rb
209
+ - test/staypuft_test.rb
210
+ - test/test_helper.rb
211
+ - test/test_plugin_helper.rb
212
+ - test/unit/staypuft_test.rb
213
+ has_rdoc: