A library for handling DID identifiers used in Bluesky AT Protocol

updated auto-generated files

+44 -47
+4 -1
.github/workflows/main.yml
··· 14 14 strategy: 15 15 matrix: 16 16 ruby: 17 - - '3.2.2' 17 + - '2.7' 18 + - '3.0' 19 + - '3.1' 20 + - '3.2' 18 21 19 22 steps: 20 23 - uses: actions/checkout@v3
+2 -10
.gitignore
··· 1 - /.bundle/ 2 - /.yardoc 3 - /_yardoc/ 4 - /coverage/ 5 - /doc/ 6 - /pkg/ 7 - /spec/reports/ 8 - /tmp/ 9 - 10 - # rspec failure tracking 1 + .bundle 11 2 .rspec_status 3 + Gemfile.lock
-3
CHANGELOG.md
··· 1 1 ## [Unreleased] 2 2 3 - ## [0.1.0] - 2023-11-14 4 - 5 - - Initial release
-1
Gemfile
··· 6 6 gemspec 7 7 8 8 gem "rake", "~> 13.0" 9 - 10 9 gem "rspec", "~> 3.0"
+22
LICENSE.txt
··· 1 + The zlib License 2 + 3 + Copyright (c) 2023 Jakub Suder 4 + 5 + This software is provided 'as-is', without any express or implied 6 + warranty. In no event will the authors be held liable for any damages 7 + arising from the use of this software. 8 + 9 + Permission is granted to anyone to use this software for any purpose, 10 + including commercial applications, and to alter it and redistribute it 11 + freely, subject to the following restrictions: 12 + 13 + 1. The origin of this software must not be misrepresented; you must not 14 + claim that you wrote the original software. If you use this software 15 + in a product, an acknowledgment in the product documentation would be 16 + appreciated but is not required. 17 + 18 + 2. Altered source versions must be plainly marked as such, and must not be 19 + misrepresented as being the original software. 20 + 21 + 3. This notice may not be removed or altered from any source distribution. 22 +
+13 -23
didkit.gemspec
··· 4 4 5 5 Gem::Specification.new do |spec| 6 6 spec.name = "didkit" 7 - spec.version = Didkit::VERSION 7 + spec.version = DIDKit::VERSION 8 8 spec.authors = ["Kuba Suder"] 9 9 spec.email = ["jakub.suder@gmail.com"] 10 10 11 - spec.summary = "TODO: Write a short summary, because RubyGems requires one." 12 - spec.description = "TODO: Write a longer description or delete this line." 13 - spec.homepage = "TODO: Put your gem's website or public repo URL here." 14 - spec.required_ruby_version = ">= 2.6.0" 11 + spec.summary = "A library for handling Distributed ID (DID) identifiers used in Bluesky AT Protocol" 12 + # spec.description = "Write a longer description or delete this line." 13 + spec.homepage = "https://github.com/mackuba/didkit" 15 14 16 - spec.metadata["allowed_push_host"] = "TODO: Set to your gem server 'https://example.com'" 15 + spec.license = "Zlib" 16 + spec.required_ruby_version = ">= 2.6.0" 17 17 18 - spec.metadata["homepage_uri"] = spec.homepage 19 - spec.metadata["source_code_uri"] = "TODO: Put your gem's public repo URL here." 20 - spec.metadata["changelog_uri"] = "TODO: Put your gem's CHANGELOG.md URL here." 18 + spec.metadata = { 19 + "bug_tracker_uri" => "https://github.com/mackuba/didkit/issues", 20 + "changelog_uri" => "https://github.com/mackuba/didkit/blob/master/CHANGELOG.md", 21 + "source_code_uri" => "https://github.com/mackuba/didkit", 22 + } 21 23 22 - # Specify which files should be added to the gem when it is released. 23 - # The `git ls-files -z` loads the files in the RubyGem that have been added into git. 24 24 spec.files = Dir.chdir(__dir__) do 25 - `git ls-files -z`.split("\x0").reject do |f| 26 - (File.expand_path(f) == __FILE__) || 27 - f.start_with?(*%w[bin/ test/ spec/ features/ .git .circleci appveyor Gemfile]) 28 - end 25 + Dir['*.md'] + Dir['*.txt'] + Dir['lib/**/*'] + Dir['sig/**/*'] 29 26 end 30 - spec.bindir = "exe" 31 - spec.executables = spec.files.grep(%r{\Aexe/}) { |f| File.basename(f) } 27 + 32 28 spec.require_paths = ["lib"] 33 - 34 - # Uncomment to register a new dependency of your gem 35 - # spec.add_dependency "example-gem", "~> 1.0" 36 - 37 - # For more information and examples about making a new gem, check out our 38 - # guide at: https://bundler.io/guides/creating_gem.html 39 29 end
+1 -3
lib/didkit.rb
··· 2 2 3 3 require_relative "didkit/version" 4 4 5 - module Didkit 6 - class Error < StandardError; end 7 - # Your code goes here... 5 + module DIDKit 8 6 end
+2 -2
lib/didkit/version.rb
··· 1 1 # frozen_string_literal: true 2 2 3 - module Didkit 4 - VERSION = "0.1.0" 3 + module DIDKit 4 + VERSION = "0.0.1" 5 5 end
-4
spec/didkit_spec.rb
··· 4 4 it "has a version number" do 5 5 expect(Didkit::VERSION).not_to be nil 6 6 end 7 - 8 - it "does something useful" do 9 - expect(false).to eq(true) 10 - end 11 7 end