cf-deploy 0.1.5 → 0.1.6

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: c13f96911baa9e48367e8364a4bd5a0cab6bfee2
4
- data.tar.gz: 40048b9a6f91b11c8c6eea1083ce708e1c68e988
3
+ metadata.gz: 0d9d3ab27f6234099b40263d3084f85a9977a18d
4
+ data.tar.gz: a362835aea9906c7d5e457b2cf160e787a0ca9b8
5
5
  SHA512:
6
- metadata.gz: 78b67eb6b3e8cffb7a73f443baca3f9170c65d6e49c0cce6fe0f5019605489bf09806a598cd0853a7db94377cc5ba57468311cd42615f263714126726abc0a4c
7
- data.tar.gz: 5a68c1ca42162ecd53bf1cbc964589e9888ff575da732b0711792a6c1bed0e3e7212c3d2e3fdd776d26f580cb8be584e6f8de916d482ef5174166c3c97e34a81
6
+ metadata.gz: f700d71e5a1871c84d59fc792b754186921e8f11d8c91a5ad5dc310638f2957e88a9c8a14b164ee352fe26f850f72314813da43692058d1c49a2c5598354d4dd
7
+ data.tar.gz: 94a051241f13054e23568946eb33af97da8cff885326bb0e0faf62e41a7e1a56f6d321ffd9341142dff3a240529f64cf910e5cea343b35078cbac209dbb4dfaa
@@ -20,7 +20,7 @@ module CF
20
20
  end
21
21
 
22
22
  def scale_memory(app_name, memory)
23
- Kernel.system("cf scale #{app_name} -m #{memory}")
23
+ Kernel.system("cf scale #{app_name} -f -m #{memory}")
24
24
  end
25
25
 
26
26
  def map_route(route, app_name)
@@ -1,5 +1,5 @@
1
1
  module CF
2
2
  class Deploy
3
- VERSION = '0.1.5'
3
+ VERSION = '0.1.6'
4
4
  end
5
5
  end
@@ -76,7 +76,7 @@ describe CF::Deploy do
76
76
 
77
77
  expect(Kernel).to receive(:system).with('cf login').ordered
78
78
  expect(Kernel).to receive(:system).with('cf push -f manifests/staging.yml').and_return(true).ordered
79
- expect(Kernel).to receive(:system).with('cf scale staging-app -m 256M').and_return(true).ordered
79
+ expect(Kernel).to receive(:system).with('cf scale staging-app -f -m 256M').and_return(true).ordered
80
80
  Rake::Task['cf:deploy:staging'].invoke
81
81
  end
82
82
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cf-deploy
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.5
4
+ version: 0.1.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Luke Morton