postgression 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.md +37 -0
- data/postgression.gemspec +4 -12
- metadata +4 -3
data/README.md
ADDED
@@ -0,0 +1,37 @@
|
|
1
|
+
# ruby-postgression
|
2
|
+
|
3
|
+
A ruby client for the postgression API.
|
4
|
+
|
5
|
+
## What is this?
|
6
|
+
|
7
|
+
This is a simple CLI app that talks to the
|
8
|
+
[postgression](http://www.postgression.com/) public API, and generates a
|
9
|
+
temporary PostgreSQL database for usage in your test code (or just general
|
10
|
+
messing around).
|
11
|
+
|
12
|
+
postgression databases are automatically deleted after 30 minutes. No
|
13
|
+
information is logged by the service.
|
14
|
+
|
15
|
+
## Installation
|
16
|
+
|
17
|
+
You can install ``postgression`` using
|
18
|
+
[RubyGems](http://guides.rubygems.org/):
|
19
|
+
|
20
|
+
``` bash
|
21
|
+
$ gem install postgression
|
22
|
+
```
|
23
|
+
|
24
|
+
## Usage
|
25
|
+
|
26
|
+
Once you've got ``postgression`` installed, you can generate a new PostgreSQL
|
27
|
+
database by running ``postgression``... like so:
|
28
|
+
|
29
|
+
``` bash
|
30
|
+
$ postgression
|
31
|
+
postgres://user:password@host:port/db
|
32
|
+
```
|
33
|
+
|
34
|
+
Each time you run ``postgression``, you'll get a new PostgreSQL database
|
35
|
+
provisioned for usage.
|
36
|
+
|
37
|
+
If for some reason a database can't be provisioned, an error will be returned.
|
data/postgression.gemspec
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
Gem::Specification.new do |s|
|
2
2
|
s.name = 'postgression'
|
3
|
-
s.version = '0.0.
|
3
|
+
s.version = '0.0.2'
|
4
4
|
s.summary = 'A ruby client for the postgression API.'
|
5
5
|
s.homepage = 'http://www.postgression.com'
|
6
6
|
s.date = '2013-01-17'
|
@@ -13,17 +13,9 @@ Gem::Specification.new do |s|
|
|
13
13
|
s.require_paths = ["lib"]
|
14
14
|
|
15
15
|
s.description = <<description
|
16
|
-
|
17
|
-
a
|
18
|
-
|
19
|
-
Instead of running PostgreSQL server locally (or on your testing machine),
|
20
|
-
maintaining the server, credentials, etc... postgression instantly
|
21
|
-
provisions a new PostgreSQL database for your application to run tests
|
22
|
-
against: for free!
|
23
|
-
|
24
|
-
ruby-postgression is a simple CLI app that talks to the postgression
|
25
|
-
public API, and generates a temporary PostgreSQL database for usage
|
26
|
-
in your test code (or just general messing around).
|
16
|
+
This is a simple CLI app that talks to the postgression public API,
|
17
|
+
and generates a temporary PostgreSQL database for usage in your test
|
18
|
+
code (or just general messing around).
|
27
19
|
|
28
20
|
postgression databases are automatically deleted after 30 minutes.
|
29
21
|
No information is logged by the service.
|
metadata
CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
|
|
5
5
|
segments:
|
6
6
|
- 0
|
7
7
|
- 0
|
8
|
-
-
|
9
|
-
version: 0.0.
|
8
|
+
- 2
|
9
|
+
version: 0.0.2
|
10
10
|
platform: ruby
|
11
11
|
authors:
|
12
12
|
- Alven Diaz
|
@@ -18,7 +18,7 @@ date: 2013-01-17 00:00:00 -08:00
|
|
18
18
|
default_executable:
|
19
19
|
dependencies: []
|
20
20
|
|
21
|
-
description: "
|
21
|
+
description: " This is a simple CLI app that talks to the postgression public API,\n and generates a temporary PostgreSQL database for usage in your test\n code (or just general messing around).\n\n postgression databases are automatically deleted after 30 minutes.\n No information is logged by the service.\n"
|
22
22
|
email: alven@zaidox.com
|
23
23
|
executables:
|
24
24
|
- postgression
|
@@ -27,6 +27,7 @@ extensions: []
|
|
27
27
|
extra_rdoc_files: []
|
28
28
|
|
29
29
|
files:
|
30
|
+
- README.md
|
30
31
|
- bin/postgression
|
31
32
|
- lib/postgression.rb
|
32
33
|
- postgression.gemspec
|