linkparser 1.1.2 → 1.1.3
Sign up to get free protection for your applications and to get access to all the features.
- data.tar.gz.sig +3 -2
- data/Rakefile +4 -7
- data/lib/linkparser.rb +1 -1
- metadata +25 -27
- metadata.gz.sig +0 -0
- data/Users/mgranger/source/ruby/LinkParser/ext/extconf.rb +0 -38
data.tar.gz.sig
CHANGED
@@ -1,2 +1,3 @@
|
|
1
|
-
|
2
|
-
|
1
|
+
<��{,���oh��Je������z5�=���H5p��Cg��QrL
|
2
|
+
2ho��&H�4M�w.���.(�l��h;�ۚ�ͥ��g���5j��ߥ7d�b���ɏ+��|cҷ^�C*Ŀ��l�nQ��V)�B1?P�1�'6��#i��H�@��
|
3
|
+
���%�=���'�/@�����>Bm.��i7�RGJ龡z���yȒJXTJ�����-ٗ0��������'�f�܅$���V=��q�05뚐�.m�iE
|
data/Rakefile
CHANGED
@@ -16,7 +16,7 @@ rescue LoadError => err
|
|
16
16
|
end
|
17
17
|
|
18
18
|
# Build constants
|
19
|
-
BASEDIR = Pathname( __FILE__ ).dirname
|
19
|
+
BASEDIR = Pathname( __FILE__ ).dirname.relative_path_from( Pathname.pwd )
|
20
20
|
SPECDIR = BASEDIR + 'spec'
|
21
21
|
EXTDIR = BASEDIR + 'ext'
|
22
22
|
LIBDIR = BASEDIR + 'lib'
|
@@ -40,12 +40,9 @@ hoespec = Hoe.spec 'linkparser' do
|
|
40
40
|
self.developer 'Michael Granger', 'ged@FaerieMUD.org'
|
41
41
|
self.developer 'Martin Chase', 'stillflame@FaerieMUD.org'
|
42
42
|
|
43
|
-
self.
|
44
|
-
|
45
|
-
|
46
|
-
self.extra_dev_deps.push *{
|
47
|
-
'rspec' => '~> 2.4',
|
48
|
-
}
|
43
|
+
self.dependency 'rake-compiler', '~> 0.7'
|
44
|
+
self.dependency 'rspec', '~> 2.4', :development
|
45
|
+
self.dependency 'hoe-deveiate', '~> 0.0.6', :development
|
49
46
|
|
50
47
|
self.spec_extras[:licenses] = ["BSD"]
|
51
48
|
self.spec_extras[:extensions] = [ EXTCONF.to_s ]
|
data/lib/linkparser.rb
CHANGED
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: linkparser
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 21
|
5
5
|
prerelease:
|
6
6
|
segments:
|
7
7
|
- 1
|
8
8
|
- 1
|
9
|
-
-
|
10
|
-
version: 1.1.
|
9
|
+
- 3
|
10
|
+
version: 1.1.3
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Michael Granger
|
@@ -36,7 +36,7 @@ cert_chain:
|
|
36
36
|
cmlhXe46pZNJgWKbxZah85jIjx95hR8vOI+NAM5iH9kOqK13DrxacTKPhqj5PjwF
|
37
37
|
-----END CERTIFICATE-----
|
38
38
|
|
39
|
-
date: 2011-05-
|
39
|
+
date: 2011-05-16 00:00:00 Z
|
40
40
|
dependencies:
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
42
|
name: rake-compiler
|
@@ -70,50 +70,50 @@ dependencies:
|
|
70
70
|
type: :development
|
71
71
|
version_requirements: *id002
|
72
72
|
- !ruby/object:Gem::Dependency
|
73
|
-
name: hoe-
|
73
|
+
name: hoe-highline
|
74
74
|
prerelease: false
|
75
75
|
requirement: &id003 !ruby/object:Gem::Requirement
|
76
76
|
none: false
|
77
77
|
requirements:
|
78
|
-
- -
|
78
|
+
- - ~>
|
79
79
|
- !ruby/object:Gem::Version
|
80
|
-
hash:
|
80
|
+
hash: 29
|
81
81
|
segments:
|
82
82
|
- 0
|
83
|
+
- 0
|
83
84
|
- 1
|
84
|
-
|
85
|
-
version: 0.1.2
|
85
|
+
version: 0.0.1
|
86
86
|
type: :development
|
87
87
|
version_requirements: *id003
|
88
88
|
- !ruby/object:Gem::Dependency
|
89
|
-
name:
|
89
|
+
name: rspec
|
90
90
|
prerelease: false
|
91
91
|
requirement: &id004 !ruby/object:Gem::Requirement
|
92
92
|
none: false
|
93
93
|
requirements:
|
94
94
|
- - ~>
|
95
95
|
- !ruby/object:Gem::Version
|
96
|
-
hash:
|
96
|
+
hash: 11
|
97
97
|
segments:
|
98
|
-
-
|
99
|
-
-
|
100
|
-
|
101
|
-
version: 0.0.1
|
98
|
+
- 2
|
99
|
+
- 4
|
100
|
+
version: "2.4"
|
102
101
|
type: :development
|
103
102
|
version_requirements: *id004
|
104
103
|
- !ruby/object:Gem::Dependency
|
105
|
-
name:
|
104
|
+
name: hoe-deveiate
|
106
105
|
prerelease: false
|
107
106
|
requirement: &id005 !ruby/object:Gem::Requirement
|
108
107
|
none: false
|
109
108
|
requirements:
|
110
109
|
- - ~>
|
111
110
|
- !ruby/object:Gem::Version
|
112
|
-
hash:
|
111
|
+
hash: 19
|
113
112
|
segments:
|
114
|
-
-
|
115
|
-
-
|
116
|
-
|
113
|
+
- 0
|
114
|
+
- 0
|
115
|
+
- 6
|
116
|
+
version: 0.0.6
|
117
117
|
type: :development
|
118
118
|
version_requirements: *id005
|
119
119
|
- !ruby/object:Gem::Dependency
|
@@ -141,9 +141,9 @@ email:
|
|
141
141
|
executables: []
|
142
142
|
|
143
143
|
extensions:
|
144
|
-
-
|
145
|
-
extra_rdoc_files:
|
146
|
-
|
144
|
+
- ext/extconf.rb
|
145
|
+
extra_rdoc_files: []
|
146
|
+
|
147
147
|
files:
|
148
148
|
- ChangeLog
|
149
149
|
- History.md
|
@@ -168,16 +168,14 @@ files:
|
|
168
168
|
- spec/linkparser/parseoptions_spec.rb
|
169
169
|
- spec/linkparser/sentence_spec.rb
|
170
170
|
- spec/linkparser_spec.rb
|
171
|
-
- /Users/mgranger/source/ruby/LinkParser/ext/extconf.rb
|
172
171
|
- .gemtest
|
173
172
|
homepage: http://deveiate.org/projects/Ruby-LinkParser
|
174
173
|
licenses:
|
175
174
|
- BSD
|
176
175
|
post_install_message:
|
177
176
|
rdoc_options:
|
178
|
-
- --
|
179
|
-
-
|
180
|
-
- --quiet
|
177
|
+
- --main
|
178
|
+
- README.md
|
181
179
|
require_paths:
|
182
180
|
- lib
|
183
181
|
required_ruby_version: !ruby/object:Gem::Requirement
|
metadata.gz.sig
CHANGED
Binary file
|
@@ -1,38 +0,0 @@
|
|
1
|
-
#!/usr/bin/env ruby
|
2
|
-
|
3
|
-
require 'mkmf'
|
4
|
-
|
5
|
-
if lgdir = with_config( 'link-grammar' )
|
6
|
-
ENV['PATH'] = "#{lgdir}/bin" + File::PATH_SEPARATOR + ENV['PATH']
|
7
|
-
end
|
8
|
-
|
9
|
-
pkgconfig = with_config( 'pkg-config' ) || 'pkg-config'
|
10
|
-
pkgconfig = find_executable( pkgconfig ) or
|
11
|
-
abort "Couldn't find your pkg-config binary"
|
12
|
-
|
13
|
-
$LDFLAGS << ' ' + `#{pkgconfig} --libs-only-L link-grammar`.chomp
|
14
|
-
$CFLAGS << ' ' + `#{pkgconfig} --cflags link-grammar`.chomp
|
15
|
-
|
16
|
-
|
17
|
-
dir_config( 'link-grammar' )
|
18
|
-
|
19
|
-
find_library( "link-grammar", "dictionary_create" ) or
|
20
|
-
abort "Could not find Link-Grammar library" +
|
21
|
-
"(http://www.abisource.com/projects/link-grammar/#download)."
|
22
|
-
|
23
|
-
find_header( "link-grammar/link-includes.h" ) or
|
24
|
-
abort "Could not find link-includes.h"
|
25
|
-
|
26
|
-
unless have_func( "linkage_is_fat", 'link-grammar/link-includes.h' )
|
27
|
-
$stderr.puts "Your link-grammar library is too old for this binding.",
|
28
|
-
"Please upgrade to the latest version posted here:",
|
29
|
-
" http://www.abisource.com/projects/link-grammar/#download",
|
30
|
-
"and try again."
|
31
|
-
abort "No linkage_is_fat() in the installed link-grammar."
|
32
|
-
end
|
33
|
-
|
34
|
-
have_func( 'parse_options_get_spell_guess' )
|
35
|
-
have_func( 'linkage_get_disjunct_str' )
|
36
|
-
|
37
|
-
create_makefile( 'linkparser_ext' )
|
38
|
-
|