klookup 0.2 → 0.2.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.
Files changed (3) hide show
  1. data/bin/klookup.cgi +3 -4
  2. data/lib/klookup/database.rb +0 -1
  3. metadata +11 -10
data/bin/klookup.cgi CHANGED
@@ -16,10 +16,9 @@ begin
16
16
  rescue LoadError # If we fail...
17
17
  $:.unshift '../lib' # Add ../lib to the load path
18
18
  require 'klookup' # And try again!
19
- end
20
-
21
- unless ENV['KLOOKUP_PATH']
22
- ENV['KLOOKUP_PATH']='../data'
19
+ unless ENV['KLOOKUP_PATH']
20
+ ENV['KLOOKUP_PATH']='../data'
21
+ end
23
22
  end
24
23
 
25
24
  include KLookup::Lookup
@@ -32,7 +32,6 @@ class KLookup::Database
32
32
  if env and env != ''
33
33
  dir=env+'/klookup'
34
34
  else
35
- dir=gem_path
36
35
  begin
37
36
  gem 'klookup'
38
37
  dir=Gem.datadir 'klookup'
metadata CHANGED
@@ -1,10 +1,10 @@
1
1
  --- !ruby/object:Gem::Specification
2
- rubygems_version: 0.8.11
2
+ rubygems_version: 0.9.1
3
3
  specification_version: 1
4
4
  name: klookup
5
5
  version: !ruby/object:Gem::Version
6
- version: "0.2"
7
- date: 2007-01-28 00:00:00 +00:00
6
+ version: 0.2.1
7
+ date: 2007-01-29 00:00:00 +00:00
8
8
  summary: A set of kanji lookup tools and a library.
9
9
  require_paths:
10
10
  - lib
@@ -25,21 +25,22 @@ required_ruby_version: !ruby/object:Gem::Version::Requirement
25
25
  platform: ruby
26
26
  signing_key:
27
27
  cert_chain:
28
+ post_install_message:
28
29
  authors:
29
30
  - Tom Adams
30
31
  files:
31
- - data/klookup/newradkfile
32
32
  - data/klookup/kanjidic
33
- - lib/klookup
33
+ - data/klookup/newradkfile
34
34
  - lib/klookup.rb
35
- - lib/klookup/lookup_kanji.rb
36
- - lib/klookup/database.rb
35
+ - lib/klookup
37
36
  - lib/klookup/lookup.rb
38
- - lib/klookup/database_flatfile_kanjidic.rb
39
- - lib/klookup/database_unihan.rb
40
37
  - lib/klookup/lookup_radical.rb
41
- - lib/klookup/database_flatfile.rb
38
+ - lib/klookup/database.rb
42
39
  - lib/klookup/database_flatfile_radk.rb
40
+ - lib/klookup/database_unihan.rb
41
+ - lib/klookup/database_flatfile_kanjidic.rb
42
+ - lib/klookup/database_flatfile.rb
43
+ - lib/klookup/lookup_kanji.rb
43
44
  test_files:
44
45
  - test/suite.rb
45
46
  rdoc_options: