superbot-cloud 0.1.3 → 0.1.4

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: 1ae988b6f7d3f14042272a8c07cd5099ca4b8122cb8336c7c3362ad07fdc9f6d
4
- data.tar.gz: 5ec512314125dd22919a91c43845c0130627dbc9be46082e584b7fd9ced34cd8
3
+ metadata.gz: fd0c4d6cdfa71453b3a3d85ba2406e150a4a2dcc98529552813db579d93c0227
4
+ data.tar.gz: 0f8c1bb9c47fcb5b46f5e50835f95fb48660c353ae167633537effa4ff182dac
5
5
  SHA512:
6
- metadata.gz: 1371582b6206d569005f3851277acd698156094cfcc83cdd96188f8f67c6ccbed250c6c8a0a557f2b51b3164e9e0e180837399d7f661bf6e4ddd6c50af2c197c
7
- data.tar.gz: b2941c4d8cfdfedc332e38eba76244f08c68164fe7e3aa7cd755f5a9bf175f898d09015f14359c1dda566ffb74e94c45b9c6bc3c1a1dd8f65c10dca0291453b4
6
+ metadata.gz: 6a88dd5ebe699c23cf248b326396eb94ba07244b8c58dcb8b7fc3f608bc2df604921febf3af791df9f3c022c6fcbcd834ce75c4093a3fb9f72b1609c3a5b501e
7
+ data.tar.gz: 1283fec08898756281e349d204a2f4a9ec2f8d213d07cee95a7c6c968b341a5de3b30223e3c5be80fbbfe7ac43ea40c1fb5746ca2c809e3f5a02bf16862c097b
data/Gemfile.lock CHANGED
@@ -1,10 +1,9 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- superbot-cloud (0.1.2)
4
+ superbot-cloud (0.1.4)
5
5
  marcel (= 0.3.3)
6
6
  multipart-post (= 2.0.0)
7
- superbot (~> 0.1.4)
8
7
 
9
8
  GEM
10
9
  remote: https://rubygems.org/
@@ -28,7 +27,7 @@ GEM
28
27
  ast (~> 2.4.0)
29
28
  powerpack (0.1.2)
30
29
  public_suffix (3.0.3)
31
- rack (2.0.5)
30
+ rack (2.0.6)
32
31
  rack-protection (2.0.3)
33
32
  rack
34
33
  rainbow (3.0.0)
@@ -61,12 +60,13 @@ GEM
61
60
  rack-protection (= 2.0.3)
62
61
  tilt (~> 2.0)
63
62
  sinatra-silent (0.0.1)
64
- superbot (0.1.4)
63
+ superbot (0.1.8)
65
64
  clamp (= 1.2.1)
66
65
  kommando (~> 0.1)
67
66
  launchy (= 2.4.3)
68
67
  sinatra (= 2.0.3)
69
68
  sinatra-silent (= 0.0.1)
69
+ superbot-cloud (~> 0.1.4)
70
70
  zaru (= 0.2.0)
71
71
  tilt (2.0.8)
72
72
  unicode-display_width (1.4.0)
@@ -77,10 +77,10 @@ PLATFORMS
77
77
 
78
78
  DEPENDENCIES
79
79
  bundler (~> 1.16)
80
- kommando (~> 0.1)
81
80
  rake (~> 10.0)
82
81
  rspec (~> 3.0)
83
82
  rubocop (~> 0.53)
83
+ superbot (~> 0.1.8)
84
84
  superbot-cloud!
85
85
 
86
86
  BUNDLED WITH
data/exe/superbot-cloud CHANGED
@@ -8,7 +8,13 @@ $LOAD_PATH.unshift lib_path unless $LOAD_PATH.include?(lib_path)
8
8
 
9
9
  STDOUT.sync = true
10
10
 
11
- require 'superbot'
11
+ begin
12
+ gem 'superbot'
13
+ require 'superbot'
14
+ rescue Gem::LoadError
15
+ abort "Gem superbot need to be installed."
16
+ end
17
+
12
18
  require 'superbot/cloud'
13
19
 
14
20
  Superbot::CLI::CloudCommand.run
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Superbot
4
4
  module Cloud
5
- VERSION = "0.1.3"
5
+ VERSION = "0.1.4"
6
6
  end
7
7
  end
@@ -16,8 +16,8 @@ module Superbot
16
16
 
17
17
  def self.save_credentials(data)
18
18
  data.transform_keys!(&:to_sym)
19
- FileUtils.mkdir_p Superbot::Cloud::CREDENTIALS_PATH
20
- File.write Superbot::Cloud::CREDENTIALS_FILE_PATH, data.to_json
19
+ FileUtils.mkdir_p CREDENTIALS_PATH
20
+ File.write CREDENTIALS_FILE_PATH, data.to_json
21
21
  "Logged in as #{data[:email]}".tap do |message|
22
22
  puts message
23
23
  end
@@ -32,12 +32,11 @@ Gem::Specification.new do |spec|
32
32
  spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
33
33
  spec.require_paths = ["lib"]
34
34
 
35
- spec.add_dependency "multipart-post", "2.0.0"
36
35
 
37
- spec.add_runtime_dependency "superbot", "~> 0.1.4"
36
+ spec.add_runtime_dependency "multipart-post", "2.0.0"
38
37
  spec.add_runtime_dependency "marcel", "0.3.3"
39
38
 
40
- spec.add_development_dependency "kommando", "~> 0.1"
39
+ spec.add_development_dependency "superbot", "~> 0.1.8"
41
40
  spec.add_development_dependency "bundler", "~> 1.16"
42
41
  spec.add_development_dependency "rake", "~> 10.0"
43
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.3
4
+ version: 0.1.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Superbots
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2018-10-30 00:00:00.000000000 Z
11
+ date: 2018-11-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: multipart-post
@@ -24,20 +24,6 @@ dependencies:
24
24
  - - '='
25
25
  - !ruby/object:Gem::Version
26
26
  version: 2.0.0
27
- - !ruby/object:Gem::Dependency
28
- name: superbot
29
- requirement: !ruby/object:Gem::Requirement
30
- requirements:
31
- - - "~>"
32
- - !ruby/object:Gem::Version
33
- version: 0.1.4
34
- type: :runtime
35
- prerelease: false
36
- version_requirements: !ruby/object:Gem::Requirement
37
- requirements:
38
- - - "~>"
39
- - !ruby/object:Gem::Version
40
- version: 0.1.4
41
27
  - !ruby/object:Gem::Dependency
42
28
  name: marcel
43
29
  requirement: !ruby/object:Gem::Requirement
@@ -53,19 +39,19 @@ dependencies:
53
39
  - !ruby/object:Gem::Version
54
40
  version: 0.3.3
55
41
  - !ruby/object:Gem::Dependency
56
- name: kommando
42
+ name: superbot
57
43
  requirement: !ruby/object:Gem::Requirement
58
44
  requirements:
59
45
  - - "~>"
60
46
  - !ruby/object:Gem::Version
61
- version: '0.1'
47
+ version: 0.1.8
62
48
  type: :development
63
49
  prerelease: false
64
50
  version_requirements: !ruby/object:Gem::Requirement
65
51
  requirements:
66
52
  - - "~>"
67
53
  - !ruby/object:Gem::Version
68
- version: '0.1'
54
+ version: 0.1.8
69
55
  - !ruby/object:Gem::Dependency
70
56
  name: bundler
71
57
  requirement: !ruby/object:Gem::Requirement