keyuri 0.0.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: c4e0ed55a0783449f23bf509eb5568aa1b3c53f4
4
+ data.tar.gz: f662594d3f251b3eb834c01d14346628f9d408fd
5
+ SHA512:
6
+ metadata.gz: 5da8c0f39f98124b0365fe4ef50a3eb9c864d2268bc8bf71b08c12ef3d4c6d6ea29d8243b3530faa3ea94ed964b5bdb0f67ad4c033e35201ae59f8834eea0b18
7
+ data.tar.gz: fee698880ee2d6fa0a611c9571f5662bfc0b73286cf3f4fdd9116e6af5d5a4c69723f5a51308fcbe785efbdb2a0248b01d852ab9e61d1cd06871dbf59f2b5ac1
@@ -0,0 +1,12 @@
1
+ /.bundle/
2
+ /.yardoc
3
+ /Gemfile.lock
4
+ /_yardoc/
5
+ /coverage/
6
+ /doc/
7
+ /pkg/
8
+ /spec/reports/
9
+ /tmp/
10
+
11
+ # rspec failure tracking
12
+ .rspec_status
data/.rspec ADDED
@@ -0,0 +1,2 @@
1
+ --format documentation
2
+ --color
@@ -0,0 +1,31 @@
1
+ AllCops:
2
+ DisplayCopNames: true
3
+
4
+ #
5
+ # Style
6
+ #
7
+
8
+ Style/StringLiterals:
9
+ EnforcedStyle: double_quotes
10
+
11
+ #
12
+ # Metrics
13
+ #
14
+
15
+ Metrics/AbcSize:
16
+ Enabled: false
17
+
18
+ Metrics/CyclomaticComplexity:
19
+ Enabled: false
20
+
21
+ Metrics/PerceivedComplexity:
22
+ Enabled: false
23
+
24
+ Metrics/ClassLength:
25
+ Max: 100
26
+
27
+ Metrics/LineLength:
28
+ Max: 128
29
+
30
+ Metrics/MethodLength:
31
+ Max: 25
data/Gemfile ADDED
@@ -0,0 +1,11 @@
1
+ # frozen_string_literal: true
2
+
3
+ source "https://rubygems.org"
4
+
5
+ gemspec
6
+
7
+ group :development, :test do
8
+ gem "rake"
9
+ gem "rspec", "~> 3.7"
10
+ gem "rubocop", "0.51.0"
11
+ end
@@ -0,0 +1,28 @@
1
+ # keyuri.rb
2
+
3
+ A URI-based format for encoding cryptographic keys
4
+
5
+ ## Installation
6
+
7
+ Add this line to your application's Gemfile:
8
+
9
+ ```ruby
10
+ gem 'keyuri'
11
+ ```
12
+
13
+ And then execute:
14
+
15
+ $ bundle
16
+
17
+ Or install it yourself as:
18
+
19
+ $ gem install keyuri
20
+
21
+ ## Usage
22
+
23
+ TODO: Write usage instructions here
24
+
25
+ ## Contributing
26
+
27
+ Bug reports and pull requests are welcome on GitHub at https://github.com/miscreant/keyuri.
28
+
@@ -0,0 +1,11 @@
1
+ # frozen_string_literal: true
2
+
3
+ require "bundler/gem_tasks"
4
+
5
+ require "rspec/core/rake_task"
6
+ RSpec::Core::RakeTask.new
7
+
8
+ require "rubocop/rake_task"
9
+ RuboCop::RakeTask.new
10
+
11
+ task default: %w[spec rubocop]
@@ -0,0 +1,26 @@
1
+
2
+ lib = File.expand_path("../lib", __FILE__)
3
+ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
+ require "keyuri/version"
5
+
6
+ Gem::Specification.new do |spec|
7
+ spec.name = "keyuri"
8
+ spec.version = KeyURI::VERSION
9
+ spec.authors = ["Tony Arcieri"]
10
+ spec.email = ["bascule@gmail.com"]
11
+ spec.homepage = "https://github.com/miscreant/keyuri/"
12
+ spec.summary = "A URI-based format for encoding cryptographic keys"
13
+ spec.description = <<-DESCRIPTION.strip.gsub(/\s+/, " ")
14
+ KeyURI leverages the URI generic syntax defined in RFC 3986 to provide
15
+ simple and succinct encodings of cryptographic keys, including public
16
+ keys, private/secret keys, and encrypted secret keys with password-based
17
+ key derivation
18
+ DESCRIPTION
19
+ spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
20
+ spec.bindir = "exe"
21
+ spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
22
+ spec.require_paths = ["lib"]
23
+
24
+ spec.required_ruby_version = ">= 2.2.2"
25
+ spec.add_development_dependency "bundler", "~> 1.16"
26
+ end
@@ -0,0 +1,5 @@
1
+ require "keyuri/version"
2
+
3
+ # A URI-based format for encoding cryptographic keys
4
+ module KeyURI
5
+ end
@@ -0,0 +1,3 @@
1
+ module KeyURI
2
+ VERSION = "0.0.0".freeze
3
+ end
metadata ADDED
@@ -0,0 +1,68 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: keyuri
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.0.0
5
+ platform: ruby
6
+ authors:
7
+ - Tony Arcieri
8
+ autorequire:
9
+ bindir: exe
10
+ cert_chain: []
11
+ date: 2017-12-05 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: bundler
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - "~>"
18
+ - !ruby/object:Gem::Version
19
+ version: '1.16'
20
+ type: :development
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - "~>"
25
+ - !ruby/object:Gem::Version
26
+ version: '1.16'
27
+ description: KeyURI leverages the URI generic syntax defined in RFC 3986 to provide
28
+ simple and succinct encodings of cryptographic keys, including public keys, private/secret
29
+ keys, and encrypted secret keys with password-based key derivation
30
+ email:
31
+ - bascule@gmail.com
32
+ executables: []
33
+ extensions: []
34
+ extra_rdoc_files: []
35
+ files:
36
+ - ".gitignore"
37
+ - ".rspec"
38
+ - ".rubocop.yml"
39
+ - Gemfile
40
+ - README.md
41
+ - Rakefile
42
+ - keyuri.gemspec
43
+ - lib/keyuri.rb
44
+ - lib/keyuri/version.rb
45
+ homepage: https://github.com/miscreant/keyuri/
46
+ licenses: []
47
+ metadata: {}
48
+ post_install_message:
49
+ rdoc_options: []
50
+ require_paths:
51
+ - lib
52
+ required_ruby_version: !ruby/object:Gem::Requirement
53
+ requirements:
54
+ - - ">="
55
+ - !ruby/object:Gem::Version
56
+ version: 2.2.2
57
+ required_rubygems_version: !ruby/object:Gem::Requirement
58
+ requirements:
59
+ - - ">="
60
+ - !ruby/object:Gem::Version
61
+ version: '0'
62
+ requirements: []
63
+ rubyforge_project:
64
+ rubygems_version: 2.6.13
65
+ signing_key:
66
+ specification_version: 4
67
+ summary: A URI-based format for encoding cryptographic keys
68
+ test_files: []