targit 0.0.4 → 0.0.5

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: b7944aeedcfafcc3091cb2820616f1dfdea3e55d
4
- data.tar.gz: b7847bd30f637994224c4f13f10b32d37e66d7b0
3
+ metadata.gz: 1a365094a186b0eef78d608fa937a6bb5f5002a8
4
+ data.tar.gz: 8ba5189f5779dc3f5bbd22a96016b350aac0a161
5
5
  SHA512:
6
- metadata.gz: 05af5a40ed6f1c51417a17dbee3dd302c9f815368206645d6db8e752719765e72f8c8f5fca5b20eeb44f15bafd282d9cacc1b1005c2095c2572b2eac840b8141
7
- data.tar.gz: 998408a5a2eeaabf062f35ecb15ee2af42375b56e4331d1581e7f4682cc38d37fa83785c87df5eba576a8a2b313e4316b2ae1b31c2c879a9acc8b96a238b3731
6
+ metadata.gz: e8af18a5aceab9a6e5cc44d839cd1fb53a4f97f2957856bea93b4778b464a8a2bb4fa668b379247f116eedbd49a24eb34891899c5651f37a8ee537ad98f7d766
7
+ data.tar.gz: 816f5451f09a06fdaad695af6519ef77939b5cd5710599f6715ce465fae3c2068513a3c68cfcb598decb31222492ed1ba227cac82026cfb9927a95d640bda236
data/lib/targit/asset.rb CHANGED
@@ -79,7 +79,7 @@ module Targit
79
79
 
80
80
  def guess_type
81
81
  mime_type = MIME::Types.type_for(@asset).first
82
- mime_type ? mime_type.content_type : nil
82
+ mime_type ? mime_type.content_type : 'application/octet-stream'
83
83
  end
84
84
  end
85
85
  end
@@ -1,5 +1,5 @@
1
1
  ##
2
2
  # Set the version (needed for Mercenary -v)
3
3
  module Targit
4
- VERSION = '0.0.4'
4
+ VERSION = '0.0.5'
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: targit
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.4
4
+ version: 0.0.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Les Aker