kdiff3 0.9.2 → 0.9.3

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: a995c8ef2e0491b96bc41cd7ef0d3e58cbc0b7db
4
- data.tar.gz: 2bf8b1b5dfc875b7b0041ee1d35b5a27849aaceb
3
+ metadata.gz: 52365cf659fb3fd8bca0b15cca2e6853f10dea8d
4
+ data.tar.gz: f5ae675033136ef25c4af34a142df66be96cc6c2
5
5
  SHA512:
6
- metadata.gz: ecb0903d170966fc3ad0c6ae1bbdbedac196c0c23fee5d35852b7042af615f808742da182b9e64d15610f22c1229b37b496929072ca3052951c1bbae354bfcb9
7
- data.tar.gz: 27dd3505ac62bc36803714fc33a836403a53e043fe514e9d4fd4db7fda0ae81c11f697f0044adcbca3167c8565576a90a867f8749a15d80e2496b7184eb2e384
6
+ metadata.gz: dcb80cfc208da8a50189e63e3e2684006e261c689ba9a67ad63ead35c20affbdd9dcef3fc6b8440620e9656ec70ae453d21b614af9498c67aa71ef5cc9530db4
7
+ data.tar.gz: db6c24056e1f409870d970773ece323b9b3db9ea7fee051c49ba276ba78b275d11f80e084ff2a9276d2165c1a8b0dcf7c91299c19622a725b6a7008b71fc437f
@@ -4,6 +4,10 @@ rvm:
4
4
  - "2.0"
5
5
  - "2.1"
6
6
  - ruby-head
7
+ before_script:
8
+ - cd ./ext/kdiff3 && ruby extconf.rb
9
+ # - gem build kdiff3.gemspec
10
+ # - gem install kdiff3-*
7
11
  script: "bundle exec rspec"
8
12
  addons:
9
13
  code_climate:
@@ -11,6 +15,4 @@ addons:
11
15
  branches:
12
16
  only: master
13
17
  notifications:
14
- email: false
15
- env:
16
- - USE_BIN_KDIFF3=true
18
+ email: false
@@ -1,8 +1,8 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- kdiff3 (0.9.1)
5
- activesupport
4
+ kdiff3 (0.9.2)
5
+ activesupport (>= 3.2)
6
6
 
7
7
  GEM
8
8
  remote: https://rubygems.org/
@@ -63,9 +63,9 @@ PLATFORMS
63
63
  ruby
64
64
 
65
65
  DEPENDENCIES
66
- awesome_print
67
- bundler
68
- codeclimate-test-reporter
66
+ awesome_print (>= 1.2)
67
+ bundler (>= 1.6.0)
68
+ codeclimate-test-reporter (>= 0.4.3)
69
69
  kdiff3!
70
- pry-byebug
71
- rspec
70
+ pry-byebug (>= 2.0.0)
71
+ rspec (>= 3.1.0)
data/README.md CHANGED
@@ -1,7 +1,7 @@
1
1
  KDiff3
2
2
  ========
3
3
 
4
- [![Gem Version](http://img.shields.io/gem/v/KDiff3.svg?style=flat-square)](http://badge.fury.io/rb/KDiff3)
4
+ [![Gem Version](http://img.shields.io/gem/v/kdiff3.svg?style=flat-square)](http://badge.fury.io/rb/kdiff3)
5
5
  [![Build Status](http://img.shields.io/travis/NullVoxPopuli/kdiff3-rb.svg?style=flat-square)](https://travis-ci.org/NullVoxPopuli/kdiff3-rb)
6
6
  [![Code Climate](http://img.shields.io/codeclimate/github/NullVoxPopuli/kdiff3-rb.svg?style=flat-square)](https://codeclimate.com/github/NullVoxPopuli/kdiff3-rb)
7
7
  [![Test Coverage](http://img.shields.io/codeclimate/coverage/github/NullVoxPopuli/kdiff3-rb.svg?style=flat-square)](https://codeclimate.com/github/NullVoxPopuli/kdiff3-rb)
@@ -12,11 +12,11 @@ Provides a simple way to utilize the power of [kdiff3 by Joachim Eibl](http://kd
12
12
 
13
13
  ## Installation
14
14
 
15
- gem install KDiff3
15
+ gem install kdiff3
16
16
 
17
17
  or
18
18
 
19
- gem 'KDiff3' # in your Gemfile
19
+ gem 'kdiff3' # in your Gemfile
20
20
 
21
21
  ## Examples
22
22
 
@@ -22,6 +22,7 @@ Gem::Specification.new do |s|
22
22
  s.require_paths = ["lib"]
23
23
 
24
24
  s.extensions = ['ext/kdiff3/extconf.rb']
25
+ s.requirements << 'libqt4-dev'
25
26
 
26
27
  s.required_ruby_version = '> 2.0'
27
28
 
@@ -109,33 +109,12 @@ module KDiff3
109
109
  path = "#{current_folder}/../ext/kdiff3/releaseQt/kdiff3"
110
110
 
111
111
  unless File.exist?(path)
112
- build_kdiff3
112
+ raise 'kdiff3 from NullVoxPopuli/kdiff3 was not sucessfully compiled.'
113
113
  end
114
114
 
115
115
  path
116
116
  end
117
117
 
118
- def self.build_kdiff3
119
- current_folder = File.dirname(__FILE__)
120
- kdiff3_repo_path = "#{current_folder}/../ext/kdiff3"
121
-
122
- if File.exist?(kdiff3_repo_path)
123
- %x(
124
- git pull # origin optionally-fail-on-conflict
125
- )
126
- else
127
- %x(
128
- git clone git@github.com:NullVoxPopuli/kdiff3.git #{kdiff3_repo_path}
129
- cd #{kdiff3_repo_path} && git checkout optionally-fail-on-conflict
130
- )
131
- end
132
-
133
- # build
134
- %x(
135
- cd #{kdiff3_repo_path} && ./configure qt4
136
- )
137
- end
138
-
139
118
  # add newlines after every tag, and every character
140
119
  def self.add_new_lines(text)
141
120
  text = self.add_new_lines_to_non_tags(text)
@@ -1,3 +1,3 @@
1
1
  module KDiff3
2
- VERSION = "0.9.2"
2
+ VERSION = "0.9.3"
3
3
  end
@@ -1,15 +1,6 @@
1
1
  require 'spec_helper'
2
2
 
3
3
  describe KDiff3 do
4
- before(:each) do
5
- if ENV['USE_BIN_KDIFF3']
6
- current_folder = File.dirname(__FILE__)
7
- # may only work on Ubuntu 14.04?
8
- kdiff3_bin_path = "#{current_folder}/../bin/kdiff3"
9
- allow(KDiff3).to receive(:kdiff3_path).and_return(kdiff3_bin_path)
10
- end
11
- end
12
-
13
4
 
14
5
  describe 'merge' do
15
6
  it { expect{KDiff3.merge}.to raise_error(ArgumentError) }
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: kdiff3
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.9.2
4
+ version: 0.9.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - L. Preston Sego III
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-12-10 00:00:00.000000000 Z
11
+ date: 2014-12-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport
@@ -96,8 +96,7 @@ dependencies:
96
96
  version: 0.4.3
97
97
  description: Ruby wrapper for the kdiff3 mergetool
98
98
  email: LPSego3+dev@gmail.com
99
- executables:
100
- - kdiff3
99
+ executables: []
101
100
  extensions:
102
101
  - ext/kdiff3/extconf.rb
103
102
  extra_rdoc_files: []
@@ -110,7 +109,6 @@ files:
110
109
  - LICENSE
111
110
  - README.md
112
111
  - Rakefile
113
- - bin/kdiff3
114
112
  - ext/kdiff3/AUTHORS
115
113
  - ext/kdiff3/CMakeLists.txt
116
114
  - ext/kdiff3/COPYING
@@ -593,12 +591,13 @@ required_rubygems_version: !ruby/object:Gem::Requirement
593
591
  - - ">="
594
592
  - !ruby/object:Gem::Version
595
593
  version: '0'
596
- requirements: []
594
+ requirements:
595
+ - libqt4-dev
597
596
  rubyforge_project:
598
- rubygems_version: 2.2.2
597
+ rubygems_version: 2.4.3
599
598
  signing_key:
600
599
  specification_version: 4
601
- summary: kdiff3-0.9.2
600
+ summary: kdiff3-0.9.3
602
601
  test_files:
603
602
  - spec/kdiff3_spec.rb
604
603
  - spec/spec_helper.rb
data/bin/kdiff3 DELETED
Binary file