vmc 0.5.1.rc3 → 0.5.1.rc4

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,3 +1,3 @@
1
1
  module VMC
2
- VERSION = "0.5.1.rc3".freeze
2
+ VERSION = "0.5.1.rc4".freeze
3
3
  end
@@ -27,6 +27,10 @@ if ENV['VMC_TEST_USER'] && ENV['VMC_TEST_PASSWORD'] && ENV['VMC_TEST_TARGET']
27
27
  end
28
28
 
29
29
  it 'pushes a simple sinatra app using defaults as much as possible' do
30
+ if File.size("#{SPEC_ROOT}/assets/hello-sinatra/fat-cat-makes-app-larger.png") < CFoundry::UploadHelpers::RESOURCE_CHECK_LIMIT
31
+ fail "You need a bigger cat. (to exercise resource checking part of the application)"
32
+ end
33
+
30
34
  run("#{vmc_bin} target http://#{target}") do |runner|
31
35
  expect(runner).to say %r{Setting target to http://#{target}... OK}
32
36
  end
metadata CHANGED
@@ -1,15 +1,15 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: vmc
3
3
  version: !ruby/object:Gem::Version
4
- hash: 3495541125
4
+ hash: 1784256881
5
5
  prerelease: 6
6
6
  segments:
7
7
  - 0
8
8
  - 5
9
9
  - 1
10
10
  - rc
11
- - 3
12
- version: 0.5.1.rc3
11
+ - 4
12
+ version: 0.5.1.rc4
13
13
  platform: ruby
14
14
  authors:
15
15
  - Cloud Foundry Team
@@ -18,7 +18,7 @@ autorequire:
18
18
  bindir: bin
19
19
  cert_chain: []
20
20
 
21
- date: 2013-03-12 00:00:00 Z
21
+ date: 2013-03-14 00:00:00 Z
22
22
  dependencies:
23
23
  - !ruby/object:Gem::Dependency
24
24
  version_requirements: &id001 !ruby/object:Gem::Requirement
@@ -71,14 +71,14 @@ dependencies:
71
71
  requirements:
72
72
  - - ">="
73
73
  - !ruby/object:Gem::Version
74
- hash: 3495541147
74
+ hash: 1784256867
75
75
  segments:
76
76
  - 0
77
77
  - 5
78
78
  - 3
79
79
  - rc
80
- - 4
81
- version: 0.5.3.rc4
80
+ - 5
81
+ version: 0.5.3.rc5
82
82
  - - <
83
83
  - !ruby/object:Gem::Version
84
84
  hash: 7
@@ -134,7 +134,7 @@ dependencies:
134
134
  requirements:
135
135
  - - ">="
136
136
  - !ruby/object:Gem::Version
137
- hash: 3495541159
137
+ hash: 1784256861
138
138
  segments:
139
139
  - 0
140
140
  - 6
@@ -318,6 +318,7 @@ files:
318
318
  - lib/vmc/version.rb
319
319
  - lib/vmc.rb
320
320
  - spec/assets/hello-sinatra/config.ru
321
+ - spec/assets/hello-sinatra/fat-cat-makes-app-larger.png
321
322
  - spec/assets/hello-sinatra/Gemfile
322
323
  - spec/assets/hello-sinatra/Gemfile.lock
323
324
  - spec/assets/hello-sinatra/main.rb
@@ -412,6 +413,7 @@ specification_version: 3
412
413
  summary: Friendly command-line interface for Cloud Foundry.
413
414
  test_files:
414
415
  - spec/assets/hello-sinatra/config.ru
416
+ - spec/assets/hello-sinatra/fat-cat-makes-app-larger.png
415
417
  - spec/assets/hello-sinatra/Gemfile
416
418
  - spec/assets/hello-sinatra/Gemfile.lock
417
419
  - spec/assets/hello-sinatra/main.rb