ruby-magic 0.3.0 → 0.3.1

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: 3dea9ed4324b8adf546bff646bda68832110b1dd267776295b5d6a54461038e1
4
- data.tar.gz: 67395237f2ef75e6124811ae3b0f8542efe46e788c14679c9f7b5fab8ab80565
3
+ metadata.gz: be72439dd976c929316ed38bd3cb1bdfd31436120e4d62db55858eac2c6a7645
4
+ data.tar.gz: 976cd79869df839352f50f05fbd80117db27a52800812013266df50bde6fe342
5
5
  SHA512:
6
- metadata.gz: 6f7e59de47ee8dc1f0768eb3cd8fa485d360d3b83023b6dc37ae88063608e7644765a643f4e679cca632225b01a4fff41aae7abd1cc2e17670a52f312f8a9d1c
7
- data.tar.gz: c1a21b1091470709646fb44e790c4315b5b5551f56af67b80ac587add7ce7d0cee8703a5ebae8da9d9751d6b222c2e51e0b8a7a155c28f764544950c1d01c41d
6
+ metadata.gz: b8c1a58140d2a7d7fe473d6310ab478f798ce1088b524a653b0f3535af1a368a52da887d3fd8102b9ec47c96a3c62ab883bc493d949278cb450b91a3c6b249b7
7
+ data.tar.gz: 22715a80bc847c7cc4fc7ce58c098e36a0b32514f56ad39b0fadb4f8f7f62b2ac7ccd15101cd33b5b9ec8448494833a9199504b21b95d85b0cbfd92a0c1d8592
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.3.0
1
+ 0.3.1
data/ext/magic/extconf.rb CHANGED
@@ -19,7 +19,7 @@ filename = "#{workdir}/file.tar.gz"
19
19
 
20
20
  unless File.exist?(filename)
21
21
  File.open(filename, 'wb') do |target_file|
22
- URI.open("https://fossies.org/linux/misc/file-#{LIBMAGIC_TAG}.tar.gz", 'rb') do |read_file|
22
+ URI.open("https://fossies.org/linux/misc/file-#{LIBMAGIC_TAG}.tar.gz", "User-Agent" => "RubyMagic/#{RUBY_DESCRIPTION}") do |read_file|
23
23
  target_file.write(read_file.read)
24
24
  end
25
25
  end
data/lib/magic/version.rb CHANGED
@@ -4,7 +4,7 @@ class Magic
4
4
  #
5
5
  # Current version of _Magic_.
6
6
  #
7
- VERSION = '0.3.0'.freeze
7
+ VERSION = '0.3.1'.freeze
8
8
 
9
9
  class << self
10
10
  #
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ruby-magic
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.0
4
+ version: 0.3.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Krzysztof Wilczyński