di 0.3.0 → 0.3.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. data/HISTORY +4 -0
  2. data/di.gemspec +2 -2
  3. data/lib/di.rb +3 -3
  4. metadata +4 -4
data/HISTORY CHANGED
@@ -1,3 +1,7 @@
1
+ == 0.3.1 2012-05-21
2
+
3
+ * Resurrect -L which Subversion still relies on.
4
+
1
5
  == 0.3.0 2012-05-14
2
6
 
3
7
  * Fix pagerizing with Ruby 1.9+ and turn it on by default.
data/di.gemspec CHANGED
@@ -5,11 +5,11 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = "di"
8
- s.version = "0.3.0"
8
+ s.version = "0.3.1"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Akinori MUSHA"]
12
- s.date = "2012-05-14"
12
+ s.date = "2012-05-21"
13
13
  s.description = "The di(1) command wraps around GNU diff(1) to provide reasonable\ndefault settings and some original features.\n"
14
14
  s.email = "knu@idaemons.org"
15
15
  s.executables = ["di"]
data/lib/di.rb CHANGED
@@ -28,7 +28,7 @@
28
28
  # OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
29
29
  # SUCH DAMAGE.
30
30
 
31
- MYVERSION = "0.3.0"
31
+ MYVERSION = "0.3.1"
32
32
  MYNAME = File.basename($0)
33
33
  MYCOPYRIGHT = "Copyright (c) 2008, 2009, 2010, 2011, 2012 Akinori MUSHA"
34
34
 
@@ -197,9 +197,9 @@ usage: #{MYNAME} [flags] [files]
197
197
  'Output NUM lines of unified context.') { |val|
198
198
  set_format_flag('-U', val.to_s)
199
199
  }
200
- opts.on('--label=LABEL',
200
+ opts.on('-L LABEL', '--label=LABEL',
201
201
  'Use LABEL instead of file name.') { |val|
202
- set_flag('--label', val)
202
+ set_flag('-L', val)
203
203
  }
204
204
  opts.on('-p', '--show-c-function[=-]', miniTrueClass,
205
205
  'Show which C function each change is in. [+]') { |val|
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: di
3
3
  version: !ruby/object:Gem::Version
4
- hash: 19
4
+ hash: 17
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 3
9
- - 0
10
- version: 0.3.0
9
+ - 1
10
+ version: 0.3.1
11
11
  platform: ruby
12
12
  authors:
13
13
  - Akinori MUSHA
@@ -15,7 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2012-05-14 00:00:00 Z
18
+ date: 2012-05-21 00:00:00 Z
19
19
  dependencies:
20
20
  - !ruby/object:Gem::Dependency
21
21
  name: thoughtbot-shoulda