path: root/ext/fiddle/fiddle.gemspec
AgeCommit message (Collapse)Author
2021-09-05[ruby/fiddle] Use test-unit gem ( SHIBATA Co-authored-by: Sutou Kouhei <> Notes: Merged:
2021-07-13[ruby/fiddle] Update required_ruby_version ↵Nobuyoshi Nakada
( Drop supports for old versions, keeping 2.5 as CI supports it for now.
2020-12-11Import fiddle-1.0.4 (#3860)Kenta Murata
I don't use tool/sync_default_gem.rb because the last sync was incomplete. Co-authored-by: Hiroshi SHIBATA <> Co-authored-by: Alan Wu <> Co-authored-by: sinisterchipmunk <> Co-authored-by: Sutou Kouhei <> Notes: Merged-By: mrkn <>
2020-11-18[ruby/fiddle] Remove needless workaroundSutou Kouhei
It's fixed in upstream. Notes: Merged:
2020-11-18[ruby/fiddle] Add workaround for ruby head for mingwSutou Kouhei Notes: Merged:
2020-11-18[ruby/fiddle] Use msys2_mingw_dependenciesSutou Kouhei Notes: Merged:
2020-11-18[ruby/fiddle] Add a "pinning" reference (#44)Aaron Patterson
* Add a "pinning" reference A `Fiddle::Pinned` objects will prevent the objects they point to from moving. This is useful in the case where you need to pass a reference to a C extension that keeps the address in a global and needs the address to be stable. For example: ```ruby class Foo A = "hi" # this is an embedded string some_c_function A # A might move! end ``` If `A` moves, then the underlying string buffer may also move. `Fiddle::Pinned` will prevent the object from moving: ```ruby class Foo A = "hi" # this is an embedded string A_pinner = # :nodoc: some_c_function A # A can't move because of `Fiddle::Pinned` end ``` This is a similar strategy to what Graal uses: * rename global to match exception name * Introduce generic Fiddle::Error and rearrange error classes Fiddle::Error is the generic exception base class for Fiddle exceptions. This commit introduces the class and rearranges Fiddle exceptions to inherit from it. Notes: Merged:
2020-08-18Update the license for the default gems to dual licensesHiroshi SHIBATA
2020-06-27[ruby/fiddle] Support MSWIN (#43)Sutou Kouhei Notes: Merged:
2020-05-24ext/fiddle/fiddle.gemspec: avoid require lib/fiddle/version.rbYusuke Endoh
It loads `ext/fiddle/lib/fiddle/version.rb`, which causes constant redefinition warning: ``` [ 6317/20193] TestDefaultGems#test_validate_gemspec/home/chkbuild/chkbuild/tmp/build/20200523T153003Z/ruby/ext/fiddle/lib/fiddle/version.rb:2: warning: already initialized constant Fiddle::VERSION /home/chkbuild/chkbuild/tmp/build/20200523T153003Z/ruby/.ext/common/fiddle/version.rb:2: warning: previous definition of VERSION was here = 0.16 s ``` This changeset read the version by manual parsing hack which is also used in stringio and zlib.
2020-05-23[ruby/fiddle] Update file listSutou Kouhei Notes: Merged:
2020-05-23[ruby/fiddle] Add Fiddle::VERSIONSutou Kouhei Notes: Merged:
2020-05-23[ruby/fiddle] Add missing spec.extensionsSutou Kouhei Notes: Merged:
2017-12-06Bump fiddle-1.0.0 for released version.hsbt
git-svn-id: svn+ssh:// b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2017-09-12Merge fiddle-1.0.0.beta2 from upstream.hsbt
* ext/fiddle/closure.c: use directly declaration for standalone gem without internal.h. * Specify frozen string literal is true. * Update gemspec configuration for release version. git-svn-id: svn+ssh:// b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2017-06-19Make string literal to frozen object on gemspec of defulte gems.hsbt
Added following gemspecs. * extensions: date, dbm, etc, fiddle, gdbm, sdbm, stringio, strscan, zlib * pure ruby libraries: cmath, csv, fileutils, scanf, webrick psych and rdoc is out of scope of this commit. I will merge after upstream was change to `frozen_string_literal: true`. git-svn-id: svn+ssh:// b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2017-04-05Added initial gemspec for ruby/fiddle.hsbt
[Feature #13403][ruby-core:80577] git-svn-id: svn+ssh:// b2dd03c8-39d4-4d8f-98ff-823fe69b080e