txpadmin 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.
Files changed (3) hide show
  1. data/bin/txpadmin +9 -9
  2. data/txpadmin.gemspec +1 -1
  3. metadata +1 -1
data/bin/txpadmin CHANGED
@@ -24,7 +24,7 @@ op = OptionParser.new do |opts|
24
24
  exit
25
25
  end
26
26
 
27
- opts.on(nil, "--console", "Connect to mysql database") do |v|
27
+ opts.on(nil, "--dbconsole", "Connect to mysql database") do |v|
28
28
  config = TxpAdmin::Config.new.options
29
29
  password = config[:pass].strip != "" ? " -p#{config[:pass]}" : ""
30
30
 
@@ -38,14 +38,14 @@ op = OptionParser.new do |opts|
38
38
  exit
39
39
  end
40
40
 
41
- opts.on(nil, "--config", "Print txp configuration") do |v|
42
- begin
43
- config = `cat textpattern/config.php`
44
- rescue => e
45
- puts "Not a textpattern directory"
46
- exit
47
- end
48
- end
41
+ # opts.on(nil, "--config", "Print txp configuration") do |v|
42
+ # begin
43
+ # config = `cat textpattern/config.php`
44
+ # rescue => e
45
+ # puts "Not a textpattern directory"
46
+ # exit
47
+ # end
48
+ # end
49
49
 
50
50
  end
51
51
 
data/txpadmin.gemspec CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  Gem::Specification.new do |s|
4
4
  s.name = %q{txpadmin}
5
- s.version = "0.0.1"
5
+ s.version = "0.0.2"
6
6
  s.required_rubygems_version = Gem::Requirement.new(">= 1.3") if s.respond_to? :required_rubygems_version=
7
7
  s.authors = ["Fabrizio Regini"]
8
8
  s.date = %q{2009-12-26}
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: txpadmin
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Fabrizio Regini