middleman-core 3.1.2 → 3.1.3

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: 41014115c7f4bc10a1ec3505cc1f0f2ed07489b9
4
- data.tar.gz: 8d5141b21cc59bf1b41a0d16408b913ddb7e15a5
3
+ metadata.gz: c3bad6e93b50e8000b3eeaf4ba03683bf24dcac9
4
+ data.tar.gz: a6e1e3a5a01a52630de3b8a5e14d19af24db286f
5
5
  SHA512:
6
- metadata.gz: 5b95f67885b1aa847fdbfd4813d8f8ccd3c40e0bb02adb3206efc2d7df3d5d1f9305c2b018bff97d692b8ef1be96587df038f154124a4d1ac1376d2fbfd058ab
7
- data.tar.gz: baf1f6c0c2b2679e920c89eea23898bab033187aaf0699f2411b7eb43c779bd45aa949012e6f7ff60f9216d94c2be54fabfd251ebeb919ece1ce4864290f693c
6
+ metadata.gz: c2470a181763cd1dbb08133c7b8276bffc4087633027271ef0a3d8e412966639ab0fb3ab12edd222c208d76fd5eb4d4d0dc822ea45ba5b80522795ad3be42e61
7
+ data.tar.gz: ff1f7cbb5b7815eb2a547e4788775a1cb86e0270871e3edda1e6bcc943cd4594d80506755531e514cb6a91b7001834e722fd06658aff657c8b14db8021f97ee4
@@ -12,6 +12,7 @@ Feature: Directory Index
12
12
  | regular/index.html |
13
13
  | .htaccess |
14
14
  | .htpasswd |
15
+ | .nojekyll |
15
16
  Then the following files should not exist:
16
17
  | egular/index/index.html |
17
18
  | needs_index.html |
File without changes
@@ -71,7 +71,7 @@ module Middleman
71
71
  app.use Rack::Lint
72
72
 
73
73
  Array(@middleware).each do |klass, options, blockm|
74
- app.use(klass, *options, &block)
74
+ app.use(klass, *options, &blockm)
75
75
  end
76
76
 
77
77
  inner_app = inst(&block)
@@ -33,7 +33,7 @@ module Middleman
33
33
 
34
34
  # Files starting with an dot, but not .htaccess
35
35
  :source_dotfiles => proc { |file|
36
- file =~ %r{/\.} && file !~ %r{/\.ht(access|passwd)}
36
+ file =~ %r{/\.} && file !~ %r{/\.(htaccess|htpasswd|nojekyll)}
37
37
  },
38
38
 
39
39
  # Files starting with an underscore, but not a double-underscore
@@ -1,5 +1,5 @@
1
1
  module Middleman
2
2
  # Current Version
3
3
  # @return [String]
4
- VERSION = '3.1.2' unless const_defined?(:VERSION)
4
+ VERSION = '3.1.3' unless const_defined?(:VERSION)
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: middleman-core
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.1.2
4
+ version: 3.1.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Thomas Reynolds
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2013-06-24 00:00:00.000000000 Z
12
+ date: 2013-07-02 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: bundler
@@ -523,6 +523,7 @@ files:
523
523
  - fixtures/indexable-app/config.rb
524
524
  - fixtures/indexable-app/source/.htaccess
525
525
  - fixtures/indexable-app/source/.htpasswd
526
+ - fixtures/indexable-app/source/.nojekyll
526
527
  - fixtures/indexable-app/source/a_folder/needs_index.html
527
528
  - fixtures/indexable-app/source/leave_me_alone.html
528
529
  - fixtures/indexable-app/source/needs_index.html
@@ -1730,6 +1731,7 @@ test_files:
1730
1731
  - fixtures/indexable-app/config.rb
1731
1732
  - fixtures/indexable-app/source/.htaccess
1732
1733
  - fixtures/indexable-app/source/.htpasswd
1734
+ - fixtures/indexable-app/source/.nojekyll
1733
1735
  - fixtures/indexable-app/source/a_folder/needs_index.html
1734
1736
  - fixtures/indexable-app/source/leave_me_alone.html
1735
1737
  - fixtures/indexable-app/source/needs_index.html