sub 0.4.1 → 0.4.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (3) hide show
  1. data/lib/sub/app.rb +4 -2
  2. data/lib/sub/version.rb +1 -1
  3. metadata +3 -3
@@ -124,10 +124,12 @@ class Sub
124
124
  end
125
125
 
126
126
  def ignore
127
+ now_ignoring = svn("propget svn:ignore #{dir}", true).strip
127
128
  if args.empty?
128
- svn("propget svn:ignore #{dir}", true).strip
129
+ now_ignoring
129
130
  else
130
- svn("propset svn:ignore '#{args.join("\n")}' #{dir}")
131
+ to_ignore = now_ignoring.split("\n") + args
132
+ svn("propset svn:ignore '#{to_ignore.join("\n")}' #{dir}")
131
133
  "#{dir} now ignoring #{args.join(", ")}"
132
134
  end
133
135
  end
@@ -2,7 +2,7 @@ class Sub #:nodoc:
2
2
  module VERSION #:nodoc:
3
3
  MAJOR = 0
4
4
  MINOR = 4
5
- TINY = 1
5
+ TINY = 2
6
6
 
7
7
  STRING = [MAJOR, MINOR, TINY].join('.')
8
8
  end
metadata CHANGED
@@ -1,10 +1,10 @@
1
1
  --- !ruby/object:Gem::Specification
2
- rubygems_version: 0.9.2
2
+ rubygems_version: 0.9.0
3
3
  specification_version: 1
4
4
  name: sub
5
5
  version: !ruby/object:Gem::Version
6
- version: 0.4.1
7
- date: 2007-11-19 00:00:00 -08:00
6
+ version: 0.4.2
7
+ date: 2007-11-22 00:00:00 -08:00
8
8
  summary: sub is a wrapper for svn that adds faster/safer updates, easy trunk checkout, etc.
9
9
  require_paths:
10
10
  - lib