sane 0.16.1 → 0.17.0

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/VERSION CHANGED
@@ -1 +1 @@
1
- 0.16.1
1
+ 0.17.0
@@ -0,0 +1,5 @@
1
+ class File
2
+ class << self
3
+ alias :filename :basename # why is this not in there? ahh!
4
+ end
5
+ end
data/sane.gemspec CHANGED
@@ -5,7 +5,7 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{sane}
8
- s.version = "0.16.1"
8
+ s.version = "0.17.0"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Roger Pack"]
@@ -30,6 +30,7 @@ Gem::Specification.new do |s|
30
30
  "lib/sane/contain.rb",
31
31
  "lib/sane/enumerable-extra.rb",
32
32
  "lib/sane/file.rb",
33
+ "lib/sane/file_filename.rb",
33
34
  "lib/sane/float.rb",
34
35
  "lib/sane/hash_hashes.rb",
35
36
  "lib/sane/hash_minus_hash.rb",
data/spec/spec.sane.rb CHANGED
@@ -116,5 +116,9 @@ describe Sane do
116
116
  a.select!{|n| n < 3}
117
117
  a.length.should == 2
118
118
  end
119
+
120
+ it "should have File.filename" do
121
+ File.filename("abc/ext.xt").should == "ext.xt"
122
+ end
119
123
 
120
124
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sane
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.16.1
4
+ version: 0.17.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Roger Pack
@@ -66,6 +66,7 @@ files:
66
66
  - lib/sane/contain.rb
67
67
  - lib/sane/enumerable-extra.rb
68
68
  - lib/sane/file.rb
69
+ - lib/sane/file_filename.rb
69
70
  - lib/sane/float.rb
70
71
  - lib/sane/hash_hashes.rb
71
72
  - lib/sane/hash_minus_hash.rb