Commit graph

32 commits

Author SHA1 Message Date
adam
9071d6b787 Revbump after updating textproc/icu 2015-04-06 08:17:13 +00:00
taca
17a1a339eb Add ${GEM_EXTSDIR}/gem.build_complete for new rubygems and updated ruby. 2015-03-08 15:17:17 +00:00
taca
2a384dcbb2 Update ruby-sqlite3 to 1.3.10.
1.3.10 / 2014-10-30

Enhancements:

* Windows: build against SQLite 3.8.7.1. Closes #134, #135 [Hubro]
2015-03-01 13:10:42 +00:00
adam
243c29c4cc Revbump after updating libwebp and icu 2014-10-07 16:47:10 +00:00
obache
d8fc20e0b0 recursive bump from icu shlib major bump. 2014-04-09 07:26:56 +00:00
taca
0734644748 Update ruby-sqlite3 to 1.3.9.
pkgsrc change: add GEM_EXTSDIR support.

=== 1.3.9 / 2014-02-25

* Bugfixes:
  * Reset exception message. Closes #80
  * Reduce warnings due unused pointers. Closes #89
  * Add BSD-3 license reference to gemspec. Refs #99 and #106
2014-03-13 18:28:12 +00:00
jperkin
9e7a1ba4b9 Set USE_GCC_RUNTIME=yes for packages which build shared libraries but do
not use libtool to do so.  This is required to correctly depend upon a
gcc runtime package (e.g. gcc47-libs) when using USE_PKGSRC_GCC_RUNTIME.
2014-03-13 11:08:49 +00:00
adam
63c018902c Revbump after updating textproc/icu 2013-10-19 09:06:55 +00:00
adam
1ab43a036f Massive revbump after updating graphics/ilmbase, graphics/openexr, textproc/icu. 2013-05-09 07:39:04 +00:00
adam
f4c3b89da7 Revbump after graphics/jpeg and textproc/icu 2013-01-26 21:36:13 +00:00
taca
eabed2a916 Update ruby-sqlite3 to 1.3.7.
=== 1.3.7

* Bugfixes
  * Closing a bad statement twice will not segv.

* Internal
  * Unset environment variables that could affect cross compilation.
2013-01-12 04:56:40 +00:00
taca
639016d5be Update ruby-sqlite3 package to 1.3.6.
=== 1.3.6 / 2012-04-16

* Enhancements
  * Windows: build against SQLite 3.7.11
  * Added SQLite3::ResultSet#each_hash for fetching each row as a hash.
  * Added SQLite3::ResultSet#next_hash for fetching one row as a hash.

* Bugfixes
  * Support both UTF-16LE and UTF-16BE encoding modes on PPC. Closes #63
  * Protect parameters to custom functions from being garbage collected too
    soon. Fixes #60. Thanks hirataya!
  * Fix backwards compatibility with 1.2.5 with bind vars and `query` method.
    Fixes #35.
  * Fix double definition error caused by defining sqlite3_int64/uint64.
  * Fix suspicious version regexp.

* Deprecations
  * ArrayWithTypesAndFields#types is deprecated and the class will be removed
    in version 2.0.0.  Please use the `types` method on the ResultSet class
    that created this object.
  * ArrayWithTypesAndFields#fields is deprecated and the class will be removed
    in version 2.0.0.  Please use the `columns` method on the ResultSet class
    that created this object.
  * The ArrayWithTypesAndFields class will be removed in 2.0.0
  * The ArrayWithTypes class will be removed in 2.0.0
  * HashWithTypesAndFields#types is deprecated and the class will be removed
    in version 2.0.0.  Please use the `types` method on the ResultSet class
    that created this object.
  * HashWithTypesAndFields#fields is deprecated and the class will be removed
    in version 2.0.0.  Please use the `columns` method on the ResultSet class
    that created this object.
2012-04-28 14:09:22 +00:00
obache
a6d5ad9edc Recursive bump from icu shlib major bumped to 49. 2012-04-27 12:31:32 +00:00
taca
a3800511a8 Update databases/ruby-sqlite3 package to 1.3.5.
=== 1.3.5 / 2011-12-03 - ZOMG Holidays are here Edition!

* Enhancements
  * Windows: build against SQLite 3.7.9
  * Static: enable SQLITE_ENABLE_COLUMN_METADATA
  * Added Statement#clear_bindings! to set bindings back to nil

* Bugfixes
  * Fixed a segv on Database.new. Fixes #34 (thanks nobu!)
  * Database error is not reset, so don't check it in Statement#reset!
  * Remove conditional around Bignum statement bindings.
    Fixes #52. Fixes #56. Thank you Evgeny Myasishchev.

* Internal
  * Use proper endianness when testing database connection with UTF-16.
    Fixes #40. Fixes #51
  * Use -fPIC for static compilation when host is x86_64.

=== 1.3.4 / 2011-07-25

* Enhancements:
  * Windows: build against SQLite 3.7.7.1
  * Windows: build static binaries that do not depend on sqlite3.dll be
    installed anymore

* Bugfixes
  * Backup API is conditionaly required so that older libsqlite3 can be used.
    Thanks Hongli Lai.
  * Fixed segmentation fault when nil is passed to SQLite3::Statement.new
  * Fix extconf's hardcoded path that affected installation on certain systems.
2012-02-19 11:27:01 +00:00
obache
9572f6d892 recursive bump from textproc/icu shlib major bump. 2011-06-10 09:39:41 +00:00
taca
7ed9ff217d Update ruby-sqlite3 package to 1.3.3.
=== 1.3.3 / unreleased

* Bugfixes
  * Abort on installation if sqlite3_backup_init is missing. Fixes #19
  * Gem has been renamed to 'sqlite3'.  Please use `gem install sqlite3`
2011-05-10 13:11:42 +00:00
taca
33e824faca Bump PKGREVISION due to ABI change of ruby18-base. 2011-02-21 16:01:10 +00:00
taca
2c6d7ad19d Update ruby-sqlite3 package to 1.3.2.
=== 1.3.2 / 2010-10-30 / RubyConf Uruguay Edition!

* Enhancements:
  * Windows: build against 3.7.3 version of SQLite3
  * SQLite3::Database can now be open as readonly

      db = SQLite3::Database.new('my.db', :readonly => true)

  * Added SQLite3::SQLITE_VERSION and SQLite3::SQLITE_VERSION_NUMBER [nurse]

* Bugfixes
  * type_translation= works along with Database#execute and a block
  * defined functions are kept in a hash to prevent GC. #7
  * Removed GCC specific flags from extconf.

* DEPRECATIONS
  * SQLite3::Database#type_translation= will be deprecated in the future with
    no replacement.
  * SQlite3::Version will be deprecated in 2.0.0 with SQLite3::VERSION as the
    replacement.
2010-12-04 03:47:14 +00:00
taca
d1530d9eb9 * Use lang/ruby/gem.mk instead of misc/rubygems/rubygem.mk.
* Update HOMEPAGE.
* Add LICENSE.
* Remove default value of GEM_BUILD.
2010-09-10 04:53:25 +00:00
obache
877043392b Update ruby-sqlite3 to 1.3.1.
=== 1.3.1 / 2010-07-09

* Enhancements
  * Custom collations may be defined using SQLite3::Database#collation

* Bugfixes
  * Statements returning 0 columns are automatically stepped. [RF #28308]
  * SQLite3::Database#encoding works on 1.8 and 1.9
2010-07-10 09:29:21 +00:00
obache
922a8aaeb3 Update ruby-sqlite3 to 1.3.0.
Changes:
### 1.3.0 / 2010-06-06

* Enhancements
* Complete rewrite of C-based adapter from SWIG to hand-crafted one
  [tenderlove]
  See API_CHANGES document for details.
  This closes: Bug #27300, Bug #27241, Patch #16020
* Improved UTF, Unicode, M17N, all that handling and proper BLOB
  handling [tenderlove, nurse]
* Added support for type translations [tenderlove]

  @db.translator.add_translator('sometime') do |type, thing|
  'output' # this will be returned as value for that column
  end

* Experimental
* Added API to access and load extensions. [kashif]
  These functions maps directly into SQLite3 own enable_load_extension()
  and load_extension() C-API functions. See SQLite3::Database API
  documentation for details.
  This closes: Patches #9178

* Bugfixes
* Corrected gem dependencies (runtime and development)
* Fixed threaded tests [Alexey Borzenkov]
* Removed GitHub gemspec
* Fixed "No definition for" warnings from RDoc
* Generate zip and tgz files for releases
* Added Luis Lavena as gem Author (maintainer)
* Prevent mkmf interfere with Mighty Snow Leopard
* Allow extension compilation search for common lib paths [kashif]
(lookup /usr/local, /opt/local and /usr)
* Corrected extension compilation under MSVC [romuloceccon]
* Define load_extension functionality based on availability [tenderlove]
* Deprecation notices for Database#query. Fixes RF #28192
2010-06-07 09:34:41 +00:00
taca
074db76bdc Update ruby-sqlite3 package to 1.2.5.
* Add LICENSE.


=== 1.2.5 / 25 Jul 2009

* Check for illegal nil before executing SQL [Erik Veenstra]
* Switch to Hoe for gem task management and packaging.
* Advertise rake-compiler as development dependency.
* Build gem binaries for Windows.
* Improved Ruby 1.9 support compatibility.
* Taint returned values. Patch #20325.


=== 1.2.4.1 (internal) / 5 Jul 2009

* Check for illegal nil before executing SQL [Erik Veenstra]
* Switch to Hoe for gem task management and packaging.
* Advertise rake-compiler as development dependency.
* Build gem binaries for Windows.
* Improved Ruby 1.9 support compatibility.
2009-10-17 09:31:43 +00:00
joerg
0268c554bd Remove @dirrm entries from PLISTs 2009-06-14 17:38:38 +00:00
taca
41c268c375 Update ruby-sqlite3 package to 1.2.4.
Release Name: 1.2.4

Notes: This release only updates the generated C file to reflect the
compatibility changes that were made to the SWIG file. Binary builds
(e.g., Windows) are not affected, and need no update. In general, you
will not need this update unless you are using a version of Ruby prior
to 1.8.6.

Release Name: 1.2.3

Notes:
Mostly, this release just fixes the permissions
issue on *nix platforms on the database.rb and
translator.rb files. It also has a few
optimizations and compatibility fixes.


Changes:
=== 1.2.3 / 26 Aug 2008

* Fix incorrect permissions on database.rb and translator.rb [Various]

* Avoid using Object#extend for greater speedups [Erik Veenstra]

* Ruby 1.9 compatibility tweaks for Array#zip [jimmy88@gmail.com]

* Fix linking against Ruby 1.8.5 [Rob Holland <rob@inversepath.com>]
2008-09-15 09:26:50 +00:00
taca
b440d0be9c Update ruby-sqlite3 package to 1.2.2.
Changes:
=== 1.2.2 / 31 May 2008

* Make the table_info method adjust the returned default value for the rows
  so that the sqlite3 change in 3.3.8 and greater can be handled
  transparently [Jamis Buck <jamis@37signals.com>]

* Ruby 1.9 compatibility tweaks [Roman Le Negrate <roman2k@free.fr>]

* Various performance enhancements [thanks Erik Veenstra]

* Correct busy_handler documentation [Rob Holland <rob@inversepath.com>]

* Use int_bind64 on Fixnum values larger than a 32bit C int can take. [Rob Holland <rob@inversepath.com>]

* Work around a quirk in SQLite's error reporting by calling sqlite3_reset
  to produce a more informative error code upon a failure from
  sqlite3_step. [Rob Holland <rob@inversepath.com>]

* Various documentation, test, and style tweaks [Rob Holland <rob@inversepath.com>]

* Be more granular with time/data translation [Rob Holland <rob@inversepath.com>]

* Use Date directly for parsing rather than going via Time [Rob Holland <rob@inversepath.com>]

* Check for the rt library and fdatasync so we link against that when
  needed [Rob Holland <rob@inversepath.com>]

* Rename data structures to avoid collision on win32. based on patch
  by: Luis Lavena [Rob Holland <rob@inversepath.com>]

* Add test for defaults [Daniel Rodr?guez Troiti?o]

* Correctly unquote double-quoted pragma defaults [?ukasz Dargiewicz <lukasz.dargiewicz@gmail.com>]
2008-06-22 15:52:59 +00:00
obache
189744d6b2 Drop maintainership.
These packages was switched to gem version, I'm not in the area.
2008-04-10 07:28:50 +00:00
jlam
49044b1ec2 Install as a gem using the pkgsrc rubygem.mk framework instead of
directly into site_ruby.
2008-04-04 15:30:00 +00:00
obache
1685eae34d Add DESTDIR support. 2008-02-08 15:13:54 +00:00
obache
4a0f595089 Update ruby-sqlite3 to 1.2.1.
Release Name: 1.2.1

Notes:
Only a single change in this release: sqlite3
3.3.8 and higher have changed the format of the
'dflt_value' column for the table_info pragma.
This caused breakage in apps that depend on that
pragma, like Ruby on Rails. This release makes the
Database#table_info helper check the libversion,
and adjust the dflt_value column accordingly. If
you want the new format and not the old, you can
invoke the table_info pragma directly, instead of
using the helper.

Release Name: 1.2.0

Notes:
* Fixed bug that caused crashes when type translation was asked to translate the type of a typeless column (like count(*), etc.)
* Added pre-built sqlite3_api_wrap.c to remove the dependency on SWIG.
* db.transaction should now catch all exceptions (bug #3981)
* Removed lots of warnings when running in -w mode
* Fixed problems with callbacks (thanks Sylvan Joyeux!)
* Named bind parameters may now be specified as symbols, or as strings. You can also leave off the leading colon when specifying them as a string.
* DL (pure-ruby) driver is now deprecated.
* Bignum values may be bound in a prepared statement.
* Get a more detailed error message when the connection cannot be established.
* Reset the statement when binding new variables to a prepared statement.
2007-04-01 09:10:34 +00:00
obache
aed6110a04 Change my mail address to @NetBSD.org. 2007-04-01 01:58:36 +00:00
minskim
923278f2fc Merge (almost replace) this package with ruby-sqlite3 in pkgsrc-wip
packgaed by OBATA Akio, because the latter is more complete.

Bump PKGREVISION.
2006-04-05 15:18:34 +00:00
minskim
bd7ad53a6f Import ruby-sqlite3.
This module allows Ruby programs to interface with the SQLite database
engine.
2006-03-30 16:21:14 +00:00