nera 0.1.0 → 0.1.1

Sign up to get free protection for your applications and to get access to all the features.
data/History.txt CHANGED
@@ -1,3 +1,9 @@
1
+ == 0.1.1
2
+ * 1 major enhancement:
3
+ * 2 bug fixes
4
+ * bug fix of nera_addhosts
5
+ * fix the bug that a String parameter causes invalid nera_status.rb.
6
+
1
7
  == 0.1.0
2
8
  * 1 major enahncement:
3
9
  * remote connection function is supported
data/README.rdoc CHANGED
@@ -29,7 +29,7 @@ Ruby 1.8.0 or later
29
29
 
30
30
  To install,
31
31
 
32
- sudo gem install nera
32
+ sudo gem install nera --include-dependencies
33
33
 
34
34
  == LICENSE:
35
35
 
data/Rakefile CHANGED
@@ -9,6 +9,7 @@ $hoe = Hoe.new('nera', NERA::VERSION) do |p|
9
9
  p.rubyforge_name = p.name # TODO this is default value
10
10
  p.extra_deps = [
11
11
  ['net-ssh','>= 2.0.11'],
12
+ ['net-sftp','>= 2.0.2']
12
13
  ]
13
14
  p.extra_dev_deps = [
14
15
  ['newgem', ">= #{::Newgem::VERSION}"]
@@ -44,7 +44,7 @@ echo \" :parameters => {\" >> nera_status.rb
44
44
  BODY
45
45
 
46
46
  job_info[:params].each_pair do |key, value|
47
- job_script += "echo \" #{key.to_sym.inspect} => #{value.inspect},\" >> nera_status.rb\n"
47
+ job_script += "echo \" #{key.to_sym.inspect} => #{value.inspect.gsub(/\"/,'\"')},\" >> nera_status.rb\n"
48
48
  end
49
49
 
50
50
  job_script +=<<"BODY"
data/lib/nera.rb CHANGED
@@ -22,5 +22,5 @@ require 'nera_simulator_records'
22
22
  require 'nera_remote_connector'
23
23
 
24
24
  module NERA
25
- VERSION = '0.1.0'
25
+ VERSION = '0.1.1'
26
26
  end
@@ -18,7 +18,7 @@ module NERA
18
18
  end
19
19
 
20
20
  dbf = NERA::DbFolders.new( db_folder_path)
21
- @@hosts = Hash.new
21
+ @@hosts = []
22
22
  h_yml = dbf.path_to_hosts_yaml
23
23
  @@hosts = YAML.load( File.open( h_yml,'r') ) if File.exists?( h_yml)
24
24
 
data/test/runner.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  require 'test/unit'
2
2
 
3
- Test::Unit::AutoRunner.run(true, './', ['--exclude=test_nera_dialog'])
3
+ Test::Unit::AutoRunner.run(true, './', ['--exclude=test_nera_dialog','--exclude=test_helper'])
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: nera
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
  - Yohsuke Murase
@@ -9,7 +9,7 @@ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
11
 
12
- date: 2009-04-30 00:00:00 +09:00
12
+ date: 2009-05-11 00:00:00 +09:00
13
13
  default_executable:
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
@@ -22,6 +22,16 @@ dependencies:
22
22
  - !ruby/object:Gem::Version
23
23
  version: 2.0.11
24
24
  version:
25
+ - !ruby/object:Gem::Dependency
26
+ name: net-sftp
27
+ type: :runtime
28
+ version_requirement:
29
+ version_requirements: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - ">="
32
+ - !ruby/object:Gem::Version
33
+ version: 2.0.2
34
+ version:
25
35
  - !ruby/object:Gem::Dependency
26
36
  name: newgem
27
37
  type: :development