funit 0.9.2 → 0.9.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (5) hide show
  1. data/History.txt +6 -0
  2. data/README.txt +2 -3
  3. data/lib/funit.rb +8 -2
  4. data/test/test_funit.rb +1 -1
  5. metadata +64 -57
@@ -1,3 +1,9 @@
1
+ === 0.9.3 / 2007-12-23
2
+
3
+ * 2 bug fixes
4
+ * README.txt project URLs
5
+ * Repaired a test broken by 0.9.2
6
+
1
7
  === 0.9.2 / 2007-09-21
2
8
 
3
9
  * 1 minor enhancement
data/README.txt CHANGED
@@ -1,8 +1,7 @@
1
1
  FUnit
2
2
 
3
- * http://rubyforge.org/projects/funit
4
- * http://funit.rubyforge.org
5
- * mailto:funit-support@rubyforge.org
3
+ * http://rubyforge.org/projects/nasarb
4
+ * http://nasrb.rubyforge.org
6
5
 
7
6
  == DESCRIPTION:
8
7
 
@@ -1,4 +1,10 @@
1
- require 'fortran'
1
+ begin
2
+ require 'rubygems'
3
+ require 'fortran'
4
+ rescue LoadError
5
+ STDERR.puts "gem install fortran"
6
+ exit 1
7
+ end
2
8
 
3
9
  require 'funit/compiler'
4
10
  require 'funit/functions'
@@ -10,7 +16,7 @@ module Funit
10
16
  ##
11
17
  # the version of this fUnit
12
18
 
13
- VERSION = '0.9.2'
19
+ VERSION = '0.9.3'
14
20
 
15
21
  ##
16
22
  # run all tests
@@ -54,7 +54,7 @@ class TestFunit < Test::Unit::TestCase
54
54
  .and.a-2*spacing(real(a)).le.b)
55
55
  EOF
56
56
  assert_equal ans.chomp, @condition
57
- assert_equal '"b (",b,") is not",a,"within",2*spacing(real(a))', @message
57
+ assert_equal %|"b (",b,") is not", &\n a,"within",2*spacing(real(a))|, @message
58
58
  isrealequal("IsRealEqual(1.0,m(1,1))")
59
59
  ans = <<-EOF
60
60
  .not.(1.0+2*spacing(real(1.0)).ge.m(1,1) &
metadata CHANGED
@@ -1,37 +1,50 @@
1
1
  --- !ruby/object:Gem::Specification
2
- rubygems_version: 0.9.4
3
- specification_version: 1
4
2
  name: funit
5
3
  version: !ruby/object:Gem::Version
6
- version: 0.9.2
7
- date: 2007-09-21 00:00:00 -04:00
8
- summary: FUnit is a unit testing framework for Fortran modules.
9
- require_paths:
10
- - lib
11
- email: funit-support@rubyforge.org
12
- homepage: http://rubyforge.org/projects/funit
13
- rubyforge_project: nasarb
14
- description: Unit tests are written as Fortran fragments that use a small set of testing-specific keywords and functions. FUnit transforms these fragments into valid Fortran code, compiles, links, and runs them against the module under test. FUnit is {opinionated software}[http://www.oreillynet.com/pub/a/network/2005/08/30/ruby-rails-david-heinemeier-hansson.html], which values convention over configuration. Specifically, FUnit, * requires a Fortran 95 compiler, * only supports testing routines contained in modules, * requires tests to be stored along side the code under test, and * requires test files to be named appropriately.
15
- autorequire:
16
- default_executable:
17
- bindir: bin
18
- has_rdoc: true
19
- required_ruby_version: !ruby/object:Gem::Version::Requirement
20
- requirements:
21
- - - ">"
22
- - !ruby/object:Gem::Version
23
- version: 0.0.0
24
- version:
4
+ version: 0.9.3
25
5
  platform: ruby
26
- signing_key:
27
- cert_chain:
28
- post_install_message:
29
6
  authors:
30
7
  - Karen Bibb
31
8
  - Bil Kleb
32
9
  - Beth Lee-Rausch
33
10
  - Mike Park
34
11
  - Bill Wood
12
+ autorequire:
13
+ bindir: bin
14
+ cert_chain: []
15
+
16
+ date: 2007-12-23 00:00:00 -05:00
17
+ default_executable:
18
+ dependencies:
19
+ - !ruby/object:Gem::Dependency
20
+ name: fortran
21
+ version_requirement:
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - ">="
25
+ - !ruby/object:Gem::Version
26
+ version: 1.0.1
27
+ version:
28
+ - !ruby/object:Gem::Dependency
29
+ name: hoe
30
+ version_requirement:
31
+ version_requirements: !ruby/object:Gem::Requirement
32
+ requirements:
33
+ - - ">="
34
+ - !ruby/object:Gem::Version
35
+ version: 1.4.0
36
+ version:
37
+ description: Unit tests are written as Fortran fragments that use a small set of testing-specific keywords and functions. FUnit transforms these fragments into valid Fortran code, compiles, links, and runs them against the module under test. FUnit is {opinionated software}[http://www.oreillynet.com/pub/a/network/2005/08/30/ruby-rails-david-heinemeier-hansson.html], which values convention over configuration. Specifically, FUnit, * requires a Fortran 95 compiler, * only supports testing routines contained in modules, * requires tests to be stored along side the code under test, and * requires test files to be named appropriately.
38
+ email: funit-support@rubyforge.org
39
+ executables:
40
+ - funit
41
+ extensions: []
42
+
43
+ extra_rdoc_files:
44
+ - History.txt
45
+ - License.txt
46
+ - Manifest.txt
47
+ - README.txt
35
48
  files:
36
49
  - History.txt
37
50
  - License.txt
@@ -58,41 +71,35 @@ files:
58
71
  - test/test_funit.rb
59
72
  - test/test_testsuite.rb
60
73
  - utils/funit-mode.el
61
- test_files:
62
- - test/test_compiler.rb
63
- - test/test_testsuite.rb
64
- - test/test_funit.rb
65
- - test/test_functions.rb
74
+ has_rdoc: true
75
+ homepage: http://rubyforge.org/projects/nasarb
76
+ post_install_message:
66
77
  rdoc_options:
67
78
  - --main
68
79
  - README.txt
69
- extra_rdoc_files:
70
- - History.txt
71
- - License.txt
72
- - Manifest.txt
73
- - README.txt
74
- executables:
75
- - funit
76
- extensions: []
77
-
80
+ require_paths:
81
+ - lib
82
+ required_ruby_version: !ruby/object:Gem::Requirement
83
+ requirements:
84
+ - - ">="
85
+ - !ruby/object:Gem::Version
86
+ version: "0"
87
+ version:
88
+ required_rubygems_version: !ruby/object:Gem::Requirement
89
+ requirements:
90
+ - - ">="
91
+ - !ruby/object:Gem::Version
92
+ version: "0"
93
+ version:
78
94
  requirements: []
79
95
 
80
- dependencies:
81
- - !ruby/object:Gem::Dependency
82
- name: fortran
83
- version_requirement:
84
- version_requirements: !ruby/object:Gem::Version::Requirement
85
- requirements:
86
- - - ">="
87
- - !ruby/object:Gem::Version
88
- version: 1.0.1
89
- version:
90
- - !ruby/object:Gem::Dependency
91
- name: hoe
92
- version_requirement:
93
- version_requirements: !ruby/object:Gem::Version::Requirement
94
- requirements:
95
- - - ">="
96
- - !ruby/object:Gem::Version
97
- version: 1.3.0
98
- version:
96
+ rubyforge_project: nasarb
97
+ rubygems_version: 1.0.1
98
+ signing_key:
99
+ specification_version: 2
100
+ summary: FUnit is a unit testing framework for Fortran modules.
101
+ test_files:
102
+ - test/test_compiler.rb
103
+ - test/test_functions.rb
104
+ - test/test_funit.rb
105
+ - test/test_testsuite.rb