cdo 1.0.5 → 1.0.6

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 (3) hide show
  1. data/gemspec +1 -1
  2. data/test/test_cdo.rb +8 -0
  3. metadata +2 -2
data/gemspec CHANGED
@@ -2,7 +2,7 @@ require 'rubygems'
2
2
 
3
3
  spec = Gem::Specification.new do |s|
4
4
  s.name = "cdo"
5
- s.version = '1.0.5'
5
+ s.version = '1.0.6'
6
6
  s.platform = Gem::Platform::RUBY
7
7
  s.files = ["lib/cdo.rb"] + ["gemspec","COPYING","README.rdoc","ChangeLog"]
8
8
  s.test_file = "test/test_cdo.rb"
@@ -153,6 +153,14 @@ class TestCdo < Test::Unit::TestCase
153
153
  cdf = Cdo.readCdf(cdfFile)
154
154
  assert_equal(['lon','lat','time','for'],cdf.var_names)
155
155
  end
156
+ def test_tmp
157
+ tempfilesStart = Dir.glob('/tmp/Module*').sort
158
+ tempfilesEnd = Dir.glob('/tmp/Module*').sort
159
+ assert_equal(tempfilesStart,tempfilesEnd)
160
+ test_combine()
161
+ tempfilesEnd = Dir.glob('/tmp/Module**')
162
+ assert_empty(tempfilesStart-tempfilesEnd)
163
+ end
156
164
  end
157
165
 
158
166
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cdo
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.5
4
+ version: 1.0.6
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-01-24 00:00:00.000000000 Z
12
+ date: 2012-01-31 00:00:00.000000000 Z
13
13
  dependencies: []
14
14
  description: Easy access to the Climate Data operators
15
15
  email: stark.dreamdetective@gmail.com