capistrano-af83 0.3.8 → 0.4.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: 38e5ccbb39ad34474a5cc623a92352dc3c11008f
4
+ data.tar.gz: 99611014107dde30c02a63f659571902061d186b
5
+ SHA512:
6
+ metadata.gz: 570ca156cc0097ed4da37fc2f6e86bd53d7f47fed55f8c53aaf1e5cb99d6716fc3e86e724c5dc96ea02f0810f69f918f2a0a261a430435ef4dd6628636c4d4fc
7
+ data.tar.gz: bb9438a607c19df9cd89bb992863565dd4e28d3d0093bc6cd4444bfa36727fa6e1864c38bb62a4a6043e771732ce367e7b0383d03151880a9810db348d3adffe
@@ -0,0 +1,24 @@
1
+ require 'readline'
2
+
3
+ namespace :rails do
4
+ desc "Tail Rails logs"
5
+ task :log do
6
+ stream "tail -f #{shared_path}/log/#{rails_env}.log"
7
+ end
8
+
9
+ desc "Open a Rails console"
10
+ task :console do
11
+ input = ''
12
+ run "cd #{current_path} && RAILS_ENV=#{rails_env} #{bundle_cmd} exec rails console", once: true do |chan, stream, data|
13
+ next if data.chomp == input.chomp || data.chomp == ''
14
+ print data
15
+ next unless data.chomp =~ />\s+$/ # Bad prompt detection
16
+
17
+ # Readline's quite tolerant, but most control codes (Ctrl-u, Ctrl-l, ...)
18
+ # will screw up the process' stream.
19
+ input = Readline.readline('', true)
20
+ break if input.nil? # EOF
21
+ chan.send_data "#{input}\n"
22
+ end
23
+ end
24
+ end
@@ -1,5 +1,5 @@
1
1
  module Capistrano
2
2
  module AF83
3
- VERSION = "0.3.8"
3
+ VERSION = "0.4.0"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,20 +1,18 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: capistrano-af83
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.8
5
- prerelease:
4
+ version: 0.4.0
6
5
  platform: ruby
7
6
  authors:
8
7
  - Bruno Michel
9
8
  autorequire:
10
9
  bindir: bin
11
10
  cert_chain: []
12
- date: 2013-02-12 00:00:00.000000000 Z
11
+ date: 2013-03-15 00:00:00.000000000 Z
13
12
  dependencies:
14
13
  - !ruby/object:Gem::Dependency
15
14
  name: capistrano
16
15
  requirement: !ruby/object:Gem::Requirement
17
- none: false
18
16
  requirements:
19
17
  - - ~>
20
18
  - !ruby/object:Gem::Version
@@ -22,7 +20,6 @@ dependencies:
22
20
  type: :runtime
23
21
  prerelease: false
24
22
  version_requirements: !ruby/object:Gem::Requirement
25
- none: false
26
23
  requirements:
27
24
  - - ~>
28
25
  - !ruby/object:Gem::Version
@@ -30,7 +27,6 @@ dependencies:
30
27
  - !ruby/object:Gem::Dependency
31
28
  name: capistrano-notification
32
29
  requirement: !ruby/object:Gem::Requirement
33
- none: false
34
30
  requirements:
35
31
  - - ~>
36
32
  - !ruby/object:Gem::Version
@@ -38,7 +34,6 @@ dependencies:
38
34
  type: :runtime
39
35
  prerelease: false
40
36
  version_requirements: !ruby/object:Gem::Requirement
41
- none: false
42
37
  requirements:
43
38
  - - ~>
44
39
  - !ruby/object:Gem::Version
@@ -46,7 +41,6 @@ dependencies:
46
41
  - !ruby/object:Gem::Dependency
47
42
  name: capistrano-maintenance
48
43
  requirement: !ruby/object:Gem::Requirement
49
- none: false
50
44
  requirements:
51
45
  - - ~>
52
46
  - !ruby/object:Gem::Version
@@ -54,7 +48,6 @@ dependencies:
54
48
  type: :runtime
55
49
  prerelease: false
56
50
  version_requirements: !ruby/object:Gem::Requirement
57
- none: false
58
51
  requirements:
59
52
  - - ~>
60
53
  - !ruby/object:Gem::Version
@@ -62,7 +55,6 @@ dependencies:
62
55
  - !ruby/object:Gem::Dependency
63
56
  name: shout-bot
64
57
  requirement: !ruby/object:Gem::Requirement
65
- none: false
66
58
  requirements:
67
59
  - - '='
68
60
  - !ruby/object:Gem::Version
@@ -70,7 +62,6 @@ dependencies:
70
62
  type: :runtime
71
63
  prerelease: false
72
64
  version_requirements: !ruby/object:Gem::Requirement
73
- none: false
74
65
  requirements:
75
66
  - - '='
76
67
  - !ruby/object:Gem::Version
@@ -78,7 +69,6 @@ dependencies:
78
69
  - !ruby/object:Gem::Dependency
79
70
  name: sushi
80
71
  requirement: !ruby/object:Gem::Requirement
81
- none: false
82
72
  requirements:
83
73
  - - ~>
84
74
  - !ruby/object:Gem::Version
@@ -86,12 +76,11 @@ dependencies:
86
76
  type: :runtime
87
77
  prerelease: false
88
78
  version_requirements: !ruby/object:Gem::Requirement
89
- none: false
90
79
  requirements:
91
80
  - - ~>
92
81
  - !ruby/object:Gem::Version
93
82
  version: 0.0.2
94
- description: Capistrano recipes for af83
83
+ description: Capistrano recipes for af83, mongoid, thin, faye and others
95
84
  email: bruno.michel@af83.com
96
85
  executables: []
97
86
  extensions: []
@@ -112,6 +101,7 @@ files:
112
101
  - lib/capistrano/af83/irc_notification.rb
113
102
  - lib/capistrano/af83/js_routes.rb
114
103
  - lib/capistrano/af83/mongoid.rb
104
+ - lib/capistrano/af83/rails_goodies.rb
115
105
  - lib/capistrano/af83/resque.rb
116
106
  - lib/capistrano/af83/sphinx.rb
117
107
  - lib/capistrano/af83/stages.rb
@@ -119,27 +109,28 @@ files:
119
109
  - lib/capistrano/af83/unicorn.rb
120
110
  - lib/capistrano/af83/version.rb
121
111
  homepage: https://github.com/af83/capistrano-af83
122
- licenses: []
112
+ licenses:
113
+ - MIT
114
+ metadata: {}
123
115
  post_install_message:
124
116
  rdoc_options: []
125
117
  require_paths:
126
118
  - lib
127
119
  required_ruby_version: !ruby/object:Gem::Requirement
128
- none: false
129
120
  requirements:
130
- - - ! '>='
121
+ - - '>='
131
122
  - !ruby/object:Gem::Version
132
123
  version: '0'
133
124
  required_rubygems_version: !ruby/object:Gem::Requirement
134
- none: false
135
125
  requirements:
136
- - - ! '>='
126
+ - - '>='
137
127
  - !ruby/object:Gem::Version
138
128
  version: '0'
139
129
  requirements: []
140
130
  rubyforge_project:
141
- rubygems_version: 1.8.23
131
+ rubygems_version: 2.0.0
142
132
  signing_key:
143
- specification_version: 3
133
+ specification_version: 4
144
134
  summary: Capistrano recipes for af83
145
135
  test_files: []
136
+ has_rdoc: