amalgalite 0.15.0-x86-mswin32 → 1.0.0-x86-mswin32
Sign up to get free protection for your applications and to get access to all the features.
- data/{HISTORY → HISTORY.rdoc} +15 -1
- data/{README → README.rdoc} +2 -1
- data/examples/filestore.db +0 -0
- data/examples/gems.db +0 -0
- data/ext/amalgalite/amalgalite3.c +1 -1
- data/ext/amalgalite/amalgalite3_blob.c +1 -1
- data/ext/amalgalite/amalgalite3_constants.c +157 -0
- data/ext/amalgalite/amalgalite3_database.c +7 -7
- data/ext/amalgalite/amalgalite3_requires_bootstrap.c +11 -12
- data/ext/amalgalite/amalgalite3_statement.c +3 -3
- data/ext/amalgalite/extconf.rb +17 -20
- data/ext/amalgalite/gen_constants.rb +84 -25
- data/ext/amalgalite/sqlite3.c +3379 -1146
- data/ext/amalgalite/sqlite3.h +87 -12
- data/ext/amalgalite/sqlite3ext.h +42 -0
- data/gemspec.rb +9 -9
- data/lib/amalgalite/1.8/amalgalite3.so +0 -0
- data/lib/amalgalite/1.9/amalgalite3.so +0 -0
- data/lib/amalgalite/csv_table_importer.rb +7 -2
- data/lib/amalgalite/database.rb +1 -1
- data/lib/amalgalite/paths.rb +10 -0
- data/lib/amalgalite/sqlite3/constants.rb +20 -5
- data/lib/amalgalite/version.rb +2 -2
- data/spec/database_spec.rb +0 -2
- data/spec/default_map_spec.rb +0 -3
- data/spec/requires_spec.rb +0 -3
- data/spec/rtree_spec.rb +1 -3
- data/spec/schema_spec.rb +1 -4
- data/spec/spec_helper.rb +7 -5
- data/spec/sqlite3/constants_spec.rb +52 -9
- data/spec/sqlite3/database_status_spec.rb +1 -1
- data/spec/sqlite3/version_spec.rb +5 -5
- data/spec/storage_map_spec.rb +1 -4
- data/spec/tap_spec.rb +1 -3
- data/spec/text_map_spec.rb +1 -4
- data/spec/type_map_spec.rb +1 -4
- data/tasks/announce.rake +9 -9
- data/tasks/config.rb +18 -18
- data/tasks/extension.rake +37 -20
- data/tasks/rspec.rake +7 -10
- metadata +40 -42
- data/tasks/rubyforge.rake +0 -59
data/tasks/rubyforge.rake
DELETED
@@ -1,59 +0,0 @@
|
|
1
|
-
require 'tasks/config'
|
2
|
-
|
3
|
-
#-----------------------------------------------------------------------
|
4
|
-
# Rubyforge additions to the task library
|
5
|
-
#-----------------------------------------------------------------------
|
6
|
-
if rf_conf = Configuration.for_if_exist?("rubyforge") then
|
7
|
-
|
8
|
-
abort("rubyforge gem not installed 'gem install rubyforge'") unless Utils.try_require('rubyforge')
|
9
|
-
|
10
|
-
proj_conf = Configuration.for('project')
|
11
|
-
|
12
|
-
namespace :dist do
|
13
|
-
desc "Release files to rubyforge"
|
14
|
-
task :rubyforge => [:clean, :package, :package_win] do
|
15
|
-
|
16
|
-
rubyforge = RubyForge.new
|
17
|
-
|
18
|
-
config = {}
|
19
|
-
config["release_notes"] = proj_conf.description
|
20
|
-
config["release_changes"] = Utils.release_notes_from(proj_conf.history)[Amalgalite::VERSION]
|
21
|
-
config["Prefomatted"] = true
|
22
|
-
|
23
|
-
rubyforge.configure config
|
24
|
-
|
25
|
-
# make sure this release doesn't already exist
|
26
|
-
releases = rubyforge.autoconfig['release_ids']
|
27
|
-
if releases.has_key?(Amalgalite::GEM_SPEC.name) and releases[Amalgalite::GEM_SPEC.name][Amalgalite::VERSION] then
|
28
|
-
abort("Release #{Amalgalite::VERSION} already exists! Unable to release.")
|
29
|
-
end
|
30
|
-
|
31
|
-
puts "Uploading to rubyforge..."
|
32
|
-
files = FileList[File.join("pkg","#{Amalgalite::GEM_SPEC.name}-#{Amalgalite::VERSION}*.*")].to_a
|
33
|
-
files.each do |f|
|
34
|
-
puts " * #{f}"
|
35
|
-
end
|
36
|
-
rubyforge.login
|
37
|
-
rubyforge.add_release(Amalgalite::GEM_SPEC.rubyforge_project, Amalgalite::GEM_SPEC.name, Amalgalite::VERSION, *files)
|
38
|
-
puts "done."
|
39
|
-
end
|
40
|
-
end
|
41
|
-
|
42
|
-
namespace :announce do
|
43
|
-
desc "Post news of #{proj_conf.name} to #{rf_conf.project} on rubyforge"
|
44
|
-
task :rubyforge do
|
45
|
-
info = Utils.announcement
|
46
|
-
|
47
|
-
puts "Subject : #{info[:subject]}"
|
48
|
-
msg = "#{info[:title]}\n\n#{info[:urls]}\n\n#{info[:release_notes]}"
|
49
|
-
puts msg
|
50
|
-
|
51
|
-
rubyforge = RubyForge.new
|
52
|
-
rubyforge.configure
|
53
|
-
rubyforge.login
|
54
|
-
rubyforge.post_news(rf_conf.project, info[:subject], msg )
|
55
|
-
puts "Posted to rubyforge"
|
56
|
-
end
|
57
|
-
|
58
|
-
end
|
59
|
-
end
|