require_pattern 1.1 → 1.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/require_pattern.rb +4 -3
- data/require_pattern.gemspec +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 44f776b9754d1c944252455b6c7a921bf37fad6f
|
4
|
+
data.tar.gz: a74bb5c9f17be563fe6c0cdde9719df33b4a355d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ecde4191cbae85d86deab2572f3e7f5596bbf9ab2e7b1ffb6508045c5e1d1d2c876b4ed0eda4bc00c2c9893e054e9e56d8f8ecaf9fce2be782775382177f2e89
|
7
|
+
data.tar.gz: d47d1d1d1624b83e56100d4cc3bed75325cee57131c233d7c6888adfa95aa866adc4d584c224eb687da77d063f2ca785f37d11b490d87d6f460834808c62a5b3
|
data/lib/require_pattern.rb
CHANGED
@@ -21,9 +21,10 @@ module Kernel
|
|
21
21
|
break loaded
|
22
22
|
elsif remaining.nil?
|
23
23
|
STDERR.puts ReqPat::Coloring.red("\nSome files failed:")
|
24
|
-
require_map.each { |file, e|
|
25
|
-
|
26
|
-
|
24
|
+
require_map.each { |file, e|
|
25
|
+
msg = ReqPat::Coloring.red(" #{file}: ") +
|
26
|
+
ReqPat::Coloring.yellow("#{e.backtrace[0]} #{e}")
|
27
|
+
STDERR.puts msg
|
27
28
|
}
|
28
29
|
STDERR.puts
|
29
30
|
raise LoadError, "One or more files failed to load. See STDERR output for details."
|
data/require_pattern.gemspec
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
$LOAD_PATH.unshift File.expand_path('../lib', __FILE__)
|
2
2
|
|
3
|
-
Gem::Specification.new 'require_pattern', '1.1' do |s|
|
3
|
+
Gem::Specification.new 'require_pattern', '1.1.1' do |s|
|
4
4
|
s.summary = 'Requires files based on a pattern in a robust and optimistic manner.'
|
5
5
|
s.authors = ['Tom Wardrop']
|
6
6
|
s.email = 'tom@tomwardrop.com'
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: require_pattern
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version:
|
4
|
+
version: 1.1.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tom Wardrop
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-01-
|
11
|
+
date: 2015-01-13 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: maxitest
|