recap 1.0.1 → 1.0.2

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,4 +1,5 @@
1
1
  require 'thor'
2
+ require 'recap'
2
3
  require 'recap/support/shell_command'
3
4
 
4
5
  module Recap::Support
@@ -36,7 +37,7 @@ module Recap::Support
36
37
  end
37
38
 
38
39
  def guess_repository
39
- ShellCommand.execute('git remote -v').split[1]
40
+ ShellCommand.execute('git config --get remote.origin.url').strip
40
41
  rescue
41
42
  warn "Unable to determine git repository. Setting to <unknown>."
42
43
  "<unknown>"
@@ -1,6 +1,6 @@
1
1
  # The bundler recipe ensures that the application bundle is installed whenever the code is updated.
2
2
 
3
- require 'recap/tasks'
3
+ require 'recap/tasks/deploy'
4
4
 
5
5
  module Recap::Tasks::Bundler
6
6
  extend Recap::Support::Namespace
@@ -1,6 +1,6 @@
1
1
  # These tasks configure recap to use Foreman to stop, start and restart your application processes.
2
2
 
3
- require 'recap/tasks'
3
+ require 'recap/tasks/deploy'
4
4
 
5
5
  module Recap::Tasks::Foreman
6
6
  extend Recap::Support::Namespace
@@ -1,7 +1,7 @@
1
1
  # The rails tasks build on standard deployment with support for running
2
2
  # database migrations and precompiling assets.
3
3
 
4
- require 'recap/tasks'
4
+ require 'recap/tasks/deploy'
5
5
 
6
6
  module Recap::Tasks::Rails
7
7
  extend Recap::Support::Namespace
data/lib/recap/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Recap
2
- VERSION = '1.0.1'
2
+ VERSION = '1.0.2'
3
3
  end
@@ -16,6 +16,7 @@ describe Recap::Tasks::Rails do
16
16
 
17
17
  before do
18
18
  config.set :deploy_to, deploy_to
19
+ config.stubs(:set_default_env)
19
20
  Recap::Tasks::Rails.load_into(config)
20
21
  end
21
22
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: recap
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.1
4
+ version: 1.0.2
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,11 +9,11 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-05-05 00:00:00.000000000 Z
12
+ date: 2012-05-06 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: capistrano
16
- requirement: &70327677818480 !ruby/object:Gem::Requirement
16
+ requirement: &70246413178240 !ruby/object:Gem::Requirement
17
17
  none: false
18
18
  requirements:
19
19
  - - ~>
@@ -21,10 +21,10 @@ dependencies:
21
21
  version: 2.9.0
22
22
  type: :runtime
23
23
  prerelease: false
24
- version_requirements: *70327677818480
24
+ version_requirements: *70246413178240
25
25
  - !ruby/object:Gem::Dependency
26
26
  name: thor
27
- requirement: &70327677817900 !ruby/object:Gem::Requirement
27
+ requirement: &70246413177700 !ruby/object:Gem::Requirement
28
28
  none: false
29
29
  requirements:
30
30
  - - ! '>='
@@ -32,10 +32,10 @@ dependencies:
32
32
  version: '0'
33
33
  type: :runtime
34
34
  prerelease: false
35
- version_requirements: *70327677817900
35
+ version_requirements: *70246413177700
36
36
  - !ruby/object:Gem::Dependency
37
37
  name: open4
38
- requirement: &70327677817200 !ruby/object:Gem::Requirement
38
+ requirement: &70246413176940 !ruby/object:Gem::Requirement
39
39
  none: false
40
40
  requirements:
41
41
  - - ! '>='
@@ -43,10 +43,10 @@ dependencies:
43
43
  version: '0'
44
44
  type: :runtime
45
45
  prerelease: false
46
- version_requirements: *70327677817200
46
+ version_requirements: *70246413176940
47
47
  - !ruby/object:Gem::Dependency
48
48
  name: rake
49
- requirement: &70327677816440 !ruby/object:Gem::Requirement
49
+ requirement: &70246413176140 !ruby/object:Gem::Requirement
50
50
  none: false
51
51
  requirements:
52
52
  - - ~>
@@ -54,10 +54,10 @@ dependencies:
54
54
  version: 0.9.2
55
55
  type: :development
56
56
  prerelease: false
57
- version_requirements: *70327677816440
57
+ version_requirements: *70246413176140
58
58
  - !ruby/object:Gem::Dependency
59
59
  name: fl-rocco
60
- requirement: &70327677815640 !ruby/object:Gem::Requirement
60
+ requirement: &70246413175400 !ruby/object:Gem::Requirement
61
61
  none: false
62
62
  requirements:
63
63
  - - ~>
@@ -65,10 +65,10 @@ dependencies:
65
65
  version: 1.0.0
66
66
  type: :development
67
67
  prerelease: false
68
- version_requirements: *70327677815640
68
+ version_requirements: *70246413175400
69
69
  - !ruby/object:Gem::Dependency
70
70
  name: rspec
71
- requirement: &70327677814940 !ruby/object:Gem::Requirement
71
+ requirement: &70246413174540 !ruby/object:Gem::Requirement
72
72
  none: false
73
73
  requirements:
74
74
  - - ~>
@@ -76,10 +76,10 @@ dependencies:
76
76
  version: 2.7.0
77
77
  type: :development
78
78
  prerelease: false
79
- version_requirements: *70327677814940
79
+ version_requirements: *70246413174540
80
80
  - !ruby/object:Gem::Dependency
81
81
  name: mocha
82
- requirement: &70327677814100 !ruby/object:Gem::Requirement
82
+ requirement: &70246413173300 !ruby/object:Gem::Requirement
83
83
  none: false
84
84
  requirements:
85
85
  - - ~>
@@ -87,10 +87,10 @@ dependencies:
87
87
  version: 0.10.0
88
88
  type: :development
89
89
  prerelease: false
90
- version_requirements: *70327677814100
90
+ version_requirements: *70246413173300
91
91
  - !ruby/object:Gem::Dependency
92
92
  name: vagrant
93
- requirement: &70327677812740 !ruby/object:Gem::Requirement
93
+ requirement: &70246413172180 !ruby/object:Gem::Requirement
94
94
  none: false
95
95
  requirements:
96
96
  - - ~>
@@ -98,10 +98,10 @@ dependencies:
98
98
  version: 0.9.7
99
99
  type: :development
100
100
  prerelease: false
101
- version_requirements: *70327677812740
101
+ version_requirements: *70246413172180
102
102
  - !ruby/object:Gem::Dependency
103
103
  name: sahara
104
- requirement: &70327677811560 !ruby/object:Gem::Requirement
104
+ requirement: &70246413171000 !ruby/object:Gem::Requirement
105
105
  none: false
106
106
  requirements:
107
107
  - - ~>
@@ -109,10 +109,10 @@ dependencies:
109
109
  version: 0.0.10
110
110
  type: :development
111
111
  prerelease: false
112
- version_requirements: *70327677811560
112
+ version_requirements: *70246413171000
113
113
  - !ruby/object:Gem::Dependency
114
114
  name: cucumber
115
- requirement: &70327677810520 !ruby/object:Gem::Requirement
115
+ requirement: &70246413170140 !ruby/object:Gem::Requirement
116
116
  none: false
117
117
  requirements:
118
118
  - - ~>
@@ -120,10 +120,10 @@ dependencies:
120
120
  version: 1.1.4
121
121
  type: :development
122
122
  prerelease: false
123
- version_requirements: *70327677810520
123
+ version_requirements: *70246413170140
124
124
  - !ruby/object:Gem::Dependency
125
125
  name: faker
126
- requirement: &70327677809600 !ruby/object:Gem::Requirement
126
+ requirement: &70246413169360 !ruby/object:Gem::Requirement
127
127
  none: false
128
128
  requirements:
129
129
  - - ~>
@@ -131,7 +131,7 @@ dependencies:
131
131
  version: 1.0.1
132
132
  type: :development
133
133
  prerelease: false
134
- version_requirements: *70327677809600
134
+ version_requirements: *70246413169360
135
135
  description: GIT based deployment recipes for Capistrano
136
136
  email:
137
137
  - tom@popdog.net
@@ -211,7 +211,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
211
211
  version: '0'
212
212
  segments:
213
213
  - 0
214
- hash: 3803834817478343414
214
+ hash: 2745581779566475222
215
215
  required_rubygems_version: !ruby/object:Gem::Requirement
216
216
  none: false
217
217
  requirements:
@@ -220,7 +220,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
220
220
  version: '0'
221
221
  segments:
222
222
  - 0
223
- hash: 3803834817478343414
223
+ hash: 2745581779566475222
224
224
  requirements: []
225
225
  rubyforge_project:
226
226
  rubygems_version: 1.8.11