citrin 0.0.2 → 0.0.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/VERSION +1 -1
- data/bin/citrin +2 -0
- data/citrin.gemspec +2 -1
- data/commands/remove_railsapp +22 -0
- metadata +4 -3
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
0.0.
|
|
1
|
+
0.0.3
|
data/bin/citrin
CHANGED
data/citrin.gemspec
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
|
|
6
6
|
Gem::Specification.new do |s|
|
|
7
7
|
s.name = %q{citrin}
|
|
8
|
-
s.version = "0.0.
|
|
8
|
+
s.version = "0.0.3"
|
|
9
9
|
|
|
10
10
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
|
11
11
|
s.authors = [%q{Mike}]
|
|
@@ -34,6 +34,7 @@ Gem::Specification.new do |s|
|
|
|
34
34
|
"commands/create_svn",
|
|
35
35
|
"commands/create_webserver",
|
|
36
36
|
"commands/help",
|
|
37
|
+
"commands/remove_railsapp",
|
|
37
38
|
"lib/citrin.rb",
|
|
38
39
|
"lib/citrin/cli.rb",
|
|
39
40
|
"test/helper.rb",
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
#!/bin/bash
|
|
2
|
+
|
|
3
|
+
name=$1
|
|
4
|
+
|
|
5
|
+
prod_path="/var/www/rails_apps/prod/"
|
|
6
|
+
dev_path="/var/www/rails_apps/dev/"
|
|
7
|
+
svn_path=/var/svn/$name/
|
|
8
|
+
path="$dev_path$name"
|
|
9
|
+
if [ -z $name ] ; then
|
|
10
|
+
echo "usage: $0 appname"
|
|
11
|
+
exit 1;
|
|
12
|
+
fi
|
|
13
|
+
|
|
14
|
+
rm $prod_path$name
|
|
15
|
+
rm -r $dev_path$name
|
|
16
|
+
rm -r $svn_path
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
rm /etc/apache2/sites-enabled/prod.$name.conf
|
|
20
|
+
rm /etc/apache2/sites-enabled/dev.$name.conf
|
|
21
|
+
|
|
22
|
+
service apache2 reload
|
metadata
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: citrin
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
hash:
|
|
4
|
+
hash: 25
|
|
5
5
|
prerelease:
|
|
6
6
|
segments:
|
|
7
7
|
- 0
|
|
8
8
|
- 0
|
|
9
|
-
-
|
|
10
|
-
version: 0.0.
|
|
9
|
+
- 3
|
|
10
|
+
version: 0.0.3
|
|
11
11
|
platform: ruby
|
|
12
12
|
authors:
|
|
13
13
|
- Mike
|
|
@@ -103,6 +103,7 @@ files:
|
|
|
103
103
|
- commands/create_svn
|
|
104
104
|
- commands/create_webserver
|
|
105
105
|
- commands/help
|
|
106
|
+
- commands/remove_railsapp
|
|
106
107
|
- lib/citrin.rb
|
|
107
108
|
- lib/citrin/cli.rb
|
|
108
109
|
- test/helper.rb
|