handy 0.0.13 → 0.0.14
Sign up to get free protection for your applications and to get access to all the features.
- data/README.md +8 -3
- data/lib/handy/dump2s3.rb +2 -2
- data/lib/handy/version.rb +1 -1
- metadata +4 -5
- data/lib/handy/s3.rb +0 -0
data/README.md
CHANGED
@@ -13,16 +13,21 @@ Restores the data from production database to staging database. More options can
|
|
13
13
|
##rake handy:db:dump2s3##
|
14
14
|
Creates a backup and then stores that backup on s3.
|
15
15
|
|
16
|
-
s3 login information can be passed as per [http://gist.github.com/619432](http://github.com/
|
16
|
+
s3 login information can be passed as per [http://gist.github.com/619432](http://gist.github.com/619432) .
|
17
17
|
|
18
18
|
|
19
19
|
##rake handy:db:dump2s3:list##
|
20
20
|
Prints a list of all files stored on s3.
|
21
21
|
|
22
|
+
|
22
23
|
##rake handy:db:dump2s3:restore file=xxxx.sql.gz##
|
23
|
-
Restores the database with the data from s3.
|
24
|
+
Restores the database with the data from s3.
|
25
|
+
|
24
26
|
|
25
|
-
##rake handy:web:ping site=www.
|
27
|
+
##rake handy:web:ping site=www.eventsinindia.com##
|
26
28
|
Pings a site.
|
27
29
|
|
30
|
+
##For capistrano goodies look for files under directory capistrano##
|
31
|
+
|
32
|
+
|
28
33
|
Copyright (c) 2010 Neeraj Singh. See LICENSE for details.
|
data/lib/handy/dump2s3.rb
CHANGED
@@ -6,8 +6,8 @@ module Handy
|
|
6
6
|
# This module relies on following things to be present:
|
7
7
|
#
|
8
8
|
# AppConfig.s3_bucket_name
|
9
|
-
# AppConfig.
|
10
|
-
# AppConfig.
|
9
|
+
# AppConfig.s3_access_key_id
|
10
|
+
# AppConfig.s3_secret_access_key
|
11
11
|
#
|
12
12
|
def initialize(env)
|
13
13
|
@bucket_name = AppConfig.s3_bucket_name
|
data/lib/handy/version.rb
CHANGED
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: handy
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 3
|
5
5
|
prerelease: false
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 0
|
9
|
-
-
|
10
|
-
version: 0.0.
|
9
|
+
- 14
|
10
|
+
version: 0.0.14
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Neeraj Singh
|
@@ -15,7 +15,7 @@ autorequire:
|
|
15
15
|
bindir: bin
|
16
16
|
cert_chain: []
|
17
17
|
|
18
|
-
date: 2011-02-
|
18
|
+
date: 2011-02-20 00:00:00 -05:00
|
19
19
|
default_executable:
|
20
20
|
dependencies:
|
21
21
|
- !ruby/object:Gem::Dependency
|
@@ -74,7 +74,6 @@ files:
|
|
74
74
|
- lib/handy/dump2s3.rb
|
75
75
|
- lib/handy/railtie.rb
|
76
76
|
- lib/handy/restore.rb
|
77
|
-
- lib/handy/s3.rb
|
78
77
|
- lib/handy/tasks.rb
|
79
78
|
- lib/handy/util.rb
|
80
79
|
- lib/handy/version.rb
|
data/lib/handy/s3.rb
DELETED
File without changes
|