shelly 0.2.21 → 0.2.22
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/CHANGELOG.md +5 -0
- data/lib/shelly/app.rb +8 -21
- data/lib/shelly/cli/main.rb +25 -18
- data/lib/shelly/version.rb +1 -1
- data/spec/shelly/app_spec.rb +7 -30
- data/spec/shelly/cli/main_spec.rb +18 -12
- metadata +38 -55
- checksums.yaml +0 -15
data/CHANGELOG.md
CHANGED
@@ -1,3 +1,8 @@
|
|
1
|
+
## 0.2.22 / 2013-05-20
|
2
|
+
|
3
|
+
* [improvement] default application name is created without -staging/-production suffix
|
4
|
+
* [improvement] git remote created after `shelly add` and `shelly setup` is named 'shelly'
|
5
|
+
|
1
6
|
## 0.2.21 / 2013-05-13
|
2
7
|
|
3
8
|
* [improvement] require 'puma' or 'thin' gems if present in Cloudfile when running `shelly check`
|
data/lib/shelly/app.rb
CHANGED
@@ -40,24 +40,24 @@ module Shelly
|
|
40
40
|
end
|
41
41
|
|
42
42
|
def add_git_remote
|
43
|
-
system("git remote rm
|
44
|
-
system("git remote add
|
43
|
+
system("git remote rm shelly > /dev/null 2>&1")
|
44
|
+
system("git remote add shelly #{git_url}")
|
45
45
|
end
|
46
46
|
|
47
47
|
def git_remote_exist?
|
48
|
-
IO.popen("git remote").read.include?(
|
48
|
+
IO.popen("git remote").read.include?('shelly')
|
49
49
|
end
|
50
50
|
|
51
51
|
def git_fetch_remote
|
52
|
-
system("git fetch
|
52
|
+
system("git fetch shelly > /dev/null 2>&1")
|
53
53
|
end
|
54
54
|
|
55
55
|
def git_add_tracking_branch
|
56
|
-
system("git checkout -b
|
56
|
+
system("git checkout -b shelly --track shelly/master > /dev/null 2>&1")
|
57
57
|
end
|
58
58
|
|
59
59
|
def remove_git_remote
|
60
|
-
system("git remote rm
|
60
|
+
system("git remote rm shelly > /dev/null 2>&1")
|
61
61
|
end
|
62
62
|
|
63
63
|
def create
|
@@ -147,21 +147,8 @@ module Shelly
|
|
147
147
|
shelly.deployment(code_name, deployment_id)
|
148
148
|
end
|
149
149
|
|
150
|
-
def self.
|
151
|
-
|
152
|
-
cloudfile = Cloudfile.new
|
153
|
-
if cloudfile.present?
|
154
|
-
clouds = cloudfile.clouds.map(&:code_name)
|
155
|
-
if clouds.grep(/staging/).present?
|
156
|
-
guessed = "production"
|
157
|
-
production_clouds = clouds.grep(/production/)
|
158
|
-
production_clouds.sort.each do |cloud|
|
159
|
-
cloud =~ /production(\d*)/
|
160
|
-
guessed = "production#{$1.to_i+1}"
|
161
|
-
end
|
162
|
-
end
|
163
|
-
end
|
164
|
-
"#{File.basename(Dir.pwd)}-#{guessed || 'staging'}".downcase.dasherize
|
150
|
+
def self.code_name_from_dir_name
|
151
|
+
"#{File.basename(Dir.pwd)}".downcase.dasherize
|
165
152
|
end
|
166
153
|
|
167
154
|
def configs
|
data/lib/shelly/cli/main.rb
CHANGED
@@ -108,16 +108,11 @@ module Shelly
|
|
108
108
|
app.zone_name = options["zone"]
|
109
109
|
app.create
|
110
110
|
|
111
|
-
|
112
|
-
say "Adding remote #{app} #{app.git_url}", :green
|
113
|
-
app.add_git_remote
|
114
|
-
else
|
115
|
-
say "You have to manually add git remote:"
|
116
|
-
say "`git remote add NAME #{app.git_url}`"
|
117
|
-
end
|
111
|
+
git_remote = add_remote(app)
|
118
112
|
|
119
113
|
say "Creating Cloudfile", :green
|
120
114
|
app.create_cloudfile
|
115
|
+
|
121
116
|
if app.credit > 0 || !app.organization_details_present?
|
122
117
|
say_new_line
|
123
118
|
say "Billing information", :green
|
@@ -131,7 +126,7 @@ module Shelly
|
|
131
126
|
end
|
132
127
|
|
133
128
|
info_adding_cloudfile_to_repository
|
134
|
-
info_deploying_to_shellycloud(
|
129
|
+
info_deploying_to_shellycloud(git_remote)
|
135
130
|
|
136
131
|
rescue Client::ValidationException => e
|
137
132
|
e.each_error { |error| say_error error, :with_exit => false }
|
@@ -242,17 +237,17 @@ Wait until cloud is in 'turned off' state and try again.}
|
|
242
237
|
say "Setting up #{app} cloud", :green
|
243
238
|
app.git_url = app.attributes["git_info"]["repository_url"]
|
244
239
|
if overwrite_remote?(app)
|
245
|
-
say "git remote add
|
240
|
+
say "git remote add shelly #{app.git_url}"
|
246
241
|
app.add_git_remote
|
247
|
-
say "git fetch
|
242
|
+
say "git fetch shelly"
|
248
243
|
app.git_fetch_remote
|
249
|
-
say "git checkout -b
|
244
|
+
say "git checkout -b shelly --track shelly/master"
|
250
245
|
app.git_add_tracking_branch
|
251
246
|
else
|
252
247
|
say "You have to manually add remote:"
|
253
|
-
say "`git remote add
|
254
|
-
say "`git fetch
|
255
|
-
say "`git checkout -b
|
248
|
+
say "`git remote add shelly #{app.git_url}`"
|
249
|
+
say "`git fetch shelly`"
|
250
|
+
say "`git checkout -b shelly --track shelly/master`"
|
256
251
|
end
|
257
252
|
|
258
253
|
say_new_line
|
@@ -561,7 +556,19 @@ Wait until cloud is in 'turned off' state and try again.}
|
|
561
556
|
|
562
557
|
def overwrite_remote?(app)
|
563
558
|
git_remote = app.git_remote_exist?
|
564
|
-
!git_remote or (git_remote and yes?("Git remote
|
559
|
+
!git_remote or (git_remote and yes?("Git remote shelly exists, overwrite (yes/no): "))
|
560
|
+
end
|
561
|
+
|
562
|
+
def add_remote(app)
|
563
|
+
if overwrite_remote?(app)
|
564
|
+
say "Adding remote shelly #{app.git_url}", :green
|
565
|
+
app.add_git_remote
|
566
|
+
"shelly"
|
567
|
+
else
|
568
|
+
say "You have to manually add git remote:"
|
569
|
+
say "`git remote add NAME #{app.git_url}`"
|
570
|
+
"NAME"
|
571
|
+
end
|
565
572
|
end
|
566
573
|
|
567
574
|
def ask_for_password(options = {})
|
@@ -584,8 +591,8 @@ Wait until cloud is in 'turned off' state and try again.}
|
|
584
591
|
end
|
585
592
|
|
586
593
|
def ask_for_code_name
|
587
|
-
default_code_name = Shelly::App.
|
588
|
-
code_name = ask("Cloud code name (#{Shelly::App.
|
594
|
+
default_code_name = Shelly::App.code_name_from_dir_name
|
595
|
+
code_name = ask("Cloud code name (#{Shelly::App.code_name_from_dir_name} - default):")
|
589
596
|
code_name.blank? ? default_code_name : code_name
|
590
597
|
end
|
591
598
|
|
@@ -637,7 +644,7 @@ Wait until cloud is in 'turned off' state and try again.}
|
|
637
644
|
say " git status"
|
638
645
|
end
|
639
646
|
|
640
|
-
def info_deploying_to_shellycloud(remote)
|
647
|
+
def info_deploying_to_shellycloud(remote = 'shelly')
|
641
648
|
say_new_line
|
642
649
|
say "When you make sure all settings are correct please issue following commands:", :green
|
643
650
|
say " git add ."
|
data/lib/shelly/version.rb
CHANGED
data/spec/shelly/app_spec.rb
CHANGED
@@ -10,33 +10,10 @@ describe Shelly::App do
|
|
10
10
|
@app = Shelly::App.new('foo-staging')
|
11
11
|
end
|
12
12
|
|
13
|
-
describe ".
|
13
|
+
describe ".code_name_from_dir_name" do
|
14
14
|
it "should downcase and dasherize code name" do
|
15
15
|
Dir.stub(:pwd).and_return("/project/FOO")
|
16
|
-
Shelly::App.
|
17
|
-
end
|
18
|
-
|
19
|
-
context "no Cloudfile" do
|
20
|
-
it "should return name of current working directory" do
|
21
|
-
Shelly::App.guess_code_name.should == "foo-staging"
|
22
|
-
end
|
23
|
-
end
|
24
|
-
|
25
|
-
context "with Cloudfile" do
|
26
|
-
it "should return production" do
|
27
|
-
File.open("Cloudfile", 'w') {|f| f.write("foo-staging:\n") }
|
28
|
-
Shelly::App.guess_code_name.should == "foo-production"
|
29
|
-
end
|
30
|
-
|
31
|
-
it "should return production" do
|
32
|
-
File.open("Cloudfile", 'w') {|f| f.write("winnie-test:\n") }
|
33
|
-
Shelly::App.guess_code_name.should == "foo-staging"
|
34
|
-
end
|
35
|
-
|
36
|
-
it "should return productionNUMBER" do
|
37
|
-
File.open("Cloudfile", 'w') {|f| f.write("foo-staging:\nfoo-production:\n") }
|
38
|
-
Shelly::App.guess_code_name.should == "foo-production1"
|
39
|
-
end
|
16
|
+
Shelly::App.code_name_from_dir_name.should == "foo"
|
40
17
|
end
|
41
18
|
end
|
42
19
|
|
@@ -54,26 +31,26 @@ describe Shelly::App do
|
|
54
31
|
end
|
55
32
|
|
56
33
|
it "should try to remove existing git remote" do
|
57
|
-
@app.should_receive(:system).with("git remote rm
|
34
|
+
@app.should_receive(:system).with("git remote rm shelly > /dev/null 2>&1")
|
58
35
|
@app.add_git_remote
|
59
36
|
end
|
60
37
|
|
61
38
|
it "should add git remote with proper name and git repository" do
|
62
|
-
@app.should_receive(:system).with("git remote add
|
39
|
+
@app.should_receive(:system).with("git remote add shelly git@git.shellycloud.com:foo-staging.git")
|
63
40
|
@app.add_git_remote
|
64
41
|
end
|
65
42
|
end
|
66
43
|
|
67
44
|
describe "git_fetch_remote" do
|
68
45
|
it "should try to remove existing git remote" do
|
69
|
-
@app.should_receive(:system).with("git fetch
|
46
|
+
@app.should_receive(:system).with("git fetch shelly > /dev/null 2>&1")
|
70
47
|
@app.git_fetch_remote
|
71
48
|
end
|
72
49
|
end
|
73
50
|
|
74
51
|
describe "git_add_tracking_branch" do
|
75
52
|
it "should try to remove existing git remote" do
|
76
|
-
@app.should_receive(:system).with("git checkout -b
|
53
|
+
@app.should_receive(:system).with("git checkout -b shelly --track shelly/master > /dev/null 2>&1")
|
77
54
|
@app.git_add_tracking_branch
|
78
55
|
end
|
79
56
|
end
|
@@ -81,7 +58,7 @@ describe Shelly::App do
|
|
81
58
|
|
82
59
|
describe "git_remote_exist" do
|
83
60
|
it "should return true if git remote exist" do
|
84
|
-
io = mock(:read => "origin\
|
61
|
+
io = mock(:read => "origin\nshelly")
|
85
62
|
IO.should_receive(:popen).with("git remote").and_return(io)
|
86
63
|
@app.git_remote_exist?.should be_true
|
87
64
|
end
|
@@ -364,7 +364,7 @@ More info at http://git-scm.com/book/en/Git-Basics-Getting-a-Git-Repository\e[0m
|
|
364
364
|
end
|
365
365
|
|
366
366
|
it "should use code name provided by user" do
|
367
|
-
$stdout.should_receive(:print).with("Cloud code name (foo
|
367
|
+
$stdout.should_receive(:print).with("Cloud code name (foo - default): ")
|
368
368
|
@app.should_receive(:code_name=).with("mycodename")
|
369
369
|
fake_stdin(["mycodename", ""]) do
|
370
370
|
invoke(@main, :add)
|
@@ -372,9 +372,9 @@ More info at http://git-scm.com/book/en/Git-Basics-Getting-a-Git-Repository\e[0m
|
|
372
372
|
end
|
373
373
|
|
374
374
|
context "when user provided empty code name" do
|
375
|
-
it "should use 'current_dirname
|
376
|
-
$stdout.should_receive(:print).with("Cloud code name (foo
|
377
|
-
@app.should_receive(:code_name=).with("foo
|
375
|
+
it "should use 'current_dirname' as default" do
|
376
|
+
$stdout.should_receive(:print).with("Cloud code name (foo - default): ")
|
377
|
+
@app.should_receive(:code_name=).with("foo")
|
378
378
|
fake_stdin(["", ""]) do
|
379
379
|
invoke(@main, :add)
|
380
380
|
end
|
@@ -462,7 +462,7 @@ More info at http://git-scm.com/book/en/Git-Basics-Getting-a-Git-Repository\e[0m
|
|
462
462
|
|
463
463
|
context "git remote" do
|
464
464
|
it "should add one if it doesn't exist" do
|
465
|
-
$stdout.should_receive(:puts).with("\e[32mAdding remote
|
465
|
+
$stdout.should_receive(:puts).with("\e[32mAdding remote shelly git@git.shellycloud.com:foooo.git\e[0m")
|
466
466
|
@app.should_receive(:add_git_remote)
|
467
467
|
fake_stdin(["foooo", ""]) do
|
468
468
|
invoke(@main, :add)
|
@@ -475,8 +475,8 @@ More info at http://git-scm.com/book/en/Git-Basics-Getting-a-Git-Repository\e[0m
|
|
475
475
|
end
|
476
476
|
|
477
477
|
it "should ask if one exist and overwrite" do
|
478
|
-
$stdout.should_receive(:print).with("Git remote
|
479
|
-
$stdout.should_receive(:puts).with(green "Adding remote
|
478
|
+
$stdout.should_receive(:print).with("Git remote shelly exists, overwrite (yes/no): ")
|
479
|
+
$stdout.should_receive(:puts).with(green "Adding remote shelly git@git.shellycloud.com:foooo.git")
|
480
480
|
@app.should_receive(:add_git_remote)
|
481
481
|
fake_stdin(["foooo", "", "yes"]) do
|
482
482
|
invoke(@main, :add)
|
@@ -484,9 +484,15 @@ More info at http://git-scm.com/book/en/Git-Basics-Getting-a-Git-Repository\e[0m
|
|
484
484
|
end
|
485
485
|
|
486
486
|
it "should ask if one exist and not overwrite" do
|
487
|
-
$stdout.should_receive(:print).with("Git remote
|
487
|
+
$stdout.should_receive(:print).with("Git remote shelly exists, overwrite (yes/no): ")
|
488
488
|
$stdout.should_receive(:puts).with("You have to manually add git remote:")
|
489
489
|
$stdout.should_receive(:puts).with("`git remote add NAME git@git.shellycloud.com:foooo.git`")
|
490
|
+
$stdout.should_receive(:puts).with("\e[32mWhen you make sure all settings are correct please issue following commands:\e[0m")
|
491
|
+
$stdout.should_receive(:puts).with(" git add .")
|
492
|
+
$stdout.should_receive(:puts).with(' git commit -m "Application added to Shelly Cloud"')
|
493
|
+
$stdout.should_receive(:puts).with(" git push")
|
494
|
+
$stdout.should_receive(:puts).with("\e[32mDeploy to your cloud using:\e[0m")
|
495
|
+
$stdout.should_receive(:puts).with(" git push NAME master")
|
490
496
|
@app.should_not_receive(:add_git_remote)
|
491
497
|
fake_stdin(["foooo", "", "no"]) do
|
492
498
|
invoke(@main, :add)
|
@@ -515,7 +521,7 @@ More info at http://git-scm.com/book/en/Git-Basics-Getting-a-Git-Repository\e[0m
|
|
515
521
|
$stdout.should_receive(:puts).with(' git commit -m "Application added to Shelly Cloud"')
|
516
522
|
$stdout.should_receive(:puts).with(" git push")
|
517
523
|
$stdout.should_receive(:puts).with("\e[32mDeploy to your cloud using:\e[0m")
|
518
|
-
$stdout.should_receive(:puts).with(" git push
|
524
|
+
$stdout.should_receive(:puts).with(" git push shelly master")
|
519
525
|
fake_stdin(["foooo", "none"]) do
|
520
526
|
invoke(@main, :add)
|
521
527
|
end
|
@@ -1067,9 +1073,9 @@ Wait until cloud is in 'turned off' state and try again.")
|
|
1067
1073
|
|
1068
1074
|
it "should show info about adding remote and branch" do
|
1069
1075
|
$stdout.should_receive(:puts).with(green "Setting up foo-staging cloud")
|
1070
|
-
$stdout.should_receive(:puts).with("git remote add
|
1071
|
-
$stdout.should_receive(:puts).with("git fetch
|
1072
|
-
$stdout.should_receive(:puts).with("git checkout -b
|
1076
|
+
$stdout.should_receive(:puts).with("git remote add shelly git_url")
|
1077
|
+
$stdout.should_receive(:puts).with("git fetch shelly")
|
1078
|
+
$stdout.should_receive(:puts).with("git checkout -b shelly --track shelly/master")
|
1073
1079
|
$stdout.should_receive(:puts).with(green "Your application is set up.")
|
1074
1080
|
invoke(@main, :setup)
|
1075
1081
|
end
|
metadata
CHANGED
@@ -1,18 +1,20 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: shelly
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.22
|
5
|
+
prerelease:
|
5
6
|
platform: ruby
|
6
7
|
authors:
|
7
8
|
- Shelly Cloud team
|
8
9
|
autorequire:
|
9
10
|
bindir: bin
|
10
11
|
cert_chain: []
|
11
|
-
date: 2013-05-
|
12
|
+
date: 2013-05-20 00:00:00.000000000 Z
|
12
13
|
dependencies:
|
13
14
|
- !ruby/object:Gem::Dependency
|
14
15
|
name: rspec
|
15
16
|
requirement: !ruby/object:Gem::Requirement
|
17
|
+
none: false
|
16
18
|
requirements:
|
17
19
|
- - ~>
|
18
20
|
- !ruby/object:Gem::Version
|
@@ -20,6 +22,7 @@ dependencies:
|
|
20
22
|
type: :development
|
21
23
|
prerelease: false
|
22
24
|
version_requirements: !ruby/object:Gem::Requirement
|
25
|
+
none: false
|
23
26
|
requirements:
|
24
27
|
- - ~>
|
25
28
|
- !ruby/object:Gem::Version
|
@@ -27,6 +30,7 @@ dependencies:
|
|
27
30
|
- !ruby/object:Gem::Dependency
|
28
31
|
name: rake
|
29
32
|
requirement: !ruby/object:Gem::Requirement
|
33
|
+
none: false
|
30
34
|
requirements:
|
31
35
|
- - ! '>='
|
32
36
|
- !ruby/object:Gem::Version
|
@@ -34,6 +38,7 @@ dependencies:
|
|
34
38
|
type: :development
|
35
39
|
prerelease: false
|
36
40
|
version_requirements: !ruby/object:Gem::Requirement
|
41
|
+
none: false
|
37
42
|
requirements:
|
38
43
|
- - ! '>='
|
39
44
|
- !ruby/object:Gem::Version
|
@@ -41,6 +46,7 @@ dependencies:
|
|
41
46
|
- !ruby/object:Gem::Dependency
|
42
47
|
name: guard
|
43
48
|
requirement: !ruby/object:Gem::Requirement
|
49
|
+
none: false
|
44
50
|
requirements:
|
45
51
|
- - ! '>='
|
46
52
|
- !ruby/object:Gem::Version
|
@@ -48,6 +54,7 @@ dependencies:
|
|
48
54
|
type: :development
|
49
55
|
prerelease: false
|
50
56
|
version_requirements: !ruby/object:Gem::Requirement
|
57
|
+
none: false
|
51
58
|
requirements:
|
52
59
|
- - ! '>='
|
53
60
|
- !ruby/object:Gem::Version
|
@@ -55,6 +62,7 @@ dependencies:
|
|
55
62
|
- !ruby/object:Gem::Dependency
|
56
63
|
name: guard-rspec
|
57
64
|
requirement: !ruby/object:Gem::Requirement
|
65
|
+
none: false
|
58
66
|
requirements:
|
59
67
|
- - ! '>='
|
60
68
|
- !ruby/object:Gem::Version
|
@@ -62,6 +70,7 @@ dependencies:
|
|
62
70
|
type: :development
|
63
71
|
prerelease: false
|
64
72
|
version_requirements: !ruby/object:Gem::Requirement
|
73
|
+
none: false
|
65
74
|
requirements:
|
66
75
|
- - ! '>='
|
67
76
|
- !ruby/object:Gem::Version
|
@@ -69,6 +78,7 @@ dependencies:
|
|
69
78
|
- !ruby/object:Gem::Dependency
|
70
79
|
name: simplecov
|
71
80
|
requirement: !ruby/object:Gem::Requirement
|
81
|
+
none: false
|
72
82
|
requirements:
|
73
83
|
- - ! '>='
|
74
84
|
- !ruby/object:Gem::Version
|
@@ -76,34 +86,7 @@ dependencies:
|
|
76
86
|
type: :development
|
77
87
|
prerelease: false
|
78
88
|
version_requirements: !ruby/object:Gem::Requirement
|
79
|
-
|
80
|
-
- - ! '>='
|
81
|
-
- !ruby/object:Gem::Version
|
82
|
-
version: '0'
|
83
|
-
- !ruby/object:Gem::Dependency
|
84
|
-
name: ruby_gntp
|
85
|
-
requirement: !ruby/object:Gem::Requirement
|
86
|
-
requirements:
|
87
|
-
- - ! '>='
|
88
|
-
- !ruby/object:Gem::Version
|
89
|
-
version: '0'
|
90
|
-
type: :development
|
91
|
-
prerelease: false
|
92
|
-
version_requirements: !ruby/object:Gem::Requirement
|
93
|
-
requirements:
|
94
|
-
- - ! '>='
|
95
|
-
- !ruby/object:Gem::Version
|
96
|
-
version: '0'
|
97
|
-
- !ruby/object:Gem::Dependency
|
98
|
-
name: rb-fsevent
|
99
|
-
requirement: !ruby/object:Gem::Requirement
|
100
|
-
requirements:
|
101
|
-
- - ! '>='
|
102
|
-
- !ruby/object:Gem::Version
|
103
|
-
version: '0'
|
104
|
-
type: :development
|
105
|
-
prerelease: false
|
106
|
-
version_requirements: !ruby/object:Gem::Requirement
|
89
|
+
none: false
|
107
90
|
requirements:
|
108
91
|
- - ! '>='
|
109
92
|
- !ruby/object:Gem::Version
|
@@ -111,6 +94,7 @@ dependencies:
|
|
111
94
|
- !ruby/object:Gem::Dependency
|
112
95
|
name: fakefs
|
113
96
|
requirement: !ruby/object:Gem::Requirement
|
97
|
+
none: false
|
114
98
|
requirements:
|
115
99
|
- - ! '>='
|
116
100
|
- !ruby/object:Gem::Version
|
@@ -118,6 +102,7 @@ dependencies:
|
|
118
102
|
type: :development
|
119
103
|
prerelease: false
|
120
104
|
version_requirements: !ruby/object:Gem::Requirement
|
105
|
+
none: false
|
121
106
|
requirements:
|
122
107
|
- - ! '>='
|
123
108
|
- !ruby/object:Gem::Version
|
@@ -125,6 +110,7 @@ dependencies:
|
|
125
110
|
- !ruby/object:Gem::Dependency
|
126
111
|
name: fakeweb
|
127
112
|
requirement: !ruby/object:Gem::Requirement
|
113
|
+
none: false
|
128
114
|
requirements:
|
129
115
|
- - ! '>='
|
130
116
|
- !ruby/object:Gem::Version
|
@@ -132,6 +118,7 @@ dependencies:
|
|
132
118
|
type: :development
|
133
119
|
prerelease: false
|
134
120
|
version_requirements: !ruby/object:Gem::Requirement
|
121
|
+
none: false
|
135
122
|
requirements:
|
136
123
|
- - ! '>='
|
137
124
|
- !ruby/object:Gem::Version
|
@@ -139,6 +126,7 @@ dependencies:
|
|
139
126
|
- !ruby/object:Gem::Dependency
|
140
127
|
name: wijet-thor
|
141
128
|
requirement: !ruby/object:Gem::Requirement
|
129
|
+
none: false
|
142
130
|
requirements:
|
143
131
|
- - ~>
|
144
132
|
- !ruby/object:Gem::Version
|
@@ -146,6 +134,7 @@ dependencies:
|
|
146
134
|
type: :runtime
|
147
135
|
prerelease: false
|
148
136
|
version_requirements: !ruby/object:Gem::Requirement
|
137
|
+
none: false
|
149
138
|
requirements:
|
150
139
|
- - ~>
|
151
140
|
- !ruby/object:Gem::Version
|
@@ -153,6 +142,7 @@ dependencies:
|
|
153
142
|
- !ruby/object:Gem::Dependency
|
154
143
|
name: rest-client
|
155
144
|
requirement: !ruby/object:Gem::Requirement
|
145
|
+
none: false
|
156
146
|
requirements:
|
157
147
|
- - ! '>='
|
158
148
|
- !ruby/object:Gem::Version
|
@@ -160,6 +150,7 @@ dependencies:
|
|
160
150
|
type: :runtime
|
161
151
|
prerelease: false
|
162
152
|
version_requirements: !ruby/object:Gem::Requirement
|
153
|
+
none: false
|
163
154
|
requirements:
|
164
155
|
- - ! '>='
|
165
156
|
- !ruby/object:Gem::Version
|
@@ -167,6 +158,7 @@ dependencies:
|
|
167
158
|
- !ruby/object:Gem::Dependency
|
168
159
|
name: json
|
169
160
|
requirement: !ruby/object:Gem::Requirement
|
161
|
+
none: false
|
170
162
|
requirements:
|
171
163
|
- - ! '>='
|
172
164
|
- !ruby/object:Gem::Version
|
@@ -174,6 +166,7 @@ dependencies:
|
|
174
166
|
type: :runtime
|
175
167
|
prerelease: false
|
176
168
|
version_requirements: !ruby/object:Gem::Requirement
|
169
|
+
none: false
|
177
170
|
requirements:
|
178
171
|
- - ! '>='
|
179
172
|
- !ruby/object:Gem::Version
|
@@ -181,6 +174,7 @@ dependencies:
|
|
181
174
|
- !ruby/object:Gem::Dependency
|
182
175
|
name: progressbar
|
183
176
|
requirement: !ruby/object:Gem::Requirement
|
177
|
+
none: false
|
184
178
|
requirements:
|
185
179
|
- - ! '>='
|
186
180
|
- !ruby/object:Gem::Version
|
@@ -188,6 +182,7 @@ dependencies:
|
|
188
182
|
type: :runtime
|
189
183
|
prerelease: false
|
190
184
|
version_requirements: !ruby/object:Gem::Requirement
|
185
|
+
none: false
|
191
186
|
requirements:
|
192
187
|
- - ! '>='
|
193
188
|
- !ruby/object:Gem::Version
|
@@ -195,6 +190,7 @@ dependencies:
|
|
195
190
|
- !ruby/object:Gem::Dependency
|
196
191
|
name: launchy
|
197
192
|
requirement: !ruby/object:Gem::Requirement
|
193
|
+
none: false
|
198
194
|
requirements:
|
199
195
|
- - ! '>='
|
200
196
|
- !ruby/object:Gem::Version
|
@@ -202,6 +198,7 @@ dependencies:
|
|
202
198
|
type: :runtime
|
203
199
|
prerelease: false
|
204
200
|
version_requirements: !ruby/object:Gem::Requirement
|
201
|
+
none: false
|
205
202
|
requirements:
|
206
203
|
- - ! '>='
|
207
204
|
- !ruby/object:Gem::Version
|
@@ -276,46 +273,32 @@ files:
|
|
276
273
|
- spec/thor/options_spec.rb
|
277
274
|
homepage: http://shellycloud.com
|
278
275
|
licenses: []
|
279
|
-
metadata: {}
|
280
276
|
post_install_message:
|
281
277
|
rdoc_options: []
|
282
278
|
require_paths:
|
283
279
|
- lib
|
284
280
|
required_ruby_version: !ruby/object:Gem::Requirement
|
281
|
+
none: false
|
285
282
|
requirements:
|
286
283
|
- - ! '>='
|
287
284
|
- !ruby/object:Gem::Version
|
288
285
|
version: '0'
|
286
|
+
segments:
|
287
|
+
- 0
|
288
|
+
hash: -3704020040703191433
|
289
289
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
290
|
+
none: false
|
290
291
|
requirements:
|
291
292
|
- - ! '>='
|
292
293
|
- !ruby/object:Gem::Version
|
293
294
|
version: '0'
|
295
|
+
segments:
|
296
|
+
- 0
|
297
|
+
hash: -3704020040703191433
|
294
298
|
requirements: []
|
295
299
|
rubyforge_project: shelly
|
296
|
-
rubygems_version:
|
300
|
+
rubygems_version: 1.8.24
|
297
301
|
signing_key:
|
298
|
-
specification_version:
|
302
|
+
specification_version: 3
|
299
303
|
summary: Shelly Cloud command line tool
|
300
|
-
test_files:
|
301
|
-
- spec/helpers.rb
|
302
|
-
- spec/input_faker.rb
|
303
|
-
- spec/shelly/app_spec.rb
|
304
|
-
- spec/shelly/backup_spec.rb
|
305
|
-
- spec/shelly/cli/backup_spec.rb
|
306
|
-
- spec/shelly/cli/config_spec.rb
|
307
|
-
- spec/shelly/cli/deploy_spec.rb
|
308
|
-
- spec/shelly/cli/file_spec.rb
|
309
|
-
- spec/shelly/cli/main_spec.rb
|
310
|
-
- spec/shelly/cli/organization_spec.rb
|
311
|
-
- spec/shelly/cli/runner_spec.rb
|
312
|
-
- spec/shelly/cli/user_spec.rb
|
313
|
-
- spec/shelly/client_spec.rb
|
314
|
-
- spec/shelly/cloudfile_spec.rb
|
315
|
-
- spec/shelly/download_progress_bar_spec.rb
|
316
|
-
- spec/shelly/model_spec.rb
|
317
|
-
- spec/shelly/organization_spec.rb
|
318
|
-
- spec/shelly/structure_validator_spec.rb
|
319
|
-
- spec/shelly/user_spec.rb
|
320
|
-
- spec/spec_helper.rb
|
321
|
-
- spec/thor/options_spec.rb
|
304
|
+
test_files: []
|
checksums.yaml
DELETED
@@ -1,15 +0,0 @@
|
|
1
|
-
---
|
2
|
-
!binary "U0hBMQ==":
|
3
|
-
metadata.gz: !binary |-
|
4
|
-
M2E2MzQxMDcyNzUwM2RhMWE5OTZlNWM4MGFhODFjN2Q2YWI3YjcyNA==
|
5
|
-
data.tar.gz: !binary |-
|
6
|
-
YTVkMDU5NmZhYTFlYWExNTNiYzE5YzYzYThmMTYzODliMDQ1NGU4ZA==
|
7
|
-
!binary "U0hBNTEy":
|
8
|
-
metadata.gz: !binary |-
|
9
|
-
ZTI3YmJmZjliYjk4ZDU1MGNjMDNkNGY5NTdkNGI3ZGRjMTY4ZGMwN2JjZjQ5
|
10
|
-
YWZjMGQ0YjEyNzI4MDAyMWFhNjNiN2VlOTkxNjM4OGNkZGY5ZDU5NTZhNDk4
|
11
|
-
OGI5ZjNlZDFlZGM4YzU5N2NmM2Y2MWM1N2JlNmNlZjIwNDE2YzA=
|
12
|
-
data.tar.gz: !binary |-
|
13
|
-
NTUwMzg3ZTkwY2I4Mzk0ZjMzNzE3MTkzY2EyOWZmNGQzODIyNWU2NmYwMTQz
|
14
|
-
Y2I2YzgyOTU3MzczZDNjMzU0NzBmMTg5OGViNWViYTQ4ODE3ZmQxNzI3ZjYy
|
15
|
-
ZWNhNmY3Y2U3MTlhZmJkNTYzZTA5ZmUzZWFjODgzOTE0MmEwODU=
|