netscaler-cli 0.2.2 → 0.2.3

Sign up to get free protection for your applications and to get access to all the features.
data/Rakefile CHANGED
@@ -4,15 +4,14 @@ $LOAD_PATH.unshift File.expand_path("../spec", __FILE__)
4
4
  require 'fileutils'
5
5
  require 'rake'
6
6
  require 'rubygems'
7
- require 'spec/rake/spectask'
7
+ require 'rspec/core/rake_task'
8
8
  require 'netscaler/version'
9
9
 
10
10
  task :default => :spec
11
11
 
12
12
  desc "Run the RSpec tests"
13
- Spec::Rake::SpecTask.new(:spec) do |t|
14
- t.spec_files = FileList['spec/**/*_spec.rb']
15
- t.spec_opts = ['-b', '-c', '-f', 'p']
13
+ RSpec::Core::RakeTask.new do |t|
14
+ t.rspec_opts = ['-b', '-c', '-f', 'p']
16
15
  t.fail_on_error = false
17
16
  end
18
17
 
@@ -33,7 +32,7 @@ begin
33
32
  gem.add_dependency 'log4r', '>=1.1.7'
34
33
  gem.add_dependency 'savon', '>=0.7.9'
35
34
 
36
- gem.add_development_dependency 'rspec', '>=1.3.0'
35
+ gem.add_development_dependency 'rspec', '>=2.0.1'
37
36
  end
38
37
  rescue LoadError
39
38
  puts "Jeweler or dependencies are not available. Install it with: sudo gem install jeweler"
@@ -1 +1 @@
1
- 0.2.2
1
+ 0.2.3
@@ -38,6 +38,7 @@ module Netscaler
38
38
  msg = response[:return][:message]
39
39
  if msg !~ /^Done$/
40
40
  log.error(response[:return][:message])
41
+ exit(1)
41
42
  else
42
43
  log.debug(msg)
43
44
  end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: netscaler-cli
3
3
  version: !ruby/object:Gem::Version
4
- hash: 19
4
+ hash: 17
5
5
  prerelease: false
6
6
  segments:
7
7
  - 0
8
8
  - 2
9
- - 2
10
- version: 0.2.2
9
+ - 3
10
+ version: 0.2.3
11
11
  platform: ruby
12
12
  authors:
13
13
  - Gabe McArthur
@@ -15,7 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2010-10-12 00:00:00 -07:00
18
+ date: 2010-11-09 00:00:00 -08:00
19
19
  default_executable:
20
20
  dependencies:
21
21
  - !ruby/object:Gem::Dependency
@@ -74,12 +74,12 @@ dependencies:
74
74
  requirements:
75
75
  - - ">="
76
76
  - !ruby/object:Gem::Version
77
- hash: 27
77
+ hash: 13
78
78
  segments:
79
- - 1
80
- - 3
79
+ - 2
81
80
  - 0
82
- version: 1.3.0
81
+ - 1
82
+ version: 2.0.1
83
83
  type: :development
84
84
  version_requirements: *id004
85
85
  description: This gem installs several simple command line utilities locally. It uses the NSConfig.wsdl SOAP interface for remote access.