engineyard-metadata 0.0.1 → 0.0.2

Sign up to get free protection for your applications and to get access to all the features.
data/README.rdoc CHANGED
@@ -2,20 +2,25 @@
2
2
 
3
3
  Pulls metadata from EC2 and EngineYard so that your EngineYard Cloud instances know about each other.
4
4
 
5
+ == Purpose
6
+
7
+ To define an unchanging interface to certain metadata that is buried deep inside JSON config files and EC2 API calls.
8
+
5
9
  == Quickstart
6
10
 
7
11
  This only runs from EngineYard AppCloud instances (running on Amazon EC2).
8
12
 
9
13
  >> require 'engineyard-metadata'
10
14
  [...]
11
- >> EY::Metadata.db_host
15
+ >> EY::Metadata.database_host
12
16
  => "external_db_master.compute-1.amazonaws.com"
13
- >> EY::Metadata.db_password
17
+ >> EY::Metadata.database_password
14
18
  => "foobarfoo"
15
19
  >> EY::Metadata.app_servers
16
20
  => [ 'app_1.compute-1.amazonaws.com' , 'app_master.compute-1.amazonaws.com' ]
17
21
  >> EY::Metadata.db_servers
18
22
  => [ 'db_master.compute-1.amazonaws.com', 'db_slave_1.compute-1.amazonaws.com' ]
23
+ [...and many more...]
19
24
 
20
25
  == History
21
26
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.0.1
1
+ 0.0.2
@@ -5,7 +5,7 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{engineyard-metadata}
8
- s.version = "0.0.1"
8
+ s.version = "0.0.2"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Seamus Abshere"]
@@ -1,6 +1,6 @@
1
1
  require 'active_support/version'
2
2
  %w{
3
- active_support/json/decoding
3
+ active_support/json
4
4
  }.each do |active_support_3_requirement|
5
5
  require active_support_3_requirement
6
6
  end if ActiveSupport::VERSION::MAJOR == 3
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: engineyard-metadata
3
3
  version: !ruby/object:Gem::Version
4
- hash: 29
4
+ hash: 27
5
5
  prerelease: false
6
6
  segments:
7
7
  - 0
8
8
  - 0
9
- - 1
10
- version: 0.0.1
9
+ - 2
10
+ version: 0.0.2
11
11
  platform: ruby
12
12
  authors:
13
13
  - Seamus Abshere