shelly 0.2.6.pre → 0.2.7
Sign up to get free protection for your applications and to get access to all the features.
- data/.travis.yml +1 -0
- data/CHANGELOG.md +6 -0
- data/README.md +1 -1
- data/lib/shelly/cli/main.rb +12 -2
- data/lib/shelly/structure_validator.rb +15 -1
- data/lib/shelly/templates/Cloudfile.erb +1 -1
- data/lib/shelly/version.rb +1 -1
- data/scrolls/shellycloud.rb +5 -5
- data/spec/shelly/cli/main_spec.rb +36 -3
- data/spec/shelly/client_spec.rb +1 -1
- data/spec/shelly/cloudfile_spec.rb +4 -4
- data/spec/shelly/structure_validator_spec.rb +38 -1
- data/spec/spec_helper.rb +1 -0
- metadata +40 -57
- checksums.yaml +0 -15
data/CHANGELOG.md
CHANGED
data/README.md
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
# Shelly Cloud command line tool [![Build Status](https://secure.travis-ci.org/shellycloud/shelly.png?branch=master)](http://travis-ci.org/
|
1
|
+
# Shelly Cloud command line tool [![Build Status](https://secure.travis-ci.org/shellycloud/shelly.png?branch=master)](http://travis-ci.org/shellycloud/shelly)
|
2
2
|
|
3
3
|
## Installation
|
4
4
|
|
data/lib/shelly/cli/main.rb
CHANGED
@@ -419,8 +419,12 @@ Wait until cloud is in 'turned off' state and try again.}
|
|
419
419
|
"Gemfile.lock is missing in git repository",
|
420
420
|
:show_fulfilled => verbose)
|
421
421
|
|
422
|
-
print_check(structure.config_ru?, "
|
423
|
-
"
|
422
|
+
print_check(structure.config_ru?, "config.ru is present",
|
423
|
+
"config.ru is missing",
|
424
|
+
:show_fulfilled => verbose)
|
425
|
+
|
426
|
+
print_check(structure.rakefile?, "Rakefile is present",
|
427
|
+
"Rakefile is missing",
|
424
428
|
:show_fulfilled => verbose)
|
425
429
|
|
426
430
|
print_check(structure.gem?("shelly-dependencies"),
|
@@ -434,6 +438,12 @@ Wait until cloud is in 'turned off' state and try again.}
|
|
434
438
|
print_check(structure.gem?("rake"), "Gem 'rake' is present",
|
435
439
|
"Gem 'rake' is missing in the Gemfile", :show_fulfilled => verbose)
|
436
440
|
|
441
|
+
print_check(structure.task?("db:migrate"), "Task 'db:migrate' is present",
|
442
|
+
"Task 'db:migrate' is missing", :show_fulfilled => verbose)
|
443
|
+
|
444
|
+
print_check(structure.task?("db:setup"), "Task 'db:setup' is present",
|
445
|
+
"Task 'db:setup' is missing", :show_fulfilled => verbose)
|
446
|
+
|
437
447
|
cloudfile = Cloudfile.new
|
438
448
|
if cloudfile.present?
|
439
449
|
cloudfile.clouds.each do |app|
|
@@ -19,14 +19,23 @@ module Shelly
|
|
19
19
|
repo_paths.include?("config.ru")
|
20
20
|
end
|
21
21
|
|
22
|
+
def rakefile?
|
23
|
+
repo_paths.include?("Rakefile")
|
24
|
+
end
|
25
|
+
|
22
26
|
def gem?(name)
|
23
27
|
gems.include?(name)
|
24
28
|
end
|
25
29
|
|
30
|
+
def task?(name)
|
31
|
+
tasks.include?("rake #{name}")
|
32
|
+
end
|
33
|
+
|
26
34
|
# Public: Check all requirements that app has to fulfill
|
27
35
|
def valid?
|
28
36
|
gemfile? && gemfile_lock? && gem?("thin") &&
|
29
|
-
gem?("rake") && config_ru?
|
37
|
+
gem?("rake") && config_ru? && rakefile? &&
|
38
|
+
task?("db:migrate") && task?("db:setup")
|
30
39
|
end
|
31
40
|
|
32
41
|
def invalid?
|
@@ -49,6 +58,11 @@ module Shelly
|
|
49
58
|
@gems ||= definition.specs.map(&:name)
|
50
59
|
end
|
51
60
|
|
61
|
+
def tasks
|
62
|
+
return [] unless rakefile?
|
63
|
+
@loaded_tasks ||= %x(rake -P).split("\n")
|
64
|
+
end
|
65
|
+
|
52
66
|
def repo_paths
|
53
67
|
@repo_paths ||= begin
|
54
68
|
files = `git ls-files`.split("\n")
|
data/lib/shelly/version.rb
CHANGED
data/scrolls/shellycloud.rb
CHANGED
@@ -39,12 +39,12 @@ after_everything do
|
|
39
39
|
app_name.gsub!(/\W/, '') # only letters and numbers
|
40
40
|
app_name.gsub!("_", "-")
|
41
41
|
|
42
|
-
|
42
|
+
virtual_server_size = "large"
|
43
43
|
if framework_env == "production"
|
44
|
-
say_custom "shellycloud", "Using large
|
44
|
+
say_custom "shellycloud", "Using large virtual servers for production environment"
|
45
45
|
else
|
46
|
-
say_custom "shellycloud", "Using small
|
47
|
-
|
46
|
+
say_custom "shellycloud", "Using small virtual servers for staging environment"
|
47
|
+
virtual_server_size = "small"
|
48
48
|
end
|
49
49
|
|
50
50
|
code_name = "#{app_name}-#{framework_env}"
|
@@ -52,7 +52,7 @@ after_everything do
|
|
52
52
|
name = File.basename(".")
|
53
53
|
command = "bundle exec shelly add --code_name #{code_name} "
|
54
54
|
command += "--databases=#{selected_db} " if selected_db
|
55
|
-
command += "--size=#{
|
55
|
+
command += "--size=#{virtual_server_size}"
|
56
56
|
|
57
57
|
run command
|
58
58
|
|
@@ -1425,7 +1425,8 @@ Wait until cloud is in 'turned off' state and try again.")
|
|
1425
1425
|
Bundler::Definition.stub_chain(:build, :specs, :map) \
|
1426
1426
|
.and_return(["thin", "pg", "delayed_job", "whenever", "sidekiq"])
|
1427
1427
|
Shelly::StructureValidator.any_instance.stub(:repo_paths) \
|
1428
|
-
.and_return(["config.ru", "Gemfile", "Gemfile.lock"])
|
1428
|
+
.and_return(["config.ru", "Gemfile", "Gemfile.lock", "Rakefile"])
|
1429
|
+
Shelly::StructureValidator.any_instance.stub(:tasks).and_return(["rake db:migrate"])
|
1429
1430
|
end
|
1430
1431
|
|
1431
1432
|
it "should ensure user is in git repository" do
|
@@ -1477,9 +1478,24 @@ Wait until cloud is in 'turned off' state and try again.")
|
|
1477
1478
|
end
|
1478
1479
|
end
|
1479
1480
|
|
1481
|
+
context "when 'db:migrate' task exists" do
|
1482
|
+
it "should show that necessary task exists" do
|
1483
|
+
$stdout.should_receive(:puts).with(" #{green("✓")} Task 'db:migrate' is present")
|
1484
|
+
invoke(@main, :check)
|
1485
|
+
end
|
1486
|
+
end
|
1487
|
+
|
1488
|
+
context "when 'db:migrate' task doesn't exist" do
|
1489
|
+
it "should show that necessary task doesn't exist" do
|
1490
|
+
Shelly::StructureValidator.any_instance.stub(:tasks).and_return([])
|
1491
|
+
$stdout.should_receive(:puts).with(" #{red("✗")} Task 'db:migrate' is missing")
|
1492
|
+
invoke(@main, :check)
|
1493
|
+
end
|
1494
|
+
end
|
1495
|
+
|
1480
1496
|
context "when config.ru exists" do
|
1481
1497
|
it "should show that config.ru exists" do
|
1482
|
-
$stdout.should_receive(:puts).with(" #{green("✓")}
|
1498
|
+
$stdout.should_receive(:puts).with(" #{green("✓")} config.ru is present")
|
1483
1499
|
invoke(@main, :check)
|
1484
1500
|
end
|
1485
1501
|
end
|
@@ -1487,7 +1503,22 @@ Wait until cloud is in 'turned off' state and try again.")
|
|
1487
1503
|
context "when config.ru doesn't exist" do
|
1488
1504
|
it "should show that config.ru is neccessary" do
|
1489
1505
|
Shelly::StructureValidator.any_instance.stub(:repo_paths).and_return([])
|
1490
|
-
$stdout.should_receive(:puts).with(" #{red("✗")}
|
1506
|
+
$stdout.should_receive(:puts).with(" #{red("✗")} config.ru is missing")
|
1507
|
+
invoke(@main, :check)
|
1508
|
+
end
|
1509
|
+
end
|
1510
|
+
|
1511
|
+
context "when Rakefile exists" do
|
1512
|
+
it "should show that Rakefile exists" do
|
1513
|
+
$stdout.should_receive(:puts).with(" #{green("✓")} Rakefile is present")
|
1514
|
+
invoke(@main, :check)
|
1515
|
+
end
|
1516
|
+
end
|
1517
|
+
|
1518
|
+
context "when Rakefile doesn't exist" do
|
1519
|
+
it "should show that Rakefile is neccessary" do
|
1520
|
+
Shelly::StructureValidator.any_instance.stub(:repo_paths).and_return([])
|
1521
|
+
$stdout.should_receive(:puts).with(" #{red("✗")} Rakefile is missing")
|
1491
1522
|
invoke(@main, :check)
|
1492
1523
|
end
|
1493
1524
|
end
|
@@ -1576,8 +1607,10 @@ Wait until cloud is in 'turned off' state and try again.")
|
|
1576
1607
|
|
1577
1608
|
it "should display only errors and warnings when in verbose mode" do
|
1578
1609
|
$stdout.should_not_receive(:puts).with(" #{green("✓")} Gem 'thin' is present")
|
1610
|
+
$stdout.should_not_receive(:puts).with(" #{green("✓")} Task 'db:migrate' is present")
|
1579
1611
|
$stdout.should_receive(:puts).with(" #{yellow("ϟ")} Gem 'shelly-dependencies' is missing, we recommend to install it\n See more at https://shellycloud.com/documentation/requirements#shelly-dependencies")
|
1580
1612
|
$stdout.should_receive(:puts).with(" #{red("✗")} Gem 'rake' is missing in the Gemfile")
|
1613
|
+
$stdout.should_receive(:puts).with(" #{red("✗")} Task 'db:setup' is missing")
|
1581
1614
|
$stdout.should_receive(:puts).with("\nFix points marked with #{red("✗")} to run your application on the Shelly Cloud")
|
1582
1615
|
$stdout.should_receive(:puts).with("See more about requirements on https://shellycloud.com/documentation/requirements")
|
1583
1616
|
@main.check(false)
|
data/spec/shelly/client_spec.rb
CHANGED
@@ -244,7 +244,7 @@ describe Shelly::Client do
|
|
244
244
|
end
|
245
245
|
|
246
246
|
describe "#console" do
|
247
|
-
it "should fetch
|
247
|
+
it "should fetch virtual server data from API" do
|
248
248
|
body = {:port => "40010", :host => "console.example.com", :user => "foo-production"}
|
249
249
|
FakeWeb.register_uri(:get, api_url("apps/staging-foo/console"),
|
250
250
|
:body => body.to_json)
|
@@ -104,12 +104,12 @@ config
|
|
104
104
|
@cloudfile.stub(:current_user => mock(:email => "bob@example.com"))
|
105
105
|
end
|
106
106
|
|
107
|
-
context "for large
|
107
|
+
context "for large virtual server" do
|
108
108
|
it "should generate sample Cloudfile with given attributes" do
|
109
109
|
FakeFS.deactivate!
|
110
110
|
expected = <<-config
|
111
111
|
foo-staging:
|
112
|
-
ruby_version: 1.9.3 # 1.9.3, 1.9.2 or ree-1.8.7
|
112
|
+
ruby_version: 1.9.3 # 2.0.0, 1.9.3, 1.9.2 or ree-1.8.7
|
113
113
|
environment: production # RAILS_ENV
|
114
114
|
monitoring_email: bob@example.com
|
115
115
|
domains:
|
@@ -131,13 +131,13 @@ config
|
|
131
131
|
end
|
132
132
|
end
|
133
133
|
|
134
|
-
context "for small
|
134
|
+
context "for small virtual server" do
|
135
135
|
it "should generate sample Cloudfile with given attributes and 2 thins" do
|
136
136
|
FakeFS.deactivate!
|
137
137
|
@cloudfile.size = "small"
|
138
138
|
expected = <<-config
|
139
139
|
foo-staging:
|
140
|
-
ruby_version: 1.9.3 # 1.9.3, 1.9.2 or ree-1.8.7
|
140
|
+
ruby_version: 1.9.3 # 2.0.0, 1.9.3, 1.9.2 or ree-1.8.7
|
141
141
|
environment: production # RAILS_ENV
|
142
142
|
monitoring_email: bob@example.com
|
143
143
|
domains:
|
@@ -3,7 +3,7 @@ require "spec_helper"
|
|
3
3
|
describe Shelly::StructureValidator do
|
4
4
|
before do
|
5
5
|
@validator = Shelly::StructureValidator.new
|
6
|
-
@validator.stub(:repo_paths => ["Gemfile", "Gemfile.lock", "config.ru"])
|
6
|
+
@validator.stub(:repo_paths => ["Gemfile", "Gemfile.lock", "config.ru", "Rakefile"])
|
7
7
|
end
|
8
8
|
|
9
9
|
describe "#gemfile?" do
|
@@ -51,6 +51,21 @@ describe Shelly::StructureValidator do
|
|
51
51
|
end
|
52
52
|
end
|
53
53
|
|
54
|
+
describe "#rakefile?" do
|
55
|
+
context "when Rakefile exists" do
|
56
|
+
it "should return true" do
|
57
|
+
@validator.rakefile?.should be_true
|
58
|
+
end
|
59
|
+
end
|
60
|
+
|
61
|
+
context "when Rakefile doesn't exist" do
|
62
|
+
it "should return false" do
|
63
|
+
@validator.stub(:repo_paths => ["Gemfile"])
|
64
|
+
@validator.rakefile?.should be_false
|
65
|
+
end
|
66
|
+
end
|
67
|
+
end
|
68
|
+
|
54
69
|
describe "#gem?" do
|
55
70
|
before do
|
56
71
|
@validator.stub(:gemfile? => true, :gemfile_lock? => true)
|
@@ -80,4 +95,26 @@ describe Shelly::StructureValidator do
|
|
80
95
|
end
|
81
96
|
end
|
82
97
|
end
|
98
|
+
|
99
|
+
describe "#task?" do
|
100
|
+
before do
|
101
|
+
@validator.should_receive(:'`').at_most(1).with("rake -P").and_return("rake db:migrate")
|
102
|
+
@validator.stub(:rakefile? => true)
|
103
|
+
end
|
104
|
+
|
105
|
+
it "should return true if task is present" do
|
106
|
+
@validator.task?("db:migrate").should be_true
|
107
|
+
end
|
108
|
+
|
109
|
+
it "should return false if task is missing" do
|
110
|
+
@validator.task?("db:setup").should be_false
|
111
|
+
end
|
112
|
+
|
113
|
+
context "when Rakefile doesn't exist" do
|
114
|
+
it "should return false" do
|
115
|
+
@validator.stub(:rakefile? => false)
|
116
|
+
@validator.task?("db:migrate").should be_false
|
117
|
+
end
|
118
|
+
end
|
119
|
+
end
|
83
120
|
end
|
data/spec/spec_helper.rb
CHANGED
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.7
|
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-03-
|
12
|
+
date: 2013-03-07 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: -626297834617784665
|
289
289
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
290
|
+
none: false
|
290
291
|
requirements:
|
291
|
-
- - ! '
|
292
|
+
- - ! '>='
|
292
293
|
- !ruby/object:Gem::Version
|
293
|
-
version:
|
294
|
+
version: '0'
|
295
|
+
segments:
|
296
|
+
- 0
|
297
|
+
hash: -626297834617784665
|
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
|
-
YmQzZjFkMjc0MWFjMDdjNDVhN2VmYmUzZmM0MjI1NTNhMmRlODk3MQ==
|
5
|
-
data.tar.gz: !binary |-
|
6
|
-
MzAwOWQ1NzQzZTJiOGUwNmVjYTFiYTRjZjg1YzU0ZDAwODhmNDdjYw==
|
7
|
-
!binary "U0hBNTEy":
|
8
|
-
metadata.gz: !binary |-
|
9
|
-
NjU5MmFlNmE4ZGU1YWJmY2JlYzlmYjIyNjUyYTA3YTU4YmE5NjdkZTBjYzQy
|
10
|
-
MTZiNTk5NzllYjU5NTQxMWU2OGE2ZTIzNzI0NTQ2NDk1NGMzNDU1YzgxYWM1
|
11
|
-
NTM3ZjA1MjM5ZTRhYTE2NDA1MGIzMGVmOTk2YzlmMmNlYmNiYjg=
|
12
|
-
data.tar.gz: !binary |-
|
13
|
-
MzcyYjcwZGMyNzdkZTgxYTBhMzM3ZWU0MzJjYjJiMTYxZmEyNjRiZDczNDg2
|
14
|
-
ODRlMDU0OGI0N2NhNTE1ODJhZTc0Mzk5YzU1ZjNkZDNkYmI5Y2E4MWExMTZl
|
15
|
-
N2Y5NDU0NGVhODU0Mzc2OTc0YjRkY2FjZWFhMjI2NDdhYmY2OWY=
|