nuvado 1.0.0.rc2 → 1.0.0.rc3
Sign up to get free protection for your applications and to get access to all the features.
- data/Rakefile +1 -1
- data/lib/nuvado/backend/token_store.rb +6 -14
- data/lib/nuvado/version.rb +1 -1
- metadata +51 -25
- checksums.yaml +0 -7
data/Rakefile
CHANGED
@@ -27,7 +27,7 @@ end
|
|
27
27
|
|
28
28
|
desc "Build .deb package for nuvado"
|
29
29
|
task :build_deb do
|
30
|
-
%x{fpm -s empty -t deb -n nuvado-toolbelt -d git-core -d ruby1.9.1 -d ruby1.9.1-dev --after-install post_install.sh -a all}
|
30
|
+
%x{fpm -s empty -t deb -n nuvado-toolbelt -d git-core -d ruby1.9.1 -d ruby1.9.1-dev --after-install post_install.sh -a all -v #{Nuvado::VERSION} -m "Lacides Charris <lacides@heapsource.com>" --url "nuvado.io"}
|
31
31
|
end
|
32
32
|
|
33
33
|
task :default => :test
|
@@ -4,23 +4,15 @@ module Nuvado
|
|
4
4
|
module Backend
|
5
5
|
class TokenStore
|
6
6
|
def self.read_token
|
7
|
-
|
8
|
-
|
9
|
-
token
|
10
|
-
else
|
11
|
-
raise SystemExitException.new("Sorry, your platform is not supported")
|
12
|
-
end
|
7
|
+
user, token = Netrc.read[API_END_POINT]
|
8
|
+
token
|
13
9
|
end
|
14
10
|
|
15
11
|
def self.write_token(user, pass)
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
dotnetrc.save
|
20
|
-
else
|
21
|
-
raise SystemExitException.new("Sorry, your platform is not supported")
|
22
|
-
end
|
12
|
+
dotnetrc = Netrc.read
|
13
|
+
dotnetrc[API_END_POINT] = user, pass
|
14
|
+
dotnetrc.save
|
23
15
|
end
|
24
16
|
end
|
25
17
|
end
|
26
|
-
end
|
18
|
+
end
|
data/lib/nuvado/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,8 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: nuvado
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.0.
|
4
|
+
version: 1.0.0.rc3
|
5
|
+
prerelease: 6
|
5
6
|
platform: ruby
|
6
7
|
authors:
|
7
8
|
- robertomiranda
|
@@ -9,11 +10,12 @@ authors:
|
|
9
10
|
autorequire:
|
10
11
|
bindir: bin
|
11
12
|
cert_chain: []
|
12
|
-
date: 2013-07-
|
13
|
+
date: 2013-07-26 00:00:00.000000000 Z
|
13
14
|
dependencies:
|
14
15
|
- !ruby/object:Gem::Dependency
|
15
16
|
name: bundler
|
16
17
|
requirement: !ruby/object:Gem::Requirement
|
18
|
+
none: false
|
17
19
|
requirements:
|
18
20
|
- - ~>
|
19
21
|
- !ruby/object:Gem::Version
|
@@ -21,6 +23,7 @@ dependencies:
|
|
21
23
|
type: :development
|
22
24
|
prerelease: false
|
23
25
|
version_requirements: !ruby/object:Gem::Requirement
|
26
|
+
none: false
|
24
27
|
requirements:
|
25
28
|
- - ~>
|
26
29
|
- !ruby/object:Gem::Version
|
@@ -28,20 +31,23 @@ dependencies:
|
|
28
31
|
- !ruby/object:Gem::Dependency
|
29
32
|
name: rake
|
30
33
|
requirement: !ruby/object:Gem::Requirement
|
34
|
+
none: false
|
31
35
|
requirements:
|
32
|
-
- - '>='
|
36
|
+
- - ! '>='
|
33
37
|
- !ruby/object:Gem::Version
|
34
38
|
version: '0'
|
35
39
|
type: :development
|
36
40
|
prerelease: false
|
37
41
|
version_requirements: !ruby/object:Gem::Requirement
|
42
|
+
none: false
|
38
43
|
requirements:
|
39
|
-
- - '>='
|
44
|
+
- - ! '>='
|
40
45
|
- !ruby/object:Gem::Version
|
41
46
|
version: '0'
|
42
47
|
- !ruby/object:Gem::Dependency
|
43
48
|
name: minitest
|
44
49
|
requirement: !ruby/object:Gem::Requirement
|
50
|
+
none: false
|
45
51
|
requirements:
|
46
52
|
- - ~>
|
47
53
|
- !ruby/object:Gem::Version
|
@@ -49,6 +55,7 @@ dependencies:
|
|
49
55
|
type: :development
|
50
56
|
prerelease: false
|
51
57
|
version_requirements: !ruby/object:Gem::Requirement
|
58
|
+
none: false
|
52
59
|
requirements:
|
53
60
|
- - ~>
|
54
61
|
- !ruby/object:Gem::Version
|
@@ -56,48 +63,55 @@ dependencies:
|
|
56
63
|
- !ruby/object:Gem::Dependency
|
57
64
|
name: mocha
|
58
65
|
requirement: !ruby/object:Gem::Requirement
|
66
|
+
none: false
|
59
67
|
requirements:
|
60
|
-
- - '>='
|
68
|
+
- - ! '>='
|
61
69
|
- !ruby/object:Gem::Version
|
62
70
|
version: '0'
|
63
71
|
type: :development
|
64
72
|
prerelease: false
|
65
73
|
version_requirements: !ruby/object:Gem::Requirement
|
74
|
+
none: false
|
66
75
|
requirements:
|
67
|
-
- - '>='
|
76
|
+
- - ! '>='
|
68
77
|
- !ruby/object:Gem::Version
|
69
78
|
version: '0'
|
70
79
|
- !ruby/object:Gem::Dependency
|
71
80
|
name: webmock
|
72
81
|
requirement: !ruby/object:Gem::Requirement
|
82
|
+
none: false
|
73
83
|
requirements:
|
74
|
-
- - '>='
|
84
|
+
- - ! '>='
|
75
85
|
- !ruby/object:Gem::Version
|
76
86
|
version: '0'
|
77
87
|
type: :development
|
78
88
|
prerelease: false
|
79
89
|
version_requirements: !ruby/object:Gem::Requirement
|
90
|
+
none: false
|
80
91
|
requirements:
|
81
|
-
- - '>='
|
92
|
+
- - ! '>='
|
82
93
|
- !ruby/object:Gem::Version
|
83
94
|
version: '0'
|
84
95
|
- !ruby/object:Gem::Dependency
|
85
96
|
name: pry
|
86
97
|
requirement: !ruby/object:Gem::Requirement
|
98
|
+
none: false
|
87
99
|
requirements:
|
88
|
-
- - '>='
|
100
|
+
- - ! '>='
|
89
101
|
- !ruby/object:Gem::Version
|
90
102
|
version: '0'
|
91
103
|
type: :development
|
92
104
|
prerelease: false
|
93
105
|
version_requirements: !ruby/object:Gem::Requirement
|
106
|
+
none: false
|
94
107
|
requirements:
|
95
|
-
- - '>='
|
108
|
+
- - ! '>='
|
96
109
|
- !ruby/object:Gem::Version
|
97
110
|
version: '0'
|
98
111
|
- !ruby/object:Gem::Dependency
|
99
112
|
name: activeresource
|
100
113
|
requirement: !ruby/object:Gem::Requirement
|
114
|
+
none: false
|
101
115
|
requirements:
|
102
116
|
- - ~>
|
103
117
|
- !ruby/object:Gem::Version
|
@@ -105,6 +119,7 @@ dependencies:
|
|
105
119
|
type: :runtime
|
106
120
|
prerelease: false
|
107
121
|
version_requirements: !ruby/object:Gem::Requirement
|
122
|
+
none: false
|
108
123
|
requirements:
|
109
124
|
- - ~>
|
110
125
|
- !ruby/object:Gem::Version
|
@@ -112,71 +127,81 @@ dependencies:
|
|
112
127
|
- !ruby/object:Gem::Dependency
|
113
128
|
name: highline
|
114
129
|
requirement: !ruby/object:Gem::Requirement
|
130
|
+
none: false
|
115
131
|
requirements:
|
116
|
-
- - '>='
|
132
|
+
- - ! '>='
|
117
133
|
- !ruby/object:Gem::Version
|
118
134
|
version: '0'
|
119
135
|
type: :runtime
|
120
136
|
prerelease: false
|
121
137
|
version_requirements: !ruby/object:Gem::Requirement
|
138
|
+
none: false
|
122
139
|
requirements:
|
123
|
-
- - '>='
|
140
|
+
- - ! '>='
|
124
141
|
- !ruby/object:Gem::Version
|
125
142
|
version: '0'
|
126
143
|
- !ruby/object:Gem::Dependency
|
127
144
|
name: netrc
|
128
145
|
requirement: !ruby/object:Gem::Requirement
|
146
|
+
none: false
|
129
147
|
requirements:
|
130
|
-
- - '>='
|
148
|
+
- - ! '>='
|
131
149
|
- !ruby/object:Gem::Version
|
132
150
|
version: '0'
|
133
151
|
type: :runtime
|
134
152
|
prerelease: false
|
135
153
|
version_requirements: !ruby/object:Gem::Requirement
|
154
|
+
none: false
|
136
155
|
requirements:
|
137
|
-
- - '>='
|
156
|
+
- - ! '>='
|
138
157
|
- !ruby/object:Gem::Version
|
139
158
|
version: '0'
|
140
159
|
- !ruby/object:Gem::Dependency
|
141
160
|
name: thor
|
142
161
|
requirement: !ruby/object:Gem::Requirement
|
162
|
+
none: false
|
143
163
|
requirements:
|
144
|
-
- - '>='
|
164
|
+
- - ! '>='
|
145
165
|
- !ruby/object:Gem::Version
|
146
166
|
version: '0'
|
147
167
|
type: :runtime
|
148
168
|
prerelease: false
|
149
169
|
version_requirements: !ruby/object:Gem::Requirement
|
170
|
+
none: false
|
150
171
|
requirements:
|
151
|
-
- - '>='
|
172
|
+
- - ! '>='
|
152
173
|
- !ruby/object:Gem::Version
|
153
174
|
version: '0'
|
154
175
|
- !ruby/object:Gem::Dependency
|
155
176
|
name: uuid
|
156
177
|
requirement: !ruby/object:Gem::Requirement
|
178
|
+
none: false
|
157
179
|
requirements:
|
158
|
-
- - '>='
|
180
|
+
- - ! '>='
|
159
181
|
- !ruby/object:Gem::Version
|
160
182
|
version: '0'
|
161
183
|
type: :runtime
|
162
184
|
prerelease: false
|
163
185
|
version_requirements: !ruby/object:Gem::Requirement
|
186
|
+
none: false
|
164
187
|
requirements:
|
165
|
-
- - '>='
|
188
|
+
- - ! '>='
|
166
189
|
- !ruby/object:Gem::Version
|
167
190
|
version: '0'
|
168
191
|
- !ruby/object:Gem::Dependency
|
169
192
|
name: json
|
170
193
|
requirement: !ruby/object:Gem::Requirement
|
194
|
+
none: false
|
171
195
|
requirements:
|
172
|
-
- - '>='
|
196
|
+
- - ! '>='
|
173
197
|
- !ruby/object:Gem::Version
|
174
198
|
version: '0'
|
175
199
|
type: :runtime
|
176
200
|
prerelease: false
|
177
201
|
version_requirements: !ruby/object:Gem::Requirement
|
202
|
+
none: false
|
178
203
|
requirements:
|
179
|
-
- - '>='
|
204
|
+
- - ! '>='
|
180
205
|
- !ruby/object:Gem::Version
|
181
206
|
version: '0'
|
182
207
|
description: Client library and command-line tool to deploy and manage apps on Nuvado.io
|
@@ -241,26 +266,27 @@ files:
|
|
241
266
|
homepage: http://nuvado.io
|
242
267
|
licenses:
|
243
268
|
- MIT
|
244
|
-
metadata: {}
|
245
269
|
post_install_message:
|
246
270
|
rdoc_options: []
|
247
271
|
require_paths:
|
248
272
|
- lib
|
249
273
|
required_ruby_version: !ruby/object:Gem::Requirement
|
274
|
+
none: false
|
250
275
|
requirements:
|
251
|
-
- - '>='
|
276
|
+
- - ! '>='
|
252
277
|
- !ruby/object:Gem::Version
|
253
278
|
version: '0'
|
254
279
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
280
|
+
none: false
|
255
281
|
requirements:
|
256
|
-
- - '>'
|
282
|
+
- - ! '>'
|
257
283
|
- !ruby/object:Gem::Version
|
258
284
|
version: 1.3.1
|
259
285
|
requirements: []
|
260
286
|
rubyforge_project:
|
261
|
-
rubygems_version:
|
287
|
+
rubygems_version: 1.8.25
|
262
288
|
signing_key:
|
263
|
-
specification_version:
|
289
|
+
specification_version: 3
|
264
290
|
summary: Client library and CLI to deploy apps on Nuvado.io
|
265
291
|
test_files:
|
266
292
|
- test/apps_test.rb
|
checksums.yaml
DELETED
@@ -1,7 +0,0 @@
|
|
1
|
-
---
|
2
|
-
SHA1:
|
3
|
-
metadata.gz: 01ec55d1cc129fe50b1a63566a018ad6f56820b8
|
4
|
-
data.tar.gz: eb445b4d876e0c5e07c9c6b06f30ae920b0830b3
|
5
|
-
SHA512:
|
6
|
-
metadata.gz: c6eda6a5287a46552edb0959f252166a99c16b76d303fd28359b9caba4dcc8ce81f4785a398532b44c6951923ebc1e2652adf5683fa4e9d2f04c7a311ec277f0
|
7
|
-
data.tar.gz: 0a64a9882da3cc3d6941a9cb3af86d8420714a0584b3465fec6ddb82c58d68a1f03aa6c48763bcfd68dc3022d209b381969e3baba324f62c99e49d0c7b587758
|