lib/appraisal/gemspec.rb in appraisal-0.5.2 vs lib/appraisal/gemspec.rb in appraisal-1.0.0.beta1
- old
+ new
@@ -7,17 +7,11 @@
def initialize(options = {})
@options = options
@options[:path] ||= '.'
end
- def exists?
- Dir[::File.join(@options[:path], "*.gemspec")].size > 0
- end
-
def to_s
- if exists?
- "gemspec #{exported_options.inspect.gsub(/^\{|\}$/, '')}"
- end
+ "gemspec #{exported_options.inspect.gsub(/^\{|\}$/, '')}"
end
private
def exported_options