superbot-cloud 0.1.6 → 0.1.7

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: e4fd360d056c4207ce537a2d7d37d3e91c59f7464213ad6515900d5825b19ca7
4
- data.tar.gz: ad63e9e5e4d215dcee6abdfe935136cfea4bd03916ac6e49e67da21e1ac8a829
3
+ metadata.gz: 2b2082d0c50c2328217beb6901a8e17ddeec3dceeb937edaedd97a4f582feba7
4
+ data.tar.gz: 466577748a5d04214a97627aa0e5a9b0b7b817a3eb4a6e8ae6174fd9f1ee6914
5
5
  SHA512:
6
- metadata.gz: bda33a645834c145bcd38062139c8c195b5ff0e6a0fb6c3645ed7f8be7bb177f2aa38653b72c328136df31ad7f9da0bd060210dbf332457b9b9d743f3bcbfa11
7
- data.tar.gz: ee1d8efa9d33c24e79b3641b98a89178cfbc1fe39923eb1b563b9a7ef42595e1e8d1f6e88c3a20862d1e524006aca6eb4f806cd84d1cd0e6e80defb3c449c7a1
6
+ metadata.gz: b7b3aa4cfdb0e00192691c845b7b53d452d158bf88f4cf8752254490176658add2d32899400e23030050294a522c0f54b0e39722fa7c9b9f06f715bc76260467
7
+ data.tar.gz: 02eee5398873a5bc1606e5e36527735a70c3a01e21ad23147f2dcca0ab004468824a31efe2ab7081ff6c05c55df421e92e762edd3fa2370244dfa3d6fc4a849b
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- superbot-cloud (0.1.6)
4
+ superbot-cloud (0.1.7)
5
5
  marcel (= 0.3.3)
6
6
  multipart-post (= 2.0.0)
7
7
 
@@ -60,7 +60,7 @@ GEM
60
60
  rack-protection (= 2.0.3)
61
61
  tilt (~> 2.0)
62
62
  sinatra-silent (0.0.1)
63
- superbot (0.1.10)
63
+ superbot (0.1.12)
64
64
  clamp (= 1.2.1)
65
65
  kommando (~> 0.1)
66
66
  launchy (= 2.4.3)
@@ -80,7 +80,7 @@ DEPENDENCIES
80
80
  rake (~> 10.0)
81
81
  rspec (~> 3.0)
82
82
  rubocop (~> 0.53)
83
- superbot (~> 0.1.10)
83
+ superbot (~> 0.1.12)
84
84
  superbot-cloud!
85
85
 
86
86
  BUNDLED WITH
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Superbot
4
4
  module Cloud
5
- VERSION = "0.1.6"
5
+ VERSION = "0.1.7"
6
6
  end
7
7
  end
@@ -16,9 +16,10 @@ module Superbot
16
16
 
17
17
  def self.save_credentials(data)
18
18
  data.transform_keys!(&:to_sym)
19
+ @credentials = data
19
20
  FileUtils.mkdir_p CREDENTIALS_PATH
20
- File.write CREDENTIALS_FILE_PATH, data.to_json
21
- puts "Logged in as #{data[:username]} (#{data[:email]})"
21
+ File.write CREDENTIALS_FILE_PATH, @credentials.to_json
22
+ puts "Logged in as #{@credentials[:username]} (#{@credentials[:email]})"
22
23
  end
23
24
  end
24
25
  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.1.10"
39
+ spec.add_development_dependency "superbot", "~> 0.1.12"
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.1.6
4
+ version: 0.1.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Superbots
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2018-11-09 00:00:00.000000000 Z
11
+ date: 2018-11-13 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.1.10
47
+ version: 0.1.12
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.1.10
54
+ version: 0.1.12
55
55
  - !ruby/object:Gem::Dependency
56
56
  name: bundler
57
57
  requirement: !ruby/object:Gem::Requirement