blufin-lib 1.5.3 → 1.5.8
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/blufin-lib.rb +0 -1
- data/lib/version.rb +1 -1
- metadata +61 -6
- data/lib/core/browser.rb +0 -30
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 11a37b4dd9c7bc92fe6b24a01136f7be4debe2fc
|
4
|
+
data.tar.gz: 8fb78cf471b5b1c7793aef3bc29d6896ad90972b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 841b44c0cf6429a16e0f8cffeec8ab3b8bd0bcc18d4ca95df1c110be44fb0d9081c6b289ff91a137e7d22ed9414d60042b68cada20e64697fa95ebd09a487668
|
7
|
+
data.tar.gz: c59e30b6c07749f2ae487d83e09aed5ab65754ec1cee6e04338390bc880c28ee88dbdf839e651555c542c2a7ec9a7bd196d643dea3358a8e9ce485f9eb8b15d3
|
data/lib/blufin-lib.rb
CHANGED
data/lib/version.rb
CHANGED
@@ -1 +1 @@
|
|
1
|
-
BLUFIN_LIB_VERSION = '1.5.
|
1
|
+
BLUFIN_LIB_VERSION = '1.5.8'
|
metadata
CHANGED
@@ -1,29 +1,29 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: blufin-lib
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.5.
|
4
|
+
version: 1.5.8
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Albert Rannetsperger
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-08-
|
11
|
+
date: 2019-08-09 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
|
-
name:
|
14
|
+
name: highline
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
17
|
- - '='
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version:
|
19
|
+
version: 1.7.8
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
24
|
- - '='
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version:
|
26
|
+
version: 1.7.8
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: json
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
@@ -38,6 +38,34 @@ dependencies:
|
|
38
38
|
- - '='
|
39
39
|
- !ruby/object:Gem::Version
|
40
40
|
version: 2.1.0
|
41
|
+
- !ruby/object:Gem::Dependency
|
42
|
+
name: kwalify
|
43
|
+
requirement: !ruby/object:Gem::Requirement
|
44
|
+
requirements:
|
45
|
+
- - '='
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
version: 0.7.2
|
48
|
+
type: :runtime
|
49
|
+
prerelease: false
|
50
|
+
version_requirements: !ruby/object:Gem::Requirement
|
51
|
+
requirements:
|
52
|
+
- - '='
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: 0.7.2
|
55
|
+
- !ruby/object:Gem::Dependency
|
56
|
+
name: mini_magick
|
57
|
+
requirement: !ruby/object:Gem::Requirement
|
58
|
+
requirements:
|
59
|
+
- - '='
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: 4.9.3
|
62
|
+
type: :runtime
|
63
|
+
prerelease: false
|
64
|
+
version_requirements: !ruby/object:Gem::Requirement
|
65
|
+
requirements:
|
66
|
+
- - '='
|
67
|
+
- !ruby/object:Gem::Version
|
68
|
+
version: 4.9.3
|
41
69
|
- !ruby/object:Gem::Dependency
|
42
70
|
name: openssl
|
43
71
|
requirement: !ruby/object:Gem::Requirement
|
@@ -52,6 +80,34 @@ dependencies:
|
|
52
80
|
- - '='
|
53
81
|
- !ruby/object:Gem::Version
|
54
82
|
version: 2.0.0
|
83
|
+
- !ruby/object:Gem::Dependency
|
84
|
+
name: parseconfig
|
85
|
+
requirement: !ruby/object:Gem::Requirement
|
86
|
+
requirements:
|
87
|
+
- - '='
|
88
|
+
- !ruby/object:Gem::Version
|
89
|
+
version: 1.0.8
|
90
|
+
type: :runtime
|
91
|
+
prerelease: false
|
92
|
+
version_requirements: !ruby/object:Gem::Requirement
|
93
|
+
requirements:
|
94
|
+
- - '='
|
95
|
+
- !ruby/object:Gem::Version
|
96
|
+
version: 1.0.8
|
97
|
+
- !ruby/object:Gem::Dependency
|
98
|
+
name: rouge
|
99
|
+
requirement: !ruby/object:Gem::Requirement
|
100
|
+
requirements:
|
101
|
+
- - '='
|
102
|
+
- !ruby/object:Gem::Version
|
103
|
+
version: 3.4.1
|
104
|
+
type: :runtime
|
105
|
+
prerelease: false
|
106
|
+
version_requirements: !ruby/object:Gem::Requirement
|
107
|
+
requirements:
|
108
|
+
- - '='
|
109
|
+
- !ruby/object:Gem::Version
|
110
|
+
version: 3.4.1
|
55
111
|
- !ruby/object:Gem::Dependency
|
56
112
|
name: tty-prompt
|
57
113
|
requirement: !ruby/object:Gem::Requirement
|
@@ -89,7 +145,6 @@ files:
|
|
89
145
|
- lib/blufin-lib.rb
|
90
146
|
- lib/core/arrays.rb
|
91
147
|
- lib/core/base.rb
|
92
|
-
- lib/core/browser.rb
|
93
148
|
- lib/core/config.rb
|
94
149
|
- lib/core/datetime_utils.rb
|
95
150
|
- lib/core/encryptor.rb
|
data/lib/core/browser.rb
DELETED
@@ -1,30 +0,0 @@
|
|
1
|
-
require 'watir-webdriver'
|
2
|
-
|
3
|
-
module Blufin
|
4
|
-
|
5
|
-
class Browser
|
6
|
-
|
7
|
-
# Get a Watir Browser object.
|
8
|
-
# @return [Watir::Browser]
|
9
|
-
def self.get(headless = false)
|
10
|
-
|
11
|
-
# Set the path to phantomjs executable
|
12
|
-
Selenium::WebDriver::PhantomJS.path = '/usr/local/bin/phantomjs'
|
13
|
-
|
14
|
-
browser = Watir::Browser.new (headless ? :phantomjs : :chrome), :switches => %w(--ignore-certificate-errors --test-type)
|
15
|
-
|
16
|
-
width = 1440
|
17
|
-
height = 2000
|
18
|
-
x = 0
|
19
|
-
y = -0
|
20
|
-
|
21
|
-
browser.window.move_to(x, y)
|
22
|
-
browser.window.resize_to(width, height)
|
23
|
-
browser.window.use
|
24
|
-
browser
|
25
|
-
|
26
|
-
end
|
27
|
-
|
28
|
-
end
|
29
|
-
|
30
|
-
end
|