httpd_configmap_generator 0.1.0 → 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/bin/console +14 -0
- data/bin/setup +8 -0
- data/httpd_configmap_generator.gemspec +1 -1
- data/lib/httpd_configmap_generator/base/file.rb +2 -3
- data/lib/httpd_configmap_generator/version.rb +1 -1
- metadata +3 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 269f3519101488e9580699f67f1fa479f1db78f6
|
4
|
+
data.tar.gz: 3224b233aedc0c5ae68cb0299d2438e165b2b7f5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a0d1935e46028b58c93d019e38b1133d2653414ae77d4bc0e33182a7d1d1230c43bdf12dd5cccd233c381bf6aa8c9fe3a632c37bd220dd3a2ec8cc820b3d1301
|
7
|
+
data.tar.gz: 7d85650f7f2b59dc7db1345e48e0486687fea752482232d3d1cccbde9b20e273b455003cbc45eaadff9bbd62a58b11d243abed5f23debcd57374b35da60f987e
|
data/bin/console
ADDED
@@ -0,0 +1,14 @@
|
|
1
|
+
#!/usr/bin/env ruby
|
2
|
+
|
3
|
+
require "bundler/setup"
|
4
|
+
require "httpd_configmap_generator"
|
5
|
+
|
6
|
+
# You can add fixtures and/or initialization code here to make experimenting
|
7
|
+
# with your gem easier. You can also use a different console, if you like.
|
8
|
+
|
9
|
+
# (If you use this, don't forget to add pry to your Gemfile!)
|
10
|
+
# require "pry"
|
11
|
+
# Pry.start
|
12
|
+
|
13
|
+
require "irb"
|
14
|
+
IRB.start
|
data/bin/setup
ADDED
@@ -18,7 +18,7 @@ Gem::Specification.new do |s|
|
|
18
18
|
f.match(%r{^(test|spec|features)/})
|
19
19
|
end
|
20
20
|
s.bindir = "bin"
|
21
|
-
s.executables = s.files.grep(%r{^bin/}) { |f| File.basename(f) }
|
21
|
+
s.executables = s.files.grep(%r{^bin/}) { |f| File.basename(f) } - %w(console setup)
|
22
22
|
s.require_paths = ["lib"]
|
23
23
|
|
24
24
|
s.add_development_dependency "codeclimate-test-reporter", "~> 1.0.0"
|
@@ -3,9 +3,8 @@ require "pathname"
|
|
3
3
|
module HttpdConfigmapGenerator
|
4
4
|
class Base
|
5
5
|
def template_directory
|
6
|
-
@template_directory ||=
|
7
|
-
Pathname.new(
|
8
|
-
end
|
6
|
+
@template_directory ||=
|
7
|
+
Pathname.new(Gem::Specification.find_by_name("httpd_configmap_generator").full_gem_path).join("templates")
|
9
8
|
end
|
10
9
|
|
11
10
|
def cp_template(file, src_dir, dest_dir = "/")
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: httpd_configmap_generator
|
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
|
- Httpd Auth Config Developers
|
@@ -154,7 +154,9 @@ files:
|
|
154
154
|
- README-saml.md
|
155
155
|
- README.md
|
156
156
|
- Rakefile
|
157
|
+
- bin/console
|
157
158
|
- bin/httpd_configmap_generator
|
159
|
+
- bin/setup
|
158
160
|
- httpd_configmap_generator.gemspec
|
159
161
|
- lib/httpd_configmap_generator.rb
|
160
162
|
- lib/httpd_configmap_generator/active_directory.rb
|