exportr 0.4.0 → 0.4.1
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.
- data/config/exportr.yml +1 -2
- data/ext/exportr/exportr.c +2 -9
- data/ext/exportr/exportr.h +7 -0
- data/lib/exportr/version.rb +1 -1
- metadata +3 -2
data/config/exportr.yml
CHANGED
@@ -1,2 +1 @@
|
|
1
|
-
|
2
|
-
FOO: bar
|
1
|
+
FOO: 'bar'
|
data/ext/exportr/exportr.c
CHANGED
@@ -1,11 +1,4 @@
|
|
1
|
-
#include "
|
2
|
-
#include "ruby/util.h"
|
3
|
-
#include <stdio.h>
|
4
|
-
#include <unistd.h>
|
5
|
-
|
6
|
-
#define FILE "exportr.yml"
|
7
|
-
|
8
|
-
static const char *d_scan[] = { "", "config", 0 };
|
1
|
+
#include "exportr.h"
|
9
2
|
|
10
3
|
static VALUE File = Qnil;
|
11
4
|
static VALUE rb_file ( void )
|
@@ -103,7 +96,7 @@ void Init_exportr ( void )
|
|
103
96
|
rb_define_singleton_method(rb_mExportr, "config_file", exportr_config_file, 0);
|
104
97
|
|
105
98
|
/*
|
106
|
-
* Manually call
|
99
|
+
* Manually call export on Exportr module when lib is loaded
|
107
100
|
*/
|
108
101
|
rb_funcall(rb_mExportr, rb_intern("export"), 0);
|
109
102
|
}
|
data/lib/exportr/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: exportr
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.4.
|
4
|
+
version: 0.4.1
|
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: 2013-
|
12
|
+
date: 2013-07-01 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: rake
|
@@ -77,6 +77,7 @@ files:
|
|
77
77
|
- config/exportr.yml
|
78
78
|
- exportr.gemspec
|
79
79
|
- ext/exportr/exportr.c
|
80
|
+
- ext/exportr/exportr.h
|
80
81
|
- ext/exportr/extconf.rb
|
81
82
|
- lib/exportr.rb
|
82
83
|
- lib/exportr/version.rb
|