my_scripts 0.0.12 → 0.0.13

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.12
1
+ 0.0.13
@@ -9,7 +9,7 @@ module MyScripts
9
9
  # here you do all actual work for your script
10
10
  # you have following instance vars at your disposal:
11
11
  # @name - your script name,
12
- # @argv - your ARGV,
12
+ # @argv - your ARGV (Array of argument Strings passed at command line),
13
13
  # @cli - CLI runner (holds references to stdin and stdout)
14
14
  #...
15
15
  end
@@ -5,6 +5,8 @@ module MyScripts
5
5
  case @argv.shift
6
6
  when /start/
7
7
  system "%ERLANG_HOME%/lib/rabbitmq_server-1.7.0/sbin/rabbitmq-server.bat #{ARGV.join(' ')}"
8
+ when /stop/
9
+ system "%ERLANG_HOME%/lib/rabbitmq_server-1.7.0/sbin/rabbitmqctl.bat stop #{ARGV.join(' ')}"
8
10
  when /ctl/
9
11
  system "%ERLANG_HOME%/lib/rabbitmq_server-1.7.0/sbin/rabbitmqctl.bat #{ARGV.join(' ')}"
10
12
  else
data/my_scripts.gemspec CHANGED
@@ -5,11 +5,11 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{my_scripts}
8
- s.version = "0.0.12"
8
+ s.version = "0.0.13"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["arvicco"]
12
- s.date = %q{2010-02-15}
12
+ s.date = %q{2010-03-11}
13
13
  s.description = %q{Simple framework for writing command-line scripts and collection of my own scripts (mostly dev-related)}
14
14
  s.email = %q{arvitallian@gmail.com}
15
15
  s.executables = ["citi", "dummy", "gitto", "jew", "mybones", "rabbit"]
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: my_scripts
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.12
4
+ version: 0.0.13
5
5
  platform: ruby
6
6
  authors:
7
7
  - arvicco
@@ -9,7 +9,7 @@ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
11
 
12
- date: 2010-02-15 00:00:00 +03:00
12
+ date: 2010-03-11 00:00:00 +03:00
13
13
  default_executable:
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency