capybara-screenshot 1.0.20 → 1.0.21

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: 8b4528fe18542217f5e612e18079cf7064306e55
4
- data.tar.gz: bb49b402ac3866551d08ff84ae679a5d013bad99
3
+ metadata.gz: 2839e0fb312bb63dc21c79ccc62cf03e1f0c2108
4
+ data.tar.gz: 1b35c96876b2fa3f13e2e582ad15c334225b4e9e
5
5
  SHA512:
6
- metadata.gz: 82f8f3aa1001acf169c44f38920299737d88880eec9cf18406af1ae66d3c47fdbf22ac161f14ab77b3e2853bc0658888ea10e26d092ef22d097185af735a6b31
7
- data.tar.gz: ed3f9b017ea19ecd45ea0ab168a68f05d709f636e9b11b4cc6272c895b28165d30044a122945665a5ddcd7671bff28a01c1acde706fdb291df10620be1aee3ba
6
+ metadata.gz: 0a381fbb702a47367f84b50a93391e885c8fbb3650dfb8f8efa3f4064dd06ffcdf85251ebc175fb7ffdce6ac2134110da1f993076cf441a8b9bc52c1e0c7d3ef
7
+ data.tar.gz: 3a991f0ba8200bb4452b43e5024c6f293eefc81c5cccda07c628da3311d786b61101de4c9c6d489a68bc4489a2da3cee72f5def87885f82b3282a269fd5ce591
@@ -1,3 +1,7 @@
1
+ 03 May 2018 - 1.0.20 -> 1.0.21
2
+
3
+ * [Bug fix: Fix Ruby version compares in Gemspec](https://github.com/mattheworiordan/capybara-screenshot/pull/231)
4
+
1
5
  03 May 2018 - 1.0.19 -> 1.0.20
2
6
 
3
7
  * [Bug fix: Only take screenshots for feature tests](https://github.com/mattheworiordan/capybara-screenshot/pull/223)
@@ -15,11 +15,14 @@ Gem::Specification.new do |s|
15
15
 
16
16
  s.rubyforge_project = "capybara-screenshot"
17
17
 
18
- if RUBY_VERSION < "1.9"
18
+ if Gem::Version.new(RUBY_VERSION) < Gem::Version.new("1.9")
19
19
  s.add_dependency 'capybara', ['>= 1.0', '< 2']
20
+ elsif Gem::Version.new(RUBY_VERSION) <= Gem::Version.new("2.2.2")
21
+ s.add_dependency 'capybara', ['>= 1.0', '< 3']
20
22
  else
21
23
  s.add_dependency 'capybara', ['>= 1.0', '< 4']
22
24
  end
25
+
23
26
  s.add_dependency 'launchy'
24
27
 
25
28
  s.add_development_dependency 'rspec'
@@ -1,5 +1,5 @@
1
1
  module Capybara
2
2
  module Screenshot
3
- VERSION = '1.0.20'
3
+ VERSION = '1.0.21'
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: capybara-screenshot
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.20
4
+ version: 1.0.21
5
5
  platform: ruby
6
6
  authors:
7
7
  - Matthew O'Riordan