diffy 3.2.0 → 3.2.1
Sign up to get free protection for your applications and to get access to all the features.
Potentially problematic release.
This version of diffy might be problematic. Click here for more details.
- checksums.yaml +4 -4
- data/.travis.yml +2 -6
- data/CHANGELOG +2 -0
- data/CONTRIBUTORS +1 -0
- data/Gemfile +1 -1
- data/README.md +6 -6
- data/diffy.gemspec +1 -1
- data/lib/diffy/diff.rb +1 -1
- data/lib/diffy/format.rb +1 -1
- data/lib/diffy/version.rb +1 -1
- data/spec/diffy_spec.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8126b4d4207609139dafef922f5ac9079dbe775b
|
4
|
+
data.tar.gz: 9b7eb9af119aed244cf82e9caa2bc89340ac8f27
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b9a542ef87e8b5a4f7eaba863bb0cc6157d462e478153b3aa68fc0303fbd92367ec8fb8fe5a3ca215023d595164c97c7414355829c809deb511c96c5e614f60b
|
7
|
+
data.tar.gz: 0cd0450cda92e1c04283fa93122284abd027a9fe9ebffc86348228aa0c37c993781fa5faaf8cbe52e00cba1412f4100006e4873a3ba0bed11b3384dedefc921f
|
data/.travis.yml
CHANGED
@@ -1,5 +1,6 @@
|
|
1
1
|
language: ruby
|
2
2
|
sudo: false
|
3
|
+
cache: bundler
|
3
4
|
rvm:
|
4
5
|
- 1.8.7
|
5
6
|
- 1.9.3-p551
|
@@ -8,12 +9,7 @@ rvm:
|
|
8
9
|
- 2.2.6
|
9
10
|
- 2.3.3
|
10
11
|
- 2.4.0
|
11
|
-
- jruby-9.1.
|
12
|
-
- rbx
|
13
|
-
- rbx-2
|
12
|
+
- jruby-9.1.12.0
|
14
13
|
matrix:
|
15
14
|
allow_failures:
|
16
15
|
- rvm: 1.8.7
|
17
|
-
- rvm: jruby-9.1.5.0
|
18
|
-
- rvm: rbx
|
19
|
-
- rvm: rbx-2
|
data/CHANGELOG
CHANGED
data/CONTRIBUTORS
CHANGED
data/Gemfile
CHANGED
data/README.md
CHANGED
@@ -24,11 +24,11 @@ A default format can be set like so:
|
|
24
24
|
Installation
|
25
25
|
------------
|
26
26
|
|
27
|
-
###on Unix
|
27
|
+
### on Unix
|
28
28
|
|
29
29
|
gem install diffy
|
30
30
|
|
31
|
-
###on Windows:
|
31
|
+
### on Windows:
|
32
32
|
|
33
33
|
1. Ensure that you have a working `diff` on your machine and in your search path.
|
34
34
|
|
@@ -213,7 +213,7 @@ You can diff files instead of strings by using the `:source` option.
|
|
213
213
|
### Full Diff Output
|
214
214
|
|
215
215
|
By default Diffy removes the superfluous diff output. This is because its
|
216
|
-
default is to show the complete diff'ed file (`diff -
|
216
|
+
default is to show the complete diff'ed file (`diff -U10000` is the default).
|
217
217
|
|
218
218
|
Diffy does support full output, just use the `:include_diff_info => true`
|
219
219
|
option when initializing:
|
@@ -270,7 +270,7 @@ file).
|
|
270
270
|
### Overriding the command line options passed to diff.
|
271
271
|
|
272
272
|
You can use the `:diff` option to override the command line options that are
|
273
|
-
passed to unix diff. They default to `-
|
273
|
+
passed to unix diff. They default to `-U10000`. This option will noop if
|
274
274
|
combined with the `:context` option.
|
275
275
|
|
276
276
|
>> puts Diffy::Diff.new(" foo\nbar\n", "foo\nbar\n", :diff => "-w")
|
@@ -285,9 +285,9 @@ You can set the default options for new `Diffy::Diff`s using the
|
|
285
285
|
Options passed to `Diffy::Diff.new` will be merged into the default options.
|
286
286
|
|
287
287
|
>> Diffy::Diff.default_options
|
288
|
-
=> {:diff=>"-
|
288
|
+
=> {:diff=>"-U10000", :source=>"strings", :include_diff_info=>false, :include_plus_and_minus_in_html=>false}
|
289
289
|
>> Diffy::Diff.default_options.merge!(:source => 'files')
|
290
|
-
=> {:diff=>"-
|
290
|
+
=> {:diff=>"-U10000", :source=>"files", :include_diff_info=>false, :include_plus_and_minus_in_html=>false}
|
291
291
|
|
292
292
|
|
293
293
|
Custom Formats
|
data/diffy.gemspec
CHANGED
data/lib/diffy/diff.rb
CHANGED
data/lib/diffy/format.rb
CHANGED
data/lib/diffy/version.rb
CHANGED
data/spec/diffy_spec.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: diffy
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.2.
|
4
|
+
version: 3.2.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Sam Goldstein
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2018-05-19 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rake
|
@@ -84,7 +84,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
84
84
|
version: '0'
|
85
85
|
requirements: []
|
86
86
|
rubyforge_project:
|
87
|
-
rubygems_version: 2.
|
87
|
+
rubygems_version: 2.6.11
|
88
88
|
signing_key:
|
89
89
|
specification_version: 4
|
90
90
|
summary: A convenient way to diff string in ruby
|