Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

documentation fixes

  * update README with link to HISTORY
  * update HISTORY
  * fix release notes utility function
  • Loading branch information...
commit ed17234d3d31ead09c333bf16bcb310642cdc0f1 1 parent ab2063b
@copiousfreetime authored
Showing with 14 additions and 6 deletions.
  1. +8 −5 HISTORY
  2. +4 −0 README
  3. +2 −1  tasks/utils.rb
View
13 HISTORY
@@ -1,11 +1,12 @@
= Changelog
-== Version 0.4.1 2008-09-28
+== Version 0.4.1 - 2008-09-28
=== Minor Enhancement
+
* update to SQLite3 version 3.6.3
* change rdoc template to darkfish
-== Version 0.4.0 2008-09-14
+== Version 0.4.0 - 2008-09-14
=== Major Enhancements
* update to SQLite3 version 3.6.2 and enable the RTree option by default
@@ -15,10 +16,12 @@
strapping of the pure ruby Amalgalite code from an sqlite database
=== Minor Enhancements
+
* more indepth information about indexes is available via the Index class
* add support for sqlite3_status and sqlite3_db_status information
=== Bugfixes
+
* fix nil exception when using a declared_data_type on primary key column that
has no declared_data_type
* when Database#transaction is passed a block, the return value is the return
@@ -29,17 +32,17 @@
* raise LoadError if required in the same program as sqlite3-ruby. These
libraries conflict with each other.
-== Version 0.2.4 2008-07-13
+== Version 0.2.4 - 2008-07-13
=== Bugfixes
* fix compilation when ruby is compiled without pthreads using
-== Version 0.2.3 2008-07-12
+== Version 0.2.3 - 2008-07-12
=== Bugfixes
* make sure file permissions are all read before shipping gem
-== Version 0.2.2 2008-07-12
+== Version 0.2.2 - 2008-07-12
=== Bugfixes
* Database#pragma should accept a block just like Database#execute does
View
4 README
@@ -27,6 +27,10 @@ overview of the API.
* Jamis Buck for the first {ruby sqlite implementation}[http://www.rubyforge.org/projects/sqlite-ruby]
+== CHANGES
+
+Read the HISTORY file.
+
== LICENSE
Copyright (c) 2008 Jeremy Hinegardner
View
3  tasks/utils.rb
@@ -54,10 +54,11 @@ def section_of(file, section_name)
#
def release_notes_from(history_file)
releases = {}
- File.read(history_file).split(/^(?==)/).each do |section|
+ File.read(history_file).split(/^(?=== Version)/).each do |section|
lines = section.split("\n")
md = %r{Version ((\w+\.)+\w+)}.match(lines.first)
next unless md
+ puts md
releases[md[1]] = lines[1..-1].join("\n").strip
end
return releases

0 comments on commit ed17234

Please sign in to comment.
Something went wrong with that request. Please try again.