chrislloyd-fancypath 0.5.7 → 0.5.8

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. data/Rakefile +1 -2
  2. data/lib/fancypath.rb +1 -0
  3. metadata +2 -2
data/Rakefile CHANGED
@@ -5,7 +5,7 @@ require 'date'
5
5
  require 'spec/rake/spectask'
6
6
 
7
7
  GEM = "fancypath"
8
- GEM_VERSION = "0.5.7"
8
+ GEM_VERSION = "0.5.8"
9
9
  AUTHORS = ["Myles Byrne", "Chris Lloyd"]
10
10
  EMAIL = "myles@ducknewmedia.com"
11
11
  HOMEPAGE = "http://ducknewmedia.com/fancypath"
@@ -39,7 +39,6 @@ Spec::Rake::SpecTask.new do |t|
39
39
  t.spec_opts = %w(-fs --color)
40
40
  end
41
41
 
42
-
43
42
  Rake::GemPackageTask.new(spec) do |pkg|
44
43
  pkg.gem_spec = spec
45
44
  end
data/lib/fancypath.rb CHANGED
@@ -88,6 +88,7 @@ class Fancypath < Pathname
88
88
  def set_extension(ext)
89
89
  "#{without_extension}.#{ext}".to_path
90
90
  end
91
+ alias_method :change_extension, :set_extension
91
92
 
92
93
  def without_extension
93
94
  to_s[/^ (.+?) (\. ([^\.]+))? $/x, 1].to_path
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: chrislloyd-fancypath
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.7
4
+ version: 0.5.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - Myles Byrne
@@ -10,7 +10,7 @@ autorequire: fancypath
10
10
  bindir: bin
11
11
  cert_chain: []
12
12
 
13
- date: 2009-02-17 00:00:00 -08:00
13
+ date: 2009-02-20 00:00:00 -08:00
14
14
  default_executable:
15
15
  dependencies: []
16
16