porter 0.1.8 → 0.1.9
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/porter/recipes/porter.rb +4 -4
- data/porter.gemspec +1 -2
- metadata +51 -65
- data/VERSION +0 -1
@@ -1,4 +1,4 @@
|
|
1
|
-
if defined?(Capistrano)
|
1
|
+
if defined?(Capistrano::Configuration)
|
2
2
|
Capistrano::Configuration.instance.load do
|
3
3
|
namespace :porter do
|
4
4
|
CONFIG = YAML::load_file('config/porter_config.yml')
|
@@ -12,10 +12,10 @@ if defined?(Capistrano)
|
|
12
12
|
db = src_db['database']
|
13
13
|
user = src_db['username']
|
14
14
|
pass = src_db['password']
|
15
|
-
|
15
|
+
|
16
16
|
domain = CONFIG[stage].nil? ? CONFIG['server']['domain'] : CONFIG[stage]['domain']
|
17
17
|
server domain, :porter
|
18
|
-
|
18
|
+
|
19
19
|
run "mysqldump --user=#{user} --password=#{pass} #{db} | gzip > ~/#{db}.sql.gz", :roles => :porter
|
20
20
|
system "rake porter:#{stage}:db"
|
21
21
|
system "rake porter:#{stage}:assets"
|
@@ -23,4 +23,4 @@ if defined?(Capistrano)
|
|
23
23
|
end
|
24
24
|
end
|
25
25
|
end
|
26
|
-
end
|
26
|
+
end
|
data/porter.gemspec
CHANGED
@@ -5,7 +5,7 @@
|
|
5
5
|
|
6
6
|
Gem::Specification.new do |s|
|
7
7
|
s.name = %q{porter}
|
8
|
-
s.version = "0.1.
|
8
|
+
s.version = "0.1.9"
|
9
9
|
|
10
10
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
11
11
|
s.authors = ["Kenny Johnston", "Robert Bousquet"]
|
@@ -21,7 +21,6 @@ Gem::Specification.new do |s|
|
|
21
21
|
"LICENSE",
|
22
22
|
"README.rdoc",
|
23
23
|
"Rakefile",
|
24
|
-
"VERSION",
|
25
24
|
"generators/porter/lib/insert_commands.rb",
|
26
25
|
"generators/porter/porter_generator.rb",
|
27
26
|
"generators/porter/templates/porter.rb",
|
metadata
CHANGED
@@ -1,67 +1,62 @@
|
|
1
|
-
--- !ruby/object:Gem::Specification
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
2
|
name: porter
|
3
|
-
version: !ruby/object:Gem::Version
|
4
|
-
|
5
|
-
prerelease:
|
6
|
-
segments:
|
7
|
-
- 0
|
8
|
-
- 1
|
9
|
-
- 8
|
10
|
-
version: 0.1.8
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.1.9
|
5
|
+
prerelease:
|
11
6
|
platform: ruby
|
12
|
-
authors:
|
7
|
+
authors:
|
13
8
|
- Kenny Johnston
|
14
9
|
- Robert Bousquet
|
15
10
|
autorequire:
|
16
11
|
bindir: bin
|
17
12
|
cert_chain: []
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
dependencies:
|
22
|
-
- !ruby/object:Gem::Dependency
|
13
|
+
date: 2010-08-25 00:00:00.000000000 Z
|
14
|
+
dependencies:
|
15
|
+
- !ruby/object:Gem::Dependency
|
23
16
|
name: capistrano
|
24
|
-
|
25
|
-
requirement: &id001 !ruby/object:Gem::Requirement
|
17
|
+
requirement: !ruby/object:Gem::Requirement
|
26
18
|
none: false
|
27
|
-
requirements:
|
28
|
-
- -
|
29
|
-
- !ruby/object:Gem::Version
|
30
|
-
|
31
|
-
segments:
|
32
|
-
- 0
|
33
|
-
version: "0"
|
19
|
+
requirements:
|
20
|
+
- - ! '>='
|
21
|
+
- !ruby/object:Gem::Version
|
22
|
+
version: '0'
|
34
23
|
type: :development
|
35
|
-
version_requirements: *id001
|
36
|
-
- !ruby/object:Gem::Dependency
|
37
|
-
name: rake
|
38
24
|
prerelease: false
|
39
|
-
|
25
|
+
version_requirements: !ruby/object:Gem::Requirement
|
40
26
|
none: false
|
41
|
-
requirements:
|
42
|
-
- -
|
43
|
-
- !ruby/object:Gem::Version
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
27
|
+
requirements:
|
28
|
+
- - ! '>='
|
29
|
+
- !ruby/object:Gem::Version
|
30
|
+
version: '0'
|
31
|
+
- !ruby/object:Gem::Dependency
|
32
|
+
name: rake
|
33
|
+
requirement: !ruby/object:Gem::Requirement
|
34
|
+
none: false
|
35
|
+
requirements:
|
36
|
+
- - ! '>='
|
37
|
+
- !ruby/object:Gem::Version
|
38
|
+
version: '0'
|
48
39
|
type: :development
|
49
|
-
|
50
|
-
|
40
|
+
prerelease: false
|
41
|
+
version_requirements: !ruby/object:Gem::Requirement
|
42
|
+
none: false
|
43
|
+
requirements:
|
44
|
+
- - ! '>='
|
45
|
+
- !ruby/object:Gem::Version
|
46
|
+
version: '0'
|
47
|
+
description: Capistrano and Rake tasks for cloning production database and assets
|
48
|
+
to development.
|
51
49
|
email: info@appcreations.com
|
52
50
|
executables: []
|
53
|
-
|
54
51
|
extensions: []
|
55
|
-
|
56
|
-
extra_rdoc_files:
|
52
|
+
extra_rdoc_files:
|
57
53
|
- LICENSE
|
58
54
|
- README.rdoc
|
59
|
-
files:
|
55
|
+
files:
|
60
56
|
- .gitignore
|
61
57
|
- LICENSE
|
62
58
|
- README.rdoc
|
63
59
|
- Rakefile
|
64
|
-
- VERSION
|
65
60
|
- generators/porter/lib/insert_commands.rb
|
66
61
|
- generators/porter/porter_generator.rb
|
67
62
|
- generators/porter/templates/porter.rb
|
@@ -71,39 +66,30 @@ files:
|
|
71
66
|
- lib/tasks/porter.rake
|
72
67
|
- porter.gemspec
|
73
68
|
- test/helper.rb
|
74
|
-
has_rdoc: true
|
75
69
|
homepage: http://github.com/kjohnston/porter
|
76
70
|
licenses: []
|
77
|
-
|
78
71
|
post_install_message:
|
79
|
-
rdoc_options:
|
72
|
+
rdoc_options:
|
80
73
|
- --charset=UTF-8
|
81
|
-
require_paths:
|
74
|
+
require_paths:
|
82
75
|
- lib
|
83
|
-
required_ruby_version: !ruby/object:Gem::Requirement
|
76
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
84
77
|
none: false
|
85
|
-
requirements:
|
86
|
-
- -
|
87
|
-
- !ruby/object:Gem::Version
|
88
|
-
|
89
|
-
|
90
|
-
- 0
|
91
|
-
version: "0"
|
92
|
-
required_rubygems_version: !ruby/object:Gem::Requirement
|
78
|
+
requirements:
|
79
|
+
- - ! '>='
|
80
|
+
- !ruby/object:Gem::Version
|
81
|
+
version: '0'
|
82
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
93
83
|
none: false
|
94
|
-
requirements:
|
95
|
-
- -
|
96
|
-
- !ruby/object:Gem::Version
|
97
|
-
|
98
|
-
segments:
|
99
|
-
- 0
|
100
|
-
version: "0"
|
84
|
+
requirements:
|
85
|
+
- - ! '>='
|
86
|
+
- !ruby/object:Gem::Version
|
87
|
+
version: '0'
|
101
88
|
requirements: []
|
102
|
-
|
103
89
|
rubyforge_project:
|
104
|
-
rubygems_version: 1.
|
90
|
+
rubygems_version: 1.8.24
|
105
91
|
signing_key:
|
106
92
|
specification_version: 3
|
107
93
|
summary: Capistrano and Rake tasks for cloning production database and assets to development.
|
108
|
-
test_files:
|
94
|
+
test_files:
|
109
95
|
- test/helper.rb
|
data/VERSION
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
0.1.4
|