summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHiroshi SHIBATA <[email protected]>2019-08-12 22:27:13 +0900
committerHiroshi SHIBATA <[email protected]>2019-10-26 09:24:55 +0900
commitb25ab3832f75f9257d3ea2e450af8a00a28e1acd ()
treed0ac6a9e77f24d89003bee57dfc84ddf3bce11c0
parent0c579b0a97bdec40ed58e15ab611ec00bb83d48d (diff)
[ruby/forwardable] Extracted VERSION constant for gemspec
https://.com/ruby/forwardable/commit/387758d45a
-rw-r--r--lib/forwardable.rb5
-rw-r--r--lib/forwardable/forwardable.gemspec4
-rw-r--r--lib/forwardable/version.rb5
3 files changed, 8 insertions, 6 deletions
@@ -110,10 +110,7 @@
#
module Forwardable
require 'forwardable/impl'
-
- # Version of +forwardable.rb+
- VERSION = "1.2.0"
- FORWARDABLE_VERSION = VERSION
@debug = nil
class << self
@@ -1,8 +1,8 @@
begin
- require_relative "lib/forwardable"
rescue LoadError
# for Ruby core repository
- require_relative "../forwardable"
end
Gem::Specification.new do |spec|
@@ -0,0 +1,5 @@