athena 0.0.6.65 → 0.0.7

Sign up to get free protection for your applications and to get access to all the features.
data/README CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  == VERSION
4
4
 
5
- This documentation refers to athena version 0.0.6
5
+ This documentation refers to athena version 0.0.7
6
6
 
7
7
 
8
8
  == DESCRIPTION
@@ -10,6 +10,15 @@ This documentation refers to athena version 0.0.6
10
10
  TODO: well, the description... ;-)
11
11
 
12
12
 
13
+ == LINKS
14
+
15
+ <b></b>
16
+ Documentation:: <http://prometheus.rubyforge.org/athena>
17
+ Source code (old):: <http://prometheus.rubyforge.org/svn/athena>
18
+ Source code: <http://github.com/blackwinter/athena>
19
+ Rubyforge project:: <http://rubyforge.org/projects/prometheus>
20
+
21
+
13
22
  == AUTHORS
14
23
 
15
24
  * Jens Wille <mailto:jens.wille@uni-koeln.de>
@@ -17,7 +26,7 @@ TODO: well, the description... ;-)
17
26
 
18
27
  == LICENSE AND COPYRIGHT
19
28
 
20
- Copyright (C) 2007-2008 University of Cologne,
29
+ Copyright (C) 2007-2009 University of Cologne,
21
30
  Albertus-Magnus-Platz, 50932 Cologne, Germany
22
31
 
23
32
  athena is free software: you can redistribute it and/or modify it under the
data/lib/athena/parser.rb CHANGED
@@ -3,7 +3,7 @@
3
3
  # #
4
4
  # A component of athena, the database file converter. #
5
5
  # #
6
- # Copyright (C) 2007-2008 University of Cologne, #
6
+ # Copyright (C) 2007-2009 University of Cologne, #
7
7
  # Albertus-Magnus-Platz, #
8
8
  # 50932 Cologne, Germany #
9
9
  # #
@@ -44,8 +44,8 @@ class Athena::Parser
44
44
  def parse(source, &block)
45
45
  self.block = block
46
46
 
47
- spec.parse(source)
48
- Athena::Record.records
47
+ res = spec.parse(source)
48
+ block ? res : Athena::Record.records
49
49
  end
50
50
 
51
51
  private
data/lib/athena/record.rb CHANGED
@@ -3,7 +3,7 @@
3
3
  # #
4
4
  # A component of athena, the database file converter. #
5
5
  # #
6
- # Copyright (C) 2007-2008 University of Cologne, #
6
+ # Copyright (C) 2007-2009 University of Cologne, #
7
7
  # Albertus-Magnus-Platz, #
8
8
  # 50932 Cologne, Germany #
9
9
  # #
@@ -55,7 +55,7 @@ class Athena::Record
55
55
  @block = block
56
56
  @id = id
57
57
 
58
- add_record
58
+ add_record unless block
59
59
 
60
60
  if block_given?
61
61
  begin
@@ -3,7 +3,7 @@
3
3
  # #
4
4
  # A component of athena, the database file converter. #
5
5
  # #
6
- # Copyright (C) 2007-2008 University of Cologne, #
6
+ # Copyright (C) 2007-2009 University of Cologne, #
7
7
  # Albertus-Magnus-Platz, #
8
8
  # 50932 Cologne, Germany #
9
9
  # #
@@ -30,7 +30,7 @@ module Athena::Version
30
30
 
31
31
  MAJOR = 0
32
32
  MINOR = 0
33
- TINY = 6
33
+ TINY = 7
34
34
 
35
35
  class << self
36
36
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: athena
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.6.65
4
+ version: 0.0.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jens Wille
@@ -9,7 +9,7 @@ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
11
 
12
- date: 2008-12-03 00:00:00 +01:00
12
+ date: 2009-08-20 00:00:00 +02:00
13
13
  default_executable:
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
@@ -43,38 +43,40 @@ extra_rdoc_files:
43
43
  - ChangeLog
44
44
  - README
45
45
  files:
46
- - lib/athena/formats.rb
47
- - lib/athena/version.rb
48
- - lib/athena/util.rb
46
+ - lib/athena.rb
49
47
  - lib/athena/formats/sisis.rb
50
- - lib/athena/formats/ferret.rb
51
- - lib/athena/formats/xml.rb
52
48
  - lib/athena/formats/dbm.rb
49
+ - lib/athena/formats/xml.rb
53
50
  - lib/athena/formats/lingo.rb
51
+ - lib/athena/formats/ferret.rb
52
+ - lib/athena/formats.rb
53
+ - lib/athena/version.rb
54
+ - lib/athena/util.rb
54
55
  - lib/athena/record.rb
55
56
  - lib/athena/parser.rb
56
- - lib/athena.rb
57
57
  - bin/athena
58
+ - Rakefile
58
59
  - COPYING
59
- - README
60
60
  - ChangeLog
61
- - Rakefile
61
+ - README
62
62
  - example/sisis-ex.txt
63
63
  - example/config.yaml
64
64
  - example/example.xml
65
65
  has_rdoc: true
66
66
  homepage: http://prometheus.rubyforge.org/athena
67
+ licenses: []
68
+
67
69
  post_install_message:
68
70
  rdoc_options:
71
+ - --line-numbers
72
+ - --main
73
+ - README
69
74
  - --inline-source
70
75
  - --title
71
76
  - athena Application documentation
72
77
  - --charset
73
78
  - UTF-8
74
- - --main
75
- - README
76
79
  - --all
77
- - --line-numbers
78
80
  require_paths:
79
81
  - lib
80
82
  required_ruby_version: !ruby/object:Gem::Requirement
@@ -92,9 +94,9 @@ required_rubygems_version: !ruby/object:Gem::Requirement
92
94
  requirements: []
93
95
 
94
96
  rubyforge_project: prometheus
95
- rubygems_version: 1.3.1
97
+ rubygems_version: 1.3.5
96
98
  signing_key:
97
- specification_version: 2
99
+ specification_version: 3
98
100
  summary: Convert database files to various formats.
99
101
  test_files: []
100
102