bounce_studio_ffi 0.1.1 → 0.1.2

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: a67c70ab38153699c64aacffa59e9650f9f1b0c9
4
- data.tar.gz: 1cd49f1a70faff6ba40c9d609a2db6aad824339e
3
+ metadata.gz: 15b9940746ab036bf61c6ac227b842000ab293a6
4
+ data.tar.gz: 81dae0f20a845c3ba1ff97b6e2ce3f185ae276eb
5
5
  SHA512:
6
- metadata.gz: 57ff9c4d8299b238f4ccd19a8eecb87def1e0b762a8311f0351113741927cc1b0b037349504160cdbd2bec624fffefcbe1e163cb444eb73ad1047df4fe404879
7
- data.tar.gz: 43120b862f6f3110a2a748a2be5c8f64248f07b45d1b0b0c9f4f86b4ed137829b54fc89cdac03c39512a61c4294c12fc87e0d618e041a0fe42f35478166dcac2
6
+ metadata.gz: c278e7a28a0959611d65688b96e7be837925fd5cd23c57f64a854acb52f658ac1a16c27ef4fdcd923ddbf79189f006aca04536587d46756d19adc90d4e16e4a5
7
+ data.tar.gz: 0e6a94f12f9dedad369caf5732a39f89f1f99ca6191084c1918efbf2fec1a6c2464911cb7425600d6f1a4a7d2f7dddc371a2b97e5e32fd98cc3856c85e9e9b0a
data/CHANGELOG.md ADDED
@@ -0,0 +1,10 @@
1
+ # bounce_studio_ffi Changelog
2
+
3
+ ## 0.1.2
4
+ - use 64 bit lib by default. Run with BOUNCE_STUDIO_MODE if you've installed the 32-bit library.
5
+
6
+ ## 0.1.1
7
+ - fix gemspec problem so gem actually works
8
+
9
+ ## 0.1.0
10
+ - initial release
data/README.md CHANGED
@@ -26,7 +26,7 @@ Or install it yourself as:
26
26
 
27
27
  ## Usage
28
28
 
29
- # 32-bit lib is used by default; set ENV['BOUNCE_STUDIO_MODE'] to 64 to use 64-bit lib before requiring
29
+ # 64-bit lib is used by default; set ENV['BOUNCE_STUDIO_MODE'] to 32 to use 32-bit lib before requiring
30
30
  require 'bounce_studio_ffi'
31
31
  BS_LICENSE = "Foobar/1234567890"
32
32
  bs = BoogieTools::BounceStudio.new(BS_LICENSE)
@@ -6,7 +6,7 @@ module BoogieTools
6
6
  class BounceStudio
7
7
  module BounceStudioLib
8
8
  extend FFI::Library
9
- ffi_lib "libBounceStudio#{ENV['BOUNCE_STUDIO_MODE'] || '32'}.so"
9
+ ffi_lib "libBounceStudio#{ENV['BOUNCE_STUDIO_MODE'] || '64'}.so"
10
10
  attach_function :bsBounceStudio_init, [], :int
11
11
 
12
12
  STRING_OUTPUT_METHODS = [:header, :subject, :body, :to_address, :to_friendly_name, :reply_to_address, :reply_to_friendly_name, :from_address, :from_friendly_name].freeze
@@ -1,3 +1,3 @@
1
1
  module BounceStudioFfi
2
- VERSION = "0.1.1"
2
+ VERSION = "0.1.2"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bounce_studio_ffi
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Benjamin Ortega
@@ -74,6 +74,7 @@ extensions: []
74
74
  extra_rdoc_files: []
75
75
  files:
76
76
  - .gitignore
77
+ - CHANGELOG.md
77
78
  - Gemfile
78
79
  - LICENSE.txt
79
80
  - README.md