fOOrth 0.5.2 → 0.5.3

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: 502a7d2b2dfe43bf05201bc914979cf32c96ae73
4
- data.tar.gz: 80ad45ad7d24f94d9c654acbe83f037cb2f3d7b1
3
+ metadata.gz: 559890e4f92fd01b8c19f1da0906079b017f57b0
4
+ data.tar.gz: ced8ded1201a853b006d486e4915c14b92decac0
5
5
  SHA512:
6
- metadata.gz: ce4e1c6e91bf9d9242baa5961b49b6f10b42dbe3a5f42a599ab91c001540d50b2cb2a07ad5948bf9cc0e6c1632d00e2d38acbed4e5edd2874ce673e7c2ab2528
7
- data.tar.gz: 9ec27e5d29827a055a733b476b9d7b3876a60fa1052a5404d8da2f39d881ea2ed0ff19d2951a00a5cab4c15b6f3c1b03b48d388f9dd32f984cde6793457be5ba
6
+ metadata.gz: 718ccfe382895223af46fdcf931cf02c24f5bde48594b825537d2cc53b218e52606792f063d8c3ced03d553a90797878214e44d4dff167cd52e1568c2f6195da
7
+ data.tar.gz: 28afe39a7ccd28ee0c716bf54644a88a363d6830e81b9ab30801986ea38546c4df665be9fe3b43b8d0bfe0cf5086aee582bb6d9d9f4704d8edee04696bbbcf52
@@ -181,7 +181,7 @@ class CompileLibraryTester < Minitest::Test
181
181
  end
182
182
 
183
183
  def test_for_FILE_method
184
- foorth_equal('_FILE_', ['A string.'])
184
+ foorth_equal('_FILE_', [nil])
185
185
 
186
186
  nm = File.absolute_path('integration/_FILE_test.foorth')
187
187
  foorth_equal('"integration/_FILE_test.foorth" .load ', [nm, 7, nm])
@@ -64,7 +64,10 @@ module XfOOrth
64
64
  "The console."
65
65
  end
66
66
 
67
- alias :file_name :source_name
67
+ #The console has no file name to return.
68
+ def fine_name
69
+ nil
70
+ end
68
71
 
69
72
  end
70
73
  end
@@ -21,7 +21,10 @@ module XfOOrth
21
21
  "A string."
22
22
  end
23
23
 
24
- alias :file_name :source_name
24
+ #A string source has no file name to return.
25
+ def file_name
26
+ nil
27
+ end
25
28
 
26
29
  end
27
30
 
@@ -3,5 +3,5 @@
3
3
  #* version.rb - The version string for fOOrth.
4
4
  module XfOOrth
5
5
  #The version string for fOOrth.
6
- VERSION = "0.5.2"
6
+ VERSION = "0.5.3"
7
7
  end
@@ -24,16 +24,17 @@ end
24
24
 
25
25
  #Run the fOOrth unit test suite.
26
26
  Rake::TestTask.new do |t|
27
- #List out all the test files.
27
+ #List out all the unit test files.
28
28
  t.test_files = FileList['tests/**/*.rb']
29
29
  t.verbose = false
30
- #t.warning = false
30
+ t.warning = true
31
31
  end
32
32
 
33
33
  #Run the fOOrth integration test suite.
34
34
  Rake::TestTask.new(:integration) do |t|
35
- #List out all the test files.
35
+ #List out all the integration test files.
36
36
  t.test_files = FileList['integration/*.rb']
37
+ t.verbose = false
37
38
  t.warning = false
38
39
  end
39
40
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fOOrth
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.2
4
+ version: 0.5.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Peter Camilleri
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-03-28 00:00:00.000000000 Z
11
+ date: 2016-04-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler