diffy 2.0.9 → 2.0.10

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.

@@ -0,0 +1,5 @@
1
+ language: ruby
2
+ rvm:
3
+ - 1.8.7
4
+ - 1.9.2
5
+ - 1.9.3
data/CHANGELOG CHANGED
@@ -1,3 +1,6 @@
1
+ == 2.0.10 ==
2
+ Close tempfile after it's been written to to avoid too many open file handles
3
+
1
4
  == 2.0.9 ==
2
5
  Memoize calls to `which diff` which should result in a minor performance
3
6
  improvement in high use environments.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 2.0.9
1
+ 2.0.10
@@ -5,7 +5,7 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = "diffy"
8
- s.version = "2.0.9"
8
+ s.version = "2.0.10"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Sam Goldstein"]
@@ -32,8 +32,7 @@ Gem::Specification.new do |s|
32
32
  "lib/diffy/format.rb",
33
33
  "lib/diffy/html_formatter.rb",
34
34
  "spec/demo_app.rb",
35
- "spec/diffy_spec.rb",
36
- "tags"
35
+ "spec/diffy_spec.rb"
37
36
  ]
38
37
  s.homepage = "http://github.com/samg/diffy/tree/master"
39
38
  s.rdoc_options = ["--inline-source", "--charset=UTF-8"]
@@ -97,6 +97,7 @@ module Diffy
97
97
  @tempfiles.push(t)
98
98
  t.print(string)
99
99
  t.flush
100
+ t.close
100
101
  t.path
101
102
  end
102
103
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: diffy
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.9
4
+ version: 2.0.10
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -52,6 +52,7 @@ extra_rdoc_files:
52
52
  - README.md
53
53
  files:
54
54
  - .rspec
55
+ - .travis.yml
55
56
  - CHANGELOG
56
57
  - CONTRIBUTORS
57
58
  - Gemfile
@@ -67,7 +68,6 @@ files:
67
68
  - lib/diffy/html_formatter.rb
68
69
  - spec/demo_app.rb
69
70
  - spec/diffy_spec.rb
70
- - tags
71
71
  homepage: http://github.com/samg/diffy/tree/master
72
72
  licenses: []
73
73
  post_install_message:
data/tags DELETED
@@ -1,37 +0,0 @@
1
- !_TAG_FILE_FORMAT 2 /extended format; --format=1 will not append ;" to lines/
2
- !_TAG_FILE_SORTED 1 /0=unsorted, 1=sorted, 2=foldcase/
3
- !_TAG_PROGRAM_AUTHOR Darren Hiebert /dhiebert@users.sourceforge.net/
4
- !_TAG_PROGRAM_NAME Exuberant Ctags //
5
- !_TAG_PROGRAM_URL http://ctags.sourceforge.net /official site/
6
- !_TAG_PROGRAM_VERSION 5.8 //
7
- Diff lib/diffy/diff.rb /^ class Diff$/;" c class:Diffy
8
- Diffy lib/diffy.rb /^module Diffy; end$/;" m
9
- Diffy lib/diffy/css.rb /^module Diffy$/;" m
10
- Diffy lib/diffy/diff.rb /^module Diffy$/;" m
11
- Diffy lib/diffy/format.rb /^module Diffy$/;" m
12
- Diffy lib/diffy/html_formatter.rb /^module Diffy$/;" m
13
- Format lib/diffy/format.rb /^ module Format$/;" m class:Diffy
14
- HtmlFormatter lib/diffy/html_formatter.rb /^ class HtmlFormatter$/;" c class:Diffy
15
- clean_line lib/diffy/html_formatter.rb /^ def clean_line(line)$/;" f class:Diffy.HtmlFormatter
16
- color lib/diffy/format.rb /^ def color$/;" f class:Diffy.Format
17
- default_format lib/diffy/diff.rb /^ def default_format$/;" f class:Diffy.Diff
18
- default_options lib/diffy/diff.rb /^ def default_options$/;" f class:Diffy.Diff
19
- diff lib/diffy/diff.rb /^ def diff$/;" f class:Diffy
20
- diff_bin lib/diffy/diff.rb /^ def diff_bin$/;" f
21
- each lib/diffy/diff.rb /^ def each$/;" f
22
- each_chunk lib/diffy/diff.rb /^ def each_chunk$/;" f
23
- highlight lib/diffy/html_formatter.rb /^ def highlight(lines)$/;" f class:Diffy.HtmlFormatter.clean_line.split_characters
24
- highlighted_words lib/diffy/html_formatter.rb /^ def highlighted_words$/;" f class:Diffy.HtmlFormatter.clean_line
25
- html lib/diffy/format.rb /^ def html$/;" f class:Diffy.Format.color
26
- html_simple lib/diffy/format.rb /^ def html_simple$/;" f class:Diffy.Format.color
27
- initialize lib/diffy/diff.rb /^ def initialize(string1, string2, options = {})$/;" f class:Diffy
28
- initialize lib/diffy/html_formatter.rb /^ def initialize(diff, options = {})$/;" f class:Diffy.HtmlFormatter
29
- reconstruct_characters lib/diffy/html_formatter.rb /^ def reconstruct_characters(line_diff, type)$/;" f class:Diffy.HtmlFormatter.clean_line.split_characters
30
- split_characters lib/diffy/html_formatter.rb /^ def split_characters(chunk)$/;" f class:Diffy.HtmlFormatter.clean_line
31
- tempfile lib/diffy/diff.rb /^ def tempfile(string)$/;" f
32
- tempfile spec/diffy_spec.rb /^ def tempfile(string)$/;" f
33
- text lib/diffy/format.rb /^ def text$/;" f class:Diffy.Format.color
34
- to_s lib/diffy/diff.rb /^ def to_s(format = nil)$/;" f
35
- to_s lib/diffy/html_formatter.rb /^ def to_s$/;" f class:Diffy.HtmlFormatter
36
- wrap_line lib/diffy/html_formatter.rb /^ def wrap_line(line)$/;" f class:Diffy.HtmlFormatter
37
- wrap_lines lib/diffy/html_formatter.rb /^ def wrap_lines(lines)$/;" f class:Diffy.HtmlFormatter.clean_line