drnic-codex 1.0.1 → 1.0.2

Sign up to get free protection for your applications and to get access to all the features.
data/History.txt CHANGED
@@ -1,4 +1,8 @@
1
- == 0.0.1 2008-05-19
1
+ == 1.0.2 2008-05-20
2
+
3
+ * Add rubigen 1.3.2 to dependency list as its used for codex generator
4
+
5
+ == 1.0.0 2008-05-19
2
6
 
3
7
  * 1 major enhancement:
4
8
  * Initial release
data/codex.gemspec CHANGED
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |s|
2
2
  s.name = %q{codex}
3
- s.version = "1.0.1"
3
+ s.version = "1.0.2"
4
4
 
5
5
  s.specification_version = 2 if s.respond_to? :specification_version=
6
6
 
data/config/hoe.rb CHANGED
@@ -9,7 +9,8 @@ HOMEPATH = "http://#{RUBYFORGE_PROJECT}.rubyforge.org"
9
9
  DOWNLOAD_PATH = "http://rubyforge.org/projects/#{RUBYFORGE_PROJECT}"
10
10
  EXTRA_DEPENDENCIES = [
11
11
  ['rake', '>= 0.8.1'],
12
- ['RedCloth', '>= 3.0.4']
12
+ ['RedCloth', '>= 3.0.4'],
13
+ ['rubigen', '>=1.3.2']
13
14
  ] # An array of rubygem dependencies [name, version]
14
15
 
15
16
  @config_file = "~/.rubyforge/user-config.yml"
data/lib/codex/pressie.rb CHANGED
@@ -10,8 +10,9 @@ S5_HEAD = %{<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
10
10
  <!-- metadata -->
11
11
  <meta name="generator" content="S5" />
12
12
  <meta name="version" content="S5 1.1" />
13
- <meta name="presdate" content="20050728" />
13
+ <meta name="presdate" content="&date" />
14
14
  <meta name="author" content="&author;" />
15
+ <meta name="organization" content="&organization;" />
15
16
  <meta name="company" content="&company;" />
16
17
  <!-- configuration parameters -->
17
18
  <meta name="defaultView" content="slideshow" />
@@ -97,11 +98,11 @@ module Codex
97
98
 
98
99
  def substitute_metadata_into(text)
99
100
  text = text.dup
100
- %w{author company copyright title}.each do |key|
101
+ %w{author company organization date copyright title}.each do |key|
101
102
  text.gsub!(/&#{key};/, @metadata[key]) if @metadata.has_key?(key)
102
103
  end
103
104
  text
104
105
  end
105
106
 
106
107
  end
107
- end
108
+ end
data/lib/codex/version.rb CHANGED
@@ -2,7 +2,7 @@ module Codex #:nodoc:
2
2
  module VERSION #:nodoc:
3
3
  MAJOR = 1
4
4
  MINOR = 0
5
- TINY = 1
5
+ TINY = 2
6
6
 
7
7
  STRING = [MAJOR, MINOR, TINY].join('.')
8
8
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: drnic-codex
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.1
4
+ version: 1.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dave Thomas