bsdiff 0.0.0 → 0.0.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 2ae292190ee6672795acaac25b95ba9a25a4d6e66f6972f39b8d0a9cad3e655c
4
- data.tar.gz: 65b10f9f9ab26f77759f9b5d1cf669f4b9effbb53b4f23735373934c312ff8f6
3
+ metadata.gz: ab2e4bd82a40a80b04620395aac43ee8f6063dbd919df4e0c2d3c13671466c8e
4
+ data.tar.gz: c1eec7c1064f60facd9e6d2a84c1eb87d5eade071a8a6cf83ef410381b8680d4
5
5
  SHA512:
6
- metadata.gz: 2c30f9d40454d3798f3b2474dd8d7e0a3dbb68c9e7e26a7b46935d508e34dba614eba9c4ead4c3677e77fdd06913a28b8dd87f8f964f394ef860bba87198aa45
7
- data.tar.gz: 0dbded5d77c184e86b8370069c77c21714fe4508ba90c4f07f0a6f3e48c60896f83b905fb580c07e4e68dc5b5f7aa9433a5c2f8bceefde9c4839046fec07b664
6
+ metadata.gz: 658a9f34fa980874ef116d928b79b0fd770dee72a86bd2706bcdee1f2a40d47c08406c28fb9d9b95078cf3919d2af7d960c7a64bb53c15f28bc08f84abff8e28
7
+ data.tar.gz: 9582e14b3c45262d9f97f08642c7bec1333cffc4397d277f03431b977dd6a96ce81ba40d474d326a01edd931b5758b60fcef32803a4483bfcd34f64aac9901b7
data/CHANGELOG.md CHANGED
@@ -1,5 +1,17 @@
1
1
  ## [Unreleased]
2
2
 
3
+ ## [0.0.2] - 2024-10-09
4
+
5
+ ### Bug fixes
6
+
7
+ * Change rake's ext.lib_dir to 'lib' so RubyGems installs can find bsdiff.so
8
+
9
+ ## [0.0.1] - 2024-10-09
10
+
11
+ ### Bug fixes
12
+
13
+ * Add extconf.rb path to gemspec so native extensions are compiled on install
14
+
3
15
  ## [0.0.0] - 2024-10-08
4
16
 
5
17
  - Initial release
data/README.md CHANGED
@@ -20,7 +20,7 @@ If bundler is not being used to manage dependencies, install the gem by executin
20
20
  ```bash
21
21
  gem install bsdiff
22
22
  ```
23
- The original source archive is located in dir `src` and diffs to show changes made in creatign the bindings are in dir `diffs`. Both are verified in the [tests](https://gitlab.com/matzfan/bsdiff/-/blob/master/test/test_bsdiff.rb).
23
+ The original source archive is located in dir `src` and diffs to show changes made in creating the bindings are in dir `diffs`. Both are verified in the [tests](https://gitlab.com/matzfan/bsdiff/-/blob/master/test/test_bsdiff.rb).
24
24
 
25
25
  ## Usage
26
26
  ```ruby
data/Rakefile CHANGED
@@ -9,7 +9,7 @@ Minitest::TestTask.create
9
9
  require 'rubocop/rake_task'
10
10
 
11
11
  RuboCop::RakeTask.new
12
- Rake::ExtensionTask.new('bsdiff') { |ext| ext.lib_dir = 'lib/bsdiff' } # puts bsdiff.so in this dir
12
+ Rake::ExtensionTask.new('bsdiff') { |ext| ext.lib_dir = 'lib' } # std rubygems install location
13
13
 
14
14
  task default: %i[clobber compile test rubocop]
15
15
 
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Bsdiff
4
- VERSION = '0.0.0'
4
+ VERSION = '0.0.2'
5
5
  end
data/lib/bsdiff.rb CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  require_relative 'bsdiff/version'
4
4
  begin
5
- require_relative 'bsdiff/bsdiff.so'
5
+ require_relative 'bsdiff.so'
6
6
  rescue LoadError => e
7
7
  e.message << "\n\nbsdiff.so not found, did you run `rake compile`?"
8
8
  raise e
metadata CHANGED
@@ -1,17 +1,18 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bsdiff
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.0
4
+ version: 0.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - MatzFan
8
8
  bindir: exe
9
9
  cert_chain: []
10
- date: 2024-10-08 00:00:00.000000000 Z
10
+ date: 2024-10-09 00:00:00.000000000 Z
11
11
  dependencies: []
12
12
  description: Ruby bindings for bsdiff and bspatch
13
13
  executables: []
14
- extensions: []
14
+ extensions:
15
+ - ext/bsdiff/extconf.rb
15
16
  extra_rdoc_files: []
16
17
  files:
17
18
  - ".rubocop.yml"