di 0.3.0 → 0.3.1
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.
- data/HISTORY +4 -0
- data/di.gemspec +2 -2
- data/lib/di.rb +3 -3
- metadata +4 -4
data/HISTORY
CHANGED
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.
|
|
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-
|
|
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.
|
|
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('
|
|
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:
|
|
4
|
+
hash: 17
|
|
5
5
|
prerelease:
|
|
6
6
|
segments:
|
|
7
7
|
- 0
|
|
8
8
|
- 3
|
|
9
|
-
-
|
|
10
|
-
version: 0.3.
|
|
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-
|
|
18
|
+
date: 2012-05-21 00:00:00 Z
|
|
19
19
|
dependencies:
|
|
20
20
|
- !ruby/object:Gem::Dependency
|
|
21
21
|
name: thoughtbot-shoulda
|