standup 0.5.7 → 0.5.8

Sign up to get free protection for your applications and to get access to all the features.
@@ -60,7 +60,9 @@ module Standup
60
60
 
61
61
  def in_dir path, &block
62
62
  raise ArgumentError, 'Only absolute paths allowed' unless path[0,1] == '/'
63
- with_context(:path => path, &block)
63
+ with_context(:path => path) do |context|
64
+ block.call(path, context)
65
+ end
64
66
  end
65
67
 
66
68
  def as_user user, &block
@@ -1,5 +1,5 @@
1
1
  module Standup
2
- VERSION = "0.5.7"
2
+ VERSION = "0.5.8"
3
3
 
4
4
  def self.version
5
5
  VERSION
data/scripts/webapp.rb CHANGED
@@ -60,7 +60,7 @@ Standup.script :node do
60
60
  end
61
61
 
62
62
  def db_name
63
- "#{params.name}_#{params.rails_env}"
63
+ params.db_name || "#{params.name}_#{params.rails_env}"
64
64
  end
65
65
 
66
66
  def db
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: standup
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: 0.5.7
5
+ version: 0.5.8
6
6
  platform: ruby
7
7
  authors:
8
8
  - Ilia Ablamonov
@@ -12,7 +12,7 @@ autorequire:
12
12
  bindir: bin
13
13
  cert_chain: []
14
14
 
15
- date: 2011-07-14 00:00:00 +04:00
15
+ date: 2011-07-19 00:00:00 +04:00
16
16
  default_executable:
17
17
  dependencies:
18
18
  - !ruby/object:Gem::Dependency
@@ -199,7 +199,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
199
199
  requirements:
200
200
  - - ">="
201
201
  - !ruby/object:Gem::Version
202
- hash: 1060545925348117637
202
+ hash: -2889306916680213122
203
203
  segments:
204
204
  - 0
205
205
  version: "0"
@@ -208,7 +208,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
208
208
  requirements:
209
209
  - - ">="
210
210
  - !ruby/object:Gem::Version
211
- hash: 1060545925348117637
211
+ hash: -2889306916680213122
212
212
  segments:
213
213
  - 0
214
214
  version: "0"