dev_commands 0.0.18 → 0.0.19

Sign up to get free protection for your applications and to get access to all the features.
@@ -4,8 +4,6 @@ class Clean < Array
4
4
  CLEAN.include(dir) if File.exists?(dir)
5
5
  }
6
6
 
7
- #CLEAN.include('.yardoc','log','tmp','*.gem','obj')
8
-
9
7
  CLEAN.include('**/*.{suo,sdf}')
10
8
 
11
9
  add '<%Rake::Task[:clean].reenable%>'
@@ -1,13 +1,14 @@
1
1
  class Clobber < Array
2
2
  def update
3
- ['bin','lib'].each{|dir|
3
+ ['bin'].each{|dir|
4
4
  CLOBBER.include(dir) if File.exists?(dir)
5
5
  }
6
6
 
7
7
  clean=Clean.new
8
8
  clean.update
9
9
 
10
- CLOBBER.include('*.gem')
10
+ CLOBBER.include('*.gem')
11
+
11
12
  add '<%Rake::Task[:clobber].reenable%>'
12
13
  add '<%Rake::Task[:clobber].invoke%>'
13
14
  end
@@ -6,7 +6,7 @@ describe Commands do
6
6
  expect(File.exists?("#{dir}/rakefile.rb")).to eq(true)
7
7
 
8
8
  Dir.chdir(dir) do
9
- commands=Commands.new
9
+ commands=Commands.new
10
10
  expect(commands.has_key?(:pull)).to eq(true)
11
11
  commands[:pull].update
12
12
  expect(commands[:pull].length).to eq(0)
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dev_commands
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.18
4
+ version: 0.0.19
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: