symilaa 0.0.9 → 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -77,12 +77,12 @@ module Symilaa
77
77
  %w[chrome ie7 ie8 ie9].include? ENV['REQUIRED_BROWSER']
78
78
  end
79
79
 
80
- def chrome_or_firefox_3_5?
81
- browser_name == 'chrome' or (browser_name == 'firefox' and browser_version == '3.5')
80
+ def chrome_or_firefox?
81
+ %w[chrome firefox].include? browser_name
82
82
  end
83
83
 
84
84
  def version_if_required
85
- "_#{browser_info.version.gsub('.', '-')}" if chrome_or_firefox_3_5?
85
+ "_#{browser_info.version.gsub('.', '-')}" unless chrome_or_firefox?
86
86
  end
87
87
 
88
88
  def reference_screenshots
@@ -1,3 +1,3 @@
1
1
  module Symilaa
2
- VERSION = "0.0.9"
2
+ VERSION = "0.1.0"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: symilaa
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.9
4
+ version: 0.1.0
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -13,7 +13,7 @@ date: 2012-11-15 00:00:00.000000000Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: minitest
16
- requirement: &23681740 !ruby/object:Gem::Requirement
16
+ requirement: &17918240 !ruby/object:Gem::Requirement
17
17
  none: false
18
18
  requirements:
19
19
  - - ! '>='
@@ -21,10 +21,10 @@ dependencies:
21
21
  version: '0'
22
22
  type: :development
23
23
  prerelease: false
24
- version_requirements: *23681740
24
+ version_requirements: *17918240
25
25
  - !ruby/object:Gem::Dependency
26
26
  name: guard-minitest
27
- requirement: &23681080 !ruby/object:Gem::Requirement
27
+ requirement: &17917760 !ruby/object:Gem::Requirement
28
28
  none: false
29
29
  requirements:
30
30
  - - ! '>='
@@ -32,10 +32,10 @@ dependencies:
32
32
  version: '0'
33
33
  type: :development
34
34
  prerelease: false
35
- version_requirements: *23681080
35
+ version_requirements: *17917760
36
36
  - !ruby/object:Gem::Dependency
37
37
  name: rake
38
- requirement: &23680580 !ruby/object:Gem::Requirement
38
+ requirement: &17917160 !ruby/object:Gem::Requirement
39
39
  none: false
40
40
  requirements:
41
41
  - - ! '>='
@@ -43,10 +43,10 @@ dependencies:
43
43
  version: '0'
44
44
  type: :development
45
45
  prerelease: false
46
- version_requirements: *23680580
46
+ version_requirements: *17917160
47
47
  - !ruby/object:Gem::Dependency
48
48
  name: rb-inotify
49
- requirement: &23680040 !ruby/object:Gem::Requirement
49
+ requirement: &17133140 !ruby/object:Gem::Requirement
50
50
  none: false
51
51
  requirements:
52
52
  - - ! '>='
@@ -54,10 +54,10 @@ dependencies:
54
54
  version: '0'
55
55
  type: :development
56
56
  prerelease: false
57
- version_requirements: *23680040
57
+ version_requirements: *17133140
58
58
  - !ruby/object:Gem::Dependency
59
59
  name: rmagick
60
- requirement: &23679500 !ruby/object:Gem::Requirement
60
+ requirement: &17132660 !ruby/object:Gem::Requirement
61
61
  none: false
62
62
  requirements:
63
63
  - - ! '>='
@@ -65,7 +65,7 @@ dependencies:
65
65
  version: '0'
66
66
  type: :runtime
67
67
  prerelease: false
68
- version_requirements: *23679500
68
+ version_requirements: *17132660
69
69
  description: ! "Using the wonders of RMagick, this wonderful gem will produce a boolean
70
70
  result based on the computed similarity\n of the two images passed."
71
71
  email:
@@ -113,7 +113,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
113
113
  version: '0'
114
114
  segments:
115
115
  - 0
116
- hash: 1356137964127070903
116
+ hash: 1101522210296210135
117
117
  required_rubygems_version: !ruby/object:Gem::Requirement
118
118
  none: false
119
119
  requirements:
@@ -122,7 +122,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
122
122
  version: '0'
123
123
  segments:
124
124
  - 0
125
- hash: 1356137964127070903
125
+ hash: 1101522210296210135
126
126
  requirements: []
127
127
  rubyforge_project: symilaa
128
128
  rubygems_version: 1.8.10