torba 1.1.1 → 1.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +6 -0
- data/README.md +1 -1
- data/lib/torba/remote_sources/npm.rb +7 -1
- data/torba.gemspec +1 -1
- 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: 9849d15bd1d02ad1f5c11d40d2d29cfdc48a52a1cd2232e9bd4f42d3e3ff5c5a
|
4
|
+
data.tar.gz: 0dbedc6624a2bcd9d65b94832d59ccf94cbe0cdf632ba48b4510df6317ccb498
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6841aac3d6f672029f69397dccf0ea0ccb8681cc19d4a3cada4fc2925c80de4b6af15aa78c695acebb27e10310d4ad32918af80d88e9c4912eadf1fd76be0d5f
|
7
|
+
data.tar.gz: cff51fe06431dc8a36efa3bdfc539cbd687297f4bd33b89a8aa1484cf634f2cf3500e29a4053777d595bea50ff1bae12b4935f53e92e9726e9ed5511e8a03ac3
|
data/CHANGELOG.md
CHANGED
data/README.md
CHANGED
@@ -8,6 +8,7 @@ module Torba
|
|
8
8
|
# @return [String] package name.
|
9
9
|
# @example
|
10
10
|
# "coffee-script"
|
11
|
+
# "@lottiefiles/lottie-player"
|
11
12
|
attr_reader :package
|
12
13
|
|
13
14
|
# @return [String] package version.
|
@@ -20,7 +21,12 @@ module Torba
|
|
20
21
|
def initialize(package, version)
|
21
22
|
@package = package
|
22
23
|
@version = version
|
23
|
-
|
24
|
+
|
25
|
+
# https://docs.npmjs.com/about-scopes
|
26
|
+
# "@lottiefiles/lottie-player" => "lottie-player"
|
27
|
+
unscoped_package = package.sub(%r{@[^/]+/}, "")
|
28
|
+
|
29
|
+
super("https://registry.npmjs.org/#{package}/-/#{unscoped_package}-#{version}.tgz")
|
24
30
|
@digest = "#{package}-#{Torba.digest(url)}"
|
25
31
|
end
|
26
32
|
end
|
data/torba.gemspec
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: torba
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.2.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Andrii Malyshko
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2023-08-18 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: thor
|