shelly 0.0.50 → 0.0.51.pre

Sign up to get free protection for your applications and to get access to all the features.
data/lib/shelly/app.rb CHANGED
@@ -13,12 +13,16 @@ module Shelly
13
13
  end
14
14
 
15
15
  def add_git_remote
16
- system("git remote rm production > /dev/null 2>&1")
17
- system("git remote add production #{git_url}")
16
+ system("git remote rm #{code_name} > /dev/null 2>&1")
17
+ system("git remote add #{code_name} #{git_url}")
18
+ end
19
+
20
+ def git_remote_exist?
21
+ IO.popen("git remote").read.include?(code_name)
18
22
  end
19
23
 
20
24
  def remove_git_remote
21
- system("git remote rm production > /dev/null 2>&1")
25
+ system("git remote rm #{code_name} > /dev/null 2>&1")
22
26
  end
23
27
 
24
28
  def generate_cloudfile
@@ -102,7 +106,19 @@ module Shelly
102
106
  end
103
107
 
104
108
  def self.guess_code_name
105
- File.basename(Dir.pwd)
109
+ guessed = nil
110
+ if Cloudfile.present?
111
+ clouds = Cloudfile.new.clouds
112
+ if clouds.grep(/staging/).present?
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'}"
106
122
  end
107
123
 
108
124
  def collaborations
@@ -62,7 +62,7 @@ module Shelly
62
62
  rescue Client::UnauthorizedException => e
63
63
  say_error "Wrong email or password", :with_exit => false
64
64
  say_error "You can reset password by using link:", :with_exit => false
65
- say_error "#{e[:url]}"
65
+ say_error e[:url]
66
66
  rescue Errno::ENOENT => e
67
67
  say_error e, :with_exit => false
68
68
  say_error "Use ssh-keygen to generate ssh key pair"
@@ -85,8 +85,14 @@ module Shelly
85
85
  @app.domains = options["domains"] || ["#{@app.code_name}.shellyapp.com"]
86
86
  @app.create
87
87
 
88
- say "Adding remote production #{@app.git_url}", :green
89
- @app.add_git_remote
88
+ git_remote = @app.git_remote_exist?
89
+ if !git_remote or (git_remote and yes?("Git remote #{@app} exists, overwrite (yes/no): "))
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
90
96
 
91
97
  say "Creating Cloudfile", :green
92
98
  @app.create_cloudfile
@@ -100,7 +106,7 @@ module Shelly
100
106
  end
101
107
 
102
108
  info_adding_cloudfile_to_repository
103
- info_deploying_to_shellycloud
109
+ info_deploying_to_shellycloud(@app)
104
110
 
105
111
  rescue Client::ValidationException => e
106
112
  e.each_error { |error| say_error error, :with_exit => false }
@@ -147,8 +153,8 @@ module Shelly
147
153
  def start
148
154
  multiple_clouds(options[:cloud], "start")
149
155
  @app.start
150
- say "Starting cloud #{@app}. Check status with:", :green
151
- say " shelly list"
156
+ say "Starting cloud #{@app}.", :green
157
+ say "Check status with: `shelly list`"
152
158
  rescue Client::ConflictException => e
153
159
  case e[:state]
154
160
  when "running"
@@ -164,11 +170,14 @@ module Shelly
164
170
  say_error "Support has been notified", :with_exit => false
165
171
  say_error "Check `shelly deploys show last --cloud #{@app}` for reasons of failure"
166
172
  when "not_enough_resources"
167
- say_error "Sorry, There are no resources for your servers. We have been notified about it. We will be adding new resources shortly"
173
+ say_error %{Sorry, There are no resources for your servers.
174
+ We have been notified about it. We will be adding new resources shortly}
168
175
  when "no_billing"
169
176
  url = "#{@app.shelly.shellyapp_url}/apps/#{@app.code_name}/edit_billing"
170
177
  say_error "Please fill in billing details to start foo-production.", :with_exit => false
171
178
  say_error "Visit: #{url}", :with_exit => false
179
+ when "payment_declined"
180
+ say_error "Not starting. Invoice for cloud '#{@app}' was declined."
172
181
  end
173
182
  exit 1
174
183
  rescue Client::NotFoundException => e
@@ -239,7 +248,10 @@ module Shelly
239
248
 
240
249
  desc "execute CODE", "Run code on one of application servers"
241
250
  method_option :cloud, :type => :string, :aliases => "-c", :desc => "Specify cloud"
242
- long_desc "Run code given in parameter on one of application servers. If a file name is given, run contents of that file."
251
+ long_desc %{
252
+ Run code given in parameter on one of application servers.
253
+ If a file name is given, run contents of that file."
254
+ }
243
255
  def execute(file_name_or_code)
244
256
  cloud = options[:cloud]
245
257
  multiple_clouds(cloud, "execute")
@@ -344,8 +356,8 @@ module Shelly
344
356
  end
345
357
 
346
358
  def ask_for_code_name
347
- default_code_name = "#{Shelly::App.guess_code_name}-production"
348
- code_name = ask("Cloud code name (#{default_code_name} - default):")
359
+ default_code_name = Shelly::App.guess_code_name
360
+ code_name = ask("Cloud code name (#{Shelly::App.guess_code_name} - default):")
349
361
  code_name.blank? ? default_code_name : code_name
350
362
  end
351
363
 
@@ -369,15 +381,15 @@ module Shelly
369
381
  say " git status"
370
382
  end
371
383
 
372
- def info_deploying_to_shellycloud
384
+ def info_deploying_to_shellycloud(remote)
373
385
  say_new_line
374
386
  say "When you make sure all settings are correct please issue following commands:", :green
375
387
  say " git add ."
376
388
  say ' git commit -m "Application added to Shelly Cloud"'
377
389
  say " git push"
378
390
  say_new_line
379
- say "Deploy to production using:", :green
380
- say " git push production master"
391
+ say "Deploy to your cloud using:", :green
392
+ say " git push #{remote} master"
381
393
  say_new_line
382
394
  end
383
395
  end
@@ -1,3 +1,3 @@
1
1
  module Shelly
2
- VERSION = "0.0.50"
2
+ VERSION = "0.0.51.pre"
3
3
  end
@@ -12,8 +12,27 @@ describe Shelly::App do
12
12
  end
13
13
 
14
14
  describe ".guess_code_name" do
15
- it "should return name of current working directory" do
16
- Shelly::App.guess_code_name.should == "foo"
15
+ context "no Cloudfile" do
16
+ it "should return name of current working directory" do
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 production" do
28
+ File.open("Cloudfile", 'w') {|f| f.write("winnie-test:\n") }
29
+ Shelly::App.guess_code_name.should == "foo-staging"
30
+ end
31
+
32
+ it "should return productionNUMBER" do
33
+ File.open("Cloudfile", 'w') {|f| f.write("foo-staging:\nfoo-production:\n") }
34
+ Shelly::App.guess_code_name.should == "foo-production1"
35
+ end
17
36
  end
18
37
  end
19
38
 
@@ -31,16 +50,24 @@ describe Shelly::App do
31
50
  end
32
51
 
33
52
  it "should try to remove existing git remote" do
34
- @app.should_receive(:system).with("git remote rm production > /dev/null 2>&1")
53
+ @app.should_receive(:system).with("git remote rm foo-staging > /dev/null 2>&1")
35
54
  @app.add_git_remote
36
55
  end
37
56
 
38
57
  it "should add git remote with proper name and git repository" do
39
- @app.should_receive(:system).with("git remote add production git@git.shellycloud.com:foo-staging.git")
58
+ @app.should_receive(:system).with("git remote add foo-staging git@git.shellycloud.com:foo-staging.git")
40
59
  @app.add_git_remote
41
60
  end
42
61
  end
43
62
 
63
+ describe "git_remote_exist" do
64
+ it "should return true if git remote exist" do
65
+ io = mock(:read => "origin\nfoo-staging")
66
+ IO.should_receive(:popen).with("git remote").and_return(io)
67
+ @app.git_remote_exist?.should be_true
68
+ end
69
+ end
70
+
44
71
  describe "#configs" do
45
72
  it "should get configs from client" do
46
73
  @client.should_receive(:app_configs).with("foo-staging").and_return(config_response)
@@ -274,6 +274,7 @@ 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)
277
278
  end
278
279
 
279
280
  # This spec tests inside_git_repository? hook
@@ -328,7 +329,7 @@ OUT
328
329
  end
329
330
 
330
331
  it "should use code name provided by user" do
331
- $stdout.should_receive(:print).with("Cloud code name (foo-production - default): ")
332
+ $stdout.should_receive(:print).with("Cloud code name (foo-staging - default): ")
332
333
  @app.should_receive(:code_name=).with("mycodename")
333
334
  fake_stdin(["mycodename", ""]) do
334
335
  invoke(@main, :add)
@@ -337,8 +338,8 @@ OUT
337
338
 
338
339
  context "when user provided empty code name" do
339
340
  it "should use 'current_dirname-purpose' as default" do
340
- $stdout.should_receive(:print).with("Cloud code name (foo-production - default): ")
341
- @app.should_receive(:code_name=).with("foo-production")
341
+ $stdout.should_receive(:print).with("Cloud code name (foo-staging - default): ")
342
+ @app.should_receive(:code_name=).with("foo-staging")
342
343
  fake_stdin(["", ""]) do
343
344
  invoke(@main, :add)
344
345
  end
@@ -393,7 +394,7 @@ OUT
393
394
  $stdout.should_receive(:puts).with(green "Billing information")
394
395
  $stdout.should_receive(:puts).with("Cloud created with 20 Euro credit.")
395
396
  $stdout.should_receive(:puts).with("Remember to provide billing details before trial ends.")
396
- $stdout.should_receive(:puts).with("http://example.com/apps/foo-production/billing/edit")
397
+ $stdout.should_receive(:puts).with("http://example.com/apps/foo-staging/billing/edit")
397
398
 
398
399
  fake_stdin(["", ""]) do
399
400
  invoke(@main, :add)
@@ -415,7 +416,7 @@ OUT
415
416
  @app.should_receive(:create).and_raise(exception)
416
417
  $stdout.should_receive(:puts).with("\e[31mCode name has been already taken\e[0m")
417
418
  $stdout.should_receive(:puts).with("\e[31mFix erros in the below command and type it again to create your cloud\e[0m")
418
- $stdout.should_receive(:puts).with("\e[31mshelly add --code-name=foo-production --databases=postgresql --domains=foo-production.shellyapp.com\e[0m")
419
+ $stdout.should_receive(:puts).with("\e[31mshelly add --code-name=foo-staging --databases=postgresql --domains=foo-staging.shellyapp.com\e[0m")
419
420
  lambda {
420
421
  fake_stdin(["", ""]) do
421
422
  invoke(@main, :add)
@@ -436,11 +437,39 @@ OUT
436
437
  }.should raise_error(SystemExit)
437
438
  end
438
439
 
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)
440
+ context "git remote" do
441
+ it "should add one if it doesn't exist" do
442
+ $stdout.should_receive(:puts).with("\e[32mAdding remote foooo git@git.shellycloud.com:foooo.git\e[0m")
443
+ @app.should_receive(:add_git_remote)
444
+ fake_stdin(["foooo", ""]) do
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
+
444
473
  end
445
474
  end
446
475
 
@@ -466,8 +495,8 @@ OUT
466
495
  $stdout.should_receive(:puts).with(" git add .")
467
496
  $stdout.should_receive(:puts).with(' git commit -m "Application added to Shelly Cloud"')
468
497
  $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")
498
+ $stdout.should_receive(:puts).with("\e[32mDeploy to your cloud using:\e[0m")
499
+ $stdout.should_receive(:puts).with(" git push foooo master")
471
500
  fake_stdin(["foooo", "none"]) do
472
501
  invoke(@main, :add)
473
502
  end
@@ -549,8 +578,8 @@ OUT
549
578
  context "single cloud in Cloudfile" do
550
579
  it "should start the cloud" do
551
580
  @client.stub(:start_cloud)
552
- $stdout.should_receive(:puts).with(green "Starting cloud foo-production. Check status with:")
553
- $stdout.should_receive(:puts).with(" shelly list")
581
+ $stdout.should_receive(:puts).with(green "Starting cloud foo-production.")
582
+ $stdout.should_receive(:puts).with("Check status with: `shelly list`")
554
583
  invoke(@main, :start)
555
584
  end
556
585
  end
@@ -571,8 +600,8 @@ OUT
571
600
 
572
601
  it "should fetch from command line which cloud to start" do
573
602
  @client.should_receive(:start_cloud).with("foo-staging")
574
- $stdout.should_receive(:puts).with(green "Starting cloud foo-staging. Check status with:")
575
- $stdout.should_receive(:puts).with(" shelly list")
603
+ $stdout.should_receive(:puts).with(green "Starting cloud foo-staging.")
604
+ $stdout.should_receive(:puts).with("Check status with: `shelly list`")
576
605
  @main.options = {:cloud => "foo-staging"}
577
606
  invoke(@main, :start)
578
607
  end
@@ -614,7 +643,8 @@ OUT
614
643
 
615
644
  it "should show that winnie is out of resources" do
616
645
  raise_conflict("state" => "not_enough_resources")
617
- $stdout.should_receive(:puts).with(red "Sorry, There are no resources for your servers. We have been notified about it. We will be adding new resources shortly")
646
+ $stdout.should_receive(:puts).with(red "Sorry, There are no resources for your servers.
647
+ We have been notified about it. We will be adding new resources shortly")
618
648
  lambda { invoke(@main, :start) }.should raise_error(SystemExit)
619
649
  end
620
650
 
@@ -625,6 +655,12 @@ OUT
625
655
  lambda { invoke(@main, :start) }.should raise_error(SystemExit)
626
656
  end
627
657
 
658
+ it "should show messge about payment declined" do
659
+ raise_conflict("state" => "payment_declined")
660
+ $stdout.should_receive(:puts).with(red "Not starting. Invoice for cloud 'foo-production' was declined.")
661
+ lambda { invoke(@main, :start) }.should raise_error(SystemExit)
662
+ end
663
+
628
664
  def raise_conflict(options = {})
629
665
  body = {"state" => "no_code"}.merge(options)
630
666
  exception = Shelly::Client::ConflictException.new(body)
metadata CHANGED
@@ -1,19 +1,19 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: shelly
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.50
5
- prerelease:
4
+ version: 0.0.51.pre
5
+ prerelease: 7
6
6
  platform: ruby
7
7
  authors:
8
8
  - Shelly Cloud team
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-02-27 00:00:00.000000000 Z
12
+ date: 2012-03-06 00:00:00.000000000Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rspec
16
- requirement: &70296043444020 !ruby/object:Gem::Requirement
16
+ requirement: &70327754642840 !ruby/object:Gem::Requirement
17
17
  none: false
18
18
  requirements:
19
19
  - - ~>
@@ -21,10 +21,10 @@ dependencies:
21
21
  version: 2.8.0
22
22
  type: :development
23
23
  prerelease: false
24
- version_requirements: *70296043444020
24
+ version_requirements: *70327754642840
25
25
  - !ruby/object:Gem::Dependency
26
26
  name: rake
27
- requirement: &70296043443600 !ruby/object:Gem::Requirement
27
+ requirement: &70327754642400 !ruby/object:Gem::Requirement
28
28
  none: false
29
29
  requirements:
30
30
  - - ! '>='
@@ -32,10 +32,10 @@ dependencies:
32
32
  version: '0'
33
33
  type: :development
34
34
  prerelease: false
35
- version_requirements: *70296043443600
35
+ version_requirements: *70327754642400
36
36
  - !ruby/object:Gem::Dependency
37
37
  name: guard
38
- requirement: &70296043443140 !ruby/object:Gem::Requirement
38
+ requirement: &70327754641780 !ruby/object:Gem::Requirement
39
39
  none: false
40
40
  requirements:
41
41
  - - ! '>='
@@ -43,10 +43,10 @@ dependencies:
43
43
  version: '0'
44
44
  type: :development
45
45
  prerelease: false
46
- version_requirements: *70296043443140
46
+ version_requirements: *70327754641780
47
47
  - !ruby/object:Gem::Dependency
48
48
  name: guard-rspec
49
- requirement: &70296043442720 !ruby/object:Gem::Requirement
49
+ requirement: &70327754641280 !ruby/object:Gem::Requirement
50
50
  none: false
51
51
  requirements:
52
52
  - - ! '>='
@@ -54,10 +54,10 @@ dependencies:
54
54
  version: '0'
55
55
  type: :development
56
56
  prerelease: false
57
- version_requirements: *70296043442720
57
+ version_requirements: *70327754641280
58
58
  - !ruby/object:Gem::Dependency
59
59
  name: simplecov
60
- requirement: &70296043442300 !ruby/object:Gem::Requirement
60
+ requirement: &70327754640620 !ruby/object:Gem::Requirement
61
61
  none: false
62
62
  requirements:
63
63
  - - ! '>='
@@ -65,10 +65,10 @@ dependencies:
65
65
  version: '0'
66
66
  type: :development
67
67
  prerelease: false
68
- version_requirements: *70296043442300
68
+ version_requirements: *70327754640620
69
69
  - !ruby/object:Gem::Dependency
70
70
  name: ruby_gntp
71
- requirement: &70296043441840 !ruby/object:Gem::Requirement
71
+ requirement: &70327754639900 !ruby/object:Gem::Requirement
72
72
  none: false
73
73
  requirements:
74
74
  - - ! '>='
@@ -76,10 +76,10 @@ dependencies:
76
76
  version: '0'
77
77
  type: :development
78
78
  prerelease: false
79
- version_requirements: *70296043441840
79
+ version_requirements: *70327754639900
80
80
  - !ruby/object:Gem::Dependency
81
81
  name: rb-fsevent
82
- requirement: &70296043441420 !ruby/object:Gem::Requirement
82
+ requirement: &70327754639480 !ruby/object:Gem::Requirement
83
83
  none: false
84
84
  requirements:
85
85
  - - ! '>='
@@ -87,10 +87,10 @@ dependencies:
87
87
  version: '0'
88
88
  type: :development
89
89
  prerelease: false
90
- version_requirements: *70296043441420
90
+ version_requirements: *70327754639480
91
91
  - !ruby/object:Gem::Dependency
92
92
  name: fakefs
93
- requirement: &70296043441000 !ruby/object:Gem::Requirement
93
+ requirement: &70327754639020 !ruby/object:Gem::Requirement
94
94
  none: false
95
95
  requirements:
96
96
  - - ! '>='
@@ -98,10 +98,10 @@ dependencies:
98
98
  version: '0'
99
99
  type: :development
100
100
  prerelease: false
101
- version_requirements: *70296043441000
101
+ version_requirements: *70327754639020
102
102
  - !ruby/object:Gem::Dependency
103
103
  name: fakeweb
104
- requirement: &70296043440580 !ruby/object:Gem::Requirement
104
+ requirement: &70327754638500 !ruby/object:Gem::Requirement
105
105
  none: false
106
106
  requirements:
107
107
  - - ! '>='
@@ -109,10 +109,10 @@ dependencies:
109
109
  version: '0'
110
110
  type: :development
111
111
  prerelease: false
112
- version_requirements: *70296043440580
112
+ version_requirements: *70327754638500
113
113
  - !ruby/object:Gem::Dependency
114
114
  name: wijet-thor
115
- requirement: &70296043440080 !ruby/object:Gem::Requirement
115
+ requirement: &70327754637860 !ruby/object:Gem::Requirement
116
116
  none: false
117
117
  requirements:
118
118
  - - ~>
@@ -120,10 +120,10 @@ dependencies:
120
120
  version: 0.14.7
121
121
  type: :runtime
122
122
  prerelease: false
123
- version_requirements: *70296043440080
123
+ version_requirements: *70327754637860
124
124
  - !ruby/object:Gem::Dependency
125
125
  name: rest-client
126
- requirement: &70296043439660 !ruby/object:Gem::Requirement
126
+ requirement: &70327754636900 !ruby/object:Gem::Requirement
127
127
  none: false
128
128
  requirements:
129
129
  - - ! '>='
@@ -131,10 +131,10 @@ dependencies:
131
131
  version: '0'
132
132
  type: :runtime
133
133
  prerelease: false
134
- version_requirements: *70296043439660
134
+ version_requirements: *70327754636900
135
135
  - !ruby/object:Gem::Dependency
136
136
  name: json
137
- requirement: &70296043439200 !ruby/object:Gem::Requirement
137
+ requirement: &70327754636400 !ruby/object:Gem::Requirement
138
138
  none: false
139
139
  requirements:
140
140
  - - ! '>='
@@ -142,10 +142,10 @@ dependencies:
142
142
  version: '0'
143
143
  type: :runtime
144
144
  prerelease: false
145
- version_requirements: *70296043439200
145
+ version_requirements: *70327754636400
146
146
  - !ruby/object:Gem::Dependency
147
147
  name: progressbar
148
- requirement: &70296043438780 !ruby/object:Gem::Requirement
148
+ requirement: &70327754635980 !ruby/object:Gem::Requirement
149
149
  none: false
150
150
  requirements:
151
151
  - - ! '>='
@@ -153,7 +153,7 @@ dependencies:
153
153
  version: '0'
154
154
  type: :runtime
155
155
  prerelease: false
156
- version_requirements: *70296043438780
156
+ version_requirements: *70327754635980
157
157
  description: Tool for managing applications and clouds at shellycloud.com
158
158
  email:
159
159
  - support@shellycloud.com
@@ -226,12 +226,12 @@ required_ruby_version: !ruby/object:Gem::Requirement
226
226
  required_rubygems_version: !ruby/object:Gem::Requirement
227
227
  none: false
228
228
  requirements:
229
- - - ! '>='
229
+ - - ! '>'
230
230
  - !ruby/object:Gem::Version
231
- version: '0'
231
+ version: 1.3.1
232
232
  requirements: []
233
233
  rubyforge_project: shelly
234
- rubygems_version: 1.8.17
234
+ rubygems_version: 1.8.10
235
235
  signing_key:
236
236
  specification_version: 3
237
237
  summary: Shelly Cloud command line tool