citrin 0.0.1 → 0.0.2

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 CHANGED
@@ -1 +1 @@
1
- 0.0.1
1
+ 0.0.2
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.1"
8
+ s.version = "0.0.2"
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}]
@@ -47,14 +47,14 @@ function configure_apache {
47
47
  sed -i "s/PROJECT_ROOT/$sed_str/g" $conffile
48
48
  sed -i "s/URL/$url/g" $conffile
49
49
 
50
- service apache2 reload 2>&1 > /dev/null
51
-
52
-
53
50
  echo ""
54
51
  echo "Apache VirtualHost Konfiguration unter: $conffile"
55
52
  echo "App Root unter: $app_root"
56
53
  echo "URL: http://$url"
57
54
 
55
+
56
+ echo "Apache reload"
57
+ sudo service apache2 reload 2>&1 > /dev/null
58
58
  }
59
59
 
60
60
  configure_apache
data/lib/citrin/cli.rb CHANGED
@@ -4,7 +4,7 @@ class Citrin::CLI
4
4
 
5
5
  def self.start(*args)
6
6
  command = args.shift.strip rescue "help"
7
- puts `#{File.dirname(__FILE__)}/../../commands/#{command} #{args}`
7
+ puts `#{File.dirname(__FILE__)}/../../commands/#{command} #{args.join(" ")}`
8
8
  end
9
9
 
10
10
  end
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: 29
4
+ hash: 27
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 0
9
- - 1
10
- version: 0.0.1
9
+ - 2
10
+ version: 0.0.2
11
11
  platform: ruby
12
12
  authors:
13
13
  - Mike