mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
[ruby/fiddle] Add Fiddle::VERSION
https://github.com/ruby/fiddle/commit/9dcf64c096
This commit is contained in:
parent
5fb7ca33e6
commit
13f64333ea
Notes:
git
2020-05-23 14:29:42 +09:00
2 changed files with 12 additions and 1 deletions
|
@ -1,7 +1,15 @@
|
|||
# frozen_string_literal: true
|
||||
|
||||
begin
|
||||
require_relative "lib/fiddle/version"
|
||||
rescue LoadError
|
||||
# for Ruby core repository
|
||||
require_relative "version"
|
||||
end
|
||||
|
||||
Gem::Specification.new do |spec|
|
||||
spec.name = "fiddle"
|
||||
spec.version = '1.0.0'
|
||||
spec.version = Fiddle::VERSION
|
||||
spec.authors = ["Aaron Patterson", "SHIBATA Hiroshi"]
|
||||
spec.email = ["aaron@tenderlovemaking.com", "hsbt@ruby-lang.org"]
|
||||
|
||||
|
|
3
ext/fiddle/lib/fiddle/version.rb
Normal file
3
ext/fiddle/lib/fiddle/version.rb
Normal file
|
@ -0,0 +1,3 @@
|
|||
class Fiddle
|
||||
VERSION = "1.0.0"
|
||||
end
|
Loading…
Add table
Reference in a new issue