amalgalite 0.15.0-x86-mingw32 → 1.0.0-x86-mingw32

Sign up to get free protection for your applications and to get access to all the features.
Files changed (42) hide show
  1. data/{HISTORY → HISTORY.rdoc} +15 -1
  2. data/{README → README.rdoc} +2 -1
  3. data/examples/filestore.db +0 -0
  4. data/examples/gems.db +0 -0
  5. data/ext/amalgalite/amalgalite3.c +1 -1
  6. data/ext/amalgalite/amalgalite3_blob.c +1 -1
  7. data/ext/amalgalite/amalgalite3_constants.c +157 -0
  8. data/ext/amalgalite/amalgalite3_database.c +7 -7
  9. data/ext/amalgalite/amalgalite3_requires_bootstrap.c +11 -12
  10. data/ext/amalgalite/amalgalite3_statement.c +3 -3
  11. data/ext/amalgalite/extconf.rb +17 -20
  12. data/ext/amalgalite/gen_constants.rb +84 -25
  13. data/ext/amalgalite/sqlite3.c +3379 -1146
  14. data/ext/amalgalite/sqlite3.h +87 -12
  15. data/ext/amalgalite/sqlite3ext.h +42 -0
  16. data/gemspec.rb +9 -9
  17. data/lib/amalgalite/1.8/amalgalite3.so +0 -0
  18. data/lib/amalgalite/1.9/amalgalite3.so +0 -0
  19. data/lib/amalgalite/csv_table_importer.rb +7 -2
  20. data/lib/amalgalite/database.rb +1 -1
  21. data/lib/amalgalite/paths.rb +10 -0
  22. data/lib/amalgalite/sqlite3/constants.rb +20 -5
  23. data/lib/amalgalite/version.rb +2 -2
  24. data/spec/database_spec.rb +0 -2
  25. data/spec/default_map_spec.rb +0 -3
  26. data/spec/requires_spec.rb +0 -3
  27. data/spec/rtree_spec.rb +1 -3
  28. data/spec/schema_spec.rb +1 -4
  29. data/spec/spec_helper.rb +7 -5
  30. data/spec/sqlite3/constants_spec.rb +52 -9
  31. data/spec/sqlite3/database_status_spec.rb +1 -1
  32. data/spec/sqlite3/version_spec.rb +5 -5
  33. data/spec/storage_map_spec.rb +1 -4
  34. data/spec/tap_spec.rb +1 -3
  35. data/spec/text_map_spec.rb +1 -4
  36. data/spec/type_map_spec.rb +1 -4
  37. data/tasks/announce.rake +9 -9
  38. data/tasks/config.rb +18 -18
  39. data/tasks/extension.rake +37 -20
  40. data/tasks/rspec.rake +7 -10
  41. metadata +40 -42
  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