girbot 0.2.2 → 0.2.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.dockerignore +2 -0
- data/Dockerfile +1 -1
- data/Rakefile +4 -0
- data/lib/girbot/step_foundation.rb +1 -1
- data/lib/girbot/version.rb +1 -1
- data/lib/girbot/watir_shortcuts.rb +2 -1
- metadata +3 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2b649845aa9a8efd679922abd8870568d525afc0
|
4
|
+
data.tar.gz: 2edc942ea51ab8f075fe30079aa3e468549701e6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c7dcdee0949916d3f879a2092a5b45de706669d94b6f7608b3efd1345e945e32ada78c622dd45814c99103236662567daa8c6e97287a325a90828a8fe4389f3e
|
7
|
+
data.tar.gz: c38371a4c4ce19777f3ceab64285483541ab80a200fc15a76f26a7d8b8af58d22ddb34a985f49324f09d8289ed365c0dae8dce7154096ba7d71315e9eddcfb3e
|
data/.dockerignore
ADDED
data/Dockerfile
CHANGED
data/Rakefile
CHANGED
data/lib/girbot/version.rb
CHANGED
@@ -54,7 +54,8 @@ module Girbot
|
|
54
54
|
end
|
55
55
|
|
56
56
|
def screenshot(label, preview = false)
|
57
|
-
|
57
|
+
timestamp = Time.now.strftime("%F %T")
|
58
|
+
result = browser.screenshot.save "screenshots/#{label}-#{timestamp}.png"
|
58
59
|
if preview
|
59
60
|
pid = spawn("xdg-open #{result.path}")
|
60
61
|
Process.detach(pid)
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: girbot
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Cristian Mircea Messel
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-
|
11
|
+
date: 2018-11-23 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -130,6 +130,7 @@ executables: []
|
|
130
130
|
extensions: []
|
131
131
|
extra_rdoc_files: []
|
132
132
|
files:
|
133
|
+
- ".dockerignore"
|
133
134
|
- ".gitignore"
|
134
135
|
- ".rspec"
|
135
136
|
- ".ruby-gemset"
|