scalarium 0.4.2 → 0.4.3
Sign up to get free protection for your applications and to get access to all the features.
- data/CHANGELOG +24 -8
- data/lib/scalarium/cli.rb +3 -3
- data/lib/scalarium/version.rb +1 -1
- metadata +108 -70
data/CHANGELOG
CHANGED
@@ -1,13 +1,29 @@
|
|
1
|
+
Version 0.4.3
|
2
|
+
|
3
|
+
* Ensure only the current user can read the .scalarium_token. (Till
|
4
|
+
Klampaeckel)
|
5
|
+
|
6
|
+
* Remove "warning: don't put space before argument parentheses" (Till
|
7
|
+
Klampaeckel)
|
8
|
+
|
9
|
+
|
1
10
|
Version 0.4.0
|
2
|
-
|
3
|
-
|
4
|
-
|
11
|
+
|
12
|
+
* Big refactor of scalarium class
|
13
|
+
|
14
|
+
* Big refactor of cli
|
15
|
+
|
16
|
+
* Add run_remote command to launch command through tmux
|
17
|
+
|
5
18
|
|
6
19
|
Version 0.3.0
|
7
|
-
|
20
|
+
|
21
|
+
* execute - Added execute command
|
22
|
+
|
8
23
|
|
9
24
|
Version 0.2.0
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
25
|
+
|
26
|
+
* run_recipe - Allow to run recipes in some instances
|
27
|
+
* udpate_cookbooks - Allow to update cookbooks in machines
|
28
|
+
* deploy - Allow to Deploy apps
|
29
|
+
* apps - List applications
|
data/lib/scalarium/cli.rb
CHANGED
@@ -200,9 +200,9 @@ class Scalarium
|
|
200
200
|
Thread.exclusive do
|
201
201
|
case stream
|
202
202
|
when :stdout
|
203
|
-
$stdout.puts
|
203
|
+
$stdout.puts("#{Color::GREEN}%10s: #{Color::CLEAR}%s" %[ host, data])
|
204
204
|
when :stderr
|
205
|
-
$stderr.puts
|
205
|
+
$stderr.puts("#{Color::GREEN}%10s: #{Color::CLEAR}%s" %[ host, data])
|
206
206
|
end
|
207
207
|
end
|
208
208
|
end
|
@@ -262,7 +262,7 @@ class Scalarium
|
|
262
262
|
token = File.read(token_path).strip
|
263
263
|
else
|
264
264
|
token = ask("I need your token:").strip
|
265
|
-
File.open(token_path, 'w'){|f| f.write token }
|
265
|
+
File.open(token_path, 'w', 0600){|f| f.write token }
|
266
266
|
end
|
267
267
|
token
|
268
268
|
end
|
data/lib/scalarium/version.rb
CHANGED
metadata
CHANGED
@@ -1,90 +1,118 @@
|
|
1
|
-
--- !ruby/object:Gem::Specification
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
2
|
name: scalarium
|
3
|
-
version: !ruby/object:Gem::Version
|
4
|
-
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
hash: 9
|
5
5
|
prerelease:
|
6
|
+
segments:
|
7
|
+
- 0
|
8
|
+
- 4
|
9
|
+
- 3
|
10
|
+
version: 0.4.3
|
6
11
|
platform: ruby
|
7
|
-
authors:
|
8
|
-
- Guillermo
|
12
|
+
authors:
|
13
|
+
- "Guillermo \xC3\x81lvarez"
|
9
14
|
autorequire:
|
10
15
|
bindir: bin
|
11
16
|
cert_chain: []
|
12
|
-
|
13
|
-
|
14
|
-
|
17
|
+
|
18
|
+
date: 2012-07-17 00:00:00 Z
|
19
|
+
dependencies:
|
20
|
+
- !ruby/object:Gem::Dependency
|
15
21
|
name: rest-client
|
16
|
-
|
22
|
+
prerelease: false
|
23
|
+
requirement: &id001 !ruby/object:Gem::Requirement
|
17
24
|
none: false
|
18
|
-
requirements:
|
19
|
-
- -
|
20
|
-
- !ruby/object:Gem::Version
|
21
|
-
|
25
|
+
requirements:
|
26
|
+
- - ">="
|
27
|
+
- !ruby/object:Gem::Version
|
28
|
+
hash: 3
|
29
|
+
segments:
|
30
|
+
- 0
|
31
|
+
version: "0"
|
22
32
|
type: :runtime
|
23
|
-
|
24
|
-
|
25
|
-
- !ruby/object:Gem::Dependency
|
33
|
+
version_requirements: *id001
|
34
|
+
- !ruby/object:Gem::Dependency
|
26
35
|
name: dispatch_queue
|
27
|
-
|
36
|
+
prerelease: false
|
37
|
+
requirement: &id002 !ruby/object:Gem::Requirement
|
28
38
|
none: false
|
29
|
-
requirements:
|
30
|
-
- -
|
31
|
-
- !ruby/object:Gem::Version
|
39
|
+
requirements:
|
40
|
+
- - ">="
|
41
|
+
- !ruby/object:Gem::Version
|
42
|
+
hash: 19
|
43
|
+
segments:
|
44
|
+
- 1
|
45
|
+
- 1
|
46
|
+
- 0
|
32
47
|
version: 1.1.0
|
33
48
|
type: :runtime
|
34
|
-
|
35
|
-
|
36
|
-
- !ruby/object:Gem::Dependency
|
49
|
+
version_requirements: *id002
|
50
|
+
- !ruby/object:Gem::Dependency
|
37
51
|
name: thor
|
38
|
-
|
52
|
+
prerelease: false
|
53
|
+
requirement: &id003 !ruby/object:Gem::Requirement
|
39
54
|
none: false
|
40
|
-
requirements:
|
41
|
-
- -
|
42
|
-
- !ruby/object:Gem::Version
|
43
|
-
|
55
|
+
requirements:
|
56
|
+
- - ">="
|
57
|
+
- !ruby/object:Gem::Version
|
58
|
+
hash: 3
|
59
|
+
segments:
|
60
|
+
- 0
|
61
|
+
version: "0"
|
44
62
|
type: :runtime
|
45
|
-
|
46
|
-
|
47
|
-
- !ruby/object:Gem::Dependency
|
63
|
+
version_requirements: *id003
|
64
|
+
- !ruby/object:Gem::Dependency
|
48
65
|
name: net-ssh
|
49
|
-
|
66
|
+
prerelease: false
|
67
|
+
requirement: &id004 !ruby/object:Gem::Requirement
|
50
68
|
none: false
|
51
|
-
requirements:
|
52
|
-
- -
|
53
|
-
- !ruby/object:Gem::Version
|
54
|
-
|
69
|
+
requirements:
|
70
|
+
- - ">="
|
71
|
+
- !ruby/object:Gem::Version
|
72
|
+
hash: 3
|
73
|
+
segments:
|
74
|
+
- 0
|
75
|
+
version: "0"
|
55
76
|
type: :runtime
|
56
|
-
|
57
|
-
|
58
|
-
- !ruby/object:Gem::Dependency
|
77
|
+
version_requirements: *id004
|
78
|
+
- !ruby/object:Gem::Dependency
|
59
79
|
name: ruby-debug19
|
60
|
-
|
80
|
+
prerelease: false
|
81
|
+
requirement: &id005 !ruby/object:Gem::Requirement
|
61
82
|
none: false
|
62
|
-
requirements:
|
63
|
-
- -
|
64
|
-
- !ruby/object:Gem::Version
|
65
|
-
|
83
|
+
requirements:
|
84
|
+
- - ">="
|
85
|
+
- !ruby/object:Gem::Version
|
86
|
+
hash: 3
|
87
|
+
segments:
|
88
|
+
- 0
|
89
|
+
version: "0"
|
66
90
|
type: :development
|
67
|
-
|
68
|
-
|
69
|
-
- !ruby/object:Gem::Dependency
|
91
|
+
version_requirements: *id005
|
92
|
+
- !ruby/object:Gem::Dependency
|
70
93
|
name: rake
|
71
|
-
|
94
|
+
prerelease: false
|
95
|
+
requirement: &id006 !ruby/object:Gem::Requirement
|
72
96
|
none: false
|
73
|
-
requirements:
|
74
|
-
- -
|
75
|
-
- !ruby/object:Gem::Version
|
76
|
-
|
97
|
+
requirements:
|
98
|
+
- - ">="
|
99
|
+
- !ruby/object:Gem::Version
|
100
|
+
hash: 3
|
101
|
+
segments:
|
102
|
+
- 0
|
103
|
+
version: "0"
|
77
104
|
type: :development
|
78
|
-
|
79
|
-
version_requirements: *70196225602920
|
105
|
+
version_requirements: *id006
|
80
106
|
description: Access your scalarium clouds from console
|
81
|
-
email:
|
107
|
+
email:
|
82
108
|
- guillermo@cientifico.net
|
83
|
-
executables:
|
109
|
+
executables:
|
84
110
|
- scalarium
|
85
111
|
extensions: []
|
112
|
+
|
86
113
|
extra_rdoc_files: []
|
87
|
-
|
114
|
+
|
115
|
+
files:
|
88
116
|
- .gitignore
|
89
117
|
- CHANGELOG
|
90
118
|
- Gemfile
|
@@ -101,28 +129,38 @@ files:
|
|
101
129
|
- lib/scalarium/rol.rb
|
102
130
|
- lib/scalarium/version.rb
|
103
131
|
- scalarium.gemspec
|
104
|
-
homepage:
|
132
|
+
homepage: ""
|
105
133
|
licenses: []
|
134
|
+
|
106
135
|
post_install_message:
|
107
136
|
rdoc_options: []
|
108
|
-
|
137
|
+
|
138
|
+
require_paths:
|
109
139
|
- lib
|
110
|
-
required_ruby_version: !ruby/object:Gem::Requirement
|
140
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
111
141
|
none: false
|
112
|
-
requirements:
|
113
|
-
- -
|
114
|
-
- !ruby/object:Gem::Version
|
115
|
-
|
116
|
-
|
142
|
+
requirements:
|
143
|
+
- - ">="
|
144
|
+
- !ruby/object:Gem::Version
|
145
|
+
hash: 3
|
146
|
+
segments:
|
147
|
+
- 0
|
148
|
+
version: "0"
|
149
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
117
150
|
none: false
|
118
|
-
requirements:
|
119
|
-
- -
|
120
|
-
- !ruby/object:Gem::Version
|
121
|
-
|
151
|
+
requirements:
|
152
|
+
- - ">="
|
153
|
+
- !ruby/object:Gem::Version
|
154
|
+
hash: 3
|
155
|
+
segments:
|
156
|
+
- 0
|
157
|
+
version: "0"
|
122
158
|
requirements: []
|
159
|
+
|
123
160
|
rubyforge_project: scalarium
|
124
|
-
rubygems_version: 1.8.
|
161
|
+
rubygems_version: 1.8.15
|
125
162
|
signing_key:
|
126
163
|
specification_version: 3
|
127
164
|
summary: Scalarium console access
|
128
165
|
test_files: []
|
166
|
+
|