cf-autoconfig 0.2.0 → 0.2.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -3,42 +3,30 @@ require 'cf-runtime/properties'
3
3
  if CFRuntime::CloudApp.service_props('redis')
4
4
  puts "Loading Redis auto-reconfiguration."
5
5
  require 'cf-autoconfig/keyvalue/redis_configurer'
6
- else
7
- puts "No Redis service bound to app. Skipping auto-reconfiguration."
8
6
  end
9
7
 
10
8
  if CFRuntime::CloudApp.service_props('mongodb')
11
9
  puts "Loading MongoDB auto-reconfiguration."
12
10
  require 'cf-autoconfig/document/mongodb_configurer'
13
- else
14
- puts "No Mongo service bound to app. Skipping auto-reconfiguration."
15
11
  end
16
12
 
17
13
  if CFRuntime::CloudApp.service_props('mysql')
18
14
  puts "Loading MySQL auto-reconfiguration."
19
15
  require 'cf-autoconfig/relational/mysql_configurer'
20
- else
21
- puts "No MySQL service bound to app. Skipping auto-reconfiguration."
22
16
  end
23
17
 
24
18
  if CFRuntime::CloudApp.service_props('postgresql')
25
19
  puts "Loading PostgreSQL auto-reconfiguration."
26
20
  require 'cf-autoconfig/relational/postgres_configurer'
27
- else
28
- puts "No PostgreSQL service bound to app. Skipping auto-reconfiguration."
29
21
  end
30
22
 
31
23
  if CFRuntime::CloudApp.service_props('rabbitmq')
32
24
  puts "Loading RabbitMQ auto-reconfiguration."
33
25
  require 'cf-autoconfig/messaging/amqp_configurer'
34
26
  require 'cf-autoconfig/messaging/carrot_configurer'
35
- else
36
- puts "No RabbitMQ service bound to app. Skipping auto-reconfiguration."
37
27
  end
38
28
 
39
29
  if CFRuntime::CloudApp.service_props('blob')
40
30
  puts "Loading Blob auto-reconfiguration."
41
31
  require 'cf-autoconfig/blob/aws_s3_configurer'
42
- else
43
- puts "No Blob service bound to app. Skipping auto-reconfiguration."
44
32
  end
@@ -1,3 +1,3 @@
1
1
  module AutoReconfiguration
2
- VERSION = '0.2.0'
2
+ VERSION = '0.2.1'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cf-autoconfig
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.2.1
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: 2013-02-27 00:00:00.000000000 Z
12
+ date: 2013-04-18 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: cf-runtime