# gvl-tracing: Ruby gem for getting a timelinew view of GVL usage # Copyright (c) 2022 Ivo Anjo # # This file is part of gvl-tracing. # # MIT License # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"), to deal # in the Software without restriction, including without limitation the rights # to use, copy, modify, merge, publish, distribute, sublicense, and/or sell # copies of the Software, and to permit persons to whom the Software is # furnished to do so, subject to the following conditions: # # The above copyright notice and this permission notice shall be included in all # copies or substantial portions of the Software. # # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR # IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, # FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE # AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER # LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, # OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE # SOFTWARE. # frozen_string_literal: true require_relative "lib/gvl_tracing/version" Gem::Specification.new do |spec| spec.name = "gvl-tracing" spec.version = GvlTracing::VERSION spec.authors = ["Ivo Anjo"] spec.email = ["ivo@ivoanjo.me"] spec.summary = "Get a timeline view of Global VM Lock usage in your Ruby app" spec.homepage = "https://github.com/ivoanjo/gvl-tracing" spec.license = "MIT" spec.required_ruby_version = ">= 3.2.0.dev" # Specify which files should be added to the gem when it is released. # The `git ls-files -z` loads the files in the RubyGem that have been added into git. spec.files = Dir.chdir(__dir__) do `git ls-files -z`.split("\x0").reject do |f| (f == __FILE__) || f.match(%r{\A(?:(?:bin|test|spec|features)/|\.(?:git|travis|circleci)|appveyor)}) end end spec.require_paths = ["lib", "ext"] spec.extensions = ["ext/gvl_tracing_native_extension/extconf.rb"] end