]> git.wincent.com - wikitext.git/commitdiff
gemspec: remove dependency on rake/gempackagetask
authorWincent Colaiuta <win@wincent.com>
Mon, 19 Apr 2010 20:42:20 +0000 (22:42 +0200)
committerWincent Colaiuta <win@wincent.com>
Mon, 19 Apr 2010 21:33:01 +0000 (23:33 +0200)
We don't need any of the bells and whistles of Rake's FileList, so can
just use Dir[].

Signed-off-by: Wincent Colaiuta <win@wincent.com>
wikitext.gemspec

index cd57bf83b5f79cb15e06672704431578e1b9bff6..cefdddb6b64d50b407983c5fa708be486070edf9 100644 (file)
@@ -12,7 +12,6 @@
 # You should have received a copy of the GNU General Public License
 # along with this program.  If not, see <http://www.gnu.org/licenses/>.
 
-require 'rake/gempackagetask'
 require File.join(File.dirname(__FILE__), 'lib', 'wikitext', 'version.rb')
 
 Gem::Specification.new do |s|
@@ -29,13 +28,12 @@ Gem::Specification.new do |s|
   ENDDESC
   s.require_paths     = ['ext', 'lib']
   s.has_rdoc          = true
-  s.files             = FileList[ 'bin/wikitext',
-                                  'ext/wikitext_ragel.c',
-                                  'ext/*.{rb,c,h}',
-                                  'ext/depend',
-                                  'lib/wikitext/*.rb',
-                                  'rails/init.rb',
-                                  'spec/*.rb' ].to_a
+  s.files             = Dir['bin/wikitext',
+                            'ext/*.{rb,c,h}',
+                            'ext/depend',
+                            'lib/wikitext/*.rb',
+                            'rails/init.rb',
+                            'spec/*.rb']
   s.extensions        = ['ext/extconf.rb']
   s.executables       = ['wikitext']
   if s.respond_to? :add_development_dependency