Skip to content

Commit 98a82b3

Browse files
committed
Release v0.1.0
1 parent 7fa6513 commit 98a82b3

File tree

3 files changed

+19
-0
lines changed

3 files changed

+19
-0
lines changed

CHANGELOG.md

+6
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
Fast Method Source changelog
2+
============================
3+
4+
### v0.1.0 (June 9, 2015)
5+
6+
* Initial release

fast_method_source.gemspec

+4
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,10 @@ Gem::Specification.new do |s|
1717
ext/fast_method_source/node.h
1818
lib/fast_method_source.rb
1919
lib/fast_method_source/core_ext.rb
20+
VERSION
21+
README.md
22+
CHANGELOG.md
23+
LICENCE.txt
2024
]
2125
s.extensions = ['ext/fast_method_source/extconf.rb']
2226
s.platform = Gem::Platform::RUBY

lib/fast_method_source.rb

+9
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,15 @@
11
require_relative 'fast_method_source/fast_method_source'
22

33
module FastMethodSource
4+
# The VERSION file must be in the root directory of the library.
5+
VERSION_FILE = File.expand_path('../../VERSION', __FILE__)
6+
7+
VERSION = File.exist?(VERSION_FILE) ?
8+
File.read(VERSION_FILE).chomp : '(could not find VERSION file)'
9+
10+
# The root path of Pry Theme source code.
11+
ROOT = File.expand_path(File.dirname(__FILE__))
12+
413
class Method
514
include MethodExtensions
615

0 commit comments

Comments
 (0)