dotdiff 2.0.1 → 2.0.2

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: 0d524e752bafd1f58da2dc715ff71555b708a848
4
- data.tar.gz: 1616f6f64e65fbd3905f91964943516481841e1e
3
+ metadata.gz: 30178eeafe6748ec2b768e6c4ccc683c1da4ff62
4
+ data.tar.gz: 0c09b813bd34df6e917616c1e0a94ffe4e163cbe
5
5
  SHA512:
6
- metadata.gz: e376ea5a1de12c98949172d62386e3cdbef1f86749cf9032601c19cd99737787ca93d0d874b8913cb144a99b7e82e0a8fc630f6560c4595579bc5bd5b4ae6143
7
- data.tar.gz: 3e55e965c54ee5ff58ef6917d3f350711fd4d5ba20567a65258e9f819ec5bc3a7ac57443ccb9409e7eb07af5e3f28176a69e152aa7fa4534daa53c1232e9ec72
6
+ metadata.gz: 37942f613415420d4ae63edb38d0b8b7cac3a79a67a6ddf744576ec446acc01af0d1359aa29d552a4b4887038a2ea3cba2c6ac821606fcb58518465a1ab111b9
7
+ data.tar.gz: 3f0561fbe81cec487e4fddd433013b9b7f9310bd380951ffbd6dece6deda5254aee33b35f02224a71d20a4a0a7192c7b9a73333825abc84fbe3bfdf478d9c750
@@ -3,11 +3,14 @@ lib = File.expand_path('../lib', __FILE__)
3
3
  $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
4
  require 'dotdiff/version'
5
5
 
6
+ is_java = RUBY_PLATFORM == 'java'
7
+
6
8
  Gem::Specification.new do |spec|
7
9
  spec.name = "dotdiff"
8
10
  spec.version = DotDiff::VERSION
9
11
  spec.authors = ["Jon Normington"]
10
12
  spec.email = ["jnormington@users.noreply.github.com"]
13
+ spec.platform = 'java' if is_java
11
14
 
12
15
  spec.summary = "Preceptual diff wrapper for capybara and rspec image regression specs"
13
16
  spec.description = [spec.summary, "which is great for graphs and charts where checking"\
@@ -20,7 +23,7 @@ Gem::Specification.new do |spec|
20
23
  spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
21
24
  spec.require_paths = ["lib"]
22
25
 
23
- if RUBY_PLATFORM == 'java'
26
+ if is_java
24
27
  spec.add_runtime_dependency "rmagick4j", '~> 0.4.0'
25
28
  else
26
29
  spec.add_runtime_dependency "rmagick", '~> 2.15'
@@ -1,3 +1,3 @@
1
1
  module DotDiff
2
- VERSION = "2.0.1"
2
+ VERSION = "2.0.2"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dotdiff
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.1
4
+ version: 2.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jon Normington
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2017-05-07 00:00:00.000000000 Z
11
+ date: 2017-06-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rmagick
@@ -127,7 +127,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
127
127
  version: '0'
128
128
  requirements: []
129
129
  rubyforge_project:
130
- rubygems_version: 2.6.8
130
+ rubygems_version: 2.6.12
131
131
  signing_key:
132
132
  specification_version: 4
133
133
  summary: Preceptual diff wrapper for capybara and rspec image regression specs