shelly 0.0.49.pre → 0.0.49
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/lib/shelly/app.rb +4 -20
- data/lib/shelly/cli/main.rb +8 -14
- data/lib/shelly/version.rb +1 -1
- data/spec/shelly/app_spec.rb +4 -26
- data/spec/shelly/cli/main_spec.rb +12 -41
- metadata +164 -150
data/lib/shelly/app.rb
CHANGED
|
@@ -13,16 +13,12 @@ module Shelly
|
|
|
13
13
|
end
|
|
14
14
|
|
|
15
15
|
def add_git_remote
|
|
16
|
-
system("git remote rm
|
|
17
|
-
system("git remote add
|
|
18
|
-
end
|
|
19
|
-
|
|
20
|
-
def git_remote_exist?
|
|
21
|
-
IO.popen("git remote").read.include?(code_name)
|
|
16
|
+
system("git remote rm production > /dev/null 2>&1")
|
|
17
|
+
system("git remote add production #{git_url}")
|
|
22
18
|
end
|
|
23
19
|
|
|
24
20
|
def remove_git_remote
|
|
25
|
-
system("git remote rm
|
|
21
|
+
system("git remote rm production > /dev/null 2>&1")
|
|
26
22
|
end
|
|
27
23
|
|
|
28
24
|
def generate_cloudfile
|
|
@@ -106,19 +102,7 @@ module Shelly
|
|
|
106
102
|
end
|
|
107
103
|
|
|
108
104
|
def self.guess_code_name
|
|
109
|
-
|
|
110
|
-
if Cloudfile.present?
|
|
111
|
-
clouds = Cloudfile.new.clouds
|
|
112
|
-
if clouds.grep(/staging/)
|
|
113
|
-
guessed = "production"
|
|
114
|
-
production_clouds = clouds.grep(/production/)
|
|
115
|
-
production_clouds.sort.each do |cloud|
|
|
116
|
-
cloud =~ /production(\d*)/
|
|
117
|
-
guessed = "production#{$1.to_i+1}"
|
|
118
|
-
end
|
|
119
|
-
end
|
|
120
|
-
end
|
|
121
|
-
"#{File.basename(Dir.pwd)}-#{guessed || 'staging'}"
|
|
105
|
+
File.basename(Dir.pwd)
|
|
122
106
|
end
|
|
123
107
|
|
|
124
108
|
def users
|
data/lib/shelly/cli/main.rb
CHANGED
|
@@ -85,14 +85,8 @@ module Shelly
|
|
|
85
85
|
@app.domains = options["domains"] || ["#{@app.code_name}.shellyapp.com"]
|
|
86
86
|
@app.create
|
|
87
87
|
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
say "Adding remote #{@app} #{@app.git_url}", :green
|
|
91
|
-
@app.add_git_remote
|
|
92
|
-
else
|
|
93
|
-
say "You have to manually add git remote:"
|
|
94
|
-
say "`git remote add NAME #{@app.git_url}`"
|
|
95
|
-
end
|
|
88
|
+
say "Adding remote production #{@app.git_url}", :green
|
|
89
|
+
@app.add_git_remote
|
|
96
90
|
|
|
97
91
|
say "Creating Cloudfile", :green
|
|
98
92
|
@app.create_cloudfile
|
|
@@ -106,7 +100,7 @@ module Shelly
|
|
|
106
100
|
end
|
|
107
101
|
|
|
108
102
|
info_adding_cloudfile_to_repository
|
|
109
|
-
info_deploying_to_shellycloud
|
|
103
|
+
info_deploying_to_shellycloud
|
|
110
104
|
|
|
111
105
|
rescue Client::ValidationException => e
|
|
112
106
|
e.each_error { |error| say_error error, :with_exit => false }
|
|
@@ -350,8 +344,8 @@ module Shelly
|
|
|
350
344
|
end
|
|
351
345
|
|
|
352
346
|
def ask_for_code_name
|
|
353
|
-
default_code_name = Shelly::App.guess_code_name
|
|
354
|
-
code_name = ask("Cloud code name (#{
|
|
347
|
+
default_code_name = "#{Shelly::App.guess_code_name}-production"
|
|
348
|
+
code_name = ask("Cloud code name (#{default_code_name} - default):")
|
|
355
349
|
code_name.blank? ? default_code_name : code_name
|
|
356
350
|
end
|
|
357
351
|
|
|
@@ -375,15 +369,15 @@ module Shelly
|
|
|
375
369
|
say " git status"
|
|
376
370
|
end
|
|
377
371
|
|
|
378
|
-
def info_deploying_to_shellycloud
|
|
372
|
+
def info_deploying_to_shellycloud
|
|
379
373
|
say_new_line
|
|
380
374
|
say "When you make sure all settings are correct please issue following commands:", :green
|
|
381
375
|
say " git add ."
|
|
382
376
|
say ' git commit -m "Application added to Shelly Cloud"'
|
|
383
377
|
say " git push"
|
|
384
378
|
say_new_line
|
|
385
|
-
say "Deploy to
|
|
386
|
-
say " git push
|
|
379
|
+
say "Deploy to production using:", :green
|
|
380
|
+
say " git push production master"
|
|
387
381
|
say_new_line
|
|
388
382
|
end
|
|
389
383
|
end
|
data/lib/shelly/version.rb
CHANGED
data/spec/shelly/app_spec.rb
CHANGED
|
@@ -12,22 +12,8 @@ describe Shelly::App do
|
|
|
12
12
|
end
|
|
13
13
|
|
|
14
14
|
describe ".guess_code_name" do
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
Shelly::App.guess_code_name.should == "foo-staging"
|
|
18
|
-
end
|
|
19
|
-
end
|
|
20
|
-
|
|
21
|
-
context "with Cloudfile" do
|
|
22
|
-
it "should return production" do
|
|
23
|
-
File.open("Cloudfile", 'w') {|f| f.write("foo-staging:\n") }
|
|
24
|
-
Shelly::App.guess_code_name.should == "foo-production"
|
|
25
|
-
end
|
|
26
|
-
|
|
27
|
-
it "should return productionNUMBER" do
|
|
28
|
-
File.open("Cloudfile", 'w') {|f| f.write("foo-staging:\nfoo-production:\n") }
|
|
29
|
-
Shelly::App.guess_code_name.should == "foo-production1"
|
|
30
|
-
end
|
|
15
|
+
it "should return name of current working directory" do
|
|
16
|
+
Shelly::App.guess_code_name.should == "foo"
|
|
31
17
|
end
|
|
32
18
|
end
|
|
33
19
|
|
|
@@ -45,24 +31,16 @@ describe Shelly::App do
|
|
|
45
31
|
end
|
|
46
32
|
|
|
47
33
|
it "should try to remove existing git remote" do
|
|
48
|
-
@app.should_receive(:system).with("git remote rm
|
|
34
|
+
@app.should_receive(:system).with("git remote rm production > /dev/null 2>&1")
|
|
49
35
|
@app.add_git_remote
|
|
50
36
|
end
|
|
51
37
|
|
|
52
38
|
it "should add git remote with proper name and git repository" do
|
|
53
|
-
@app.should_receive(:system).with("git remote add
|
|
39
|
+
@app.should_receive(:system).with("git remote add production git@git.shellycloud.com:foo-staging.git")
|
|
54
40
|
@app.add_git_remote
|
|
55
41
|
end
|
|
56
42
|
end
|
|
57
43
|
|
|
58
|
-
describe "git_remote_exist" do
|
|
59
|
-
it "should return true if git remote exist" do
|
|
60
|
-
io = mock(:read => "origin\nfoo-staging")
|
|
61
|
-
IO.should_receive(:popen).with("git remote").and_return(io)
|
|
62
|
-
@app.git_remote_exist?.should be_true
|
|
63
|
-
end
|
|
64
|
-
end
|
|
65
|
-
|
|
66
44
|
describe "#configs" do
|
|
67
45
|
it "should get configs from client" do
|
|
68
46
|
@client.should_receive(:app_configs).with("foo-staging").and_return(config_response)
|
|
@@ -274,7 +274,6 @@ OUT
|
|
|
274
274
|
Shelly::App.stub(:new).and_return(@app)
|
|
275
275
|
@client.stub(:token).and_return("abc")
|
|
276
276
|
@app.stub(:attributes).and_return({"trial" => false})
|
|
277
|
-
@app.stub(:git_remote_exist?).and_return(false)
|
|
278
277
|
end
|
|
279
278
|
|
|
280
279
|
# This spec tests inside_git_repository? hook
|
|
@@ -329,7 +328,7 @@ OUT
|
|
|
329
328
|
end
|
|
330
329
|
|
|
331
330
|
it "should use code name provided by user" do
|
|
332
|
-
$stdout.should_receive(:print).with("Cloud code name (foo-
|
|
331
|
+
$stdout.should_receive(:print).with("Cloud code name (foo-production - default): ")
|
|
333
332
|
@app.should_receive(:code_name=).with("mycodename")
|
|
334
333
|
fake_stdin(["mycodename", ""]) do
|
|
335
334
|
invoke(@main, :add)
|
|
@@ -338,8 +337,8 @@ OUT
|
|
|
338
337
|
|
|
339
338
|
context "when user provided empty code name" do
|
|
340
339
|
it "should use 'current_dirname-purpose' as default" do
|
|
341
|
-
$stdout.should_receive(:print).with("Cloud code name (foo-
|
|
342
|
-
@app.should_receive(:code_name=).with("foo-
|
|
340
|
+
$stdout.should_receive(:print).with("Cloud code name (foo-production - default): ")
|
|
341
|
+
@app.should_receive(:code_name=).with("foo-production")
|
|
343
342
|
fake_stdin(["", ""]) do
|
|
344
343
|
invoke(@main, :add)
|
|
345
344
|
end
|
|
@@ -394,7 +393,7 @@ OUT
|
|
|
394
393
|
$stdout.should_receive(:puts).with(green "Billing information")
|
|
395
394
|
$stdout.should_receive(:puts).with("Cloud created with 20 Euro credit.")
|
|
396
395
|
$stdout.should_receive(:puts).with("Remember to provide billing details before trial ends.")
|
|
397
|
-
$stdout.should_receive(:puts).with("http://example.com/apps/foo-
|
|
396
|
+
$stdout.should_receive(:puts).with("http://example.com/apps/foo-production/billing/edit")
|
|
398
397
|
|
|
399
398
|
fake_stdin(["", ""]) do
|
|
400
399
|
invoke(@main, :add)
|
|
@@ -416,7 +415,7 @@ OUT
|
|
|
416
415
|
@app.should_receive(:create).and_raise(exception)
|
|
417
416
|
$stdout.should_receive(:puts).with("\e[31mCode name has been already taken\e[0m")
|
|
418
417
|
$stdout.should_receive(:puts).with("\e[31mFix erros in the below command and type it again to create your cloud\e[0m")
|
|
419
|
-
$stdout.should_receive(:puts).with("\e[31mshelly add --code-name=foo-
|
|
418
|
+
$stdout.should_receive(:puts).with("\e[31mshelly add --code-name=foo-production --databases=postgresql --domains=foo-production.shellyapp.com\e[0m")
|
|
420
419
|
lambda {
|
|
421
420
|
fake_stdin(["", ""]) do
|
|
422
421
|
invoke(@main, :add)
|
|
@@ -437,39 +436,11 @@ OUT
|
|
|
437
436
|
}.should raise_error(SystemExit)
|
|
438
437
|
end
|
|
439
438
|
|
|
440
|
-
|
|
441
|
-
|
|
442
|
-
|
|
443
|
-
|
|
444
|
-
|
|
445
|
-
invoke(@main, :add)
|
|
446
|
-
end
|
|
447
|
-
end
|
|
448
|
-
|
|
449
|
-
context "does exist" do
|
|
450
|
-
before do
|
|
451
|
-
@app.stub(:git_remote_exist?).and_return(true)
|
|
452
|
-
end
|
|
453
|
-
|
|
454
|
-
it "should ask if one exist and overwrite" do
|
|
455
|
-
$stdout.should_receive(:print).with("Git remote foooo exists, overwrite (yes/no): ")
|
|
456
|
-
$stdout.should_receive(:puts).with(green "Adding remote foooo git@git.shellycloud.com:foooo.git")
|
|
457
|
-
@app.should_receive(:add_git_remote)
|
|
458
|
-
fake_stdin(["foooo", "", "yes"]) do
|
|
459
|
-
invoke(@main, :add)
|
|
460
|
-
end
|
|
461
|
-
end
|
|
462
|
-
|
|
463
|
-
it "should ask if one exist and not overwrite" do
|
|
464
|
-
$stdout.should_receive(:print).with("Git remote foooo exists, overwrite (yes/no): ")
|
|
465
|
-
$stdout.should_receive(:puts).with("You have to manually add git remote:")
|
|
466
|
-
$stdout.should_receive(:puts).with("`git remote add NAME git@git.shellycloud.com:foooo.git`")
|
|
467
|
-
@app.should_not_receive(:add_git_remote)
|
|
468
|
-
fake_stdin(["foooo", "", "no"]) do
|
|
469
|
-
invoke(@main, :add)
|
|
470
|
-
end
|
|
471
|
-
end
|
|
472
|
-
|
|
439
|
+
it "should add git remote" do
|
|
440
|
+
$stdout.should_receive(:puts).with("\e[32mAdding remote production git@git.shellycloud.com:foooo.git\e[0m")
|
|
441
|
+
@app.should_receive(:add_git_remote)
|
|
442
|
+
fake_stdin(["foooo", ""]) do
|
|
443
|
+
invoke(@main, :add)
|
|
473
444
|
end
|
|
474
445
|
end
|
|
475
446
|
|
|
@@ -495,8 +466,8 @@ OUT
|
|
|
495
466
|
$stdout.should_receive(:puts).with(" git add .")
|
|
496
467
|
$stdout.should_receive(:puts).with(' git commit -m "Application added to Shelly Cloud"')
|
|
497
468
|
$stdout.should_receive(:puts).with(" git push")
|
|
498
|
-
$stdout.should_receive(:puts).with("\e[32mDeploy to
|
|
499
|
-
$stdout.should_receive(:puts).with(" git push
|
|
469
|
+
$stdout.should_receive(:puts).with("\e[32mDeploy to production using:\e[0m")
|
|
470
|
+
$stdout.should_receive(:puts).with(" git push production master")
|
|
500
471
|
fake_stdin(["foooo", "none"]) do
|
|
501
472
|
invoke(@main, :add)
|
|
502
473
|
end
|
metadata
CHANGED
|
@@ -1,167 +1,188 @@
|
|
|
1
|
-
--- !ruby/object:Gem::Specification
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: shelly
|
|
3
|
-
version: !ruby/object:Gem::Version
|
|
4
|
-
|
|
5
|
-
prerelease:
|
|
3
|
+
version: !ruby/object:Gem::Version
|
|
4
|
+
hash: 125
|
|
5
|
+
prerelease:
|
|
6
|
+
segments:
|
|
7
|
+
- 0
|
|
8
|
+
- 0
|
|
9
|
+
- 49
|
|
10
|
+
version: 0.0.49
|
|
6
11
|
platform: ruby
|
|
7
|
-
authors:
|
|
12
|
+
authors:
|
|
8
13
|
- Shelly Cloud team
|
|
9
14
|
autorequire:
|
|
10
15
|
bindir: bin
|
|
11
16
|
cert_chain: []
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
+
|
|
18
|
+
date: 2012-02-20 00:00:00 Z
|
|
19
|
+
dependencies:
|
|
20
|
+
- !ruby/object:Gem::Dependency
|
|
21
|
+
version_requirements: &id001 !ruby/object:Gem::Requirement
|
|
17
22
|
none: false
|
|
18
|
-
requirements:
|
|
19
|
-
- -
|
|
20
|
-
- !ruby/object:Gem::Version
|
|
21
|
-
|
|
23
|
+
requirements:
|
|
24
|
+
- - ">="
|
|
25
|
+
- !ruby/object:Gem::Version
|
|
26
|
+
hash: 3
|
|
27
|
+
segments:
|
|
28
|
+
- 0
|
|
29
|
+
version: "0"
|
|
30
|
+
requirement: *id001
|
|
31
|
+
prerelease: false
|
|
22
32
|
type: :development
|
|
33
|
+
name: rspec
|
|
34
|
+
- !ruby/object:Gem::Dependency
|
|
35
|
+
version_requirements: &id002 !ruby/object:Gem::Requirement
|
|
36
|
+
none: false
|
|
37
|
+
requirements:
|
|
38
|
+
- - ">="
|
|
39
|
+
- !ruby/object:Gem::Version
|
|
40
|
+
hash: 3
|
|
41
|
+
segments:
|
|
42
|
+
- 0
|
|
43
|
+
version: "0"
|
|
44
|
+
requirement: *id002
|
|
23
45
|
prerelease: false
|
|
24
|
-
|
|
25
|
-
- !ruby/object:Gem::Dependency
|
|
46
|
+
type: :development
|
|
26
47
|
name: rake
|
|
27
|
-
|
|
48
|
+
- !ruby/object:Gem::Dependency
|
|
49
|
+
version_requirements: &id003 !ruby/object:Gem::Requirement
|
|
28
50
|
none: false
|
|
29
|
-
requirements:
|
|
30
|
-
- -
|
|
31
|
-
- !ruby/object:Gem::Version
|
|
32
|
-
|
|
33
|
-
|
|
51
|
+
requirements:
|
|
52
|
+
- - ">="
|
|
53
|
+
- !ruby/object:Gem::Version
|
|
54
|
+
hash: 3
|
|
55
|
+
segments:
|
|
56
|
+
- 0
|
|
57
|
+
version: "0"
|
|
58
|
+
requirement: *id003
|
|
34
59
|
prerelease: false
|
|
35
|
-
|
|
36
|
-
- !ruby/object:Gem::Dependency
|
|
60
|
+
type: :development
|
|
37
61
|
name: guard
|
|
38
|
-
|
|
62
|
+
- !ruby/object:Gem::Dependency
|
|
63
|
+
version_requirements: &id004 !ruby/object:Gem::Requirement
|
|
39
64
|
none: false
|
|
40
|
-
requirements:
|
|
41
|
-
- -
|
|
42
|
-
- !ruby/object:Gem::Version
|
|
43
|
-
|
|
44
|
-
|
|
65
|
+
requirements:
|
|
66
|
+
- - ">="
|
|
67
|
+
- !ruby/object:Gem::Version
|
|
68
|
+
hash: 3
|
|
69
|
+
segments:
|
|
70
|
+
- 0
|
|
71
|
+
version: "0"
|
|
72
|
+
requirement: *id004
|
|
45
73
|
prerelease: false
|
|
46
|
-
|
|
47
|
-
- !ruby/object:Gem::Dependency
|
|
74
|
+
type: :development
|
|
48
75
|
name: guard-rspec
|
|
49
|
-
|
|
76
|
+
- !ruby/object:Gem::Dependency
|
|
77
|
+
version_requirements: &id005 !ruby/object:Gem::Requirement
|
|
50
78
|
none: false
|
|
51
|
-
requirements:
|
|
52
|
-
- -
|
|
53
|
-
- !ruby/object:Gem::Version
|
|
54
|
-
|
|
55
|
-
|
|
79
|
+
requirements:
|
|
80
|
+
- - ">="
|
|
81
|
+
- !ruby/object:Gem::Version
|
|
82
|
+
hash: 3
|
|
83
|
+
segments:
|
|
84
|
+
- 0
|
|
85
|
+
version: "0"
|
|
86
|
+
requirement: *id005
|
|
56
87
|
prerelease: false
|
|
57
|
-
version_requirements: *70139660815280
|
|
58
|
-
- !ruby/object:Gem::Dependency
|
|
59
|
-
name: simplecov
|
|
60
|
-
requirement: &70139660814860 !ruby/object:Gem::Requirement
|
|
61
|
-
none: false
|
|
62
|
-
requirements:
|
|
63
|
-
- - ! '>='
|
|
64
|
-
- !ruby/object:Gem::Version
|
|
65
|
-
version: '0'
|
|
66
88
|
type: :development
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
name: ruby_gntp
|
|
71
|
-
requirement: &70139660814380 !ruby/object:Gem::Requirement
|
|
89
|
+
name: simplecov
|
|
90
|
+
- !ruby/object:Gem::Dependency
|
|
91
|
+
version_requirements: &id006 !ruby/object:Gem::Requirement
|
|
72
92
|
none: false
|
|
73
|
-
requirements:
|
|
74
|
-
- -
|
|
75
|
-
- !ruby/object:Gem::Version
|
|
76
|
-
|
|
77
|
-
|
|
93
|
+
requirements:
|
|
94
|
+
- - ">="
|
|
95
|
+
- !ruby/object:Gem::Version
|
|
96
|
+
hash: 3
|
|
97
|
+
segments:
|
|
98
|
+
- 0
|
|
99
|
+
version: "0"
|
|
100
|
+
requirement: *id006
|
|
78
101
|
prerelease: false
|
|
79
|
-
version_requirements: *70139660814380
|
|
80
|
-
- !ruby/object:Gem::Dependency
|
|
81
|
-
name: rb-fsevent
|
|
82
|
-
requirement: &70139660813920 !ruby/object:Gem::Requirement
|
|
83
|
-
none: false
|
|
84
|
-
requirements:
|
|
85
|
-
- - ! '>='
|
|
86
|
-
- !ruby/object:Gem::Version
|
|
87
|
-
version: '0'
|
|
88
102
|
type: :development
|
|
89
|
-
prerelease: false
|
|
90
|
-
version_requirements: *70139660813920
|
|
91
|
-
- !ruby/object:Gem::Dependency
|
|
92
103
|
name: fakefs
|
|
93
|
-
|
|
104
|
+
- !ruby/object:Gem::Dependency
|
|
105
|
+
version_requirements: &id007 !ruby/object:Gem::Requirement
|
|
94
106
|
none: false
|
|
95
|
-
requirements:
|
|
96
|
-
- -
|
|
97
|
-
- !ruby/object:Gem::Version
|
|
98
|
-
|
|
99
|
-
|
|
107
|
+
requirements:
|
|
108
|
+
- - ">="
|
|
109
|
+
- !ruby/object:Gem::Version
|
|
110
|
+
hash: 3
|
|
111
|
+
segments:
|
|
112
|
+
- 0
|
|
113
|
+
version: "0"
|
|
114
|
+
requirement: *id007
|
|
100
115
|
prerelease: false
|
|
101
|
-
version_requirements: *70139660813400
|
|
102
|
-
- !ruby/object:Gem::Dependency
|
|
103
|
-
name: fakeweb
|
|
104
|
-
requirement: &70139660812900 !ruby/object:Gem::Requirement
|
|
105
|
-
none: false
|
|
106
|
-
requirements:
|
|
107
|
-
- - ! '>='
|
|
108
|
-
- !ruby/object:Gem::Version
|
|
109
|
-
version: '0'
|
|
110
116
|
type: :development
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
name: wijet-thor
|
|
115
|
-
requirement: &70139660812180 !ruby/object:Gem::Requirement
|
|
117
|
+
name: fakeweb
|
|
118
|
+
- !ruby/object:Gem::Dependency
|
|
119
|
+
version_requirements: &id008 !ruby/object:Gem::Requirement
|
|
116
120
|
none: false
|
|
117
|
-
requirements:
|
|
121
|
+
requirements:
|
|
118
122
|
- - ~>
|
|
119
|
-
- !ruby/object:Gem::Version
|
|
123
|
+
- !ruby/object:Gem::Version
|
|
124
|
+
hash: 41
|
|
125
|
+
segments:
|
|
126
|
+
- 0
|
|
127
|
+
- 14
|
|
128
|
+
- 7
|
|
120
129
|
version: 0.14.7
|
|
130
|
+
requirement: *id008
|
|
131
|
+
prerelease: false
|
|
121
132
|
type: :runtime
|
|
133
|
+
name: wijet-thor
|
|
134
|
+
- !ruby/object:Gem::Dependency
|
|
135
|
+
version_requirements: &id009 !ruby/object:Gem::Requirement
|
|
136
|
+
none: false
|
|
137
|
+
requirements:
|
|
138
|
+
- - ">="
|
|
139
|
+
- !ruby/object:Gem::Version
|
|
140
|
+
hash: 3
|
|
141
|
+
segments:
|
|
142
|
+
- 0
|
|
143
|
+
version: "0"
|
|
144
|
+
requirement: *id009
|
|
122
145
|
prerelease: false
|
|
123
|
-
|
|
124
|
-
- !ruby/object:Gem::Dependency
|
|
146
|
+
type: :runtime
|
|
125
147
|
name: rest-client
|
|
126
|
-
|
|
148
|
+
- !ruby/object:Gem::Dependency
|
|
149
|
+
version_requirements: &id010 !ruby/object:Gem::Requirement
|
|
127
150
|
none: false
|
|
128
|
-
requirements:
|
|
129
|
-
- -
|
|
130
|
-
- !ruby/object:Gem::Version
|
|
131
|
-
|
|
132
|
-
|
|
151
|
+
requirements:
|
|
152
|
+
- - ">="
|
|
153
|
+
- !ruby/object:Gem::Version
|
|
154
|
+
hash: 3
|
|
155
|
+
segments:
|
|
156
|
+
- 0
|
|
157
|
+
version: "0"
|
|
158
|
+
requirement: *id010
|
|
133
159
|
prerelease: false
|
|
134
|
-
|
|
135
|
-
- !ruby/object:Gem::Dependency
|
|
160
|
+
type: :runtime
|
|
136
161
|
name: json
|
|
137
|
-
|
|
162
|
+
- !ruby/object:Gem::Dependency
|
|
163
|
+
version_requirements: &id011 !ruby/object:Gem::Requirement
|
|
138
164
|
none: false
|
|
139
|
-
requirements:
|
|
140
|
-
- -
|
|
141
|
-
- !ruby/object:Gem::Version
|
|
142
|
-
|
|
143
|
-
|
|
165
|
+
requirements:
|
|
166
|
+
- - ">="
|
|
167
|
+
- !ruby/object:Gem::Version
|
|
168
|
+
hash: 3
|
|
169
|
+
segments:
|
|
170
|
+
- 0
|
|
171
|
+
version: "0"
|
|
172
|
+
requirement: *id011
|
|
144
173
|
prerelease: false
|
|
145
|
-
version_requirements: *70139660810960
|
|
146
|
-
- !ruby/object:Gem::Dependency
|
|
147
|
-
name: progressbar
|
|
148
|
-
requirement: &70139660810520 !ruby/object:Gem::Requirement
|
|
149
|
-
none: false
|
|
150
|
-
requirements:
|
|
151
|
-
- - ! '>='
|
|
152
|
-
- !ruby/object:Gem::Version
|
|
153
|
-
version: '0'
|
|
154
174
|
type: :runtime
|
|
155
|
-
|
|
156
|
-
version_requirements: *70139660810520
|
|
175
|
+
name: progressbar
|
|
157
176
|
description: Tool for managing applications and clouds at shellycloud.com
|
|
158
|
-
email:
|
|
177
|
+
email:
|
|
159
178
|
- support@shellycloud.com
|
|
160
|
-
executables:
|
|
179
|
+
executables:
|
|
161
180
|
- shelly
|
|
162
181
|
extensions: []
|
|
182
|
+
|
|
163
183
|
extra_rdoc_files: []
|
|
164
|
-
|
|
184
|
+
|
|
185
|
+
files:
|
|
165
186
|
- .gitignore
|
|
166
187
|
- .travis.yml
|
|
167
188
|
- Gemfile
|
|
@@ -213,43 +234,36 @@ files:
|
|
|
213
234
|
- spec/thor/options_spec.rb
|
|
214
235
|
homepage: http://shellycloud.com
|
|
215
236
|
licenses: []
|
|
237
|
+
|
|
216
238
|
post_install_message:
|
|
217
239
|
rdoc_options: []
|
|
218
|
-
|
|
240
|
+
|
|
241
|
+
require_paths:
|
|
219
242
|
- lib
|
|
220
|
-
required_ruby_version: !ruby/object:Gem::Requirement
|
|
243
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
|
221
244
|
none: false
|
|
222
|
-
requirements:
|
|
223
|
-
- -
|
|
224
|
-
- !ruby/object:Gem::Version
|
|
225
|
-
|
|
226
|
-
|
|
245
|
+
requirements:
|
|
246
|
+
- - ">="
|
|
247
|
+
- !ruby/object:Gem::Version
|
|
248
|
+
hash: 3
|
|
249
|
+
segments:
|
|
250
|
+
- 0
|
|
251
|
+
version: "0"
|
|
252
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
227
253
|
none: false
|
|
228
|
-
requirements:
|
|
229
|
-
- -
|
|
230
|
-
- !ruby/object:Gem::Version
|
|
231
|
-
|
|
254
|
+
requirements:
|
|
255
|
+
- - ">="
|
|
256
|
+
- !ruby/object:Gem::Version
|
|
257
|
+
hash: 3
|
|
258
|
+
segments:
|
|
259
|
+
- 0
|
|
260
|
+
version: "0"
|
|
232
261
|
requirements: []
|
|
262
|
+
|
|
233
263
|
rubyforge_project: shelly
|
|
234
264
|
rubygems_version: 1.8.10
|
|
235
265
|
signing_key:
|
|
236
266
|
specification_version: 3
|
|
237
267
|
summary: Shelly Cloud command line tool
|
|
238
|
-
test_files:
|
|
239
|
-
|
|
240
|
-
- spec/input_faker.rb
|
|
241
|
-
- spec/shelly/app_spec.rb
|
|
242
|
-
- spec/shelly/backup_spec.rb
|
|
243
|
-
- spec/shelly/cli/backup_spec.rb
|
|
244
|
-
- spec/shelly/cli/config_spec.rb
|
|
245
|
-
- spec/shelly/cli/deploys_spec.rb
|
|
246
|
-
- spec/shelly/cli/main_spec.rb
|
|
247
|
-
- spec/shelly/cli/runner_spec.rb
|
|
248
|
-
- spec/shelly/cli/user_spec.rb
|
|
249
|
-
- spec/shelly/client_spec.rb
|
|
250
|
-
- spec/shelly/cloudfile_spec.rb
|
|
251
|
-
- spec/shelly/download_progress_bar_spec.rb
|
|
252
|
-
- spec/shelly/model_spec.rb
|
|
253
|
-
- spec/shelly/user_spec.rb
|
|
254
|
-
- spec/spec_helper.rb
|
|
255
|
-
- spec/thor/options_spec.rb
|
|
268
|
+
test_files: []
|
|
269
|
+
|