dnc 0.1.5 → 0.1.6

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: ca1960029d6084411a29b90fe180871a2ae2817a
4
- data.tar.gz: 6be1332dcec05f268bf3ee28199a0074375bae0f
3
+ metadata.gz: 3e1c53c79e85a52ee7f8edf4dc124c20b4fb5d96
4
+ data.tar.gz: 22e6c488baf13880cc1bd045476c3ec5d51b83f5
5
5
  SHA512:
6
- metadata.gz: 7dd9ec30d22504317055bb560c54909b2cf1dcb69be196fc1a6eb85488d53e388e7961f86bff7118f09d5956948d099c39df0ad9f1bce2a45a2344842ccdabca
7
- data.tar.gz: b16a28a315545a962c34d8c0d7c87257a6f9a5497e1e28443426b597bfafcc0bbd0d60944ea28bb52805f5b365e2c57cf16ca28497267ea6bb3e31cad6fdd986
6
+ metadata.gz: db035c940b3bd052d5234bfd08928f5bdb2a7aa2b0706c16eab6d6677c1edb7da32a849857eedcc0fb01ee2a106298210c9b6e20333f111b6b0ece302f44dc22
7
+ data.tar.gz: b56183f864b07685a1255eaf7f6c7e4c694608a17b9b0d7090bc20a1f9a8309baeaf407f75e43dd095ea2b8917feecd318b228783f4db64700fea238a7161fe7
checksums.yaml.gz.sig CHANGED
Binary file
data.tar.gz.sig CHANGED
Binary file
data/.codeclimate.yml ADDED
@@ -0,0 +1,8 @@
1
+ languages:
2
+ Ruby: true
3
+ engines:
4
+ rubocop:
5
+ enabled: true
6
+ exclude_paths:
7
+ - "test/*"
8
+ - "spec/*"
data/.travis.yml CHANGED
@@ -3,8 +3,8 @@ cache: bundler
3
3
 
4
4
  rvm:
5
5
  - ruby-head
6
- - 2.1.2
7
- - 2.1.1
6
+ - 2.2.3
7
+ - 2.1.6
8
8
  - 2.0.0
9
9
  - 1.9.3
10
10
 
data/README.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # Distinguished Name (DN) Converter [![Gem Version](https://badge.fury.io/rb/dnc.png)](http://badge.fury.io/rb/dnc)
2
2
 
3
- [![Travis CI](https://travis-ci.org/stevenhaddox/dnc.svg?branch=master)](https://travis-ci.org/stevenhaddox/dnc) [![Dependency Status](https://gemnasium.com/stevenhaddox/dnc.png)](https://gemnasium.com/stevenhaddox/dnc) [![Coverage Status](https://coveralls.io/repos/stevenhaddox/dnc/badge.png)](https://coveralls.io/r/stevenhaddox/dnc) [![Code Climate](https://codeclimate.com/github/stevenhaddox/dnc/badges/gpa.svg)](https://codeclimate.com/github/stevenhaddox/dnc) [![Inline docs](http://inch-ci.org/github/stevenhaddox/dnc.svg?branch=master)](http://inch-ci.org/github/stevenhaddox/dnc)
3
+ [![Travis CI](https://travis-ci.org/stevenhaddox/dnc.svg?branch=master)](https://travis-ci.org/stevenhaddox/dnc) [![Dependency Status](https://gemnasium.com/stevenhaddox/dnc.png)](https://gemnasium.com/stevenhaddox/dnc) [![Test Coverage](https://codeclimate.com/github/stevenhaddox/dnc/badges/coverage.svg)](https://codeclimate.com/github/stevenhaddox/dnc/coverage) [![Code Climate](https://codeclimate.com/github/stevenhaddox/dnc/badges/gpa.svg)](https://codeclimate.com/github/stevenhaddox/dnc) [![Inline docs](http://inch-ci.org/github/stevenhaddox/dnc.svg?branch=master)](http://inch-ci.org/github/stevenhaddox/dnc)
4
4
 
5
5
  Convert multiple X509 DN strings into a consistent format.
6
6
 
data/Rakefile CHANGED
@@ -1,10 +1,8 @@
1
1
  require 'bundler/gem_tasks'
2
2
  require 'rspec/core/rake_task'
3
3
  require 'rubocop/rake_task'
4
- require 'coveralls/rake/task'
5
- Coveralls::RakeTask.new
6
4
 
7
- task default: [:spec, :rubocop, 'coveralls:push']
5
+ task default: [:spec, :rubocop]
8
6
 
9
7
  desc 'Run specs'
10
8
  RSpec::Core::RakeTask.new(:spec)
@@ -1,21 +1,21 @@
1
1
  -----BEGIN CERTIFICATE-----
2
2
  MIIDhTCCAm2gAwIBAgIBATANBgkqhkiG9w0BAQUFADBEMRYwFAYDVQQDDA1zdGV2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XITKNXNROebXFcF9+0OcQ5HnfOYtVvOlneFJGLMGkPaZMTHgcgjILoaxL
20
+ L7rj/ffYaFLQeWVQkhbMRtdJKXeuTkFt5Ix2xxueDKskBiSutC3Iy60=
21
21
  -----END CERTIFICATE-----
data/dnc.gemspec CHANGED
@@ -23,13 +23,12 @@ Gem::Specification.new do |spec|
23
23
 
24
24
  spec.add_development_dependency 'awesome_print', '~> 1.2'
25
25
  spec.add_development_dependency 'bundler', '~> 1.6'
26
- spec.add_development_dependency 'coveralls', '~> 0.7'
26
+ spec.add_development_dependency 'codeclimate-test-reporter'
27
27
  spec.add_development_dependency 'rack', '~> 1.5'
28
28
  spec.add_development_dependency 'rack-test', '~> 0.6'
29
29
  spec.add_development_dependency 'rake', '~> 10.0'
30
30
  spec.add_development_dependency 'rubocop', '~> 0.27'
31
31
  spec.add_development_dependency 'rspec', '~> 3.1'
32
- spec.add_development_dependency 'simplecov', '~> 0.9'
33
32
  spec.add_development_dependency 'yard', '~> 0.8'
34
33
 
35
34
  spec.cert_chain = ['certs/stevenhaddox.pem']
data/lib/dnc.rb CHANGED
@@ -1,5 +1,3 @@
1
1
  require 'dnc/version'
2
2
  require 'dnc/dn'
3
3
  require 'dnc/string'
4
- require 'blank'
5
- require 'array'
data/lib/dnc/dn.rb CHANGED
@@ -1,4 +1,6 @@
1
1
  require 'logging'
2
+ require 'blank'
3
+ require 'array'
2
4
 
3
5
  # Custom exception for strings that can't be parsed as per RFC1779
4
6
  class DnDelimiterUnparsableError < TypeError; end
@@ -23,7 +25,7 @@ class DN
23
25
  # @param opts[:string_order] [Array] Specify the order of RDNs for .to_s
24
26
  # @return [DN]
25
27
  def initialize(opts = {})
26
- @dn_string = opts[:dn_string]
28
+ @dn_string = opts[:dn_string]
27
29
  fail 'dnc: dn_string parameter is **required**' if dn_string.nil?
28
30
  @original_dn = dn_string
29
31
  @logger = opts[:logger] || logger
@@ -35,9 +37,11 @@ class DN
35
37
 
36
38
  # logger method to return Rails logger if defined, else logging logger
37
39
  def logger
38
- return @logger if @logger
39
- logger = Logging.logger[self]
40
- @logger ||= Kernel.const_defined?('Rails') ? Rails.logger : logger
40
+ unless defined? @logger
41
+ logger = Logging.logger[self]
42
+ @logger = Kernel.const_defined?('Rails') ? Rails.logger : logger
43
+ end
44
+ @logger
41
45
  end
42
46
 
43
47
  # Convert DN object into a string (order follows RFC4514 LDAP specifications)
@@ -143,8 +147,8 @@ class DN
143
147
  def identify_delimiter
144
148
  logger.debug("DN.identify_delimeter: #{dn_string}")
145
149
  delimiter_regexp.match(dn_string)[1]
146
- rescue
147
- raise DnDelimiterUnparsableError, "DN delimiter could not be identified
150
+ rescue
151
+ raise DnDelimiterUnparsableError, "DN delimiter could not be identified
148
152
  \r\nPlease ensure your string complies with RFC1779 formatting."
149
153
  end
150
154
 
data/lib/dnc/string.rb CHANGED
@@ -1,4 +1,4 @@
1
- require 'dnc'
1
+ require 'dnc/dn'
2
2
 
3
3
  #
4
4
  # Extend the core String class to include `.to_dn` && `.to_dn!`
data/lib/dnc/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Dnc
2
- VERSION = "0.1.5"
2
+ VERSION = "0.1.6"
3
3
  end
@@ -1,16 +1,2 @@
1
- CN=Stusrvich Terrance Edward Testusr,OU=D135,OU=Isle,OU=web,O=L.O.S.T. others,C=us%CN=STUSRVICH TERRANCE EDWARD TESTUSR,OU=D135,OU=ISLE,OU=WEB,O=L.O.S.T. OTHERS,C=US
2
- CN=DIAGO Desmond d123456,OU=People,OU=PENNY,OU=Not,O=L.O.S.T. OTHERS,C=US%CN=DIAGO DESMOND D123456,OU=PEOPLE,OU=PENNY,OU=NOT,O=L.O.S.T. OTHERS,C=US
3
- CN=BOB-THORNTON William JAMES wjbob,OU=boat,OU=b047,OU=ISLE,OU=NOT,O=l.o.s.t. others,C=us%CN=BOB-THORNTON WILLIAM JAMES WJBOB,OU=BOAT,OU=B047,OU=ISLE,OU=NOT,O=L.O.S.T. OTHERS,C=US
4
- CN=NODE RUBY G RGNODE9,OU=JIEDDO,OU=PEOPLE,OU=JCK,OU=JHN,O=L.O.S.T. OTHERS,C=US%CN=NODE RUBY G RGNODE9,OU=JIEDDO,OU=PEOPLE,OU=JCK,OU=JHN,O=L.O.S.T. OTHERS,C=US
5
- /C=US/O=RB/OU=DEV/OU=RAILS/OU=People/CN=Last First (initial)%CN=LAST FIRST (INITIAL),OU=PEOPLE,OU=RAILS,OU=DEV,O=RB,C=US
6
- /CN=Smith John+initials=cpt/OU=People/OU=RAILS/OU=DEV/O=RB/C=GB%CN=SMITH JOHN+INITIALS=CPT,OU=DEV,OU=RAILS,OU=PEOPLE,O=RB,C=GB
7
- CN=John Smith+email=jsmith@mayflower.org,O=ISODE Consortium,C=GB,O=ISODE Consortium%CN=JOHN SMITH+EMAIL=JSMITH@MAYFLOWER.ORG,O=ISODE CONSORTIUM,C=GB,O=ISODE CONSORTIUM
8
- /C=GB/O=RB/OU=DEV/OU=RAILS/OU=People/CN=Smith John+initials=cpt%CN=SMITH JOHN+INITIALS=CPT,OU=PEOPLE,OU=RAILS,OU=DEV,O=RB,C=GB
9
- /C=US/O=RB/OU=DEV/OU=JS/OU=People/CN=Last First M (initial)%CN=LAST FIRST M (INITIAL),OU=PEOPLE,OU=JS,OU=DEV,O=RB,C=US
10
- CN=Marshall T. Rose, O=Dover Beach Consulting, L=Santa Clara, ST=California, C=US%CN=MARSHALL T. ROSE,O=DOVER BEACH CONSULTING,L=SANTA CLARA,ST=CALIFORNIA,C=US
11
- CN=FTAM Service, CN=Bells, OU=Computer Science, O=University College London, C=GB%CN=FTAM SERVICE,CN=BELLS,OU=COMPUTER SCIENCE,O=UNIVERSITY COLLEGE LONDON,C=GB
12
- CN=Markus Kuhn, O=University of Erlangen, C=DE%CN=MARKUS KUHN,O=UNIVERSITY OF ERLANGEN,C=DE
13
- CN=Steve Kille, O=ISODE Consortium, C=DE%CN=STEVE KILLE,O=ISODE CONSORTIUM,C=DE
14
- CN=Steve Kille,O=ISODE Consortium,C=GB%CN=STEVE KILLE,O=ISODE CONSORTIUM,C=GB
15
- CN=C E B\sid=ceb\foo=bar, C=GB, O=foo%CN=C E B\sid=ceb\foo=bar,C=GB,O=FOO
16
- C=UK, ST=England, L=London, O=LShift Ltd., OU=Development, CN=Lee Coomber/UID=123456%CN=LEE COOMBER/UID=123456,OU=DEVELOPMENT,O=LSHIFT LTD.,L=LONDON,ST=ENGLAND,C=UK
1
+ CN=Stusrvich Terrance Edward Testusr,OU=D135,OU=Isle,OU=web,O=L.O.S.T. others,C=us%CN=STUSRVICH TERRANCE EDWARD TESTUSR,O=L.O.S.T. OTHERS,OU=D135,OU=ISLE,OU=WEB,C=US
2
+ CN=O'MEHGERD Stop Testusr,OU=D135,OU=Isle,OU=web,O=L.O.S.T. others,C=us%CN=O'MEHGERD STOP TESTUSR,O=L.O.S.T. OTHERS,OU=D135,OU=ISLE,OU=WEB,C=US
@@ -0,0 +1,16 @@
1
+ CN=Stusrvich Terrance Edward Testusr,OU=D135,OU=Isle,OU=web,O=L.O.S.T. others,C=us%CN=STUSRVICH TERRANCE EDWARD TESTUSR,O=L.O.S.T. OTHERS,OU=D135,OU=ISLE,OU=WEB,C=US
2
+ CN=DIAGO Desmond d123456,OU=People,OU=PENNY,OU=Not,O=L.O.S.T. OTHERS,C=US%CN=DIAGO DESMOND D123456,OU=PEOPLE,OU=PENNY,OU=NOT,O=L.O.S.T. OTHERS,C=US
3
+ CN=BOB-THORNTON William JAMES wjbob,OU=boat,OU=b047,OU=ISLE,OU=NOT,O=l.o.s.t. others,C=us%CN=BOB-THORNTON WILLIAM JAMES WJBOB,OU=BOAT,OU=B047,OU=ISLE,OU=NOT,O=L.O.S.T. OTHERS,C=US
4
+ CN=NODE RUBY G RGNODE9,OU=JIEDDO,OU=PEOPLE,OU=JCK,OU=JHN,O=L.O.S.T. OTHERS,C=US%CN=NODE RUBY G RGNODE9,OU=JIEDDO,OU=PEOPLE,OU=JCK,OU=JHN,O=L.O.S.T. OTHERS,C=US
5
+ /C=US/O=RB/OU=DEV/OU=RAILS/OU=People/CN=Last First (initial)%CN=LAST FIRST (INITIAL),OU=PEOPLE,OU=RAILS,OU=DEV,O=RB,C=US
6
+ /CN=Smith John+initials=cpt/OU=People/OU=RAILS/OU=DEV/O=RB/C=GB%CN=SMITH JOHN+INITIALS=CPT,OU=DEV,OU=RAILS,OU=PEOPLE,O=RB,C=GB
7
+ CN=John Smith+email=jsmith@mayflower.org,O=ISODE Consortium,C=GB,O=ISODE Consortium%CN=JOHN SMITH+EMAIL=JSMITH@MAYFLOWER.ORG,O=ISODE CONSORTIUM,C=GB,O=ISODE CONSORTIUM
8
+ /C=GB/O=RB/OU=DEV/OU=RAILS/OU=People/CN=Smith John+initials=cpt%CN=SMITH JOHN+INITIALS=CPT,OU=PEOPLE,OU=RAILS,OU=DEV,O=RB,C=GB
9
+ /C=US/O=RB/OU=DEV/OU=JS/OU=People/CN=Last First M (initial)%CN=LAST FIRST M (INITIAL),OU=PEOPLE,OU=JS,OU=DEV,O=RB,C=US
10
+ CN=Marshall T. Rose, O=Dover Beach Consulting, L=Santa Clara, ST=California, C=US%CN=MARSHALL T. ROSE,O=DOVER BEACH CONSULTING,L=SANTA CLARA,ST=CALIFORNIA,C=US
11
+ CN=FTAM Service, CN=Bells, OU=Computer Science, O=University College London, C=GB%CN=FTAM SERVICE,CN=BELLS,OU=COMPUTER SCIENCE,O=UNIVERSITY COLLEGE LONDON,C=GB
12
+ CN=Markus Kuhn, O=University of Erlangen, C=DE%CN=MARKUS KUHN,O=UNIVERSITY OF ERLANGEN,C=DE
13
+ CN=Steve Kille, O=ISODE Consortium, C=DE%CN=STEVE KILLE,O=ISODE CONSORTIUM,C=DE
14
+ CN=Steve Kille,O=ISODE Consortium,C=GB%CN=STEVE KILLE,O=ISODE CONSORTIUM,C=GB
15
+ CN=C E B\sid=ceb\foo=bar, C=GB, O=foo%CN=C E B\sid=ceb\foo=bar,C=GB,O=FOO
16
+ C=UK, ST=England, L=London, O=LShift Ltd., OU=Development, CN=Lee Coomber/UID=123456%CN=LEE COOMBER/UID=123456,OU=DEVELOPMENT,O=LSHIFT LTD.,L=LONDON,ST=ENGLAND,C=UK
data/spec/lib/dn_spec.rb CHANGED
@@ -77,7 +77,7 @@ describe DN do
77
77
  end
78
78
 
79
79
  it "should parse common DN formats into DN objects" do
80
- pending "Implement common DN test strings"
80
+ #TODO: Integrate the tests from spec/fixtures/common_dns.txt.todo
81
81
  File.readlines('spec/fixtures/common_dns.txt').each do |line|
82
82
  dn_in = line.rstrip.split('%')[0]
83
83
  dn_out = line.rstrip.split('%')[1]
data/spec/spec_helper.rb CHANGED
@@ -1,12 +1,5 @@
1
- require 'simplecov'
2
- require 'coveralls'
3
- SimpleCov.formatters = [SimpleCov::Formatter::HTMLFormatter,
4
- Coveralls::SimpleCov::Formatter]
5
- SimpleCov.start do
6
- add_group "Models", "lib/dnc"
7
- add_filter '/spec/'
8
- end
9
- # SimpleCov always comes before **anything** else
1
+ require "codeclimate-test-reporter"
2
+ CodeClimate::TestReporter.start
10
3
 
11
4
  require_relative '../lib/dnc'
12
5
  require 'awesome_print'
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dnc
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.5
4
+ version: 0.1.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Steven Haddox
@@ -12,25 +12,25 @@ cert_chain:
12
12
  -----BEGIN CERTIFICATE-----
13
13
  MIIDhTCCAm2gAwIBAgIBATANBgkqhkiG9w0BAQUFADBEMRYwFAYDVQQDDA1zdGV2
14
14
  ZW4uaGFkZG94MRUwEwYKCZImiZPyLGQBGRYFZ21haWwxEzARBgoJkiaJk/IsZAEZ
15
- FgNjb20wHhcNMTQxMTE4MDIxMzIwWhcNMTUxMTE4MDIxMzIwWjBEMRYwFAYDVQQD
15
+ FgNjb20wHhcNMTYwMTE4MTYyMzA3WhcNMTcwMTE3MTYyMzA3WjBEMRYwFAY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zAJBgNVHRMEAjAAMAsGA1UdDwQEAwIEsDAd
24
+ BgNVHQ4EFgQUbGSPGXTUZuISSZxKy0W0WJZwJr4wIgYDVR0RBBswGYEXc3RldmVu
25
25
  LmhhZGRveEBnbWFpbC5jb20wIgYDVR0SBBswGYEXc3RldmVuLmhhZGRveEBnbWFp
26
- bC5jb20wDQYJKoZIhvcNAQEFBQADggEBAFoac9ZKc20ZXw2R2mWUz7FaJJdUvb7o
27
- 4rKVzFQkJwvAX+NEdP32yCDViGoEqlA13el5fllllmG3E7Qrw+0JA5B3wrZbVfQA
28
- v4eX0ZohhW3CXLSz65pd3zfrwPAw0pXs1QKP+IioTuLQoBsGUiIqCPulZvzn/xN2
29
- KG7SexyfUEXyJRMMigA/mE8h6bYfgKKUmLQVs1uRaXmOI7dKUF6HZJpda51zJH3v
30
- 42qdwEXvvkODZAD6KAIXPdmbMfBgPbcd+B/4eUA0PyKo+4dgL1NuqX4MPWToevIZ
31
- O8EKLF2X7NmC6FY1bOsSj/J8r1SOkx0rxgF+geRvY1P+hfNjDfxTsjU=
26
+ bC5jb20wDQYJKoZIhvcNAQEFBQADggEBACdn7gTLMOr0qSq36Mmq2dQ6mD/zIoVW
27
+ 9v+BECgVz8kNqqby1zMZ1mkNJyB+q7MJjjvzf4xRLBs0LIKU8WA1w1pcq7Rjen87
28
+ H+vXCGc91VarIC2uC6j/r2gWJpgGECpIDn06xfVr+WZqIupz6TZk0IMif1p6FnWt
29
+ J9RDY6jKTmej7+8yUnxGbNeYmmm7p0FfyskWufg6uQ2oOsaXOx9pdkFAuCbCPaSi
30
+ jH+3qEZXITKNXNROebXFcF9+0OcQ5HnfOYtVvOlneFJGLMGkPaZMTHgcgjILoaxL
31
+ L7rj/ffYaFLQeWVQkhbMRtdJKXeuTkFt5Ix2xxueDKskBiSutC3Iy60=
32
32
  -----END CERTIFICATE-----
33
- date: 2015-01-22 00:00:00.000000000 Z
33
+ date: 2016-01-18 00:00:00.000000000 Z
34
34
  dependencies:
35
35
  - !ruby/object:Gem::Dependency
36
36
  name: logging
@@ -75,19 +75,19 @@ dependencies:
75
75
  - !ruby/object:Gem::Version
76
76
  version: '1.6'
77
77
  - !ruby/object:Gem::Dependency
78
- name: coveralls
78
+ name: codeclimate-test-reporter
79
79
  requirement: !ruby/object:Gem::Requirement
80
80
  requirements:
81
- - - "~>"
81
+ - - ">="
82
82
  - !ruby/object:Gem::Version
83
- version: '0.7'
83
+ version: '0'
84
84
  type: :development
85
85
  prerelease: false
86
86
  version_requirements: !ruby/object:Gem::Requirement
87
87
  requirements:
88
- - - "~>"
88
+ - - ">="
89
89
  - !ruby/object:Gem::Version
90
- version: '0.7'
90
+ version: '0'
91
91
  - !ruby/object:Gem::Dependency
92
92
  name: rack
93
93
  requirement: !ruby/object:Gem::Requirement
@@ -158,20 +158,6 @@ dependencies:
158
158
  - - "~>"
159
159
  - !ruby/object:Gem::Version
160
160
  version: '3.1'
161
- - !ruby/object:Gem::Dependency
162
- name: simplecov
163
- requirement: !ruby/object:Gem::Requirement
164
- requirements:
165
- - - "~>"
166
- - !ruby/object:Gem::Version
167
- version: '0.9'
168
- type: :development
169
- prerelease: false
170
- version_requirements: !ruby/object:Gem::Requirement
171
- requirements:
172
- - - "~>"
173
- - !ruby/object:Gem::Version
174
- version: '0.9'
175
161
  - !ruby/object:Gem::Dependency
176
162
  name: yard
177
163
  requirement: !ruby/object:Gem::Requirement
@@ -193,6 +179,7 @@ executables: []
193
179
  extensions: []
194
180
  extra_rdoc_files: []
195
181
  files:
182
+ - ".codeclimate.yml"
196
183
  - ".coveralls.yml"
197
184
  - ".gitignore"
198
185
  - ".rubocop.yml"
@@ -211,6 +198,7 @@ files:
211
198
  - lib/dnc/string.rb
212
199
  - lib/dnc/version.rb
213
200
  - spec/fixtures/common_dns.txt
201
+ - spec/fixtures/common_dns.txt.todo
214
202
  - spec/fixtures/custom_sort_dns.txt
215
203
  - spec/lib/dn_spec.rb
216
204
  - spec/lib/string_spec.rb
@@ -235,12 +223,13 @@ required_rubygems_version: !ruby/object:Gem::Requirement
235
223
  version: '0'
236
224
  requirements: []
237
225
  rubyforge_project:
238
- rubygems_version: 2.4.4
226
+ rubygems_version: 2.4.5.1
239
227
  signing_key:
240
228
  specification_version: 4
241
229
  summary: Distinguished Name Converter
242
230
  test_files:
243
231
  - spec/fixtures/common_dns.txt
232
+ - spec/fixtures/common_dns.txt.todo
244
233
  - spec/fixtures/custom_sort_dns.txt
245
234
  - spec/lib/dn_spec.rb
246
235
  - spec/lib/string_spec.rb
metadata.gz.sig CHANGED
Binary file