darshan 1.1.3 → 1.1.4

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. data/ext/darshan/darshan.c +2 -3
  2. metadata +22 -9
  3. checksums.yaml +0 -7
@@ -176,9 +176,8 @@ static VALUE rb_darshan_file_get_fcounter(VALUE self, VALUE counter)
176
176
  struct darshan_file* file = NULL;
177
177
  Data_Get_Struct(self, struct darshan_file, file);
178
178
  if(file != NULL) {
179
- int64_t cnt = file->fcounters[c];
180
- if(cnt == -1) return Qnil;
181
- else return LL2NUM(cnt);
179
+ double cnt = file->fcounters[c];
180
+ return rb_float_new(cnt);
182
181
  } else {
183
182
  return Qnil;
184
183
  }
metadata CHANGED
@@ -1,7 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: darshan
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.3
4
+ hash: 27
5
+ prerelease:
6
+ segments:
7
+ - 1
8
+ - 1
9
+ - 4
10
+ version: 1.1.4
5
11
  platform: ruby
6
12
  authors:
7
13
  - Matthieu Dorier
@@ -9,7 +15,7 @@ autorequire:
9
15
  bindir: bin
10
16
  cert_chain: []
11
17
 
12
- date: 2014-04-15 00:00:00 Z
18
+ date: 2014-06-02 00:00:00 Z
13
19
  dependencies: []
14
20
 
15
21
  description: Ruby binding to ANL's Darshan library for HPC I/O tracing and analysis
@@ -27,8 +33,6 @@ files:
27
33
  homepage: http://darshan-ruby.gforge.inria.fr/
28
34
  licenses:
29
35
  - LGPL
30
- metadata: {}
31
-
32
36
  post_install_message:
33
37
  rdoc_options: []
34
38
 
@@ -36,20 +40,29 @@ require_paths:
36
40
  - lib
37
41
  - ext
38
42
  required_ruby_version: !ruby/object:Gem::Requirement
43
+ none: false
39
44
  requirements:
40
- - &id001
41
- - ">="
45
+ - - ">="
42
46
  - !ruby/object:Gem::Version
47
+ hash: 3
48
+ segments:
49
+ - 0
43
50
  version: "0"
44
51
  required_rubygems_version: !ruby/object:Gem::Requirement
52
+ none: false
45
53
  requirements:
46
- - *id001
54
+ - - ">="
55
+ - !ruby/object:Gem::Version
56
+ hash: 3
57
+ segments:
58
+ - 0
59
+ version: "0"
47
60
  requirements: []
48
61
 
49
62
  rubyforge_project: nowarning
50
- rubygems_version: 2.0.11
63
+ rubygems_version: 1.8.28
51
64
  signing_key:
52
- specification_version: 4
65
+ specification_version: 3
53
66
  summary: Ruby binding to Darshan
54
67
  test_files: []
55
68
 
checksums.yaml DELETED
@@ -1,7 +0,0 @@
1
- ---
2
- SHA512:
3
- metadata.gz: 75e1620040e82973db6cc2e3aee440f21e2772feb113df34202e1da65630fc2859589f27d8e9bdcc758388420886b199dd1575e95382e8103aee23108766950c
4
- data.tar.gz: f2a7f248d307cb30b8e7869f771487a724f4d91fe6f70067f4497d618df24afc958ab463eac8322f37235ebb8167b228dd06e97ade4338af8fa4eb5ed2b9f78b
5
- SHA1:
6
- metadata.gz: 76fcc084b73f0fd8ce6acf1c1417d735da831cff
7
- data.tar.gz: 5fde5c63c9e9582e3e91d8700aa776612838c8c5