Permalink
Browse files

update fixme

  • Loading branch information...
1 parent 36d9313 commit 0f96d662257272d940979a1e2cb215c245160d7c @copiousfreetime committed Oct 16, 2013
Showing with 4 additions and 4 deletions.
  1. +3 −3 tasks/default.rake
  2. +1 −1 tasks/this.rb
View
@@ -31,7 +31,7 @@ namespace :develop do
# Create a Gemfile that just references the gemspec
file 'Gemfile' => :gemspec do
File.open( "Gemfile", "w+" ) do |f|
- f.puts 'source :rubygems'
+ f.puts 'source "https://rubygems.org/"'
f.puts 'gemspec'
end
end
@@ -54,8 +54,8 @@ begin
require 'rake/testtask'
Rake::TestTask.new( :test ) do |t|
t.ruby_opts = %w[ -w -rubygems ]
- t.libs = %w[ lib spec ]
- t.pattern = "spec/**/*_spec.rb"
+ t.libs = %w[ lib spec test ]
+ t.pattern = "{test,spec}/**/{test_*,*_spec}.rb"
end
task :test_requirements
View
@@ -25,7 +25,7 @@ class ThisProject
#
# Yields self
def initialize(&block)
- @exclude_from_manifest = %r/\.(git|DS_Store)|^(doc|coverage|pkg|tmp)|Gemfile*|\.(gemspec|swp|jar|bundle|so|rvmrc)$|~$/
+ @exclude_from_manifest = %r/\.(git|DS_Store)|^(doc|coverage|pkg|tmp|Gemfile(\.lock)?)|^[^\/]+\.gemspec|\.(swp|jar|bundle|so|rvmrc)$|~$/
@gemspecs = Hash.new
yield self if block_given?
end

0 comments on commit 0f96d66

Please sign in to comment.