lapidarius 4.2.0 → 4.2.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
  SHA256:
3
- metadata.gz: 37e42b16ec18afb3479025f3ecbbf53b23cb598385607e2b1ab7f0ec0be3b3d9
4
- data.tar.gz: c221d6578831a471bfae1c1d32235425322f941928dd894956cfd14f5b50a547
3
+ metadata.gz: ff76db56666ffeb393cb550d2330e6474c35888cea31272dbf308dd2927d49d8
4
+ data.tar.gz: a4d77dac2d72edcd10c1fc65a11865f802c4eb02344612540b0bd0b4e988821a
5
5
  SHA512:
6
- metadata.gz: 183250ee4a9f17b0479bbe0550f979ca5bf30318f6f34f26d90ede756eca846139be20a4734d056e625f78fd006fdc50cdeffec06536eda438ba70abeaf442ed
7
- data.tar.gz: 4ceb09b2b501402102d5acf70c25da97399daf21540377c9a6377dfae7eb51ef609bb472920eab4648313d3c3367e62c470944bf3f86329ba1565e82562576cd
6
+ metadata.gz: d4130674543f11ba5410bd4837f26bc52d0a938066170c7c268870b753b77ef63b865da0038f75ae655267882ba4ed451d8fa0d679823d94bd3cd24953f59cd2
7
+ data.tar.gz: c04afafc8ba7dfae4dd7066287d4638c2e942f280851347463630d9f8f29a898bac68ce6b47c2d9b738e9891e3e92ff42b7519efc5742fd9e3e017f7519a1c4f
data/README.md CHANGED
@@ -34,7 +34,7 @@ This library invokes the `Gem::Commands::DependencyCommand` class recursively to
34
34
  Both runtime and development dependencies are counted (identical dependencies are counted once), but just the former are printed on screen:
35
35
 
36
36
  ```shell
37
- > lapidarius sinatra
37
+ lapidarius sinatra
38
38
  sinatra (2.0.0)
39
39
  ├── mustermann (~> 1.0)
40
40
  ├── rack (~> 2.0)
@@ -49,7 +49,7 @@ sinatra (2.0.0)
49
49
  By default this library scans for the first version `>= 0` found at [rubygems.org](https://rubygems.org/).
50
50
  In case you are interested on a specific version just specify the `-v` option:
51
51
  ```shell
52
- > lapidarius sinatra -v 1.4.7
52
+ lapidarius sinatra -v 1.4.7
53
53
  sinatra (1.4.7)
54
54
  ├── rack (~> 1.5)
55
55
  ├── rack-protection (~> 1.4)
@@ -60,9 +60,15 @@ sinatra (1.4.7)
60
60
  ```
61
61
 
62
62
  ### Remote
63
- By default this library scan for local gems, if you want to scan for remote ones specify the `-r` option (be aware of slowness):
63
+ By default this library scan for local gems, warning if the gem is not found:
64
64
  ```shell
65
- $ lapidarius roda -v 3.3.0 -r
65
+ lapidarius roda -v 3.3.0
66
+ No gems found matching roda (= 3.0.0)
67
+ ```
68
+
69
+ If you want to scan for remote gems specify the `-r` option (be aware of slowness):
70
+ ```shell
71
+ lapidarius roda -v 3.3.0 -r
66
72
  roda (3.3.0)
67
73
  └── rack (>= 0)
68
74
 
@@ -12,7 +12,7 @@ module Lapidarius
12
12
 
13
13
  def self.factory(token)
14
14
  token.match(/^No gems found matching/) do |m|
15
- fail NotInstalledError, token
15
+ fail NotInstalledError, token.gsub(/\/|\^|\$/, '')
16
16
  end
17
17
  token.match(/Gem ([a-zA-Z0-9\-_]+)-(.+)/) do |m|
18
18
  return new(name: m[1], version: m[2])
@@ -1,3 +1,3 @@
1
1
  module Lapidarius
2
- VERSION = "4.2.0"
2
+ VERSION = "4.2.1"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: lapidarius
3
3
  version: !ruby/object:Gem::Version
4
- version: 4.2.0
4
+ version: 4.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - costajob