mirror of
https://github.com/onyx-and-iris/voicemeeter-rb.git
synced 2024-11-22 01:40:49 +00:00
gemspec, version file added
This commit is contained in:
parent
48a56f9db6
commit
40d94033c5
3
.gitignore
vendored
3
.gitignore
vendored
@ -55,3 +55,6 @@ Gemfile.lock
|
|||||||
|
|
||||||
# Used by RuboCop. Remote config files pulled in from inherit_from directive.
|
# Used by RuboCop. Remote config files pulled in from inherit_from directive.
|
||||||
# .rubocop-https?--*
|
# .rubocop-https?--*
|
||||||
|
|
||||||
|
# test
|
||||||
|
quick.rb
|
2
Gemfile
2
Gemfile
@ -3,3 +3,5 @@
|
|||||||
source "https://rubygems.org"
|
source "https://rubygems.org"
|
||||||
|
|
||||||
# gem "rails"
|
# gem "rails"
|
||||||
|
|
||||||
|
gemspec
|
4
lib/voicemeeter.rb
Normal file
4
lib/voicemeeter.rb
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
require_relative "voicemeeter/remote"
|
||||||
|
|
||||||
|
module Voicemeeter
|
||||||
|
end
|
25
lib/voicemeeter/version.rb
Normal file
25
lib/voicemeeter/version.rb
Normal file
@ -0,0 +1,25 @@
|
|||||||
|
module Voicemeeter
|
||||||
|
module Version
|
||||||
|
module_function
|
||||||
|
|
||||||
|
def major
|
||||||
|
0
|
||||||
|
end
|
||||||
|
|
||||||
|
def minor
|
||||||
|
0
|
||||||
|
end
|
||||||
|
|
||||||
|
def patch
|
||||||
|
1
|
||||||
|
end
|
||||||
|
|
||||||
|
def to_a
|
||||||
|
[major, minor, patch]
|
||||||
|
end
|
||||||
|
|
||||||
|
def to_s
|
||||||
|
to_a.join(".")
|
||||||
|
end
|
||||||
|
end
|
||||||
|
end
|
25
voicemeeter.gemspec
Normal file
25
voicemeeter.gemspec
Normal file
@ -0,0 +1,25 @@
|
|||||||
|
# frozen_string_literal: true
|
||||||
|
require File.expand_path("lib/voicemeeter/version", __dir__)
|
||||||
|
lib = File.expand_path("./lib")
|
||||||
|
|
||||||
|
Gem::Specification.new do |spec|
|
||||||
|
spec.name = "voicemeeter"
|
||||||
|
spec.version = Voicemeeter::Version
|
||||||
|
spec.summary = "Voicemeeter API wrapper for Ruby"
|
||||||
|
spec.description = "A Ruby wrapper around Voicemeeter Remote API"
|
||||||
|
spec.authors = ["onyx_online"]
|
||||||
|
spec.email = "code@onyxandiris.online"
|
||||||
|
spec.files = Dir["lib/**/*.rb"]
|
||||||
|
spec.extra_rdoc_files = Dir["README.md", "CHANGELOG.md", "LICENSE"]
|
||||||
|
spec.homepage = "https://rubygems.org/gems/voicemeeter"
|
||||||
|
spec.license = "MIT"
|
||||||
|
spec.add_runtime_dependency "ffi", "~> 1.9", ">= 1.9.10"
|
||||||
|
spec.add_runtime_dependency "perfect_toml", "~> 0.9.0"
|
||||||
|
spec.add_runtime_dependency "observer", "~> 0.1.1"
|
||||||
|
spec.add_runtime_dependency "logger", "~> 1.5", ">= 1.5.1"
|
||||||
|
spec.add_development_dependency "rspec", "~> 3.4"
|
||||||
|
spec.required_ruby_version = ">= 3.0"
|
||||||
|
spec.metadata = {
|
||||||
|
"source_code_uri" => "https://github.com/onyx-and-iris/voicemeeter-rb.git"
|
||||||
|
}
|
||||||
|
end
|
Loading…
Reference in New Issue
Block a user