superbot-cloud 0.3.7 → 0.3.8
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +7 -7
- data/lib/superbot/cloud/version.rb +1 -1
- data/lib/superbot/cloud/web.rb +3 -1
- data/superbot-cloud.gemspec +1 -1
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a51d59110247a7515f0c77aa56c4fc2bdb7b1ea62268a0c42dcbf14b046c908f
|
4
|
+
data.tar.gz: 81b5added97b985841586070c71df3340a9467ed0a34e67b67808501c09cfacf
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b75b8a5d54c5ac66aa49dbfa2438f3bce303b38cf8200ccf6307c0d4dc027848b8a734135223a4594c09fb61af82ea48da33659661937bebb40a3da60d6fc761
|
7
|
+
data.tar.gz: babe5c338390230060280da0400f6337ccf5954d751f15d6098f4056746521f46718b36c2b83d9812a093d6adaaabfa5afdbac29be2cf56821c90d04bea1440d
|
data/Gemfile.lock
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
superbot-cloud (0.3.
|
4
|
+
superbot-cloud (0.3.8)
|
5
5
|
marcel (= 0.3.3)
|
6
6
|
multipart-post (= 2.0.0)
|
7
7
|
|
@@ -33,7 +33,7 @@ GEM
|
|
33
33
|
mini_portile2 (2.4.0)
|
34
34
|
multipart-post (2.0.0)
|
35
35
|
mustermann (1.0.3)
|
36
|
-
nokogiri (1.10.
|
36
|
+
nokogiri (1.10.2)
|
37
37
|
mini_portile2 (~> 2.4.0)
|
38
38
|
parallel (1.12.1)
|
39
39
|
parser (2.5.1.2)
|
@@ -77,17 +77,17 @@ GEM
|
|
77
77
|
rack-protection (= 2.0.5)
|
78
78
|
tilt (~> 2.0)
|
79
79
|
sinatra-silent (0.0.1)
|
80
|
-
superbot (0.
|
80
|
+
superbot (0.5.0)
|
81
81
|
clamp (= 1.2.1)
|
82
82
|
kommando (= 0.1.2)
|
83
83
|
launchy (= 2.4.3)
|
84
84
|
sinatra (= 2.0.5)
|
85
85
|
sinatra-silent (= 0.0.1)
|
86
|
-
superbot-cloud (= 0.3.
|
86
|
+
superbot-cloud (= 0.3.7)
|
87
87
|
superbot-record (= 0.1.0)
|
88
88
|
superbot-runner (= 0.1.3)
|
89
89
|
superbot-selenium-webdriver (= 1.0.5)
|
90
|
-
superbot-teleport (= 0.3.
|
90
|
+
superbot-teleport (= 0.3.7)
|
91
91
|
zaru (= 0.2.0)
|
92
92
|
superbot-record (0.1.0)
|
93
93
|
superbot-record-chrome
|
@@ -98,7 +98,7 @@ GEM
|
|
98
98
|
superbot-selenium-webdriver (1.0.5)
|
99
99
|
chromedriver-helper (= 2.1.0)
|
100
100
|
selenium-webdriver (= 3.141.0)
|
101
|
-
superbot-teleport (0.3.
|
101
|
+
superbot-teleport (0.3.7)
|
102
102
|
excon
|
103
103
|
tilt (2.0.9)
|
104
104
|
unicode-display_width (1.4.0)
|
@@ -112,7 +112,7 @@ DEPENDENCIES
|
|
112
112
|
rake (~> 10.0)
|
113
113
|
rspec (~> 3.0)
|
114
114
|
rubocop (~> 0.53)
|
115
|
-
superbot (~> 0.
|
115
|
+
superbot (~> 0.5.0)
|
116
116
|
superbot-cloud!
|
117
117
|
|
118
118
|
BUNDLED WITH
|
data/lib/superbot/cloud/web.rb
CHANGED
@@ -5,12 +5,14 @@ module Superbot
|
|
5
5
|
module Web
|
6
6
|
def self.registered(sinatra)
|
7
7
|
sinatra.get "/login" do
|
8
|
-
credentials = request.params.slice(
|
8
|
+
credentials = request.params.slice('username', 'email', 'token', 'organization')
|
9
9
|
Superbot::Cloud.save_credentials(credentials)
|
10
|
+
puts "Logged in as #{credentials[:username]} (#{credentials[:email]})"
|
10
11
|
redirect "#{Superbot::Cloud::LOGIN_URI}/success"
|
11
12
|
end
|
12
13
|
|
13
14
|
sinatra.after "/login" do
|
15
|
+
sleep 1
|
14
16
|
sinatra.quit!
|
15
17
|
end
|
16
18
|
end
|
data/superbot-cloud.gemspec
CHANGED
@@ -36,7 +36,7 @@ Gem::Specification.new do |spec|
|
|
36
36
|
spec.add_runtime_dependency "multipart-post", "2.0.0"
|
37
37
|
spec.add_runtime_dependency "marcel", "0.3.3"
|
38
38
|
|
39
|
-
spec.add_development_dependency "superbot", "~> 0.
|
39
|
+
spec.add_development_dependency "superbot", "~> 0.5.0"
|
40
40
|
spec.add_development_dependency "bundler", "~> 1.16"
|
41
41
|
spec.add_development_dependency "rake", "~> 10.0"
|
42
42
|
spec.add_development_dependency "rspec", "~> 3.0"
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: superbot-cloud
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.3.
|
4
|
+
version: 0.3.8
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Superbots
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-03-
|
11
|
+
date: 2019-03-27 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: multipart-post
|
@@ -44,14 +44,14 @@ dependencies:
|
|
44
44
|
requirements:
|
45
45
|
- - "~>"
|
46
46
|
- !ruby/object:Gem::Version
|
47
|
-
version: 0.
|
47
|
+
version: 0.5.0
|
48
48
|
type: :development
|
49
49
|
prerelease: false
|
50
50
|
version_requirements: !ruby/object:Gem::Requirement
|
51
51
|
requirements:
|
52
52
|
- - "~>"
|
53
53
|
- !ruby/object:Gem::Version
|
54
|
-
version: 0.
|
54
|
+
version: 0.5.0
|
55
55
|
- !ruby/object:Gem::Dependency
|
56
56
|
name: bundler
|
57
57
|
requirement: !ruby/object:Gem::Requirement
|