diff options
author | Philip Arndt <parndt@gmail.com> | 2011-08-12 11:26:37 +1200 |
---|---|---|
committer | Philip Arndt <parndt@gmail.com> | 2011-08-12 11:26:37 +1200 |
commit | 83d407c8bb0d363489fb27169e9b1751dd7e75c3 (patch) | |
tree | 90510c512226350ae6376bd5f855674278516655 /lib | |
parent | eca7a1a591abcae796aa4b8f168d9f313fdfffb0 (diff) | |
download | refinerycms-blog-83d407c8bb0d363489fb27169e9b1751dd7e75c3.tar.gz refinerycms-blog-83d407c8bb0d363489fb27169e9b1751dd7e75c3.tar.bz2 refinerycms-blog-83d407c8bb0d363489fb27169e9b1751dd7e75c3.zip |
Need to use edge everything, excluding spec/dummy from the gemspec.
Diffstat (limited to 'lib')
-rw-r--r-- | lib/gemspec.rb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/gemspec.rb b/lib/gemspec.rb index 5627a98..d9d329e 100644 --- a/lib/gemspec.rb +++ b/lib/gemspec.rb @@ -2,7 +2,7 @@ require File.expand_path('../refinery/blog/version', __FILE__) version = ::Refinery::Blog::Version.to_s raise "Could not get version so gemspec can not be built" if version.nil? -files = Dir.glob("**/*").flatten.reject{|f| f =~ %r{.gem$}} +files = Dir.glob("**/*").flatten.reject{|f| f =~ %r{.gem$} or f =~ %r{^spec/dummy}} gemspec = <<EOF # Encoding: UTF-8 @@ -20,13 +20,13 @@ Gem::Specification.new do |s| s.require_paths = %w(lib) # Runtime dependencies - s.add_dependency 'refinerycms-core', '~> 1.1.0' + s.add_dependency 'refinerycms-core', '~> 2.0.0' s.add_dependency 'filters_spam', '~> 0.2' s.add_dependency 'acts-as-taggable-on' s.add_dependency 'seo_meta', '~> 1.1.0' # Development dependencies - s.add_development_dependency 'refinerycms-testing', '~> 1.1.0' + s.add_development_dependency 'refinerycms-testing', '~> 2.0.0' s.files = %w( #{files.join("\n ")} |