foreman_git_templates 1.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/LICENSE +619 -0
- data/README.md +66 -0
- data/Rakefile +47 -0
- data/app/lib/foreman_git_templates/renderer.rb +20 -0
- data/app/lib/foreman_git_templates/renderer/source/repository.rb +27 -0
- data/app/lib/foreman_git_templates/tar.rb +26 -0
- data/app/models/concerns/foreman_git_templates/host_extensions.rb +11 -0
- data/app/models/concerns/foreman_git_templates/hostext/operating_system.rb +34 -0
- data/app/models/concerns/foreman_git_templates/orchestration/tftp.rb +29 -0
- data/app/models/foreman_git_templates/base_repository_template.rb +15 -0
- data/app/models/foreman_git_templates/default_local_boot_repository_template.rb +11 -0
- data/app/models/foreman_git_templates/main_repository_template.rb +11 -0
- data/app/models/foreman_git_templates/snippet_repository_template.rb +11 -0
- data/app/services/foreman_git_templates/repository_fetcher.rb +29 -0
- data/app/services/foreman_git_templates/repository_reader.rb +42 -0
- data/config/routes.rb +4 -0
- data/lib/foreman_git_templates.rb +6 -0
- data/lib/foreman_git_templates/engine.rb +26 -0
- data/lib/foreman_git_templates/version.rb +5 -0
- data/lib/tasks/foreman_git_templates_tasks.rake +47 -0
- data/test/controllers/hosts_controller_test.rb +26 -0
- data/test/controllers/unattended_controller_test.rb +71 -0
- data/test/factories/foreman_git_templates_factories.rb +11 -0
- data/test/models/concerns/foreman_git_templates/hostext/operating_system_test.rb +24 -0
- data/test/models/concerns/foreman_git_templates/orchestration/tftp_test.rb +114 -0
- data/test/models/foreman_git_templates/host_test.rb +28 -0
- data/test/models/foreman_git_templates/snippet_repository_template_test.rb +13 -0
- data/test/test_plugin_helper.rb +21 -0
- data/test/unit/foreman/renderer/source/repository_test.rb +29 -0
- data/test/unit/repository_fetcher_test.rb +37 -0
- data/test/unit/repository_reader_test.rb +76 -0
- metadata +128 -0
metadata
ADDED
@@ -0,0 +1,128 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: foreman_git_templates
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 1.0.0
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- dmTECH GmbH
|
8
|
+
autorequire:
|
9
|
+
bindir: bin
|
10
|
+
cert_chain: []
|
11
|
+
date: 2019-03-04 00:00:00.000000000 Z
|
12
|
+
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: down
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - "~>"
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: '4.5'
|
20
|
+
type: :runtime
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - "~>"
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: '4.5'
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: rdoc
|
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'
|
41
|
+
- !ruby/object:Gem::Dependency
|
42
|
+
name: rubocop
|
43
|
+
requirement: !ruby/object:Gem::Requirement
|
44
|
+
requirements:
|
45
|
+
- - '='
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
version: 0.54.0
|
48
|
+
type: :development
|
49
|
+
prerelease: false
|
50
|
+
version_requirements: !ruby/object:Gem::Requirement
|
51
|
+
requirements:
|
52
|
+
- - '='
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: 0.54.0
|
55
|
+
description:
|
56
|
+
email:
|
57
|
+
- opensource@dm.de
|
58
|
+
executables: []
|
59
|
+
extensions: []
|
60
|
+
extra_rdoc_files: []
|
61
|
+
files:
|
62
|
+
- LICENSE
|
63
|
+
- README.md
|
64
|
+
- Rakefile
|
65
|
+
- app/lib/foreman_git_templates/renderer.rb
|
66
|
+
- app/lib/foreman_git_templates/renderer/source/repository.rb
|
67
|
+
- app/lib/foreman_git_templates/tar.rb
|
68
|
+
- app/models/concerns/foreman_git_templates/host_extensions.rb
|
69
|
+
- app/models/concerns/foreman_git_templates/hostext/operating_system.rb
|
70
|
+
- app/models/concerns/foreman_git_templates/orchestration/tftp.rb
|
71
|
+
- app/models/foreman_git_templates/base_repository_template.rb
|
72
|
+
- app/models/foreman_git_templates/default_local_boot_repository_template.rb
|
73
|
+
- app/models/foreman_git_templates/main_repository_template.rb
|
74
|
+
- app/models/foreman_git_templates/snippet_repository_template.rb
|
75
|
+
- app/services/foreman_git_templates/repository_fetcher.rb
|
76
|
+
- app/services/foreman_git_templates/repository_reader.rb
|
77
|
+
- config/routes.rb
|
78
|
+
- lib/foreman_git_templates.rb
|
79
|
+
- lib/foreman_git_templates/engine.rb
|
80
|
+
- lib/foreman_git_templates/version.rb
|
81
|
+
- lib/tasks/foreman_git_templates_tasks.rake
|
82
|
+
- test/controllers/hosts_controller_test.rb
|
83
|
+
- test/controllers/unattended_controller_test.rb
|
84
|
+
- test/factories/foreman_git_templates_factories.rb
|
85
|
+
- test/models/concerns/foreman_git_templates/hostext/operating_system_test.rb
|
86
|
+
- test/models/concerns/foreman_git_templates/orchestration/tftp_test.rb
|
87
|
+
- test/models/foreman_git_templates/host_test.rb
|
88
|
+
- test/models/foreman_git_templates/snippet_repository_template_test.rb
|
89
|
+
- test/test_plugin_helper.rb
|
90
|
+
- test/unit/foreman/renderer/source/repository_test.rb
|
91
|
+
- test/unit/repository_fetcher_test.rb
|
92
|
+
- test/unit/repository_reader_test.rb
|
93
|
+
homepage: https://github.com/dm-drogeriemarkt/foreman_git_templates
|
94
|
+
licenses:
|
95
|
+
- GPL-3.0
|
96
|
+
metadata: {}
|
97
|
+
post_install_message:
|
98
|
+
rdoc_options: []
|
99
|
+
require_paths:
|
100
|
+
- lib
|
101
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
102
|
+
requirements:
|
103
|
+
- - ">="
|
104
|
+
- !ruby/object:Gem::Version
|
105
|
+
version: '0'
|
106
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
107
|
+
requirements:
|
108
|
+
- - ">="
|
109
|
+
- !ruby/object:Gem::Version
|
110
|
+
version: '0'
|
111
|
+
requirements: []
|
112
|
+
rubyforge_project:
|
113
|
+
rubygems_version: 2.7.3
|
114
|
+
signing_key:
|
115
|
+
specification_version: 4
|
116
|
+
summary: Adds support for using templates from Git repositories
|
117
|
+
test_files:
|
118
|
+
- test/unit/repository_fetcher_test.rb
|
119
|
+
- test/unit/foreman/renderer/source/repository_test.rb
|
120
|
+
- test/unit/repository_reader_test.rb
|
121
|
+
- test/models/foreman_git_templates/snippet_repository_template_test.rb
|
122
|
+
- test/models/foreman_git_templates/host_test.rb
|
123
|
+
- test/models/concerns/foreman_git_templates/hostext/operating_system_test.rb
|
124
|
+
- test/models/concerns/foreman_git_templates/orchestration/tftp_test.rb
|
125
|
+
- test/factories/foreman_git_templates_factories.rb
|
126
|
+
- test/test_plugin_helper.rb
|
127
|
+
- test/controllers/unattended_controller_test.rb
|
128
|
+
- test/controllers/hosts_controller_test.rb
|