middleman-sprockets 3.3.9 → 3.3.10

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: 90a84b5089422a2a7e6cffda601d696422d5e374
4
- data.tar.gz: 6291740944a94b8698e3d98fe298cfe2040c69cd
3
+ metadata.gz: 1b6a53ba2d0dd29b13117f9b2135d06380eff8f9
4
+ data.tar.gz: 1f769aa917cc361929f40e6d1043939c53e42da4
5
5
  SHA512:
6
- metadata.gz: 376c2fe3005f8af184c90f0dadc39075a80ebbad31b15db60bdbbf5ca1d7f84e2e32d35a0234add1ff2fc3ecef67fb785885e5106ba50bdb5c8525151fd10c39
7
- data.tar.gz: 86b61f7a4d3cb1dea4d37b588be5c9f3d8f2673afdd254735a60ca1d846e0f96d68ed1553d255f58d378cb944a7c94fdad449c6ad697c440824afd06e45d4fe4
6
+ metadata.gz: 3da8a43ce7f08325062ee16004fc21bd1f5bf9f3e15e25342b14e590abf3d6a33dce87a9e7fc22cd67371598d09cd722e6376127138c9918333f2c1b2d13005e
7
+ data.tar.gz: 7c485931a8d82e1a60f188ac9c731418c347aef108beba1df366575fb05e90e8628f2f515e3d7e8d03b0411ff5da7ff6cb3151db84fe4be50dba3eb4a3812857
@@ -29,6 +29,11 @@ Feature: Bower
29
29
  Then a file named "images/lightbox2/img/close.png" should exist
30
30
  Then a file named "javascripts/lightbox2/js/lightbox.js" should exist
31
31
 
32
+ Scenario: Assets which haven't been imported don't appear in output directory
33
+ Given a successfully built app at "bower-multiple-assets-app"
34
+ When I cd to "build"
35
+ Then a file named "images/lightbox2/img/open.png" should not exist
36
+
32
37
  Scenario: Assets can have an individual output directory
33
38
  Given a successfully built app at "bower-individual-outputdir-app"
34
39
  When I cd to "build"
@@ -92,7 +92,8 @@ module Middleman
92
92
  end
93
93
 
94
94
  def in_trusted_source_directory?
95
- is_in_images_directory? || is_in_fonts_directory?
95
+ source_directory.end_with?('images') ||
96
+ source_directory.end_with?('fonts')
96
97
  end
97
98
 
98
99
  def type
@@ -1,5 +1,5 @@
1
1
  module Middleman
2
2
  module Sprockets
3
- VERSION = "3.3.9"
3
+ VERSION = "3.3.10"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: middleman-sprockets
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.3.9
4
+ version: 3.3.10
5
5
  platform: ruby
6
6
  authors:
7
7
  - Thomas Reynolds
@@ -10,7 +10,7 @@ authors:
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2014-08-25 00:00:00.000000000 Z
13
+ date: 2014-09-06 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: middleman-core
@@ -150,6 +150,7 @@ files:
150
150
  - fixtures/bower-multiple-assets-app/vendor/assets/components/lightbox2/.bower.json
151
151
  - fixtures/bower-multiple-assets-app/vendor/assets/components/lightbox2/bower.json
152
152
  - fixtures/bower-multiple-assets-app/vendor/assets/components/lightbox2/img/close.png
153
+ - fixtures/bower-multiple-assets-app/vendor/assets/components/lightbox2/img/open.png
153
154
  - fixtures/bower-multiple-assets-app/vendor/assets/components/lightbox2/js/lightbox.js
154
155
  - fixtures/bower-multiple-assets-app/vendor/assets/components/lightbox2/package.json
155
156
  - fixtures/glob-app/config.rb
@@ -332,6 +333,7 @@ test_files:
332
333
  - fixtures/bower-multiple-assets-app/vendor/assets/components/lightbox2/.bower.json
333
334
  - fixtures/bower-multiple-assets-app/vendor/assets/components/lightbox2/bower.json
334
335
  - fixtures/bower-multiple-assets-app/vendor/assets/components/lightbox2/img/close.png
336
+ - fixtures/bower-multiple-assets-app/vendor/assets/components/lightbox2/img/open.png
335
337
  - fixtures/bower-multiple-assets-app/vendor/assets/components/lightbox2/js/lightbox.js
336
338
  - fixtures/bower-multiple-assets-app/vendor/assets/components/lightbox2/package.json
337
339
  - fixtures/glob-app/config.rb