bibliothecary 2.0.0 → 2.0.1

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: f73395b523e5d1053eb00fdbfaefddb0cfdfe414
4
- data.tar.gz: e738b7e775f7da5ac6d6f03765cea1364a2aad4a
3
+ metadata.gz: df928a14f1d95ce614e9ad3a69910c4462c686ee
4
+ data.tar.gz: 70880ea6b8b72b06ef26cd3099fdd3bea9daaede
5
5
  SHA512:
6
- metadata.gz: 90314f4a57cdce6a1609a94fcac4f97c171bf18668ed35996863a5d3d763cc9fb22526d3ba55e8879df0313ae0cb3476984553a4906c6d1858f8d36519b8f237
7
- data.tar.gz: 07197d551b8d917b594447af58a2bb32241fda1f3e3c1c204e6a7dbfb6a9f92c00b83436f54e2090b90e0de987e70a17ac10d268e1c482ba6f31e8106987e8e0
6
+ metadata.gz: 21780d58424b33bb4d7065409609f698950547bc58ef91a9e4ba5ea70d7ffbe5ba6941116defef6c25afd886ed39a4c78345962e92901e0de74482daeac017bb
7
+ data.tar.gz: 923a3f492f389dcba55e81786984fa10f31d4cdc3e77807db39e44e06f7e81229aef63dada3b588646c609d6ac951082d8aac98e3e6b16303cda8b68b8e9e5a1
data/lib/bibliothecary.rb CHANGED
@@ -17,6 +17,6 @@ module Bibliothecary
17
17
  end
18
18
 
19
19
  def self.ignored_files
20
- ['.git'].join('|')
20
+ ['.git', 'node_modules', 'bower_components'].join('|')
21
21
  end
22
22
  end
@@ -6,10 +6,10 @@ module Bibliothecary
6
6
  include Bibliothecary::Analyser
7
7
 
8
8
  def self.parse(filename, file_contents)
9
- if filename.match(/^package\.json$/)
9
+ if filename.match(/package\.json$/)
10
10
  json = JSON.parse(file_contents)
11
11
  parse_manifest(json)
12
- elsif filename.match(/^npm-shrinkwrap\.json$/)
12
+ elsif filename.match(/npm-shrinkwrap\.json$/)
13
13
  json = JSON.parse(file_contents)
14
14
  parse_shrinkwrap(json)
15
15
  else
@@ -1,3 +1,3 @@
1
1
  module Bibliothecary
2
- VERSION = "2.0.0"
2
+ VERSION = "2.0.1"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bibliothecary
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.0
4
+ version: 2.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Andrew Nesbitt
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2016-07-17 00:00:00.000000000 Z
11
+ date: 2016-07-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: toml-rb