jellyfish_fog_aws 0.1.1 → 0.2.0

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: 09a10b75b4bd825a0ceb57221bd694a7628eb832
4
- data.tar.gz: c572bac07c5dcac85841cda2763fcab36ba514e0
3
+ metadata.gz: f6c8d786fcad93a75c77c1d06db94a25f1f8660e
4
+ data.tar.gz: 4fca5a65477d65f7a541025bce916062dd499111
5
5
  SHA512:
6
- metadata.gz: 552f1ebef61b7f95975d0683363e70dc4da6e4075675510b3b5326d2973f103f3175006e5eae25cddf06f2212430ab9e2affe1b6fec610ed40f09d81ad827d2f
7
- data.tar.gz: caee9f0f2a2616e3822db255ff384b1f9427c3dda141280f96356e1dece22796a3c97521340121729e451138875d86970b281d7d4664a218fced3771fdedb5c4
6
+ metadata.gz: cca237040e0fc3dba0eed684cffb3a232bdc06751da097eab9fc724e7517594e0a79ad241a76f5b4799c7924603995d18c49bd3d85f5234d889ff522dcfca0de
7
+ data.tar.gz: f274bbbe8508f123719748aabf7aea4ae4dd559139a40ef2e785a3ceec7523901b7a6835fcad97f5b253c1812bd9f6e73def5282112aa192faafe1f9a1ab706f
data/README.md CHANGED
@@ -1,5 +1,25 @@
1
- # JellyfishFogAws
1
+ # Jellyfish::Fog::AWS
2
2
 
3
3
  [![Code Climate](https://codeclimate.com/repos/55253e7a6956801849003243/badges/a47db528fb1b7843dec4/gpa.svg)](https://codeclimate.com/repos/55253e7a6956801849003243/feed)
4
4
  [![Test Coverage](https://codeclimate.com/repos/55253e7a6956801849003243/badges/a47db528fb1b7843dec4/coverage.svg)](https://codeclimate.com/repos/55253e7a6956801849003243/feed)
5
- [![Build Status](https://api.travis-ci.org/projectjellyfish/jellyfish_fog_aws.svg)](https://travis-ci.org/projectjellyfish/jellyfish_fog_aws)
5
+ [![Build Status](https://api.travis-ci.org/projectjellyfish/jellyfish_fog_aws.svg)](https://travis-ci.org/projectjellyfish/jellyfish\_fog\_aws)
6
+
7
+ Add infrastructure, database, and storage product types to Jellyfish, and allow
8
+ them to be provisioned on AWS using the Fog gem.
9
+
10
+ ## Configuration
11
+
12
+ You'll need the following keys/values in ENV while using this gem:
13
+
14
+ * `AWS_ACCESS_KEY_ID`
15
+ * `AWS_SECRET_ACCESS_KEY_ID`
16
+
17
+ They can be set using `.env` in development and setting them on Heroku, etc. for
18
+ hosted environments.
19
+
20
+ These are used by Fog to authenticate you to AWS when provisioning and retiring
21
+ assets.
22
+
23
+ If the ENV has the `MOCK_FOG` key (value does not matter), Fog will simulate
24
+ provisioning and retirement rather than actually interacting with AWS. The AWS
25
+ keys are still required but their values do not matter.
@@ -1,3 +1,3 @@
1
- unless %w(production staging).include?(Rails.env)
1
+ if ENV.key?('MOCK_FOG') || !%w(production staging).include?(Rails.env)
2
2
  Fog.mock!
3
3
  end
@@ -1,7 +1,7 @@
1
1
  module Jellyfish
2
2
  module Fog
3
3
  module AWS
4
- VERSION = '0.1.1'
4
+ VERSION = '0.2.0'
5
5
  end
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jellyfish_fog_aws
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Caleb Thompson
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-04-08 00:00:00.000000000 Z
11
+ date: 2015-04-09 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails