qtc-sdk 0.0.4 → 0.0.5

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,15 +1,7 @@
1
1
  ---
2
- !binary "U0hBMQ==":
3
- metadata.gz: !binary |-
4
- MjFiNjhlZTY0ZTJhYTcwZjcwYTA5ZWIyYmViZmMwNWU1ZWNhYzIxZA==
5
- data.tar.gz: !binary |-
6
- OTA5NzJjZWM1NWEyYjkxNjNjYWNlMzU2NWZmOGYxNTVmODM5N2UwZg==
2
+ SHA1:
3
+ metadata.gz: 7670fe44cccc0a8a866ddffcb6d50d261d41e562
4
+ data.tar.gz: 18b7cbd99727bdd467ba2980f808b877870361bc
7
5
  SHA512:
8
- metadata.gz: !binary |-
9
- ZjE2OTFmMTRlMGRmNzE4ZmRiYzdjMDU4Y2U0ZmY1ZjhiNDQ3NzVhM2Q3NTY1
10
- NTdjMjkzZWFiNWVmOTk1YTUyZjExMTU1ZWVkYzRkY2E4ZWU1ZGZlMzcwOGZm
11
- MjNhYmE0OGQ1ZDg2YTkwNjQ5NzMyM2Y4NmZmZTg5ZmJlOTMzMzM=
12
- data.tar.gz: !binary |-
13
- ZmUzYmM0YmY2ZGEyZGEyZjkwYzY3OTUzZGNhNzNhNDhhZmMwNTcwNmViODJh
14
- NjQ3NmQwODI0OTQwMWI5Y2I0NGM5MDJmZWM4NWI3NjlhNGJjZjdlZGIxNTMy
15
- Nzc5N2M2YWJmNDUyNjFkOTcwMjExNTRhNTQxMWEzZjYwYWIyNGI=
6
+ metadata.gz: 80522e72595546c33febb7433a1745108293ac9751ee5df9f031fad5fc3791fa688c3cf7154710ed46859bd12d2d2fe6d39912f471e0b1466d7abb01e29b6fec
7
+ data.tar.gz: 6ec3a2c658e9db8436ff1f73ff52a04c9325602e0dbe3a3137ce5b2a5a02a2bedef630945864d9e461aff00d7e3a7a291b1835885c0d34485b8bb2b137cd306e
@@ -78,8 +78,6 @@ module Qtc
78
78
  puts line
79
79
  end
80
80
  end
81
- rescue
82
- abort("Error: can't show logs for this instance")
83
81
  end
84
82
 
85
83
  def scale(args, options)
@@ -8,12 +8,12 @@ module Qtc
8
8
  instance_id = resolve_instance_id(options)
9
9
  env_vars = {}
10
10
  vars.each do |type|
11
- arr = type.strip.split("=")
11
+ arr = type.strip.split('=', 2)
12
12
  if arr[0]
13
- if arr[1].nil? || arr[1] == ""
13
+ if arr[1].nil? || arr[1] == ''
14
14
  env_vars[arr[0]] = nil
15
15
  else
16
- env_vars[arr[0]] = arr[1..-1].join("=")
16
+ env_vars[arr[0]] = arr[1]
17
17
  end
18
18
  end
19
19
  end
data/lib/qtc/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Qtc
2
- VERSION = "0.0.4"
2
+ VERSION = '0.0.5'
3
3
  end
data/qtc-sdk.gemspec CHANGED
@@ -12,6 +12,7 @@ Gem::Specification.new do |spec|
12
12
  spec.description = %q{Qt Cloud Services SDK for Ruby}
13
13
  spec.homepage = 'https://github.com/jakolehm/qtc-sdk-ruby'
14
14
  spec.license = 'MIT'
15
+ spec.required_ruby_version = '>= 1.9.3'
15
16
 
16
17
  spec.files = `git ls-files -z`.split("\x0")
17
18
  spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
metadata CHANGED
@@ -1,139 +1,139 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: qtc-sdk
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.4
4
+ version: 0.0.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jari Kolehmainen
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-09-19 00:00:00.000000000 Z
11
+ date: 2014-10-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - ~>
17
+ - - "~>"
18
18
  - !ruby/object:Gem::Version
19
19
  version: '1.5'
20
20
  type: :development
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
- - - ~>
24
+ - - "~>"
25
25
  - !ruby/object:Gem::Version
26
26
  version: '1.5'
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: rake
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
- - - ! '>='
31
+ - - ">="
32
32
  - !ruby/object:Gem::Version
33
33
  version: '0'
34
34
  type: :development
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
- - - ! '>='
38
+ - - ">="
39
39
  - !ruby/object:Gem::Version
40
40
  version: '0'
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: rspec
43
43
  requirement: !ruby/object:Gem::Requirement
44
44
  requirements:
45
- - - ~>
45
+ - - "~>"
46
46
  - !ruby/object:Gem::Version
47
47
  version: 2.14.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
54
  version: 2.14.0
55
55
  - !ruby/object:Gem::Dependency
56
56
  name: webmock
57
57
  requirement: !ruby/object:Gem::Requirement
58
58
  requirements:
59
- - - ! '>='
59
+ - - ">="
60
60
  - !ruby/object:Gem::Version
61
61
  version: '0'
62
62
  type: :development
63
63
  prerelease: false
64
64
  version_requirements: !ruby/object:Gem::Requirement
65
65
  requirements:
66
- - - ! '>='
66
+ - - ">="
67
67
  - !ruby/object:Gem::Version
68
68
  version: '0'
69
69
  - !ruby/object:Gem::Dependency
70
70
  name: vcr
71
71
  requirement: !ruby/object:Gem::Requirement
72
72
  requirements:
73
- - - ! '>='
73
+ - - ">="
74
74
  - !ruby/object:Gem::Version
75
75
  version: '0'
76
76
  type: :development
77
77
  prerelease: false
78
78
  version_requirements: !ruby/object:Gem::Requirement
79
79
  requirements:
80
- - - ! '>='
80
+ - - ">="
81
81
  - !ruby/object:Gem::Version
82
82
  version: '0'
83
83
  - !ruby/object:Gem::Dependency
84
84
  name: httpclient
85
85
  requirement: !ruby/object:Gem::Requirement
86
86
  requirements:
87
- - - ~>
87
+ - - "~>"
88
88
  - !ruby/object:Gem::Version
89
89
  version: '2.3'
90
90
  type: :runtime
91
91
  prerelease: false
92
92
  version_requirements: !ruby/object:Gem::Requirement
93
93
  requirements:
94
- - - ~>
94
+ - - "~>"
95
95
  - !ruby/object:Gem::Version
96
96
  version: '2.3'
97
97
  - !ruby/object:Gem::Dependency
98
98
  name: faye-websocket
99
99
  requirement: !ruby/object:Gem::Requirement
100
100
  requirements:
101
- - - ! '>='
101
+ - - ">="
102
102
  - !ruby/object:Gem::Version
103
103
  version: '0'
104
104
  type: :runtime
105
105
  prerelease: false
106
106
  version_requirements: !ruby/object:Gem::Requirement
107
107
  requirements:
108
- - - ! '>='
108
+ - - ">="
109
109
  - !ruby/object:Gem::Version
110
110
  version: '0'
111
111
  - !ruby/object:Gem::Dependency
112
112
  name: commander
113
113
  requirement: !ruby/object:Gem::Requirement
114
114
  requirements:
115
- - - ! '>='
115
+ - - ">="
116
116
  - !ruby/object:Gem::Version
117
117
  version: '0'
118
118
  type: :runtime
119
119
  prerelease: false
120
120
  version_requirements: !ruby/object:Gem::Requirement
121
121
  requirements:
122
- - - ! '>='
122
+ - - ">="
123
123
  - !ruby/object:Gem::Version
124
124
  version: '0'
125
125
  - !ruby/object:Gem::Dependency
126
126
  name: inifile
127
127
  requirement: !ruby/object:Gem::Requirement
128
128
  requirements:
129
- - - ! '>='
129
+ - - ">="
130
130
  - !ruby/object:Gem::Version
131
131
  version: '0'
132
132
  type: :runtime
133
133
  prerelease: false
134
134
  version_requirements: !ruby/object:Gem::Requirement
135
135
  requirements:
136
- - - ! '>='
136
+ - - ">="
137
137
  - !ruby/object:Gem::Version
138
138
  version: '0'
139
139
  description: Qt Cloud Services SDK for Ruby
@@ -144,7 +144,7 @@ executables:
144
144
  extensions: []
145
145
  extra_rdoc_files: []
146
146
  files:
147
- - .gitignore
147
+ - ".gitignore"
148
148
  - Gemfile
149
149
  - LICENSE.txt
150
150
  - README.md
@@ -189,12 +189,12 @@ require_paths:
189
189
  - lib
190
190
  required_ruby_version: !ruby/object:Gem::Requirement
191
191
  requirements:
192
- - - ! '>='
192
+ - - ">="
193
193
  - !ruby/object:Gem::Version
194
- version: '0'
194
+ version: 1.9.3
195
195
  required_rubygems_version: !ruby/object:Gem::Requirement
196
196
  requirements:
197
- - - ! '>='
197
+ - - ">="
198
198
  - !ruby/object:Gem::Version
199
199
  version: '0'
200
200
  requirements: []