blackwinter-athena 0.0.6 → 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: blackwinter-athena
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.6
4
+ version: 0.0.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jens Wille
@@ -9,11 +9,12 @@ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
11
 
12
- date: 2008-12-03 00:00:00 -08:00
12
+ date: 2009-08-20 00:00:00 -07:00
13
13
  default_executable: athena
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: xmlstreamin
17
+ type: :runtime
17
18
  version_requirement:
18
19
  version_requirements: !ruby/object:Gem::Requirement
19
20
  requirements:
@@ -23,6 +24,7 @@ dependencies:
23
24
  version:
24
25
  - !ruby/object:Gem::Dependency
25
26
  name: ruby-nuggets
27
+ type: :runtime
26
28
  version_requirement:
27
29
  version_requirements: !ruby/object:Gem::Requirement
28
30
  requirements:
@@ -41,38 +43,39 @@ extra_rdoc_files:
41
43
  - ChangeLog
42
44
  - README
43
45
  files:
44
- - lib/athena/formats.rb
45
- - lib/athena/version.rb
46
- - lib/athena/util.rb
46
+ - lib/athena.rb
47
47
  - lib/athena/formats/sisis.rb
48
- - lib/athena/formats/ferret.rb
49
- - lib/athena/formats/xml.rb
50
48
  - lib/athena/formats/dbm.rb
49
+ - lib/athena/formats/xml.rb
51
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
52
55
  - lib/athena/record.rb
53
56
  - lib/athena/parser.rb
54
- - lib/athena.rb
55
57
  - bin/athena
58
+ - Rakefile
56
59
  - COPYING
57
- - README
58
60
  - ChangeLog
59
- - Rakefile
61
+ - README
60
62
  - example/sisis-ex.txt
61
63
  - example/config.yaml
62
64
  - example/example.xml
63
- has_rdoc: true
65
+ has_rdoc: false
64
66
  homepage: http://prometheus.rubyforge.org/athena
67
+ licenses:
65
68
  post_install_message:
66
69
  rdoc_options:
70
+ - --line-numbers
71
+ - --main
72
+ - README
67
73
  - --inline-source
68
74
  - --title
69
75
  - athena Application documentation
70
76
  - --charset
71
77
  - UTF-8
72
- - --main
73
- - README
74
78
  - --all
75
- - --line-numbers
76
79
  require_paths:
77
80
  - lib
78
81
  required_ruby_version: !ruby/object:Gem::Requirement
@@ -90,9 +93,9 @@ required_rubygems_version: !ruby/object:Gem::Requirement
90
93
  requirements: []
91
94
 
92
95
  rubyforge_project: prometheus
93
- rubygems_version: 1.2.0
96
+ rubygems_version: 1.3.5
94
97
  signing_key:
95
- specification_version: 2
98
+ specification_version: 3
96
99
  summary: Convert database files to various formats.
97
100
  test_files: []
98
101