symilaa 0.2.0 → 0.2.1
Sign up to get free protection for your applications and to get access to all the features.
- data/README.md +3 -3
- data/lib/symilaa/comparison_support.rb +3 -3
- data/lib/symilaa/version.rb +1 -1
- metadata +13 -13
data/README.md
CHANGED
@@ -9,9 +9,9 @@ With Symilaa, this is particularly easy.
|
|
9
9
|
----------------
|
10
10
|
|
11
11
|
```ruby
|
12
|
-
one = Symilaa::
|
13
|
-
two = Symilaa::
|
14
|
-
three = Symilaa::
|
12
|
+
one = Symilaa::Image.new 'image.png'
|
13
|
+
two = Symilaa::Image.new 'slightly_different_image.png'
|
14
|
+
three = Symilaa::Image.new 'very_different_image.png'
|
15
15
|
|
16
16
|
one == one
|
17
17
|
#=> true
|
@@ -75,12 +75,12 @@ module Symilaa
|
|
75
75
|
%w[chrome ie7 ie8 ie9].include? ENV['REQUIRED_BROWSER']
|
76
76
|
end
|
77
77
|
|
78
|
-
def
|
79
|
-
%w[chrome firefox].include? browser_name
|
78
|
+
def auto_updating_browser?
|
79
|
+
%w[chrome firefox safari].include? browser_name
|
80
80
|
end
|
81
81
|
|
82
82
|
def version_if_required
|
83
|
-
"_#{browser_info.version.gsub('.', '-')}" unless
|
83
|
+
"_#{browser_info.version.gsub('.', '-')}" unless auto_updating_browser?
|
84
84
|
end
|
85
85
|
|
86
86
|
def reference_screenshots
|
data/lib/symilaa/version.rb
CHANGED
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.2.
|
4
|
+
version: 0.2.1
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -13,7 +13,7 @@ date: 2012-11-16 00:00:00.000000000Z
|
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: minitest
|
16
|
-
requirement: &
|
16
|
+
requirement: &10350820 !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: *
|
24
|
+
version_requirements: *10350820
|
25
25
|
- !ruby/object:Gem::Dependency
|
26
26
|
name: guard-minitest
|
27
|
-
requirement: &
|
27
|
+
requirement: &10347080 !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: *
|
35
|
+
version_requirements: *10347080
|
36
36
|
- !ruby/object:Gem::Dependency
|
37
37
|
name: rake
|
38
|
-
requirement: &
|
38
|
+
requirement: &10346600 !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: *
|
46
|
+
version_requirements: *10346600
|
47
47
|
- !ruby/object:Gem::Dependency
|
48
48
|
name: rb-inotify
|
49
|
-
requirement: &
|
49
|
+
requirement: &10346020 !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: *
|
57
|
+
version_requirements: *10346020
|
58
58
|
- !ruby/object:Gem::Dependency
|
59
59
|
name: rmagick
|
60
|
-
requirement: &
|
60
|
+
requirement: &10345500 !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: *
|
68
|
+
version_requirements: *10345500
|
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:
|
116
|
+
hash: 1420664103671419736
|
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:
|
125
|
+
hash: 1420664103671419736
|
126
126
|
requirements: []
|
127
127
|
rubyforge_project: symilaa
|
128
128
|
rubygems_version: 1.8.10
|