tcce 0.1.0

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.
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA256:
3
+ metadata.gz: 4aa9c8b89db6fb2cfc574f7d678d819d68d5ba6278806a51f115f13b5927abec
4
+ data.tar.gz: 8b05f710aaa3460c44f5d277625b1266a2bc5076be96d1521b1ebae13898d6a5
5
+ SHA512:
6
+ metadata.gz: a687c52182c62cc17ab4ce1da7cc53041da87f2051c0b9dbcf5817a870fe4b2f172e15000f1078e9bd3a2433a02efd127bb4f8880b0094bb86694e5fc79ab315
7
+ data.tar.gz: ec1bfbf72e439259729920e8df7c2877acea5ddbdad11715cbaaeb4c44a9817bac8b85ac8fbd8bc0035ce057b898baf72aa79ea4fc18159cfa4a0a3d0544adfd
@@ -0,0 +1,107 @@
1
+ /.bundle/
2
+ /.yardoc
3
+ /_yardoc/
4
+ /coverage/
5
+ /doc/
6
+ /pkg/
7
+ /spec/reports/
8
+ /tmp/
9
+ ### JetBrains template
10
+ # Covers JetBrains IDEs: IntelliJ, RubyMine, PhpStorm, AppCode, PyCharm, CLion, Android Studio and WebStorm
11
+ # Reference: https://intellij-support.jetbrains.com/hc/en-us/articles/206544839
12
+
13
+ # User-specific stuff
14
+ .idea/**/workspace.xml
15
+ .idea/**/tasks.xml
16
+ .idea/**/dictionaries
17
+ .idea/**/shelf
18
+
19
+ # Sensitive or high-churn files
20
+ .idea/**/dataSources/
21
+ .idea/**/dataSources.ids
22
+ .idea/**/dataSources.local.xml
23
+ .idea/**/sqlDataSources.xml
24
+ .idea/**/dynamic.xml
25
+ .idea/**/uiDesigner.xml
26
+ .idea/**/dbnavigator.xml
27
+
28
+ # Gradle
29
+ .idea/**/gradle.xml
30
+ .idea/**/libraries
31
+
32
+ # CMake
33
+ cmake-build-debug/
34
+ cmake-build-release/
35
+
36
+ # Mongo Explorer plugin
37
+ .idea/**/mongoSettings.xml
38
+
39
+ # File-based project format
40
+ *.iws
41
+
42
+ # IntelliJ
43
+ out/
44
+
45
+ # mpeltonen/sbt-idea plugin
46
+ .idea_modules/
47
+
48
+ # JIRA plugin
49
+ atlassian-ide-plugin.xml
50
+
51
+ # Cursive Clojure plugin
52
+ .idea/replstate.xml
53
+
54
+ # Crashlytics plugin (for Android Studio and IntelliJ)
55
+ com_crashlytics_export_strings.xml
56
+ crashlytics.properties
57
+ crashlytics-build.properties
58
+ fabric.properties
59
+
60
+ # Editor-based Rest Client
61
+ .idea/httpRequests
62
+ ### Ruby template
63
+ *.gem
64
+ *.rbc
65
+ /.config
66
+ /InstalledFiles
67
+ /spec/examples.txt
68
+ /test/tmp/
69
+ /test/version_tmp/
70
+
71
+ # Used by dotenv library to load environment variables.
72
+ # .env
73
+
74
+ ## Specific to RubyMotion:
75
+ .dat*
76
+ .repl_history
77
+ build/
78
+ *.bridgesupport
79
+ build-iPhoneOS/
80
+ build-iPhoneSimulator/
81
+
82
+ ## Specific to RubyMotion (use of CocoaPods):
83
+ #
84
+ # We recommend against adding the Pods directory to your .gitignore. However
85
+ # you should judge for yourself, the pros and cons are mentioned at:
86
+ # https://guides.cocoapods.org/using/using-cocoapods.html#should-i-check-the-pods-directory-into-source-control
87
+ #
88
+ # vendor/Pods/
89
+
90
+ ## Documentation cache and generated files:
91
+ /.yardoc/
92
+ /rdoc/
93
+
94
+ ## Environment normalization:
95
+ /vendor/bundle
96
+ /lib/bundler/man/
97
+
98
+ # for a library or gem, you might want to ignore these files since the code is
99
+ # intended to run in multiple environments; otherwise, check them in:
100
+ # Gemfile.lock
101
+ # .ruby-version
102
+ # .ruby-gemset
103
+
104
+ # unless supporting rvm < 1.11.0 or doing something fancy, ignore this:
105
+ .rvmrc
106
+
107
+ .idea/
@@ -0,0 +1,5 @@
1
+ sudo: false
2
+ language: ruby
3
+ rvm:
4
+ - 2.5.1
5
+ before_install: gem install bundler -v 1.16.2
@@ -0,0 +1,74 @@
1
+ # Contributor Covenant Code of Conduct
2
+
3
+ ## Our Pledge
4
+
5
+ In the interest of fostering an open and welcoming environment, we as
6
+ contributors and maintainers pledge to making participation in our project and
7
+ our community a harassment-free experience for everyone, regardless of age, body
8
+ size, disability, ethnicity, gender identity and expression, level of experience,
9
+ nationality, personal appearance, race, religion, or sexual identity and
10
+ orientation.
11
+
12
+ ## Our Standards
13
+
14
+ Examples of behavior that contributes to creating a positive environment
15
+ include:
16
+
17
+ * Using welcoming and inclusive language
18
+ * Being respectful of differing viewpoints and experiences
19
+ * Gracefully accepting constructive criticism
20
+ * Focusing on what is best for the community
21
+ * Showing empathy towards other community members
22
+
23
+ Examples of unacceptable behavior by participants include:
24
+
25
+ * The use of sexualized language or imagery and unwelcome sexual attention or
26
+ advances
27
+ * Trolling, insulting/derogatory comments, and personal or political attacks
28
+ * Public or private harassment
29
+ * Publishing others' private information, such as a physical or electronic
30
+ address, without explicit permission
31
+ * Other conduct which could reasonably be considered inappropriate in a
32
+ professional setting
33
+
34
+ ## Our Responsibilities
35
+
36
+ Project maintainers are responsible for clarifying the standards of acceptable
37
+ behavior and are expected to take appropriate and fair corrective action in
38
+ response to any instances of unacceptable behavior.
39
+
40
+ Project maintainers have the right and responsibility to remove, edit, or
41
+ reject comments, commits, code, wiki edits, issues, and other contributions
42
+ that are not aligned to this Code of Conduct, or to ban temporarily or
43
+ permanently any contributor for other behaviors that they deem inappropriate,
44
+ threatening, offensive, or harmful.
45
+
46
+ ## Scope
47
+
48
+ This Code of Conduct applies both within project spaces and in public spaces
49
+ when an individual is representing the project or its community. Examples of
50
+ representing a project or community include using an official project e-mail
51
+ address, posting via an official social media account, or acting as an appointed
52
+ representative at an online or offline event. Representation of a project may be
53
+ further defined and clarified by project maintainers.
54
+
55
+ ## Enforcement
56
+
57
+ Instances of abusive, harassing, or otherwise unacceptable behavior may be
58
+ reported by contacting the project team at ralf@rherzog.de. All
59
+ complaints will be reviewed and investigated and will result in a response that
60
+ is deemed necessary and appropriate to the circumstances. The project team is
61
+ obligated to maintain confidentiality with regard to the reporter of an incident.
62
+ Further details of specific enforcement policies may be posted separately.
63
+
64
+ Project maintainers who do not follow or enforce the Code of Conduct in good
65
+ faith may face temporary or permanent repercussions as determined by other
66
+ members of the project's leadership.
67
+
68
+ ## Attribution
69
+
70
+ This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.4,
71
+ available at [http://contributor-covenant.org/version/1/4][version]
72
+
73
+ [homepage]: http://contributor-covenant.org
74
+ [version]: http://contributor-covenant.org/version/1/4/
data/Gemfile ADDED
@@ -0,0 +1,6 @@
1
+ source 'https://rubygems.org'
2
+
3
+ git_source(:github) { |repo_name| "https://github.com/#{repo_name}" }
4
+
5
+ # Specify your gem's dependencies in tcce.gemspec
6
+ gemspec
@@ -0,0 +1,37 @@
1
+ PATH
2
+ remote: .
3
+ specs:
4
+ tcce (0.1.0)
5
+ diplomat (~> 2.0, >= 2.0.2)
6
+
7
+ GEM
8
+ remote: https://rubygems.org/
9
+ specs:
10
+ diplomat (2.0.2)
11
+ faraday (~> 0.9)
12
+ json
13
+ docile (1.3.1)
14
+ faraday (0.15.2)
15
+ multipart-post (>= 1.2, < 3)
16
+ json (2.1.0)
17
+ minitest (5.11.3)
18
+ multipart-post (2.0.0)
19
+ rake (10.5.0)
20
+ simplecov (0.16.1)
21
+ docile (~> 1.1)
22
+ json (>= 1.8, < 3)
23
+ simplecov-html (~> 0.10.0)
24
+ simplecov-html (0.10.2)
25
+
26
+ PLATFORMS
27
+ ruby
28
+
29
+ DEPENDENCIES
30
+ bundler (~> 1.16)
31
+ minitest (~> 5.0)
32
+ rake (~> 10.0)
33
+ simplecov (~> 0.16.1)
34
+ tcce!
35
+
36
+ BUNDLED WITH
37
+ 1.16.2
@@ -0,0 +1,21 @@
1
+ The MIT License (MIT)
2
+
3
+ Copyright (c) 2018 Ralf Herzog
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in
13
+ all copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21
+ THE SOFTWARE.
@@ -0,0 +1,104 @@
1
+ # TCCE
2
+
3
+ ## Traefik Consul Certificate Exporter
4
+
5
+ This piece of code exports Let's Encrypt certificates generated by traefik and gives access to them in an easy way.
6
+
7
+ ## Installation
8
+
9
+ Add this line to your application's Gemfile:
10
+
11
+ ```ruby
12
+ gem 'tcce'
13
+ ```
14
+
15
+ And then execute:
16
+
17
+ $ bundle
18
+
19
+ Or install it yourself as:
20
+
21
+ $ gem install tcce
22
+
23
+ ## Usage
24
+
25
+ You will need a Consul ACL Token with `read` permission on the object set by [traefik](https://docs.traefik.io/configuration/acme/):
26
+
27
+ key "traefik/acme/account/object" { policy = "read" }
28
+
29
+ The key can be found in your `traefik.toml` under `[acme]` => `storage`.
30
+
31
+ For a complete list of methods see the files under `test/`.
32
+
33
+ ### Connect and export Consul object
34
+
35
+ To retrieve the contents of the consul kv-object, execute the following code:
36
+
37
+ ```ruby
38
+ consul = TCCE::Consul.new url, acl_token, kv_path
39
+ acme_json = consul.get
40
+ # => "{"Email":"ralf.herzog@mail.com","Registration":{"body":{"status":"valid","contact":["mailto:ralf.herzog@mail.com"]},"uri":"https://acme-v02.api.letsencrypt.org/acme/acct/37963798"},"PrivateKey":"MII..."}"
41
+ ```
42
+
43
+ This will decompress the stored object. For example:
44
+
45
+ ```ruby
46
+ consul = TCCE::Consul.new 'http://localhost:8300', 'xxxxxxxx-yyyy-zzzz-1111-222222222222', 'traefik/acme/account'
47
+ acme_json = consul.get
48
+ ```
49
+
50
+ ### Parse the json
51
+
52
+ To parse the decompressed json to nice objects, run this:
53
+
54
+ ```ruby
55
+ file = TCCE::File.parse acme_json
56
+ ```
57
+
58
+ #### Extract the certificates
59
+
60
+ You can access your [certificates](https://ruby-doc.org/stdlib-2.5.1/libdoc/openssl/rdoc/OpenSSL/X509/Certificate.html) either by
61
+
62
+ ```ruby
63
+ certificates = file.certificates
64
+ # => [TCCE::Certificate, ...]
65
+ ```
66
+
67
+ or pass it with a block
68
+
69
+ ```ruby
70
+ file.certificates do |cert|
71
+ cert
72
+ # => TCCE::Certificate
73
+
74
+ cert.domain
75
+ # => 'rherzog.de'
76
+
77
+ cert.sans
78
+ # => ['www.rherzog.de', 'test.rherzog.de', ...]
79
+
80
+ cert.certificate
81
+ # => OpenSSL::X509::Certificate
82
+
83
+ cert.private_key
84
+ # => OpenSSL::PKey::RSA
85
+ end
86
+ ```
87
+
88
+ ## Development
89
+
90
+ After checking out the repo, run `bin/setup` to install dependencies. Then, run `rake test` to run the tests. You can also run `bin/console` for an interactive prompt that will allow you to experiment.
91
+
92
+ To install this gem onto your local machine, run `bundle exec rake install`.
93
+
94
+ ## Contributing
95
+
96
+ Bug reports and pull requests are welcome on GitHub at https://github.com/RalfHerzog/tcce. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [Contributor Covenant](http://contributor-covenant.org) code of conduct.
97
+
98
+ ## License
99
+
100
+ The gem is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).
101
+
102
+ ## Code of Conduct
103
+
104
+ Everyone interacting in the TCCE project’s codebases, issue trackers, chat rooms and mailing lists is expected to follow the [code of conduct](https://github.com/[USERNAME]/tcce/blob/master/CODE_OF_CONDUCT.md).
@@ -0,0 +1,10 @@
1
+ require 'bundler/gem_tasks'
2
+ require 'rake/testtask'
3
+
4
+ Rake::TestTask.new(:test) do |t|
5
+ t.libs << 'test'
6
+ t.libs << 'lib'
7
+ t.test_files = FileList['test/**/*_test.rb']
8
+ end
9
+
10
+ task default: :test
@@ -0,0 +1,14 @@
1
+ #!/usr/bin/env ruby
2
+
3
+ require "bundler/setup"
4
+ require "tcce"
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(__FILE__)
@@ -0,0 +1,8 @@
1
+ #!/usr/bin/env bash
2
+ set -euo pipefail
3
+ IFS=$'\n\t'
4
+ set -vx
5
+
6
+ bundle install
7
+
8
+ # Do any other automated setup that you need to do here
@@ -0,0 +1,3 @@
1
+ require 'tcce/consul'
2
+ require 'tcce/file'
3
+ require 'tcce/version'
@@ -0,0 +1,38 @@
1
+ require 'base64'
2
+ require 'openssl'
3
+
4
+ module TCCE
5
+ class Certificate
6
+ attr_accessor :json
7
+
8
+ # def to_s
9
+ # JSON.pretty_generate json
10
+ # end
11
+
12
+ def self.parse(content)
13
+ file = TCCE::Certificate.new
14
+ file.json = content
15
+ file
16
+ end
17
+
18
+ def domain
19
+ json['Domains']['Main']
20
+ end
21
+
22
+ def sans
23
+ json['Domains']['SANs']
24
+ end
25
+
26
+ def certificate
27
+ certificate = Base64.decode64 json['Certificate']['Certificate']
28
+ OpenSSL::X509::Certificate.new certificate
29
+ end
30
+
31
+ def private_key
32
+ private_key = Base64.decode64 json['Certificate']['PrivateKey']
33
+ OpenSSL::PKey::RSA.new private_key
34
+ end
35
+
36
+ # alias names sans
37
+ end
38
+ end
@@ -0,0 +1,39 @@
1
+ require 'diplomat'
2
+ require 'stringio'
3
+ require 'zlib'
4
+
5
+ module TCCE
6
+ class Consul
7
+ attr_accessor :kv_path
8
+
9
+ # @param [String] url
10
+ # @param [String] acl_token
11
+ # @param [String] kv_path
12
+ def initialize(url, acl_token, kv_path = nil)
13
+ self.kv_path = kv_path
14
+
15
+ Diplomat.configure do |config|
16
+ # Set up a custom Consul URL
17
+ config.url = url
18
+ # Connect into consul with custom access token (ACL)
19
+ config.acl_token = acl_token
20
+ # Set extra Faraday configuration options
21
+ config.options = { ssl: { version: :TLSv1_2 } }
22
+ end
23
+ end
24
+
25
+ # Query the +kv_path+ from consul
26
+ # @return [String] object
27
+ def get(inflate = true)
28
+ # Query object from consul
29
+ consul_object = Diplomat::Kv.get kv_path
30
+ return consul_object unless inflate
31
+
32
+ # Inflate with gzip
33
+ object_stream = StringIO.new consul_object
34
+ gzip_stream = Zlib::GzipReader.new object_stream
35
+ gzip_stream.read
36
+ end
37
+ end
38
+ end
39
+
@@ -0,0 +1,47 @@
1
+ require_relative 'registration'
2
+ require_relative 'certificate'
3
+
4
+ module TCCE
5
+ class File
6
+ attr_accessor :json
7
+
8
+ # def to_s
9
+ # JSON.pretty_generate json
10
+ # end
11
+
12
+ # Parse a file given by argument
13
+ # @param [String] content the object contents
14
+ # @return [TCCE::File]
15
+ def self.parse(content)
16
+ file = TCCE::File.new
17
+ file.json = JSON.parse content
18
+ file
19
+ end
20
+
21
+ def email
22
+ json['Email']
23
+ end
24
+
25
+ def registration
26
+ TCCE::Registration.parse json['Registration']
27
+ end
28
+
29
+ def private_key
30
+ json['PrivateKey']
31
+ end
32
+
33
+ def certificates
34
+ certs = []
35
+ json['DomainsCertificate']['Certs'].each do |cert|
36
+ certificate = TCCE::Certificate.parse cert
37
+ certs << certificate
38
+ yield certificate if block_given?
39
+ end
40
+ certs
41
+ end
42
+
43
+ def http_challenge
44
+ json['HTTPChallenge']
45
+ end
46
+ end
47
+ end
@@ -0,0 +1,34 @@
1
+ module TCCE
2
+ class Registration
3
+ attr_accessor :json
4
+
5
+ # def to_s
6
+ # JSON.pretty_generate json
7
+ # end
8
+
9
+ def self.parse(content)
10
+ file = TCCE::Registration.new
11
+ file.json = content
12
+ file
13
+ end
14
+
15
+ def uri
16
+ json['uri']
17
+ end
18
+
19
+ def status
20
+ json['body']['status']
21
+ end
22
+
23
+ def contact
24
+ contacts.first
25
+ end
26
+
27
+ def contacts
28
+ json['body']['contact'].map do |contact|
29
+ contact = contact[7..-1] if contact.start_with? 'mailto:'
30
+ contact
31
+ end
32
+ end
33
+ end
34
+ end
@@ -0,0 +1,3 @@
1
+ module TCCE
2
+ VERSION = '0.1.0'.freeze
3
+ end
@@ -0,0 +1,40 @@
1
+ lib = File.expand_path('../lib', __FILE__)
2
+ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
3
+ require 'tcce/version'
4
+
5
+ Gem::Specification.new do |spec|
6
+ spec.name = 'tcce'
7
+ spec.version = TCCE::VERSION
8
+ spec.authors = ['Ralf Herzog']
9
+ spec.email = ['ralf@rherzog.de']
10
+
11
+ spec.summary = 'Traefik Consul Certificate Export'
12
+ spec.description = 'Export certificates from consul kv to files'
13
+ spec.homepage = 'https://github.com/RalfHerzog/tcce'
14
+ spec.license = 'MIT'
15
+
16
+ # Prevent pushing this gem to RubyGems.org. To allow pushes either set the 'allowed_push_host'
17
+ # to allow pushing to a single host or delete this section to allow pushing to any host.
18
+ if spec.respond_to?(:metadata)
19
+ spec.metadata['allowed_push_host'] = 'https://rubygems.org'
20
+ else
21
+ raise 'RubyGems 2.0 or newer is required to protect against ' \
22
+ 'public gem pushes.'
23
+ end
24
+
25
+ # Specify which files should be added to the gem when it is released.
26
+ # The `git ls-files -z` loads the files in the RubyGem that have been added into git.
27
+ spec.files = Dir.chdir(File.expand_path('..', __FILE__)) do
28
+ `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
29
+ end
30
+ spec.bindir = 'exe'
31
+ spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
32
+ spec.require_paths = ['lib']
33
+
34
+ spec.add_dependency 'diplomat', '~> 2.0', '>= 2.0.2'
35
+
36
+ spec.add_development_dependency 'bundler', '~> 1.16'
37
+ spec.add_development_dependency 'minitest', '~> 5.0'
38
+ spec.add_development_dependency 'rake', '~> 10.0'
39
+ spec.add_development_dependency 'simplecov', '~> 0.16.1'
40
+ end
metadata ADDED
@@ -0,0 +1,138 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: tcce
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.1.0
5
+ platform: ruby
6
+ authors:
7
+ - Ralf Herzog
8
+ autorequire:
9
+ bindir: exe
10
+ cert_chain: []
11
+ date: 2018-07-09 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: diplomat
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - "~>"
18
+ - !ruby/object:Gem::Version
19
+ version: '2.0'
20
+ - - ">="
21
+ - !ruby/object:Gem::Version
22
+ version: 2.0.2
23
+ type: :runtime
24
+ prerelease: false
25
+ version_requirements: !ruby/object:Gem::Requirement
26
+ requirements:
27
+ - - "~>"
28
+ - !ruby/object:Gem::Version
29
+ version: '2.0'
30
+ - - ">="
31
+ - !ruby/object:Gem::Version
32
+ version: 2.0.2
33
+ - !ruby/object:Gem::Dependency
34
+ name: bundler
35
+ requirement: !ruby/object:Gem::Requirement
36
+ requirements:
37
+ - - "~>"
38
+ - !ruby/object:Gem::Version
39
+ version: '1.16'
40
+ type: :development
41
+ prerelease: false
42
+ version_requirements: !ruby/object:Gem::Requirement
43
+ requirements:
44
+ - - "~>"
45
+ - !ruby/object:Gem::Version
46
+ version: '1.16'
47
+ - !ruby/object:Gem::Dependency
48
+ name: minitest
49
+ requirement: !ruby/object:Gem::Requirement
50
+ requirements:
51
+ - - "~>"
52
+ - !ruby/object:Gem::Version
53
+ version: '5.0'
54
+ type: :development
55
+ prerelease: false
56
+ version_requirements: !ruby/object:Gem::Requirement
57
+ requirements:
58
+ - - "~>"
59
+ - !ruby/object:Gem::Version
60
+ version: '5.0'
61
+ - !ruby/object:Gem::Dependency
62
+ name: rake
63
+ requirement: !ruby/object:Gem::Requirement
64
+ requirements:
65
+ - - "~>"
66
+ - !ruby/object:Gem::Version
67
+ version: '10.0'
68
+ type: :development
69
+ prerelease: false
70
+ version_requirements: !ruby/object:Gem::Requirement
71
+ requirements:
72
+ - - "~>"
73
+ - !ruby/object:Gem::Version
74
+ version: '10.0'
75
+ - !ruby/object:Gem::Dependency
76
+ name: simplecov
77
+ requirement: !ruby/object:Gem::Requirement
78
+ requirements:
79
+ - - "~>"
80
+ - !ruby/object:Gem::Version
81
+ version: 0.16.1
82
+ type: :development
83
+ prerelease: false
84
+ version_requirements: !ruby/object:Gem::Requirement
85
+ requirements:
86
+ - - "~>"
87
+ - !ruby/object:Gem::Version
88
+ version: 0.16.1
89
+ description: Export certificates from consul kv to files
90
+ email:
91
+ - ralf@rherzog.de
92
+ executables: []
93
+ extensions: []
94
+ extra_rdoc_files: []
95
+ files:
96
+ - ".gitignore"
97
+ - ".travis.yml"
98
+ - CODE_OF_CONDUCT.md
99
+ - Gemfile
100
+ - Gemfile.lock
101
+ - LICENSE.txt
102
+ - README.md
103
+ - Rakefile
104
+ - bin/console
105
+ - bin/setup
106
+ - lib/tcce.rb
107
+ - lib/tcce/certificate.rb
108
+ - lib/tcce/consul.rb
109
+ - lib/tcce/file.rb
110
+ - lib/tcce/registration.rb
111
+ - lib/tcce/version.rb
112
+ - tcce.gemspec
113
+ homepage: https://github.com/RalfHerzog/tcce
114
+ licenses:
115
+ - MIT
116
+ metadata:
117
+ allowed_push_host: https://rubygems.org
118
+ post_install_message:
119
+ rdoc_options: []
120
+ require_paths:
121
+ - lib
122
+ required_ruby_version: !ruby/object:Gem::Requirement
123
+ requirements:
124
+ - - ">="
125
+ - !ruby/object:Gem::Version
126
+ version: '0'
127
+ required_rubygems_version: !ruby/object:Gem::Requirement
128
+ requirements:
129
+ - - ">="
130
+ - !ruby/object:Gem::Version
131
+ version: '0'
132
+ requirements: []
133
+ rubyforge_project:
134
+ rubygems_version: 2.7.7
135
+ signing_key:
136
+ specification_version: 4
137
+ summary: Traefik Consul Certificate Export
138
+ test_files: []