magic_recipes 0.0.16 → 0.0.17

Sign up to get free protection for your applications and to get access to all the features.
@@ -74,3 +74,7 @@ set :rails_env, "production" #=> Rails environmen
74
74
  magic_recipes :rvm, :nginx, :private_pub, :thin
75
75
 
76
76
 
77
+ # SqLite3-callbacks ... this is more for test & try pupose (save .sqlite and copy to current after deploy)
78
+ # => before "deploy", "sqlite:save_db"
79
+ # => after "deploy", "sqlite:copy_db"
80
+
@@ -3,10 +3,10 @@ module MagicRecipes
3
3
  module Sqlite
4
4
  def self.load_into(configuration)
5
5
  configuration.load do
6
-
6
+
7
7
  set_default :sqlite_path, "#{ deploy_to }/shared/db/"
8
8
  set_default :sqlite_db, "#{ rails_env.downcase.strip }"
9
-
9
+
10
10
  namespace :sqlite do
11
11
 
12
12
  desc "save current db"
@@ -36,12 +36,8 @@ module MagicRecipes
36
36
  end
37
37
 
38
38
  end
39
-
40
- before "deploy", "sqlite:save_db"
41
- after "deploy", "sqlite:copy_db"
42
-
39
+
43
40
  # eof
44
-
45
41
  end
46
42
  end
47
43
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: magic_recipes
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.16
4
+ version: 0.0.17
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: