myapacheconf 0.1.0 → 0.1.1
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 +4 -4
- checksums.yaml.gz.sig +0 -0
- data.tar.gz.sig +0 -0
- data/lib/myapacheconf.rb +10 -1
- metadata +10 -9
- metadata.gz.sig +0 -0
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 2d5a6fa3cab84f7c9fc0d14cb8ab6f58532d2cf30ea5a5fa47a691b9c9dc777e
|
|
4
|
+
data.tar.gz: 67bcd86501d12231cf1132d918329059c191e784959c84850d5f82673d493dd3
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: e77a85c9e4dd03fad740fed88c8aa91db062400dd2bcb60909a84b9b0865b1a9ac61f7ef167f4bf101d172598a6ec0b967d1ba8c519bf52ccdb6f691a8493184
|
|
7
|
+
data.tar.gz: e59183fbbc70350f22243a03a7fd02e745ad8ea50cc03dc086c4eb3613e72be7a72452a6918b2463311700a88928af383c8dd71cad9fe8083b8e294961055a34
|
checksums.yaml.gz.sig
CHANGED
|
Binary file
|
data.tar.gz.sig
CHANGED
|
Binary file
|
data/lib/myapacheconf.rb
CHANGED
|
@@ -39,6 +39,16 @@ tags: apache
|
|
|
39
39
|
build()
|
|
40
40
|
|
|
41
41
|
end
|
|
42
|
+
|
|
43
|
+
def generate_files(dir='/tmp/')
|
|
44
|
+
|
|
45
|
+
@conf.each_pair do |domain, conf|
|
|
46
|
+
|
|
47
|
+
puts 'domain: ' + domain.inspect if @debug
|
|
48
|
+
File.write File.join(dir, ("%s.conf" % domain)), conf
|
|
49
|
+
|
|
50
|
+
end
|
|
51
|
+
end
|
|
42
52
|
|
|
43
53
|
|
|
44
54
|
private
|
|
@@ -64,4 +74,3 @@ s = "<VirtualHost *:80>
|
|
|
64
74
|
|
|
65
75
|
|
|
66
76
|
end
|
|
67
|
-
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: myapacheconf
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.1.
|
|
4
|
+
version: 0.1.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- James Robertson
|
|
@@ -35,28 +35,28 @@ cert_chain:
|
|
|
35
35
|
osgNPcLkc9OPm2ZC/FUmEP2xbH0iqaODrzkt0abENVN7bsOVs6eGXO0uHl6LK+N8
|
|
36
36
|
vjhInZ6KRUK0qO82ril1tM/Z
|
|
37
37
|
-----END CERTIFICATE-----
|
|
38
|
-
date: 2021-
|
|
38
|
+
date: 2021-07-19 00:00:00.000000000 Z
|
|
39
39
|
dependencies:
|
|
40
40
|
- !ruby/object:Gem::Dependency
|
|
41
41
|
name: polyrex-headings
|
|
42
42
|
requirement: !ruby/object:Gem::Requirement
|
|
43
43
|
requirements:
|
|
44
|
-
- - "~>"
|
|
45
|
-
- !ruby/object:Gem::Version
|
|
46
|
-
version: '0.2'
|
|
47
44
|
- - ">="
|
|
48
45
|
- !ruby/object:Gem::Version
|
|
49
46
|
version: 0.2.0
|
|
47
|
+
- - "~>"
|
|
48
|
+
- !ruby/object:Gem::Version
|
|
49
|
+
version: '0.2'
|
|
50
50
|
type: :runtime
|
|
51
51
|
prerelease: false
|
|
52
52
|
version_requirements: !ruby/object:Gem::Requirement
|
|
53
53
|
requirements:
|
|
54
|
-
- - "~>"
|
|
55
|
-
- !ruby/object:Gem::Version
|
|
56
|
-
version: '0.2'
|
|
57
54
|
- - ">="
|
|
58
55
|
- !ruby/object:Gem::Version
|
|
59
56
|
version: 0.2.0
|
|
57
|
+
- - "~>"
|
|
58
|
+
- !ruby/object:Gem::Version
|
|
59
|
+
version: '0.2'
|
|
60
60
|
description:
|
|
61
61
|
email: digital.robertson@gmail.com
|
|
62
62
|
executables: []
|
|
@@ -83,7 +83,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
83
83
|
- !ruby/object:Gem::Version
|
|
84
84
|
version: '0'
|
|
85
85
|
requirements: []
|
|
86
|
-
|
|
86
|
+
rubyforge_project:
|
|
87
|
+
rubygems_version: 2.7.10
|
|
87
88
|
signing_key:
|
|
88
89
|
specification_version: 4
|
|
89
90
|
summary: Helps build apache2 virtual host configuration files from a simpler config
|
metadata.gz.sig
CHANGED
|
Binary file
|