exportr 0.4.0 → 0.4.1

Sign up to get free protection for your applications and to get access to all the features.
data/config/exportr.yml CHANGED
@@ -1,2 +1 @@
1
- ---
2
- FOO: bar
1
+ FOO: 'bar'
@@ -1,11 +1,4 @@
1
- #include "ruby.h"
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 read on Exportr module when lib is loaded
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
  }
@@ -0,0 +1,7 @@
1
+ #include "ruby.h"
2
+ #include "ruby/util.h"
3
+ #include <unistd.h>
4
+
5
+ #define FILE "exportr.yml"
6
+
7
+ static const char *d_scan[] = { "", "config", "/etc", 0 };
@@ -1,3 +1,3 @@
1
1
  module Exportr
2
- VERSION = "0.4.0"
2
+ VERSION = "0.4.1"
3
3
  end
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.0
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-04-28 00:00:00.000000000 Z
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