Update to source

This commit is contained in:
Markus Schirp 2012-08-19 23:43:31 +02:00
parent 5b6e0a12d3
commit 06d66bdd63
3 changed files with 4 additions and 7 deletions

View file

@ -4,9 +4,6 @@ gemspec
gem 'immutable', :git => 'https://github.com/dkubb/immutable.git', :ref => '4a4b7ddd138a32944fa0ddaff8412490cf9dd875'
gem 'abstract', :git => 'https://github.com/mbj/abstract.git'
# Remove git version once original to_source is updated
#gem 'to_source', :git => 'https://github.com/mbj/to_source'
gem 'to_source', :git => 'https://github.com/mbj/to_source.git'
group :development do
@ -19,9 +16,9 @@ group :development do
end
group :guard do
gem 'guard', '~> 1.2.3'
gem 'guard', '~> 1.3.2'
gem 'guard-bundler', '~> 1.0.0'
gem 'guard-rspec', '~> 1.2.0'
gem 'guard-rspec', '~> 1.2.1'
end
group :metrics do

View file

@ -53,7 +53,7 @@ module Mutant
# @api private
#
def source
@node.to_source
ToSource.to_source(@node)
end
memoize :source

View file

@ -58,7 +58,7 @@ module Mutant
# @api private
#
def source
@node.to_source
ToSource.to_source(@node)
end
memoize :source