1
0
Fork 0
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:
Sutou Kouhei 2020-04-18 15:51:03 +09:00 committed by Nobuyoshi Nakada
parent 5fb7ca33e6
commit 13f64333ea
Notes: git 2020-05-23 14:29:42 +09:00
2 changed files with 12 additions and 1 deletions

View file

@ -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"]

View file

@ -0,0 +1,3 @@
class Fiddle
VERSION = "1.0.0"
end