rugged 0.26.0b4 → 0.26.0b5

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
  SHA1:
3
- metadata.gz: c54465750c07b3141d878bc3ff04483642b28e45
4
- data.tar.gz: 611f5afabf028493898a84006cf67f3524425b77
3
+ metadata.gz: b927352d26a826277bd5f866ee6e8f0b5704379d
4
+ data.tar.gz: 3df1c9b13364f823dee2891e932e082e6bdd3bfd
5
5
  SHA512:
6
- metadata.gz: ac5b58ed5d8bfc749667525d129150d4d4fc5e0b1eb5336dcb6592e394858abec2e873f92c98531044957c29ad6ce24a0e214a13866728aa8ea268c1ff2a34a4
7
- data.tar.gz: 5267b1068c8f95caca10f21eda59516f12c72c8a597747ef663b1d536766a1a76d948d120948d585d18886b03cc6860b7f47d211c952506a0782a1e281e819ba
6
+ metadata.gz: 082321e079c24fe51c612390093fa5ebe7115cf42f155bd59a6e91beefe97502dc37921642e2f8b8752f2f9ccc4896aa1e5fd9b202ddbdb061147b995dc845f9
7
+ data.tar.gz: 9d083d266fa2682af1c0bbc5349efbfe71a6be588276fd7918749488b029dcab3d33991bda61c4af29220c085ceeb66c6c83d0dbb0021494a9efbee7b4a10286
@@ -12,6 +12,9 @@ $CFLAGS << " -g"
12
12
  $CFLAGS << " -O3" unless $CFLAGS[/-O\d/]
13
13
  $CFLAGS << " -Wall -Wno-comment"
14
14
 
15
+ cmake_flags = [ ENV["CMAKE_FLAGS"] ]
16
+ cmake_flags << "-DUSE_SHA1DC=ON" if with_config("sha1dc")
17
+
15
18
  def sys(cmd)
16
19
  puts " -- #{cmd}"
17
20
  unless ret = xsystem(cmd)
@@ -77,7 +80,7 @@ else
77
80
  Dir.chdir("build") do
78
81
  # On Windows, Ruby-DevKit is MSYS-based, so ensure to use MSYS Makefiles.
79
82
  generator = "-G \"MSYS Makefiles\"" if Gem.win_platform?
80
- sys("cmake .. -DBUILD_CLAR=OFF -DTHREADSAFE=ON -DBUILD_SHARED_LIBS=OFF -DCMAKE_C_FLAGS=-fPIC -DCMAKE_BUILD_TYPE=RelWithDebInfo #{ENV['CMAKE_FLAGS']} #{generator}")
83
+ sys("cmake .. -DBUILD_CLAR=OFF -DTHREADSAFE=ON -DBUILD_SHARED_LIBS=OFF -DCMAKE_C_FLAGS=-fPIC -DCMAKE_BUILD_TYPE=RelWithDebInfo #{cmake_flags.join(' ')} #{generator}")
81
84
  sys(MAKE)
82
85
 
83
86
  # "normal" libraries (and libgit2 builds) get all these when they build but we're doing it
@@ -4,5 +4,5 @@
4
4
  # For full terms see the included LICENSE file.
5
5
 
6
6
  module Rugged
7
- Version = VERSION = '0.26.0b4'
7
+ Version = VERSION = '0.26.0b5'
8
8
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rugged
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.26.0b4
4
+ version: 0.26.0b5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Scott Chacon