smallvictories 0.0.18 → 0.0.19

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: b4af17d60952b2ae6fdd1580c06a1740d24534ed
4
- data.tar.gz: bd16fffe77d48d1d050481290c1667788540ec3a
3
+ metadata.gz: 571a2eddaf843f15e6dae4546cb9432a7a9ad88d
4
+ data.tar.gz: 770c2288c868e91a51345965ff9f20ed218e8ad0
5
5
  SHA512:
6
- metadata.gz: 48c3676fc46b779c3c254829deecc01cb09e3cb4faf014323b412c8e2bf49b1ecc7b990ec21e43ef8ad0374a8d8d731355edb883b5ee3f3f80cff684aeb96998
7
- data.tar.gz: 52a70efd4d1861556da513a65f73c064ffb609ac07eb6fe15c53e52c6d2b4ab836cf4abb97b14527d7a2ddc1e06f312cd34486a2bc6f4b3a17ec95eafe54cec5
6
+ metadata.gz: 7c3a50ba6ef7db5fe3aefc89efb610fcbe8ad053f5fed62395a7032f06d71635428aa93af07f568b89d5abb00ceaad9172158c017548f6df9b225659b2681b46
7
+ data.tar.gz: 946349316df906bd6a0267967aea68a24a024d80c44cc6531cda4bc3c89f7f497f9013f8fde3b38e7bb48218e255dfd532caf4638efd9cba8b14f3954338cfbb
@@ -0,0 +1 @@
1
+ 2.1.3
@@ -38,7 +38,11 @@ module SmallVictories
38
38
  end
39
39
 
40
40
  def file_type
41
- MIME::Types.type_for('css')
41
+ if ext = File.extname(path).split(".").last
42
+ MIME::Types.type_for(ext).first.to_s
43
+ else
44
+ 'text/html'
45
+ end
42
46
  end
43
47
 
44
48
  def asset?
@@ -1,3 +1,3 @@
1
1
  module SmallVictories
2
- VERSION = "0.0.18"
2
+ VERSION = "0.0.19"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: smallvictories
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.18
4
+ version: 0.0.19
5
5
  platform: ruby
6
6
  authors:
7
7
  - Michael Dijkstra
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-11-28 00:00:00.000000000 Z
11
+ date: 2016-12-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: autoprefixer-rails
@@ -258,6 +258,7 @@ extra_rdoc_files: []
258
258
  files:
259
259
  - ".gitignore"
260
260
  - ".gitkeep"
261
+ - ".ruby-version"
261
262
  - Gemfile
262
263
  - LICENSE.txt
263
264
  - README.md
@@ -359,7 +360,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
359
360
  version: '0'
360
361
  requirements: []
361
362
  rubyforge_project:
362
- rubygems_version: 2.6.8
363
+ rubygems_version: 2.4.5
363
364
  signing_key:
364
365
  specification_version: 4
365
366
  summary: A command line utility for building websites.