diffy 2.0.8 → 2.0.9
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.
Potentially problematic release.
This version of diffy might be problematic. Click here for more details.
- data/CHANGELOG +4 -0
- data/VERSION +1 -1
- data/diffy.gemspec +5 -4
- data/lib/diffy/diff.rb +3 -3
- metadata +17 -7
    
        data/CHANGELOG
    CHANGED
    
    
    
        data/VERSION
    CHANGED
    
    | @@ -1 +1 @@ | |
| 1 | 
            -
            2.0. | 
| 1 | 
            +
            2.0.9
         | 
    
        data/diffy.gemspec
    CHANGED
    
    | @@ -5,11 +5,11 @@ | |
| 5 5 |  | 
| 6 6 | 
             
            Gem::Specification.new do |s|
         | 
| 7 7 | 
             
              s.name = "diffy"
         | 
| 8 | 
            -
              s.version = "2.0. | 
| 8 | 
            +
              s.version = "2.0.9"
         | 
| 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"]
         | 
| 12 | 
            -
              s.date = "2012- | 
| 12 | 
            +
              s.date = "2012-10-27"
         | 
| 13 13 | 
             
              s.description = "Convenient diffing in ruby"
         | 
| 14 14 | 
             
              s.email = "sgrock@gmail.com"
         | 
| 15 15 | 
             
              s.extra_rdoc_files = [
         | 
| @@ -32,12 +32,13 @@ 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"
         | 
| 35 | 
            +
                "spec/diffy_spec.rb",
         | 
| 36 | 
            +
                "tags"
         | 
| 36 37 | 
             
              ]
         | 
| 37 38 | 
             
              s.homepage = "http://github.com/samg/diffy/tree/master"
         | 
| 38 39 | 
             
              s.rdoc_options = ["--inline-source", "--charset=UTF-8"]
         | 
| 39 40 | 
             
              s.require_paths = ["lib"]
         | 
| 40 | 
            -
              s.rubygems_version = "1.8. | 
| 41 | 
            +
              s.rubygems_version = "1.8.24"
         | 
| 41 42 | 
             
              s.summary = "A convenient way to diff string in ruby"
         | 
| 42 43 |  | 
| 43 44 | 
             
              if s.respond_to? :specification_version then
         | 
    
        data/lib/diffy/diff.rb
    CHANGED
    
    | @@ -115,11 +115,11 @@ module Diffy | |
| 115 115 | 
             
                private
         | 
| 116 116 |  | 
| 117 117 | 
             
                def diff_bin
         | 
| 118 | 
            -
                  bin  | 
| 119 | 
            -
                  if bin.empty?
         | 
| 118 | 
            +
                  @@bin ||= `which diff`.chomp
         | 
| 119 | 
            +
                  if @@bin.empty?
         | 
| 120 120 | 
             
                    raise "Can't find a diff executable in PATH #{ENV['PATH']}"
         | 
| 121 121 | 
             
                  end
         | 
| 122 | 
            -
                  bin
         | 
| 122 | 
            +
                  @@bin
         | 
| 123 123 | 
             
                end
         | 
| 124 124 |  | 
| 125 125 | 
             
              end
         | 
    
        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. | 
| 4 | 
            +
              version: 2.0.9
         | 
| 5 5 | 
             
              prerelease: 
         | 
| 6 6 | 
             
            platform: ruby
         | 
| 7 7 | 
             
            authors:
         | 
| @@ -9,11 +9,11 @@ authors: | |
| 9 9 | 
             
            autorequire: 
         | 
| 10 10 | 
             
            bindir: bin
         | 
| 11 11 | 
             
            cert_chain: []
         | 
| 12 | 
            -
            date: 2012- | 
| 12 | 
            +
            date: 2012-10-27 00:00:00.000000000 Z
         | 
| 13 13 | 
             
            dependencies:
         | 
| 14 14 | 
             
            - !ruby/object:Gem::Dependency
         | 
| 15 15 | 
             
              name: rspec
         | 
| 16 | 
            -
              requirement:  | 
| 16 | 
            +
              requirement: !ruby/object:Gem::Requirement
         | 
| 17 17 | 
             
                none: false
         | 
| 18 18 | 
             
                requirements:
         | 
| 19 19 | 
             
                - - ~>
         | 
| @@ -21,10 +21,15 @@ dependencies: | |
| 21 21 | 
             
                    version: '2.0'
         | 
| 22 22 | 
             
              type: :development
         | 
| 23 23 | 
             
              prerelease: false
         | 
| 24 | 
            -
              version_requirements:  | 
| 24 | 
            +
              version_requirements: !ruby/object:Gem::Requirement
         | 
| 25 | 
            +
                none: false
         | 
| 26 | 
            +
                requirements:
         | 
| 27 | 
            +
                - - ~>
         | 
| 28 | 
            +
                  - !ruby/object:Gem::Version
         | 
| 29 | 
            +
                    version: '2.0'
         | 
| 25 30 | 
             
            - !ruby/object:Gem::Dependency
         | 
| 26 31 | 
             
              name: rake
         | 
| 27 | 
            -
              requirement:  | 
| 32 | 
            +
              requirement: !ruby/object:Gem::Requirement
         | 
| 28 33 | 
             
                none: false
         | 
| 29 34 | 
             
                requirements:
         | 
| 30 35 | 
             
                - - ~>
         | 
| @@ -32,7 +37,12 @@ dependencies: | |
| 32 37 | 
             
                    version: 0.9.2
         | 
| 33 38 | 
             
              type: :development
         | 
| 34 39 | 
             
              prerelease: false
         | 
| 35 | 
            -
              version_requirements:  | 
| 40 | 
            +
              version_requirements: !ruby/object:Gem::Requirement
         | 
| 41 | 
            +
                none: false
         | 
| 42 | 
            +
                requirements:
         | 
| 43 | 
            +
                - - ~>
         | 
| 44 | 
            +
                  - !ruby/object:Gem::Version
         | 
| 45 | 
            +
                    version: 0.9.2
         | 
| 36 46 | 
             
            description: Convenient diffing in ruby
         | 
| 37 47 | 
             
            email: sgrock@gmail.com
         | 
| 38 48 | 
             
            executables: []
         | 
| @@ -80,7 +90,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement | |
| 80 90 | 
             
                  version: '0'
         | 
| 81 91 | 
             
            requirements: []
         | 
| 82 92 | 
             
            rubyforge_project: 
         | 
| 83 | 
            -
            rubygems_version: 1.8. | 
| 93 | 
            +
            rubygems_version: 1.8.24
         | 
| 84 94 | 
             
            signing_key: 
         | 
| 85 95 | 
             
            specification_version: 3
         | 
| 86 96 | 
             
            summary: A convenient way to diff string in ruby
         |