palmister 0.0.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/.gitignore +17 -0
- data/Gemfile +4 -0
- data/MIT-LICENSE +22 -0
- data/README.md +29 -0
- data/Rakefile +1 -0
- data/lib/palmister.rb +20 -0
- data/lib/palmister/simple_correction_diff.rb +31 -0
- data/lib/palmister/simple_html_diff.rb +36 -0
- data/lib/palmister/simple_line_diff.rb +26 -0
- data/lib/palmister/string_simple_correction_diff.rb +56 -0
- data/lib/palmister/vc_diff.rb +59 -0
- data/lib/palmister/version.rb +3 -0
- data/lib/palmister_helper.rb +53 -0
- data/palmister.gemspec +25 -0
- metadata +140 -0
data/.gitignore
ADDED
data/Gemfile
ADDED
data/MIT-LICENSE
ADDED
@@ -0,0 +1,22 @@
|
|
1
|
+
Copyright (c) 2012 Dmitriy Kiriyenko
|
2
|
+
|
3
|
+
MIT License
|
4
|
+
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining
|
6
|
+
a copy of this software and associated documentation files (the
|
7
|
+
"Software"), to deal in the Software without restriction, including
|
8
|
+
without limitation the rights to use, copy, modify, merge, publish,
|
9
|
+
distribute, sublicense, and/or sell copies of the Software, and to
|
10
|
+
permit persons to whom the Software is furnished to do so, subject to
|
11
|
+
the following conditions:
|
12
|
+
|
13
|
+
The above copyright notice and this permission notice shall be
|
14
|
+
included in all copies or substantial portions of the Software.
|
15
|
+
|
16
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
17
|
+
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
18
|
+
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
19
|
+
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
|
20
|
+
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
|
21
|
+
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
|
22
|
+
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
data/README.md
ADDED
@@ -0,0 +1,29 @@
|
|
1
|
+
# Palmister
|
2
|
+
|
3
|
+
TODO: Write a gem description
|
4
|
+
|
5
|
+
## Installation
|
6
|
+
|
7
|
+
Add this line to your application's Gemfile:
|
8
|
+
|
9
|
+
gem 'palmister'
|
10
|
+
|
11
|
+
And then execute:
|
12
|
+
|
13
|
+
$ bundle
|
14
|
+
|
15
|
+
Or install it yourself as:
|
16
|
+
|
17
|
+
$ gem install palmister
|
18
|
+
|
19
|
+
## Usage
|
20
|
+
|
21
|
+
TODO: Write usage instructions here
|
22
|
+
|
23
|
+
## Contributing
|
24
|
+
|
25
|
+
1. Fork it
|
26
|
+
2. Create your feature branch (`git checkout -b my-new-feature`)
|
27
|
+
3. Commit your changes (`git commit -am 'Add some feature'`)
|
28
|
+
4. Push to the branch (`git push origin my-new-feature`)
|
29
|
+
5. Create new Pull Request
|
data/Rakefile
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
require "bundler/gem_tasks"
|
data/lib/palmister.rb
ADDED
@@ -0,0 +1,20 @@
|
|
1
|
+
require 'diff/lcs'
|
2
|
+
require 'erubis'
|
3
|
+
require 'palmister_helper'
|
4
|
+
require 'palmister/simple_correction_diff'
|
5
|
+
require 'palmister/simple_html_diff'
|
6
|
+
require 'palmister/simple_line_diff'
|
7
|
+
require 'palmister/string_simple_correction_diff'
|
8
|
+
require 'palmister/vc_diff'
|
9
|
+
|
10
|
+
module Palmister
|
11
|
+
extend Erubis::XmlHelper
|
12
|
+
def self.diff(old, new, output = Palmister::SimpleHtmlDiff)
|
13
|
+
# html_escape code for display and split strings into lines array
|
14
|
+
a = html_escape(old).split(/\015?\012/)
|
15
|
+
b = html_escape(new).split(/\015?\012/)
|
16
|
+
out = output.new
|
17
|
+
Diff::LCS.traverse_balanced(a, b, out)
|
18
|
+
out.content
|
19
|
+
end
|
20
|
+
end
|
@@ -0,0 +1,31 @@
|
|
1
|
+
#require 'action_view/template_handlers/erb'
|
2
|
+
class Palmister::SimpleCorrectionDiff #:nodoc:
|
3
|
+
include ERB::Util
|
4
|
+
|
5
|
+
attr_accessor :content
|
6
|
+
|
7
|
+
def initialize
|
8
|
+
@content = ""
|
9
|
+
end
|
10
|
+
|
11
|
+
def change(event)
|
12
|
+
out = Palmister::StringSimpleCorrectionDiff.new
|
13
|
+
Diff::LCS.traverse_sequences(event.old_element, event.new_element, out)
|
14
|
+
@content << %Q|<span class="change">#{out.content}#{out.closing}</span><br/></span><br/>\n|
|
15
|
+
end
|
16
|
+
|
17
|
+
# This will be called with both lines are the same
|
18
|
+
def match(event)
|
19
|
+
@content << %Q|<span class="match">#{event.new_element}</span><br/>\n|
|
20
|
+
end
|
21
|
+
|
22
|
+
# This will be called when there is a line in A that isn't in B
|
23
|
+
def discard_a(event)
|
24
|
+
@content << %Q|<span class="only_a"><del>#{event.old_element}</del></span><br/>\n|
|
25
|
+
end
|
26
|
+
|
27
|
+
# This will be called when there is a line in B that isn't in A
|
28
|
+
def discard_b(event)
|
29
|
+
@content << %Q|<span class="only_b"><ins>#{event.new_element}</ins></span><br/>\n|
|
30
|
+
end
|
31
|
+
end
|
@@ -0,0 +1,36 @@
|
|
1
|
+
class Palmister::SimpleHtmlDiff #:nodoc:
|
2
|
+
attr_accessor :content
|
3
|
+
attr_accessor :old_line
|
4
|
+
attr_accessor :new_line
|
5
|
+
|
6
|
+
def initialize
|
7
|
+
@content = ""
|
8
|
+
@old_line = 1
|
9
|
+
@new_line = 1
|
10
|
+
end
|
11
|
+
|
12
|
+
def change(event)
|
13
|
+
@content << %Q|<tr><td>#{old_line}. </td><td><pre class="only_a">#{event.old_element}</pre></td><td><pre class="only_b">#{event.new_element}</pre></td><td>#{new_line}. </td></tr>\n|
|
14
|
+
@old_line += 1
|
15
|
+
@new_line += 1
|
16
|
+
end
|
17
|
+
|
18
|
+
# This will be called with both lines are the same
|
19
|
+
def match(event)
|
20
|
+
@content << %Q|<tr><td>#{old_line}. </td><td colspan="2"><pre class="match">#{event.old_element}</pre></td><td>#{new_line}. </td></tr>\n|
|
21
|
+
@old_line += 1
|
22
|
+
@new_line += 1
|
23
|
+
end
|
24
|
+
|
25
|
+
# This will be called when there is a line in A that isn't in B
|
26
|
+
def discard_a(event)
|
27
|
+
@content << %Q|<tr><td>#{old_line}. </td><td><pre class="only_a">#{event.old_element}</pre></td><td></td><td></td></tr>\n|
|
28
|
+
@old_line += 1
|
29
|
+
end
|
30
|
+
|
31
|
+
# This will be called when there is a line in B that isn't in A
|
32
|
+
def discard_b(event)
|
33
|
+
@content << %Q|<tr><td></td><td></td><td><pre class="only_b">#{event.new_element}</pre></td><td>#{new_line}. </td></tr>\n|
|
34
|
+
@new_line += 1
|
35
|
+
end
|
36
|
+
end
|
@@ -0,0 +1,26 @@
|
|
1
|
+
class Palmister::SimpleLineDiff #:nodoc:
|
2
|
+
attr_accessor :content
|
3
|
+
|
4
|
+
def initialize
|
5
|
+
@content = ""
|
6
|
+
end
|
7
|
+
|
8
|
+
def change(event)
|
9
|
+
@content << %Q|<span class="only_a">#{event.old_element}</span><br/>\n<span class="only_b">#{event.new_element}</span><br/>\n|
|
10
|
+
end
|
11
|
+
|
12
|
+
# This will be called with both lines are the same
|
13
|
+
def match(event)
|
14
|
+
@content << %Q|<span class="match">#{event.old_element}</span><br/>\n|
|
15
|
+
end
|
16
|
+
|
17
|
+
# This will be called when there is a line in A that isn't in B
|
18
|
+
def discard_a(event)
|
19
|
+
@content << %Q|<span class="only_a">#{event.old_element}</span><br/>\n|
|
20
|
+
end
|
21
|
+
|
22
|
+
# This will be called when there is a line in B that isn't in A
|
23
|
+
def discard_b(event)
|
24
|
+
@content << %Q|<span class="only_b">#{event.new_element}</span><br/>\n|
|
25
|
+
end
|
26
|
+
end
|
@@ -0,0 +1,56 @@
|
|
1
|
+
#require 'action_view/template_handlers/erb'
|
2
|
+
class Palmister::StringSimpleCorrectionDiff #:nodoc:
|
3
|
+
|
4
|
+
attr_accessor :content, :last, :closing
|
5
|
+
|
6
|
+
def initialize
|
7
|
+
@content = ""
|
8
|
+
end
|
9
|
+
|
10
|
+
def change(event)
|
11
|
+
if @last.nil?
|
12
|
+
@content << %Q|<span class="change">|
|
13
|
+
elsif @last != :change
|
14
|
+
@content << %Q|#{closing}</span><span class="change">|
|
15
|
+
end
|
16
|
+
@content << %Q|<del class="only_a">#{event.old_element}</del><ins class="only_b">#{event.new_element.to_s}</ins>|
|
17
|
+
@last = :change
|
18
|
+
@closing = ""
|
19
|
+
end
|
20
|
+
|
21
|
+
# This will be called with both lines are the same
|
22
|
+
def match(event)
|
23
|
+
if @last.nil?
|
24
|
+
@content << %Q|<span class="match">|
|
25
|
+
elsif @last != :match
|
26
|
+
@content << %Q|#{closing}</span><span class="match">|
|
27
|
+
end
|
28
|
+
@content << event.old_element.to_s
|
29
|
+
@last = :match
|
30
|
+
@closing = ""
|
31
|
+
end
|
32
|
+
|
33
|
+
# This will be called when there is a line in A that isn't in B
|
34
|
+
def discard_a(event)
|
35
|
+
if @last.nil?
|
36
|
+
@content << %Q|<span class="only_a"><del>|
|
37
|
+
elsif @last != :only_a
|
38
|
+
@content << %Q|#{closing}</span><span class="only_a"><del>|
|
39
|
+
end
|
40
|
+
@content << %Q|#{event.old_element.to_s}|
|
41
|
+
@last = :only_a
|
42
|
+
@closing = "</del>"
|
43
|
+
end
|
44
|
+
|
45
|
+
# This will be called when there is a line in B that isn't in A
|
46
|
+
def discard_b(event)
|
47
|
+
if @last.nil?
|
48
|
+
@content << %Q|<span class="only_b"><ins>|
|
49
|
+
elsif @last != :only_b
|
50
|
+
@content << %Q|#{closing}</span><span class="only_b"><ins>|
|
51
|
+
end
|
52
|
+
@content << %Q|#{event.new_element.to_s}|
|
53
|
+
@last = :only_b
|
54
|
+
@closing = "</ins>"
|
55
|
+
end
|
56
|
+
end
|
@@ -0,0 +1,59 @@
|
|
1
|
+
class Palmister::VcDiff #:nodoc:
|
2
|
+
attr_accessor :content
|
3
|
+
attr_accessor :old_line
|
4
|
+
attr_accessor :new_line
|
5
|
+
attr_accessor :last_lines
|
6
|
+
attr_accessor :last
|
7
|
+
|
8
|
+
def initialize
|
9
|
+
@content = ""
|
10
|
+
@last_lines = []
|
11
|
+
@old_line = 1
|
12
|
+
@new_line = 1
|
13
|
+
end
|
14
|
+
|
15
|
+
def change(event)
|
16
|
+
add_last_lines unless @last == :change
|
17
|
+
@content << %Q|<tr><td>#{old_line}. </td><td><pre class="only_a">#{event.old_element}</pre></td><td><pre class="only_b">#{event.new_element}</pre></td><td>#{new_line}. </td></tr>\n|
|
18
|
+
|
19
|
+
@last = :change
|
20
|
+
@old_line += 1
|
21
|
+
@new_line += 1
|
22
|
+
end
|
23
|
+
|
24
|
+
# This will be called with both lines are the same
|
25
|
+
def match(event)
|
26
|
+
@last_lines.push %Q|<tr><td>#{old_line}. </td><td colspan="2"><pre class="match">#{event.old_element}</pre></td><td>#{new_line}. </td></tr>\n|
|
27
|
+
@old_line += 1
|
28
|
+
@new_line += 1
|
29
|
+
end
|
30
|
+
|
31
|
+
# This will be called when there is a line in A that isn't in B
|
32
|
+
def discard_a(event)
|
33
|
+
add_last_lines unless @last == :discard_a
|
34
|
+
@content << %Q|<tr><td>#{old_line}. </td><td><pre class="only_a">#{event.old_element}</pre></td><td></td><td></td></tr>\n|
|
35
|
+
|
36
|
+
@last = :discard_a
|
37
|
+
@old_line += 1
|
38
|
+
end
|
39
|
+
|
40
|
+
# This will be called when there is a line in B that isn't in A
|
41
|
+
def discard_b(event)
|
42
|
+
add_last_lines unless @last == :discard_b
|
43
|
+
@content << %Q|<tr><td></td><td></td><td><pre class="only_b">#{event.new_element}</pre></td><td>#{new_line}. </td></tr>\n|
|
44
|
+
|
45
|
+
@last = :discard_b
|
46
|
+
@new_line += 1
|
47
|
+
end
|
48
|
+
|
49
|
+
def add_last_lines(n = 3)
|
50
|
+
@content << %Q|<tr><td colspan="4">Next Change: </td></tr>\n|
|
51
|
+
start = @last_lines.length - n
|
52
|
+
start = 0 if start < 0
|
53
|
+
start.upto @last_lines.length do |i|
|
54
|
+
@content << @last_lines[i] if @last_lines[i]
|
55
|
+
end
|
56
|
+
@last_lines = []
|
57
|
+
end
|
58
|
+
|
59
|
+
end
|
@@ -0,0 +1,53 @@
|
|
1
|
+
require 'nokogiri'
|
2
|
+
|
3
|
+
module PalmisterHelper
|
4
|
+
protected
|
5
|
+
|
6
|
+
DIFF_DELIMITER = Nokogiri::HTML.parse("<span class='diff-delimiter'><hr></span>").css('span').first
|
7
|
+
|
8
|
+
# generates a simple line diff
|
9
|
+
def line_diff(old, new)
|
10
|
+
Palmister.diff(old,new)
|
11
|
+
end
|
12
|
+
|
13
|
+
def simple_line_diff(old, new)
|
14
|
+
Palmister.diff(old,new, Palmister::SimpleLineDiff)
|
15
|
+
end
|
16
|
+
|
17
|
+
def simple_chunk_diff(old, new, line = 3)
|
18
|
+
simplifier Palmister.diff(old,new, Palmister::SimpleLineDiff), line
|
19
|
+
end
|
20
|
+
|
21
|
+
# generates a simple correction diff with "inline-diffs"
|
22
|
+
def correction_diff(old, new)
|
23
|
+
Palmister.diff(old, new, Palmister::SimpleCorrectionDiff)
|
24
|
+
end
|
25
|
+
|
26
|
+
# generates a simple vc similar diff, where only the changes + some preceding
|
27
|
+
# lines are shown
|
28
|
+
def vc_diff(old,new)
|
29
|
+
Palmister.diff(old,new, Palmister::VcDiff)
|
30
|
+
end
|
31
|
+
|
32
|
+
def simplifier html, line = 3
|
33
|
+
elements = Nokogiri::HTML.parse(html).css("span").to_a
|
34
|
+
elements.each_with_index do |el,index|
|
35
|
+
start = line > index ? index : index - line
|
36
|
+
finish = index + line
|
37
|
+
if elements[start..finish].select{|span| span.nil? || span.attributes["class"].value == 'match'}.size == elements[start..finish].size
|
38
|
+
elements[index] = nil
|
39
|
+
end
|
40
|
+
end
|
41
|
+
|
42
|
+
elements.each_with_index do |el, index|
|
43
|
+
next if index == 0 || index >= elements.size - 1
|
44
|
+
elements[index-1] = DIFF_DELIMITER if elements[index-1].nil? && el.present?
|
45
|
+
end
|
46
|
+
|
47
|
+
elements.compact!
|
48
|
+
elements.shift if elements.any? && elements.first.attributes['class'].value == 'diff-delimiter'
|
49
|
+
elements.map(&:to_html).join("<br/>")
|
50
|
+
end
|
51
|
+
|
52
|
+
end
|
53
|
+
|
data/palmister.gemspec
ADDED
@@ -0,0 +1,25 @@
|
|
1
|
+
# -*- encoding: utf-8 -*-
|
2
|
+
lib = File.expand_path('../lib', __FILE__)
|
3
|
+
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
4
|
+
require 'palmister/version'
|
5
|
+
|
6
|
+
Gem::Specification.new do |gem|
|
7
|
+
gem.name = 'palmister'
|
8
|
+
gem.version = Palmister::VERSION
|
9
|
+
gem.authors = ['Dmitriy Kiriyenko']
|
10
|
+
gem.email = ['dmitriy.kiriyenko@anahoret.com']
|
11
|
+
gem.description = %q{Modern supportable rails diff}
|
12
|
+
gem.summary = %q{Modern supportable rails diff. Works on my machine.}
|
13
|
+
gem.homepage = ""
|
14
|
+
|
15
|
+
gem.files = `git ls-files`.split($/)
|
16
|
+
gem.executables = gem.files.grep(%r{^bin/}).map{ |f| File.basename(f) }
|
17
|
+
gem.test_files = gem.files.grep(%r{^(test|spec|features)/})
|
18
|
+
gem.require_paths = ['lib']
|
19
|
+
|
20
|
+
gem.add_dependency 'diff-lcs', '~> 1.1.3'
|
21
|
+
gem.add_dependency 'erubis', '~> 2.7.0'
|
22
|
+
gem.add_dependency 'nokogiri', '~> 1.5.5'
|
23
|
+
gem.add_development_dependency 'rake'
|
24
|
+
gem.add_development_dependency 'rspec'
|
25
|
+
end
|
metadata
ADDED
@@ -0,0 +1,140 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: palmister
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.0.1
|
5
|
+
prerelease:
|
6
|
+
platform: ruby
|
7
|
+
authors:
|
8
|
+
- Dmitriy Kiriyenko
|
9
|
+
autorequire:
|
10
|
+
bindir: bin
|
11
|
+
cert_chain: []
|
12
|
+
date: 2012-10-30 00:00:00.000000000 Z
|
13
|
+
dependencies:
|
14
|
+
- !ruby/object:Gem::Dependency
|
15
|
+
name: diff-lcs
|
16
|
+
requirement: !ruby/object:Gem::Requirement
|
17
|
+
none: false
|
18
|
+
requirements:
|
19
|
+
- - ~>
|
20
|
+
- !ruby/object:Gem::Version
|
21
|
+
version: 1.1.3
|
22
|
+
type: :runtime
|
23
|
+
prerelease: false
|
24
|
+
version_requirements: !ruby/object:Gem::Requirement
|
25
|
+
none: false
|
26
|
+
requirements:
|
27
|
+
- - ~>
|
28
|
+
- !ruby/object:Gem::Version
|
29
|
+
version: 1.1.3
|
30
|
+
- !ruby/object:Gem::Dependency
|
31
|
+
name: erubis
|
32
|
+
requirement: !ruby/object:Gem::Requirement
|
33
|
+
none: false
|
34
|
+
requirements:
|
35
|
+
- - ~>
|
36
|
+
- !ruby/object:Gem::Version
|
37
|
+
version: 2.7.0
|
38
|
+
type: :runtime
|
39
|
+
prerelease: false
|
40
|
+
version_requirements: !ruby/object:Gem::Requirement
|
41
|
+
none: false
|
42
|
+
requirements:
|
43
|
+
- - ~>
|
44
|
+
- !ruby/object:Gem::Version
|
45
|
+
version: 2.7.0
|
46
|
+
- !ruby/object:Gem::Dependency
|
47
|
+
name: nokogiri
|
48
|
+
requirement: !ruby/object:Gem::Requirement
|
49
|
+
none: false
|
50
|
+
requirements:
|
51
|
+
- - ~>
|
52
|
+
- !ruby/object:Gem::Version
|
53
|
+
version: 1.5.5
|
54
|
+
type: :runtime
|
55
|
+
prerelease: false
|
56
|
+
version_requirements: !ruby/object:Gem::Requirement
|
57
|
+
none: false
|
58
|
+
requirements:
|
59
|
+
- - ~>
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: 1.5.5
|
62
|
+
- !ruby/object:Gem::Dependency
|
63
|
+
name: rake
|
64
|
+
requirement: !ruby/object:Gem::Requirement
|
65
|
+
none: false
|
66
|
+
requirements:
|
67
|
+
- - ! '>='
|
68
|
+
- !ruby/object:Gem::Version
|
69
|
+
version: '0'
|
70
|
+
type: :development
|
71
|
+
prerelease: false
|
72
|
+
version_requirements: !ruby/object:Gem::Requirement
|
73
|
+
none: false
|
74
|
+
requirements:
|
75
|
+
- - ! '>='
|
76
|
+
- !ruby/object:Gem::Version
|
77
|
+
version: '0'
|
78
|
+
- !ruby/object:Gem::Dependency
|
79
|
+
name: rspec
|
80
|
+
requirement: !ruby/object:Gem::Requirement
|
81
|
+
none: false
|
82
|
+
requirements:
|
83
|
+
- - ! '>='
|
84
|
+
- !ruby/object:Gem::Version
|
85
|
+
version: '0'
|
86
|
+
type: :development
|
87
|
+
prerelease: false
|
88
|
+
version_requirements: !ruby/object:Gem::Requirement
|
89
|
+
none: false
|
90
|
+
requirements:
|
91
|
+
- - ! '>='
|
92
|
+
- !ruby/object:Gem::Version
|
93
|
+
version: '0'
|
94
|
+
description: Modern supportable rails diff
|
95
|
+
email:
|
96
|
+
- dmitriy.kiriyenko@anahoret.com
|
97
|
+
executables: []
|
98
|
+
extensions: []
|
99
|
+
extra_rdoc_files: []
|
100
|
+
files:
|
101
|
+
- .gitignore
|
102
|
+
- Gemfile
|
103
|
+
- MIT-LICENSE
|
104
|
+
- README.md
|
105
|
+
- Rakefile
|
106
|
+
- lib/palmister.rb
|
107
|
+
- lib/palmister/simple_correction_diff.rb
|
108
|
+
- lib/palmister/simple_html_diff.rb
|
109
|
+
- lib/palmister/simple_line_diff.rb
|
110
|
+
- lib/palmister/string_simple_correction_diff.rb
|
111
|
+
- lib/palmister/vc_diff.rb
|
112
|
+
- lib/palmister/version.rb
|
113
|
+
- lib/palmister_helper.rb
|
114
|
+
- palmister.gemspec
|
115
|
+
homepage: ''
|
116
|
+
licenses: []
|
117
|
+
post_install_message:
|
118
|
+
rdoc_options: []
|
119
|
+
require_paths:
|
120
|
+
- lib
|
121
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
122
|
+
none: false
|
123
|
+
requirements:
|
124
|
+
- - ! '>='
|
125
|
+
- !ruby/object:Gem::Version
|
126
|
+
version: '0'
|
127
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
128
|
+
none: false
|
129
|
+
requirements:
|
130
|
+
- - ! '>='
|
131
|
+
- !ruby/object:Gem::Version
|
132
|
+
version: '0'
|
133
|
+
requirements: []
|
134
|
+
rubyforge_project:
|
135
|
+
rubygems_version: 1.8.23
|
136
|
+
signing_key:
|
137
|
+
specification_version: 3
|
138
|
+
summary: Modern supportable rails diff. Works on my machine.
|
139
|
+
test_files: []
|
140
|
+
has_rdoc:
|