oxidized-script 0.1.0 → 0.1.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 6df1c52d253f0ac14793317d519dfa52d2179701
4
- data.tar.gz: 53555c6626ae76872ba5139413fa92bde881584a
3
+ metadata.gz: cce118871517c73f04d3cdfde78e7168a08de6e5
4
+ data.tar.gz: 8b15d4ecd969244355ee857e293eaa6ddd85d690
5
5
  SHA512:
6
- metadata.gz: 897e2f25e807a700be8eb688b20f20c3ac45d1cf150872cfc0e709d6c1551ace430fca88adcce95ea2a9324781180a328b5d51720156232f9be1b049100084ec
7
- data.tar.gz: d1b835214778ece580e6627e041f371291de25d2ee789367e1080e9525d5812cb911c894ec6a9de2ea7260525ad35fc65ba84ba72f967517d2cb2f11b6600819
6
+ metadata.gz: e8c59caec173aaa5e63e49538d1e3d633262896eb92fb410ee13b42df9a3c8d7b1fc7b66f17cfa9eb8e89f656f8878f3b7d2672ce7f08a7baff62386e51e36e9
7
+ data.tar.gz: 99920e328550ae9250f0de81b81284acc8961b958947ca5d735fadbbe1bcf5298989cb345b3d84c580664fde6c9929f12fd42fa9cf3faf0f429b7e5a5f2756b2
data/CHANGELOG.md ADDED
@@ -0,0 +1,2 @@
1
+ # 0.1.1
2
+ - BUGFIX: initialize manager only once
@@ -55,7 +55,13 @@ module Oxidized
55
55
  @verbose = opts.delete :verbose
56
56
  CFG.input.default = opts.delete :protocols if opts[:protocols]
57
57
  raise InvalidOption, "#{opts} not recognized" unless opts.empty?
58
- Oxidized.mgr = Manager.new
58
+
59
+ @@oxi ||= false
60
+ if not @@oxi
61
+ Oxidized.mgr = Manager.new
62
+ @@oxi = true
63
+ end
64
+
59
65
  @node = if model
60
66
  Node.new(:name=>host, :model=>model)
61
67
  else
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |s|
2
2
  s.name = 'oxidized-script'
3
- s.version = '0.1.0'
3
+ s.version = '0.1.1'
4
4
  s.licenses = %w( Apache-2.0 )
5
5
  s.platform = Gem::Platform::RUBY
6
6
  s.authors = [ 'Saku Ytti' ]
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: oxidized-script
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Saku Ytti
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-08-08 00:00:00.000000000 Z
11
+ date: 2014-08-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: oxidized
@@ -48,6 +48,7 @@ extensions: []
48
48
  extra_rdoc_files: []
49
49
  files:
50
50
  - ".gitignore"
51
+ - CHANGELOG.md
51
52
  - Gemfile
52
53
  - README.md
53
54
  - Rakefile