screenpress 0.1.0 → 0.1.1

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: 60b8533d92e4bd76d766d8edf7c19c1d632daade
4
- data.tar.gz: 9714f31a961652e8721eaad4db9a7fb94de3f66c
3
+ metadata.gz: 0e788d87ac38505a9a4a0a18c763ed7b90090510
4
+ data.tar.gz: 700ac9fd342eb0a9f471813840eaf65b6b5c87a0
5
5
  SHA512:
6
- metadata.gz: 0bde0c099aae02852676f5e45c342b4f74323cc20635e5bbadc3a9c7c97c08a251566d0a3c5908f1d44680499ba2a849f2632cda383306e4b6405d2f81b0286c
7
- data.tar.gz: cae85ae2c530f8be666521424907c6e5bb8baaed8a6d1b5300ca6815a15f608960395f3bbdbd7ebe17e7dbae68aef80c31d5ab0dce02c09b681a762bfbeb826a
6
+ metadata.gz: cafa83682004a4c115dbaa6417d5628cb7c69396a154f68bb6af49e4e584cba612d54560393bbec33e00f301e4bc769da1c978ab7a1a398a1618e4f9b74bda33
7
+ data.tar.gz: 1bfeca9e8bcdc5b4b72f3144fc3c98bc59ae6edad94874795ffbca383643783ff8dd4df240255b949cfa0233db33808baf518b337ddaf19151246d53dff67bb3
@@ -3,11 +3,9 @@ module Screenpress
3
3
  def screenpress(relative_filename)
4
4
  return true unless Screenpress.config.enabled?
5
5
 
6
+ relative_filename << ".png"
6
7
  filename = Screenpress.config.full_path.join(relative_filename)
7
8
 
8
- # TODO: see if have extension
9
- filename << ".png"
10
-
11
9
  saver = Screenpress::Saver.new(filename.to_s, Capybara, Capybara.page)
12
10
  saver.save
13
11
  end
@@ -1,3 +1,3 @@
1
1
  module Screenpress
2
- VERSION = "0.1.0"
2
+ VERSION = "0.1.1"
3
3
  end
data/screenpress.gemspec CHANGED
@@ -10,7 +10,7 @@ Gem::Specification.new do |spec|
10
10
  spec.email = ["brian@bleonard.com"]
11
11
  spec.description = %q{Workflow and Capybara extension that takes screenshots of your tests to prevent visual regressions}
12
12
  spec.summary = %q{Prevent visual regressions}
13
- spec.homepage = ""
13
+ spec.homepage = "https://github.com/taskrabbit/screenpress"
14
14
  spec.license = "MIT"
15
15
 
16
16
  spec.files = `git ls-files`.split($/)
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: screenpress
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Brian Leonard
@@ -104,7 +104,7 @@ files:
104
104
  - spec/dsl_spec.rb
105
105
  - spec/saver_spec.rb
106
106
  - spec/spec_helper.rb
107
- homepage: ''
107
+ homepage: https://github.com/taskrabbit/screenpress
108
108
  licenses:
109
109
  - MIT
110
110
  metadata: {}