packspec 0.2.0 → 0.2.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/cli.rb +6 -1
- data/packspec.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: fdccff439b67f0c82bb09ae8df1e7a4530581a88
|
4
|
+
data.tar.gz: a9cf00c46fbc8b171057e0494cbc7b0f2643fbbc
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ce25e03506b5d43b8cdd33fc60e368d2cfa73732855053b140befa3e341cffbe03a3ef844a61a9dc7a2e78dcd732ff46435e60a38cfa0efad0e1462f430b94a1
|
7
|
+
data.tar.gz: f722b541d83493877688570b81d9ee77826b74ce3b466a1fa8dc2a5bbe21f445120abdd613cc8d344bc3b25f27b115e8399e5e79c77b8960a3d715815b2c82c3
|
data/lib/cli.rb
CHANGED
@@ -342,7 +342,12 @@ class BuiltinFunctions
|
|
342
342
|
attributes = {}
|
343
343
|
require(package)
|
344
344
|
for item in ObjectSpace.each_object
|
345
|
-
|
345
|
+
begin
|
346
|
+
item_name = String(item).downcase
|
347
|
+
rescue Exception
|
348
|
+
next
|
349
|
+
end
|
350
|
+
if package == item_name
|
346
351
|
begin
|
347
352
|
scope = Kernel.const_get(item)
|
348
353
|
rescue Exception
|
data/packspec.gemspec
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: packspec
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- |
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2017-08-
|
12
|
+
date: 2017-08-28 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: bundler
|