linner 0.8.4 → 0.8.5

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: 3d4b9dcd8883940be8091b2e79983293de357e8c
4
- data.tar.gz: aaf4b84e513d058360dcc93b56e21e0212d60c8b
3
+ metadata.gz: 50706f21b11a10725857429e5fa2a30337ecd6e3
4
+ data.tar.gz: fd0ad35db0e5dc2b66a2c66feed410b04d609b48
5
5
  SHA512:
6
- metadata.gz: 5f2364faae6de07606f8afec744c962c689a9fc4588f5451c279b96d40039a6f2195802d37f62ce8e7e1701234fab3da295adf66d64ffd5962a70351454a2fc5
7
- data.tar.gz: ed780f4bfe2b73195e2365dd2e337f60f69c537482241c06aad1051ef5a0c7d1dee5a374202d1cc0af900cfb942c24d478e966e2af5b1e6400e6e81190299752
6
+ metadata.gz: fd19a1015e8663a4ca139ee00ddce1394a676230171fbf239a1a8f611bba558f31fc8eae52b10c1cc90f5a39573e657f54720ea445691417856ba84a672b3587
7
+ data.tar.gz: 8cd5baad70bb6c52205118411a203d17a9fc8db66ee27619a37f975de6170350ab8221072854ab0729968a6d00ffcd3ee13a5e39622bd92c884c87f7fb9f6f89
data/CHANGELOG CHANGED
@@ -1,3 +1,6 @@
1
+ v0.8.5
2
+ - fix a windows mime-type bug
3
+
1
4
  v0.8.4
2
5
  - fix the vendor path for bundles
3
6
  - fix the sprite url config, now it's working again
@@ -41,7 +41,7 @@ module Linner
41
41
  end
42
42
  puts "Installing #{bundle.name} #{bundle.version}..."
43
43
  install_to_repository bundle
44
- if gzipped?(bundle.path)
44
+ if File.extname(bundle.path) == ".gz"
45
45
  link_and_extract_to_vendor bundle.path, File.join(@vendor, ".pkg", bundle.name, File.basename(bundle.path)), File.join(@vendor, bundle.name)
46
46
  else
47
47
  link_to_vendor bundle.path, File.join(@vendor, bundle.name)
@@ -81,10 +81,5 @@ module Linner
81
81
  FileUtils.rm_rf Dir.glob("#{dest}/*")
82
82
  Archive.untar(path, dest)
83
83
  end
84
-
85
- def gzipped?(path)
86
- mime_type = IO.popen(["file", "--brief", "--mime-type", path], in: :close, err: :close).read.chomp
87
- ["application/x-gzip", "application/gzip"].include? mime_type
88
- end
89
84
  end
90
85
  end
@@ -1,3 +1,3 @@
1
1
  module Linner
2
- VERSION = "0.8.4"
2
+ VERSION = "0.8.5"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: linner
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.8.4
4
+ version: 0.8.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Saito
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-01-29 00:00:00.000000000 Z
11
+ date: 2015-03-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: thor