bibliothecary 8.7.3 → 8.7.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.circleci/config.yml +21 -4
- data/.rubocop.yml +32 -941
- data/Gemfile +1 -1
- data/Rakefile +10 -0
- data/bibliothecary.gemspec +2 -2
- data/lib/bibliothecary/analyser.rb +6 -6
- data/lib/bibliothecary/cli.rb +8 -8
- data/lib/bibliothecary/configuration.rb +8 -8
- data/lib/bibliothecary/file_info.rb +2 -2
- data/lib/bibliothecary/multi_parsers/bundler_like_manifest.rb +1 -1
- data/lib/bibliothecary/multi_parsers/cyclonedx.rb +16 -17
- data/lib/bibliothecary/multi_parsers/dependencies_csv.rb +16 -16
- data/lib/bibliothecary/multi_parsers/json_runtime.rb +3 -3
- data/lib/bibliothecary/multi_parsers/spdx.rb +14 -14
- data/lib/bibliothecary/parsers/bower.rb +7 -7
- data/lib/bibliothecary/parsers/cargo.rb +15 -15
- data/lib/bibliothecary/parsers/carthage.rb +16 -16
- data/lib/bibliothecary/parsers/clojars.rb +7 -7
- data/lib/bibliothecary/parsers/cocoapods.rb +20 -20
- data/lib/bibliothecary/parsers/conda.rb +9 -9
- data/lib/bibliothecary/parsers/cpan.rb +12 -12
- data/lib/bibliothecary/parsers/cran.rb +12 -12
- data/lib/bibliothecary/parsers/dub.rb +8 -8
- data/lib/bibliothecary/parsers/elm.rb +8 -8
- data/lib/bibliothecary/parsers/go.rb +131 -66
- data/lib/bibliothecary/parsers/hackage.rb +13 -13
- data/lib/bibliothecary/parsers/haxelib.rb +4 -4
- data/lib/bibliothecary/parsers/hex.rb +11 -11
- data/lib/bibliothecary/parsers/julia.rb +4 -4
- data/lib/bibliothecary/parsers/maven.rb +88 -89
- data/lib/bibliothecary/parsers/meteor.rb +4 -4
- data/lib/bibliothecary/parsers/npm.rb +31 -31
- data/lib/bibliothecary/parsers/nuget.rb +44 -44
- data/lib/bibliothecary/parsers/packagist.rb +14 -14
- data/lib/bibliothecary/parsers/pub.rb +13 -13
- data/lib/bibliothecary/parsers/pypi.rb +80 -72
- data/lib/bibliothecary/parsers/rubygems.rb +15 -15
- data/lib/bibliothecary/parsers/shard.rb +13 -13
- data/lib/bibliothecary/parsers/swift_pm.rb +6 -6
- data/lib/bibliothecary/purl_util.rb +1 -1
- data/lib/bibliothecary/runner.rb +4 -4
- data/lib/bibliothecary/version.rb +1 -1
- data/lib/bibliothecary.rb +3 -3
- data/lib/sdl_parser.rb +5 -5
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3fbd83e689755fcae99771b12a88ce74a9c31c22d60b11b40fcb552987628f45
|
4
|
+
data.tar.gz: deb85d3948752fd0a3142bb41d5cd07bde78b4604b95a77eb652b2d7a6d2634b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f72d8392eae9835fa51ce423d76f2664592e666964dbf921d25b03d0edef6c5f79adb64e3527c89a2f0ecc9c88958e51de223c93b405a70d28e1a1ca73626dcf
|
7
|
+
data.tar.gz: d9928f3e5181293c015bbf72985bd7baf50f5126655e96cbb5d64d0abbe88c0a061b37a672ce7ea06869d6c1aedcec68fa02ea89fc7a4bc0ba45e32ad692b35d
|
data/.circleci/config.yml
CHANGED
@@ -2,11 +2,15 @@ version: 2.1
|
|
2
2
|
orbs:
|
3
3
|
ruby: circleci/ruby@0.1.2
|
4
4
|
|
5
|
-
|
6
|
-
|
5
|
+
executors:
|
6
|
+
bibliothecary:
|
7
7
|
docker:
|
8
8
|
- image: cimg/ruby:2.7.1
|
9
|
-
|
9
|
+
working_directory: ~/bibliothecary
|
10
|
+
|
11
|
+
jobs:
|
12
|
+
test:
|
13
|
+
executor: bibliothecary
|
10
14
|
steps:
|
11
15
|
- checkout
|
12
16
|
- run:
|
@@ -20,9 +24,22 @@ jobs:
|
|
20
24
|
name: CodeClimate
|
21
25
|
command: bundle exec codeclimate-test-reporter
|
22
26
|
|
27
|
+
lint:
|
28
|
+
executor: bibliothecary
|
29
|
+
steps:
|
30
|
+
- checkout
|
31
|
+
- run:
|
32
|
+
name: Which bundler?
|
33
|
+
command: bundle -v
|
34
|
+
- ruby/bundle-install
|
35
|
+
- run:
|
36
|
+
name: Run specs
|
37
|
+
command: bundle exec rake lint
|
38
|
+
|
23
39
|
workflows:
|
24
40
|
version: 2.1
|
25
|
-
|
41
|
+
circleci_build:
|
26
42
|
jobs:
|
27
43
|
- test
|
44
|
+
- lint
|
28
45
|
|