handy 0.0.20 → 0.0.21
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.
- data/lib/handy/heroku_helpers.rb +5 -0
- data/lib/handy/version.rb +1 -1
- metadata +4 -4
data/lib/handy/heroku_helpers.rb
CHANGED
|
@@ -7,6 +7,11 @@ namespace :handy do
|
|
|
7
7
|
|
|
8
8
|
namespace :heroku do
|
|
9
9
|
|
|
10
|
+
desc "Backup production database"
|
|
11
|
+
task :backup_production, :app do |t, args|
|
|
12
|
+
take_current_snapshot "#{heroku_app_name(t, args)}-production"
|
|
13
|
+
end
|
|
14
|
+
|
|
10
15
|
desc "Takes snapshot of production db and copies production data to development"
|
|
11
16
|
task :prod2development, :app do |t, args|
|
|
12
17
|
export2local "#{heroku_app_name(t, args)}-production"
|
data/lib/handy/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: handy
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.0.
|
|
4
|
+
version: 0.0.21
|
|
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-05-
|
|
12
|
+
date: 2013-05-24 00:00:00.000000000 Z
|
|
13
13
|
dependencies:
|
|
14
14
|
- !ruby/object:Gem::Dependency
|
|
15
15
|
name: hashr
|
|
@@ -62,7 +62,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
|
62
62
|
version: '0'
|
|
63
63
|
segments:
|
|
64
64
|
- 0
|
|
65
|
-
hash:
|
|
65
|
+
hash: -3234754143650769469
|
|
66
66
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
67
67
|
none: false
|
|
68
68
|
requirements:
|
|
@@ -71,7 +71,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
71
71
|
version: '0'
|
|
72
72
|
segments:
|
|
73
73
|
- 0
|
|
74
|
-
hash:
|
|
74
|
+
hash: -3234754143650769469
|
|
75
75
|
requirements: []
|
|
76
76
|
rubyforge_project:
|
|
77
77
|
rubygems_version: 1.8.23
|