funit-12 0.12.1 → 0.12.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/History.txt +6 -1
  3. data/lib/funit.rb +3 -2
  4. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 967354271cccdcbb898903976300dd7835dc1240
4
- data.tar.gz: c51625688cb1a1ff105311cd821e7e5baf8fc648
3
+ metadata.gz: 6fb496d678eaa24fcc24a38a0fb435382572d485
4
+ data.tar.gz: 8757b3121f9f3e9336556e06a83af993c65c1093
5
5
  SHA512:
6
- metadata.gz: f1af27b11bab5773f1c7ac6c9e59dc0d8a93e8985d8364b45d1af758240ed94b4f9b5f9aa1bccda71d7db1016e63e33d69a143c6a56250206bd17e35b4912042
7
- data.tar.gz: cc94e9d9ee86fa2ba6d462432428269920993825fe999a1084dd1720441fdb1f462714fe361250cc1cfc341a067e7e1a6b65ea7fe6e5e63c70f6127d4c11ef82
6
+ metadata.gz: 88f8c5abccdbf9ff9462653ffdddcb721712842035ed509b3b4d37f6843cae9cec992b7b70ca2eb460bb3ab35512e239ccdfd27c4d60faa90db2d9078f87ab34
7
+ data.tar.gz: 1ffba38a4c97d78b438dcfeb70e2288f2d8d5b9c1c9c4cee068f90cf2ea0d719b240fe8c4321437524b1c401130f5b33e63d8fe1140a0575f5fb3e27d404ee1d
data/History.txt CHANGED
@@ -1,4 +1,9 @@
1
- === 0.12.0 / 2016-1-19
1
+ === 0.12.2 / 2016-1-20
2
+
3
+ * 1 minor enhancement
4
+ * Enable funit to read files with .F90 extension
5
+
6
+ === 0.12.1 / 2016-1-19
2
7
 
3
8
  * 1 bug fix
4
9
  * Changed required gem fortran -> fortran_dependencies to track forked gem of "fortran"
data/lib/funit.rb CHANGED
@@ -15,7 +15,7 @@ require 'fileutils'
15
15
 
16
16
  module Funit
17
17
 
18
- VERSION = '0.12.1'
18
+ VERSION = '0.12.2'
19
19
 
20
20
  ##
21
21
  # run all tests
@@ -30,7 +30,8 @@ module Funit
30
30
  ts_name = $1
31
31
  ts_content = $2
32
32
  if((!File.exist?(ts_name+"_fun.f90")) || File.mtime(ts_name+"_fun.f90") < File.mtime(test_file+".fun")) then
33
- if ( File.read(ts_name+'.f90').match(/\s*module\s+#{ts_name}/i) ) then
33
+ source_file = Dir.glob("#{ts_name}.*90").first
34
+ if ( File.read(source_file).match(/\s*module\s+#{ts_name}/i) ) then
34
35
  TestSuite.new(ts_name, ts_content, false)
35
36
  else
36
37
  TestSuite.new(ts_name, ts_content, true)
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: funit-12
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.12.1
4
+ version: 0.12.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Karen Bibb
@@ -13,7 +13,7 @@ authors:
13
13
  autorequire:
14
14
  bindir: bin
15
15
  cert_chain: []
16
- date: 2016-01-19 00:00:00.000000000 Z
16
+ date: 2016-01-20 00:00:00.000000000 Z
17
17
  dependencies:
18
18
  - !ruby/object:Gem::Dependency
19
19
  name: fortran_dependencies