standup 0.3.13 → 0.3.14

Sign up to get free protection for your applications and to get access to all the features.
data/.rvmrc ADDED
@@ -0,0 +1,2 @@
1
+ rvm ree@standup
2
+
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.3.13
1
+ 0.3.14
data/scripts/passenger.rb CHANGED
@@ -1,6 +1,6 @@
1
1
  Standup.script :node do
2
2
  def run
3
- scripts.ec2.open_port 80
3
+ scripts.ec2.open_port 80, 443
4
4
 
5
5
  if install_gem('passenger', '3.0.1') || !file_exists?('/opt/nginx/sbin/nginx')
6
6
  install_package 'libcurl4-openssl-dev'
@@ -1,5 +1,5 @@
1
1
  server {
2
- server_name _;
2
+ server_name <%= server_names %>;
3
3
  listen 80;
4
4
 
5
5
  root <%= app_path %>/public;
data/scripts/webapp.rb CHANGED
@@ -1,9 +1,10 @@
1
1
  Standup.script :node do
2
2
  self.default_params = {
3
3
  :rails_env => 'production',
4
- :name => 'webapp'
4
+ :name => 'webapp',
5
+ :server_name => 'localhost'
5
6
  }
6
-
7
+
7
8
  def run
8
9
  install_package 'git-core'
9
10
  install_gem 'bundler'
@@ -45,6 +46,14 @@ Standup.script :node do
45
46
  nil
46
47
  end
47
48
 
49
+ def server_names
50
+ params.server_names || params.server_name
51
+ end
52
+
53
+ def server_name
54
+ server_names.split(' ').first
55
+ end
56
+
48
57
  protected
49
58
 
50
59
  def ensure_github_access
data/standup.gemspec CHANGED
@@ -5,11 +5,11 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{standup}
8
- s.version = "0.3.13"
8
+ s.version = "0.3.14"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Ilia Ablamonov", "Artem Orlov", "Cloud Castle Inc."]
12
- s.date = %q{2010-12-21}
12
+ s.date = %q{2010-12-30}
13
13
  s.default_executable = %q{standup}
14
14
  s.email = %q{ilia@flamefork.ru}
15
15
  s.executables = ["standup"]
@@ -18,6 +18,7 @@ Gem::Specification.new do |s|
18
18
  "README.md"
19
19
  ]
20
20
  s.files = [
21
+ ".rvmrc",
21
22
  "LICENSE",
22
23
  "README.md",
23
24
  "Rakefile",
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: standup
3
3
  version: !ruby/object:Gem::Version
4
- hash: 9
4
+ hash: 15
5
5
  prerelease: false
6
6
  segments:
7
7
  - 0
8
8
  - 3
9
- - 13
10
- version: 0.3.13
9
+ - 14
10
+ version: 0.3.14
11
11
  platform: ruby
12
12
  authors:
13
13
  - Ilia Ablamonov
@@ -17,7 +17,7 @@ autorequire:
17
17
  bindir: bin
18
18
  cert_chain: []
19
19
 
20
- date: 2010-12-21 00:00:00 +03:00
20
+ date: 2010-12-30 00:00:00 +03:00
21
21
  default_executable: standup
22
22
  dependencies:
23
23
  - !ruby/object:Gem::Dependency
@@ -136,6 +136,7 @@ extra_rdoc_files:
136
136
  - LICENSE
137
137
  - README.md
138
138
  files:
139
+ - .rvmrc
139
140
  - LICENSE
140
141
  - README.md
141
142
  - Rakefile