csexton-captured 0.1.8 → 0.1.10

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2) hide show
  1. data/lib/captured.rb +1 -1
  2. metadata +1 -1
data/lib/captured.rb CHANGED
@@ -7,7 +7,7 @@ class Captured
7
7
  end
8
8
 
9
9
  def self.guess_watch_path
10
- if `sw_vers | awk '/ProductVersion:/ {print $2}'`.strip.start_with? "10.5"
10
+ if `sw_vers | awk '/ProductVersion:/ {print $2}'` =~ /10\.5/
11
11
  "Picture**.png"
12
12
  else
13
13
  "Screenshot**.png"
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: csexton-captured
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.8
4
+ version: 0.1.10
5
5
  platform: ruby
6
6
  authors:
7
7
  - Christopher Sexton