rails_pwnerer 0.6.26 → 0.6.27
Sign up to get free protection for your applications and to get access to all the features.
- data/CHANGELOG +2 -0
- data/README +2 -2
- data/lib/pwnage/app/git.rb +1 -1
- data/lib/pwnage/base/cpus.rb +1 -1
- data/rails_pwnerer.gemspec +2 -2
- metadata +2 -2
data/CHANGELOG
CHANGED
data/README
CHANGED
@@ -121,7 +121,7 @@ overrides will be version-controlled). In your Rails directory
|
|
121
121
|
(on your devbox), use rpwndev as follows:
|
122
122
|
|
123
123
|
* Set the DNS name that your app responds to:
|
124
|
-
rpwndev set
|
124
|
+
rpwndev set dns_name your.dns.name
|
125
125
|
|
126
126
|
* Tweak the number of frontends per CPU core for an instance:
|
127
127
|
rpwndev setnum frontends_per_core 4 your_instance
|
@@ -140,7 +140,7 @@ your app will apply the changes to the configuration repository.
|
|
140
140
|
Use +rpwn showconfig+ on the server to see all the variables
|
141
141
|
that you can tweak.
|
142
142
|
|
143
|
-
Before I forget: don't dots (.) in instance names. Think
|
143
|
+
Before I forget: don't use dots (.) in instance names. Think
|
144
144
|
underscores (_) instead. You can use dots in application names,
|
145
145
|
though.
|
146
146
|
|
data/lib/pwnage/app/git.rb
CHANGED
@@ -64,7 +64,7 @@ class RailsPwnage::App::Git
|
|
64
64
|
git_branch = 'master'
|
65
65
|
end
|
66
66
|
|
67
|
-
return :next unless git_repository =~ /\.git
|
67
|
+
return :next unless git_repository =~ /\.git(\/.*)?$/
|
68
68
|
app_path = RailsPwnage::Config[app_name, instance_name][:app_path]
|
69
69
|
|
70
70
|
FileUtils.rm_rf app_path
|
data/lib/pwnage/base/cpus.rb
CHANGED
data/rails_pwnerer.gemspec
CHANGED
@@ -2,11 +2,11 @@
|
|
2
2
|
|
3
3
|
Gem::Specification.new do |s|
|
4
4
|
s.name = %q{rails_pwnerer}
|
5
|
-
s.version = "0.6.
|
5
|
+
s.version = "0.6.27"
|
6
6
|
|
7
7
|
s.required_rubygems_version = Gem::Requirement.new(">= 1.2") if s.respond_to? :required_rubygems_version=
|
8
8
|
s.authors = ["Victor Costan"]
|
9
|
-
s.date = %q{2009-01-
|
9
|
+
s.date = %q{2009-01-18}
|
10
10
|
s.default_executable = %q{bin/rpwn}
|
11
11
|
s.description = %q{Rails deployment tool/hack.}
|
12
12
|
s.email = %q{victor@costan.us}
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rails_pwnerer
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.6.
|
4
|
+
version: 0.6.27
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Victor Costan
|
@@ -9,7 +9,7 @@ autorequire:
|
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
11
|
|
12
|
-
date: 2009-01-
|
12
|
+
date: 2009-01-18 00:00:00 -05:00
|
13
13
|
default_executable: bin/rpwn
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|