version 0.6.0 → 0.6.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/History.rdoc +5 -0
- data/VERSION +1 -1
- data/lib/ext/class.rb +1 -1
- data/lib/version.rb +1 -1
- metadata +1 -1
data/History.rdoc
CHANGED
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
0.6.
|
|
1
|
+
0.6.1
|
data/lib/ext/class.rb
CHANGED
|
@@ -6,7 +6,7 @@ class Class
|
|
|
6
6
|
# the Version in +filename+. Attempts to guess the filename if none given.
|
|
7
7
|
# Can read both .yml files and plain text.
|
|
8
8
|
#
|
|
9
|
-
def
|
|
9
|
+
def is_versioned(filename = nil)
|
|
10
10
|
# attempt to guess the filename if none given
|
|
11
11
|
if filename.nil?
|
|
12
12
|
filename = Pathname.new('.').expand_path.ascend do |d|
|
data/lib/version.rb
CHANGED