glib2 1.1.5 → 1.1.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.
- data/ext/glib2/depend +2 -1
- data/ext/glib2/rbglib.h +1 -1
- data/ext/glib2/rbglib_iochannel.c +7 -4
- data/lib/mkmf-gnome2.rb +2 -2
- metadata +61 -45
data/ext/glib2/depend
CHANGED
data/ext/glib2/rbglib.h
CHANGED
@@ -717,6 +717,7 @@ rg_print(int argc, VALUE *argv, VALUE out)
|
|
717
717
|
{
|
718
718
|
int i;
|
719
719
|
VALUE line;
|
720
|
+
VALUE output_field_separator;
|
720
721
|
|
721
722
|
/* if no argument given, print `$_' */
|
722
723
|
if (argc == 0) {
|
@@ -724,9 +725,11 @@ rg_print(int argc, VALUE *argv, VALUE out)
|
|
724
725
|
line = rb_lastline_get();
|
725
726
|
argv = &line;
|
726
727
|
}
|
728
|
+
|
729
|
+
output_field_separator = rb_gv_get("$,");
|
727
730
|
for (i=0; i<argc; i++) {
|
728
|
-
if (!NIL_P(
|
729
|
-
rg_write(out,
|
731
|
+
if (!NIL_P(output_field_separator) && i>0) {
|
732
|
+
rg_write(out, output_field_separator);
|
730
733
|
}
|
731
734
|
switch (TYPE(argv[i])) {
|
732
735
|
case T_NIL:
|
@@ -737,8 +740,8 @@ rg_print(int argc, VALUE *argv, VALUE out)
|
|
737
740
|
break;
|
738
741
|
}
|
739
742
|
}
|
740
|
-
if (!NIL_P(
|
741
|
-
rg_write(out,
|
743
|
+
if (!NIL_P(output_field_separator)) {
|
744
|
+
rg_write(out, output_field_separator);
|
742
745
|
}
|
743
746
|
|
744
747
|
return Qnil;
|
data/lib/mkmf-gnome2.rb
CHANGED
@@ -114,8 +114,8 @@ def add_depend_package(target_name, target_srcdir, top_srcdir, options={})
|
|
114
114
|
target_source_dir = File.join(gem_spec.full_gem_path, "ext/#{target_name}")
|
115
115
|
target_build_dir = target_source_dir
|
116
116
|
add_depend_package_path(target_name,
|
117
|
-
|
118
|
-
|
117
|
+
target_source_dir,
|
118
|
+
target_build_dir)
|
119
119
|
end
|
120
120
|
|
121
121
|
[top_srcdir,
|
metadata
CHANGED
@@ -1,55 +1,59 @@
|
|
1
|
-
--- !ruby/object:Gem::Specification
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
2
|
name: glib2
|
3
|
-
version: !ruby/object:Gem::Version
|
4
|
-
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
hash: 31
|
5
5
|
prerelease:
|
6
|
+
segments:
|
7
|
+
- 1
|
8
|
+
- 1
|
9
|
+
- 6
|
10
|
+
version: 1.1.6
|
6
11
|
platform: ruby
|
7
|
-
authors:
|
12
|
+
authors:
|
8
13
|
- The Ruby-GNOME2 Project Team
|
9
14
|
autorequire:
|
10
15
|
bindir: bin
|
11
16
|
cert_chain: []
|
12
|
-
|
13
|
-
|
14
|
-
|
17
|
+
|
18
|
+
date: 2012-12-02 00:00:00 Z
|
19
|
+
dependencies:
|
20
|
+
- !ruby/object:Gem::Dependency
|
15
21
|
name: pkg-config
|
16
|
-
requirement: !ruby/object:Gem::Requirement
|
17
|
-
none: false
|
18
|
-
requirements:
|
19
|
-
- - ! '>='
|
20
|
-
- !ruby/object:Gem::Version
|
21
|
-
version: '0'
|
22
|
-
type: :runtime
|
23
22
|
prerelease: false
|
24
|
-
|
23
|
+
requirement: &id001 !ruby/object:Gem::Requirement
|
25
24
|
none: false
|
26
|
-
requirements:
|
27
|
-
- -
|
28
|
-
- !ruby/object:Gem::Version
|
29
|
-
|
30
|
-
|
25
|
+
requirements:
|
26
|
+
- - ">="
|
27
|
+
- !ruby/object:Gem::Version
|
28
|
+
hash: 3
|
29
|
+
segments:
|
30
|
+
- 0
|
31
|
+
version: "0"
|
32
|
+
type: :runtime
|
33
|
+
version_requirements: *id001
|
34
|
+
- !ruby/object:Gem::Dependency
|
31
35
|
name: test-unit
|
32
|
-
requirement: !ruby/object:Gem::Requirement
|
33
|
-
none: false
|
34
|
-
requirements:
|
35
|
-
- - ! '>='
|
36
|
-
- !ruby/object:Gem::Version
|
37
|
-
version: '2'
|
38
|
-
type: :development
|
39
36
|
prerelease: false
|
40
|
-
|
37
|
+
requirement: &id002 !ruby/object:Gem::Requirement
|
41
38
|
none: false
|
42
|
-
requirements:
|
43
|
-
- -
|
44
|
-
- !ruby/object:Gem::Version
|
45
|
-
|
39
|
+
requirements:
|
40
|
+
- - ">="
|
41
|
+
- !ruby/object:Gem::Version
|
42
|
+
hash: 7
|
43
|
+
segments:
|
44
|
+
- 2
|
45
|
+
version: "2"
|
46
|
+
type: :development
|
47
|
+
version_requirements: *id002
|
46
48
|
description: Ruby/GLib2 is a Ruby binding of GLib-2.x.
|
47
49
|
email: ruby-gnome2-devel-en@lists.sourceforge.net
|
48
50
|
executables: []
|
49
|
-
|
51
|
+
|
52
|
+
extensions:
|
50
53
|
- ext/glib2/extconf.rb
|
51
54
|
extra_rdoc_files: []
|
52
|
-
|
55
|
+
|
56
|
+
files:
|
53
57
|
- README
|
54
58
|
- Rakefile
|
55
59
|
- extconf.rb
|
@@ -160,26 +164,38 @@ files:
|
|
160
164
|
- test/glib-test-init.rb
|
161
165
|
homepage: http://ruby-gnome2.sourceforge.jp/
|
162
166
|
licenses: []
|
167
|
+
|
163
168
|
post_install_message:
|
164
169
|
rdoc_options: []
|
165
|
-
|
170
|
+
|
171
|
+
require_paths:
|
166
172
|
- lib
|
167
|
-
required_ruby_version: !ruby/object:Gem::Requirement
|
173
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
168
174
|
none: false
|
169
|
-
requirements:
|
170
|
-
- -
|
171
|
-
- !ruby/object:Gem::Version
|
175
|
+
requirements:
|
176
|
+
- - ">="
|
177
|
+
- !ruby/object:Gem::Version
|
178
|
+
hash: 61
|
179
|
+
segments:
|
180
|
+
- 1
|
181
|
+
- 8
|
182
|
+
- 5
|
172
183
|
version: 1.8.5
|
173
|
-
required_rubygems_version: !ruby/object:Gem::Requirement
|
184
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
174
185
|
none: false
|
175
|
-
requirements:
|
176
|
-
- -
|
177
|
-
- !ruby/object:Gem::Version
|
178
|
-
|
186
|
+
requirements:
|
187
|
+
- - ">="
|
188
|
+
- !ruby/object:Gem::Version
|
189
|
+
hash: 3
|
190
|
+
segments:
|
191
|
+
- 0
|
192
|
+
version: "0"
|
179
193
|
requirements: []
|
194
|
+
|
180
195
|
rubyforge_project:
|
181
|
-
rubygems_version: 1.8.
|
196
|
+
rubygems_version: 1.8.24
|
182
197
|
signing_key:
|
183
198
|
specification_version: 3
|
184
199
|
summary: Ruby/GLib2 is a Ruby binding of GLib-2.x.
|
185
200
|
test_files: []
|
201
|
+
|