ots 0.4.2 → 0.4.3
Sign up to get free protection for your applications and to get access to all the features.
- data/VERSION +1 -1
- data/ext/extconf.rb +14 -2
- metadata +32 -50
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.4.
|
1
|
+
0.4.3
|
data/ext/extconf.rb
CHANGED
@@ -1,7 +1,19 @@
|
|
1
1
|
require 'mkmf'
|
2
2
|
|
3
|
-
$CFLAGS =
|
4
|
-
$
|
3
|
+
$CFLAGS = %x{pkg-config --cflags glib-2.0}.strip
|
4
|
+
$LGFLAGS = %x{pkg-config --libs glib-2.0}.strip
|
5
|
+
|
6
|
+
if $CFLAGS.empty?
|
7
|
+
warn %q{WARNING: No pkg-config found for glib-2.0, using defaults. Set GLIB_INCLUDE_DIR env to override.}
|
8
|
+
dirs = ENV.fetch('GLIB_INCLUDE_DIR', '/usr/include/glib-2.0 /usr/lib/glib-2.0/include')
|
9
|
+
$CFLAGS = dirs.split(/\s+/).map {|dir| "-I#{dir}"}.join(' ')
|
10
|
+
end
|
11
|
+
|
12
|
+
if $LDFLAGS.empty?
|
13
|
+
warn %q{WARNING: No pkg-config found for glib-2.0, using defaults. Set GLIB_LIB env to override.}
|
14
|
+
libs = ENV.fetch('GLIB_LIB', 'glib-2.0')
|
15
|
+
$LDFLAGS = libs.split(/\s+/).map {|lib| "-l#{lib}"}.join(' ')
|
16
|
+
end
|
5
17
|
|
6
18
|
dir_config("libots", ["/usr/local", "/opt/local", "/usr"])
|
7
19
|
|
metadata
CHANGED
@@ -1,82 +1,64 @@
|
|
1
|
-
--- !ruby/object:Gem::Specification
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
2
|
name: ots
|
3
|
-
version: !ruby/object:Gem::Version
|
4
|
-
|
5
|
-
|
6
|
-
- 0
|
7
|
-
- 4
|
8
|
-
- 2
|
9
|
-
version: 0.4.2
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.4.3
|
5
|
+
prerelease:
|
10
6
|
platform: ruby
|
11
|
-
authors:
|
7
|
+
authors:
|
12
8
|
- Bharanee Rathna
|
13
9
|
autorequire:
|
14
10
|
bindir: bin
|
15
11
|
cert_chain: []
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
dependencies:
|
20
|
-
- !ruby/object:Gem::Dependency
|
12
|
+
date: 2011-05-23 00:00:00.000000000Z
|
13
|
+
dependencies:
|
14
|
+
- !ruby/object:Gem::Dependency
|
21
15
|
name: shoulda
|
22
|
-
|
23
|
-
requirement: &id001 !ruby/object:Gem::Requirement
|
16
|
+
requirement: &17368280 !ruby/object:Gem::Requirement
|
24
17
|
none: false
|
25
|
-
requirements:
|
26
|
-
- -
|
27
|
-
- !ruby/object:Gem::Version
|
28
|
-
|
29
|
-
- 2
|
30
|
-
- 10
|
31
|
-
version: "2.10"
|
18
|
+
requirements:
|
19
|
+
- - ! '>='
|
20
|
+
- !ruby/object:Gem::Version
|
21
|
+
version: '2.10'
|
32
22
|
type: :development
|
33
|
-
|
23
|
+
prerelease: false
|
24
|
+
version_requirements: *17368280
|
34
25
|
description: Ruby interface to libots libraries for unix.
|
35
26
|
email: deepfryed@gmail.com
|
36
27
|
executables: []
|
37
|
-
|
38
|
-
extensions:
|
28
|
+
extensions:
|
39
29
|
- ext/extconf.rb
|
40
|
-
extra_rdoc_files:
|
30
|
+
extra_rdoc_files:
|
41
31
|
- README
|
42
|
-
files:
|
32
|
+
files:
|
43
33
|
- README
|
44
34
|
- VERSION
|
45
35
|
- ext/ots.c
|
46
36
|
- lib/ots.rb
|
47
37
|
- test/ots_test.rb
|
48
38
|
- ext/extconf.rb
|
49
|
-
has_rdoc: true
|
50
39
|
homepage: http://github.com/deepfryed/ots
|
51
40
|
licenses: []
|
52
|
-
|
53
41
|
post_install_message:
|
54
|
-
rdoc_options:
|
55
|
-
|
56
|
-
require_paths:
|
42
|
+
rdoc_options: []
|
43
|
+
require_paths:
|
57
44
|
- lib
|
58
|
-
required_ruby_version: !ruby/object:Gem::Requirement
|
45
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
59
46
|
none: false
|
60
|
-
requirements:
|
61
|
-
- -
|
62
|
-
- !ruby/object:Gem::Version
|
63
|
-
|
64
|
-
|
65
|
-
version: "0"
|
66
|
-
required_rubygems_version: !ruby/object:Gem::Requirement
|
47
|
+
requirements:
|
48
|
+
- - ! '>='
|
49
|
+
- !ruby/object:Gem::Version
|
50
|
+
version: '0'
|
51
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
67
52
|
none: false
|
68
|
-
requirements:
|
69
|
-
- -
|
70
|
-
- !ruby/object:Gem::Version
|
71
|
-
|
72
|
-
- 0
|
73
|
-
version: "0"
|
53
|
+
requirements:
|
54
|
+
- - ! '>='
|
55
|
+
- !ruby/object:Gem::Version
|
56
|
+
version: '0'
|
74
57
|
requirements: []
|
75
|
-
|
76
58
|
rubyforge_project:
|
77
|
-
rubygems_version: 1.
|
59
|
+
rubygems_version: 1.8.2
|
78
60
|
signing_key:
|
79
61
|
specification_version: 3
|
80
62
|
summary: Open Text Summarizer interface for Ruby.
|
81
|
-
test_files:
|
63
|
+
test_files:
|
82
64
|
- test/ots_test.rb
|