amalgalite 0.7.0-x86-mswin32-60 → 0.7.1-x86-mswin32-60

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.
data/HISTORY CHANGED
@@ -1,15 +1,17 @@
1
1
  = Changelog
2
- == Version 0.7.0 - someday soon
2
+ == Version 0.7.1 - 2009-01-18
3
3
 
4
4
  === Enhancements
5
5
 
6
- * added support for sqlite's nexted transactions which appeared in sqlite
6
+ * added support for sqlite's nexted transactions which appeared in sqlite
7
7
  * update to SQLite version 3.6.10
8
8
  * added ability to set the SQLite temporary directory
9
+ * added amalgalite-pack --require-order
9
10
 
10
11
  === Bug Fixes
11
12
 
12
13
  * fix exception when accessing the special 'rowid' column
14
+ * fix internal require order list for use in packing
13
15
 
14
16
  == Version 0.6.0 - 2009-01-10
15
17
 
data/bin/amalgalite-pack CHANGED
@@ -46,6 +46,11 @@ begin
46
46
  options[:merge] = true
47
47
  end
48
48
 
49
+ op.on("--require-order", "Dump Amalgalite's require order" ) do |m|
50
+ puts amalgalite_needs
51
+ exit 0
52
+ end
53
+
49
54
  op.on("--self", "pack amalgalite itself into the database") do |d|
50
55
  options[:self] = true
51
56
  end
@@ -53,8 +53,11 @@ module Amalgalite
53
53
  def amalgalite_require_order
54
54
  @require_order ||= %w[
55
55
  amalgalite.rb
56
+ amalgalite/sqlite3/database/function.rb
57
+ amalgalite/aggregate.rb
56
58
  amalgalite/blob.rb
57
59
  amalgalite/boolean.rb
60
+ amalgalite/busy_timeout.rb
58
61
  amalgalite/column.rb
59
62
  amalgalite/statement.rb
60
63
  amalgalite/trace_tap.rb
@@ -63,6 +66,8 @@ module Amalgalite
63
66
  amalgalite/type_maps/storage_map.rb
64
67
  amalgalite/type_maps/text_map.rb
65
68
  amalgalite/type_maps/default_map.rb
69
+ amalgalite/function.rb
70
+ amalgalite/progress_handler.rb
66
71
  amalgalite/database.rb
67
72
  amalgalite/index.rb
68
73
  amalgalite/paths.rb
@@ -9,7 +9,7 @@ module Amalgalite
9
9
 
10
10
  MAJOR = 0
11
11
  MINOR = 7
12
- BUILD = 0
12
+ BUILD = 1
13
13
 
14
14
  #
15
15
  # return the Version as an array of MAJOR, MINOR, BUILD
data/lib/amalgalite3.so CHANGED
Binary file
data/spec/packer_spec.rb CHANGED
@@ -1,5 +1,6 @@
1
1
  require File.expand_path(File.join(File.dirname(__FILE__),"spec_helper.rb"))
2
2
  require 'amalgalite/packer'
3
+ require 'gemspec'
3
4
 
4
5
  describe "Amalgalite::Packer" do
5
6
  before( :each ) do
@@ -15,7 +16,7 @@ describe "Amalgalite::Packer" do
15
16
  $LOADED_FEATURES.should_not be_include("amalgalite/requires")
16
17
  end
17
18
 
18
- it "packs amalgalite into a bootsrap database" do
19
+ it "packs amalgalite into a bootstrap database" do
19
20
  @packer.pack( Amalgalite::Packer.amalgalite_require_order )
20
21
  db = Amalgalite::Database.new( @packer.dbfile )
21
22
  db.schema.tables[ @table ].should_not be_nil
@@ -47,4 +48,13 @@ describe "Amalgalite::Packer" do
47
48
  expanded = Amalgalite::Packer.gunzip( zipped.first['contents'].to_s )
48
49
  expanded.should == orig
49
50
  end
51
+
52
+ it "has all the lib files in the amalgalite gem" do
53
+ ro = Amalgalite::Packer.amalgalite_require_order
54
+ glist = Amalgalite::GEM_SPEC.files.select { |l| l.index("lib/amalgalite") == 0 }
55
+ glist.map! { |l| l.sub("lib/","") }
56
+ (glist - ro).each do |l|
57
+ l.should_not =~ /amalgalite/
58
+ end
59
+ end
50
60
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: amalgalite
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.7.0
4
+ version: 0.7.1
5
5
  platform: x86-mswin32-60
6
6
  authors:
7
7
  - Jeremy Hinegardner