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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: c0aa110efb6b2461e13d5c07bcc72c1583c70ca04bd95a3042f0a1f50ca3c17f
4
- data.tar.gz: 1788fa4c2afd302f7fff8e65eb36801c9d7068f319ae6efff00390174d86ac1f
3
+ metadata.gz: a51d59110247a7515f0c77aa56c4fc2bdb7b1ea62268a0c42dcbf14b046c908f
4
+ data.tar.gz: 81b5added97b985841586070c71df3340a9467ed0a34e67b67808501c09cfacf
5
5
  SHA512:
6
- metadata.gz: 663e79dbfdd2e93ad9b9312a924d64b94bc9eb1199aa675f7e8a9f7dd8c59eb9d3a18e3ee1e3f2f6242fd60cd7822edf5ce9f1271f52d0a732166b9af1c4a784
7
- data.tar.gz: ee8305b49ac998a948ebaaa55dc0cd264f30fc4569298a160d11efcbceacecdbd1221c68eea5ea54e63c1be6080a3b70e74c3d517dde5c0278126c36f592e56f
6
+ metadata.gz: b75b8a5d54c5ac66aa49dbfa2438f3bce303b38cf8200ccf6307c0d4dc027848b8a734135223a4594c09fb61af82ea48da33659661937bebb40a3da60d6fc761
7
+ data.tar.gz: babe5c338390230060280da0400f6337ccf5954d751f15d6098f4056746521f46718b36c2b83d9812a093d6adaaabfa5afdbac29be2cf56821c90d04bea1440d
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- superbot-cloud (0.3.7)
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.1)
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.4.6)
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.4)
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.4)
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.4)
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.4.6)
115
+ superbot (~> 0.5.0)
116
116
  superbot-cloud!
117
117
 
118
118
  BUNDLED WITH
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Superbot
4
4
  module Cloud
5
- VERSION = "0.3.7"
5
+ VERSION = "0.3.8"
6
6
  end
7
7
  end
@@ -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(*%w[username email token organization])
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
@@ -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.4.6"
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.7
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-07 00:00:00.000000000 Z
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.4.6
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.4.6
54
+ version: 0.5.0
55
55
  - !ruby/object:Gem::Dependency
56
56
  name: bundler
57
57
  requirement: !ruby/object:Gem::Requirement