shelly 0.1.22 → 0.1.23
Sign up to get free protection for your applications and to get access to all the features.
- data/CHANGELOG.md +8 -0
- data/lib/shelly/app.rb +0 -4
- data/lib/shelly/cli/main.rb +0 -6
- data/lib/shelly/version.rb +1 -1
- data/spec/shelly/app_spec.rb +0 -7
- data/spec/shelly/cli/main_spec.rb +0 -5
- metadata +2 -2
data/CHANGELOG.md
CHANGED
@@ -1,3 +1,11 @@
|
|
1
|
+
## 0.1.23 / 2012-08-08
|
2
|
+
|
3
|
+
* Don't display mail server IP address in shelly info
|
4
|
+
|
5
|
+
Set SPF records with https://shellycloud.com/documentation/features#sending_emails
|
6
|
+
|
7
|
+
* Removed deprecated shelly execute
|
8
|
+
|
1
9
|
## 0.1.22 / 2012-08-06
|
2
10
|
|
3
11
|
* [feature] Add dbconsole to access 'rails dbconsole' on Shelly Cloud.
|
data/lib/shelly/app.rb
CHANGED
data/lib/shelly/cli/main.rb
CHANGED
@@ -353,12 +353,6 @@ We have been notified about it. We will be adding new resources shortly}
|
|
353
353
|
app.open
|
354
354
|
end
|
355
355
|
|
356
|
-
desc "execute CODE", "Run code on one of application servers"
|
357
|
-
method_option :cloud, :type => :string, :aliases => "-c", :desc => "Specify cloud"
|
358
|
-
def execute(file)
|
359
|
-
say_error "`shelly execute` is deprecated and will be removed in a future release of shelly gem, please use `shelly console`"
|
360
|
-
end
|
361
|
-
|
362
356
|
desc "console", "Open application console"
|
363
357
|
method_option :cloud, :type => :string, :aliases => "-c", :desc => "Specify cloud"
|
364
358
|
def console
|
data/lib/shelly/version.rb
CHANGED
data/spec/shelly/app_spec.rb
CHANGED
@@ -140,7 +140,6 @@ describe Shelly::App do
|
|
140
140
|
describe "#attributes" do
|
141
141
|
before do
|
142
142
|
@response = {"web_server_ip" => "192.0.2.1",
|
143
|
-
"mail_server_ip" => "192.0.2.3",
|
144
143
|
"state" => "running",
|
145
144
|
"trial" => true,
|
146
145
|
"credit" => 23.0,
|
@@ -180,12 +179,6 @@ describe Shelly::App do
|
|
180
179
|
end
|
181
180
|
end
|
182
181
|
|
183
|
-
describe "#mail_server_ip" do
|
184
|
-
it "should return mail server ip address" do
|
185
|
-
@app.mail_server_ip.should == "192.0.2.3"
|
186
|
-
end
|
187
|
-
end
|
188
|
-
|
189
182
|
describe "#state" do
|
190
183
|
it "should return state of cloud" do
|
191
184
|
@app.state.should == "running"
|
@@ -35,7 +35,6 @@ Tasks:
|
|
35
35
|
shelly dbconsole # Run rails dbconsole
|
36
36
|
shelly delete # Delete the cloud
|
37
37
|
shelly deploys <command> # View deploy logs
|
38
|
-
shelly execute CODE # Run code on one of application servers
|
39
38
|
shelly files <command> # Upload and download files to and from persistent storage
|
40
39
|
shelly help [TASK] # Describe available tasks or one specific task
|
41
40
|
shelly info # Show basic information about cloud
|
@@ -777,7 +776,6 @@ We have been notified about it. We will be adding new resources shortly")
|
|
777
776
|
$stdout.should_receive(:puts).with(" Deployed by: megan@example.com")
|
778
777
|
$stdout.should_receive(:puts).with(" Repository URL: git@winniecloud.net:example-cloud")
|
779
778
|
$stdout.should_receive(:puts).with(" Web server IP: 22.22.22.22")
|
780
|
-
$stdout.should_receive(:puts).with(" Mail server IP: 11.11.11.11")
|
781
779
|
$stdout.should_receive(:puts).with(" Statistics:")
|
782
780
|
$stdout.should_receive(:puts).with(" app1:")
|
783
781
|
$stdout.should_receive(:puts).with(" Load average: 1m: 0.04, 5m: 0.15, 15m: 0.13")
|
@@ -796,7 +794,6 @@ We have been notified about it. We will be adding new resources shortly")
|
|
796
794
|
$stdout.should_receive(:puts).with(" Deployed by: megan@example.com")
|
797
795
|
$stdout.should_receive(:puts).with(" Repository URL: git@winniecloud.net:example-cloud")
|
798
796
|
$stdout.should_receive(:puts).with(" Web server IP: 22.22.22.22")
|
799
|
-
$stdout.should_receive(:puts).with(" Mail server IP: 11.11.11.11")
|
800
797
|
$stdout.should_receive(:puts).with(" Statistics:")
|
801
798
|
$stdout.should_receive(:puts).with(" app1:")
|
802
799
|
$stdout.should_receive(:puts).with(" Load average: 1m: 0.04, 5m: 0.15, 15m: 0.13")
|
@@ -814,7 +811,6 @@ We have been notified about it. We will be adding new resources shortly")
|
|
814
811
|
$stdout.should_receive(:puts).with(" Deployed by: megan@example.com")
|
815
812
|
$stdout.should_receive(:puts).with(" Repository URL: git@winniecloud.net:example-cloud")
|
816
813
|
$stdout.should_receive(:puts).with(" Web server IP: 22.22.22.22")
|
817
|
-
$stdout.should_receive(:puts).with(" Mail server IP: 11.11.11.11")
|
818
814
|
$stdout.should_receive(:puts).with(" Statistics:")
|
819
815
|
$stdout.should_receive(:puts).with(" app1:")
|
820
816
|
$stdout.should_receive(:puts).with(" Load average: 1m: 0.04, 5m: 0.15, 15m: 0.13")
|
@@ -852,7 +848,6 @@ We have been notified about it. We will be adding new resources shortly")
|
|
852
848
|
"repository_url" => "git@winniecloud.net:example-cloud",
|
853
849
|
"deployed_push_author" => "megan@example.com"
|
854
850
|
},
|
855
|
-
"mail_server_ip" => "11.11.11.11",
|
856
851
|
"web_server_ip" => "22.22.22.22" }.merge(options)
|
857
852
|
end
|
858
853
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: shelly
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.23
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2012-08-
|
12
|
+
date: 2012-08-08 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: rspec
|