nera 0.5.1 → 0.5.2

Sign up to get free protection for your applications and to get access to all the features.
data/History.txt CHANGED
@@ -1,3 +1,8 @@
1
+ == 0.5.2
2
+ * 1 major enhancement:
3
+ * 2 bug fixes:
4
+ * Fixed a bug that parameters of NERA::Simulator class is not initialized.
5
+
1
6
  == 0.5.1
2
7
  * 1 major enhancement:
3
8
  * Add a new API function.
@@ -2,12 +2,15 @@ module NERA
2
2
 
3
3
  class Simulator
4
4
 
5
+ Parameters = []
6
+
5
7
  # instance variables
6
8
  @param
7
9
  attr_accessor :param
8
10
 
9
11
  def initialize
10
12
  @param = {}
13
+ self.class::Parameters.each do |pa| @param[ pa[0] ] = pa[2] end
11
14
  end
12
15
 
13
16
  # class methods, variables
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.5.1'
25
+ VERSION = '0.5.2'
26
26
  end
data/website/index.html CHANGED
@@ -34,7 +34,7 @@
34
34
  <div class="sidebar">
35
35
  <div id="version" class="clickable" onclick='document.location = "http://rubyforge.org/projects/nera"; return false'>
36
36
  <p>Get Version</p>
37
- <a href="http://rubyforge.org/projects/nera" class="numbers">0.5.1</a>
37
+ <a href="http://rubyforge.org/projects/nera" class="numbers">0.5.2</a>
38
38
  </div>
39
39
  </div>
40
40
  <h2>What</h2>
@@ -34,7 +34,7 @@
34
34
  <div class="sidebar">
35
35
  <div id="version" class="clickable" onclick='document.location = "http://rubyforge.org/projects/nera"; return false'>
36
36
  <p>Get Version</p>
37
- <a href="http://rubyforge.org/projects/nera" class="numbers">0.5.1</a>
37
+ <a href="http://rubyforge.org/projects/nera" class="numbers">0.5.2</a>
38
38
  </div>
39
39
  </div>
40
40
  <p>The database created by nera is a hierarchical database which consists of three layers.<br />
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.5.1
4
+ version: 0.5.2
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-11-28 00:00:00 +09:00
12
+ date: 2009-11-30 00:00:00 +09:00
13
13
  default_executable:
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency