install_gem_local 0.1.20 → 1.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile +2 -0
- data/Gemfile.lock +7 -1
- data/lib/install_gem_local.rb +3 -9
- data/lib/install_gem_local/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 36c17936594860fc955e7eb1eb4080f0aee5d67ec2ec4d592b1f5d3d18e8517f
|
4
|
+
data.tar.gz: 47152cceadc379ac6d36ee47cde147beebc91daf79345def1afcc986d366ff81
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8294986afacc6b5a3623e59bd871750a34b0b32746ee5cac2d55abb8874fd61e30cf49bb790bea256daaca9ddbfe7e5193c8d4abfaa6a24b4baa43426ffc34b4
|
7
|
+
data.tar.gz: c10a7849be03f0afe3b6f8999694d3ca5aabe40b261b484802302cf930bb18fe78d2c987066270809cd29d08cda6792e7507d3e38d6863b9c329d543ce41bfb4
|
data/Gemfile.lock
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
install_gem_local (0.
|
4
|
+
install_gem_local (1.0.0)
|
5
5
|
awesome_print (~> 1.8, >= 1.8.0)
|
6
6
|
downup (~> 0.11, >= 0.11.7)
|
7
7
|
thor (~> 0.20, >= 0.20.3)
|
@@ -12,16 +12,21 @@ GEM
|
|
12
12
|
specs:
|
13
13
|
ast (2.4.0)
|
14
14
|
awesome_print (1.8.0)
|
15
|
+
coderay (1.1.2)
|
15
16
|
diff-lcs (1.3)
|
16
17
|
downup (0.11.7)
|
17
18
|
equatable (0.5.0)
|
18
19
|
jaro_winkler (1.5.2)
|
20
|
+
method_source (0.9.2)
|
19
21
|
parallel (1.17.0)
|
20
22
|
parser (2.6.3.0)
|
21
23
|
ast (~> 2.4.0)
|
22
24
|
pastel (0.7.2)
|
23
25
|
equatable (~> 0.5.0)
|
24
26
|
tty-color (~> 0.4.0)
|
27
|
+
pry (0.12.2)
|
28
|
+
coderay (~> 1.1.0)
|
29
|
+
method_source (~> 0.9.0)
|
25
30
|
rainbow (3.0.0)
|
26
31
|
rake (10.5.0)
|
27
32
|
rspec (3.8.0)
|
@@ -57,6 +62,7 @@ PLATFORMS
|
|
57
62
|
DEPENDENCIES
|
58
63
|
bundler (~> 2.0)
|
59
64
|
install_gem_local!
|
65
|
+
pry
|
60
66
|
rake (~> 10.0)
|
61
67
|
rspec (~> 3.0)
|
62
68
|
rubocop
|
data/lib/install_gem_local.rb
CHANGED
@@ -1,15 +1,9 @@
|
|
1
1
|
# frozen_string_literal: true
|
2
2
|
|
3
|
-
require
|
4
|
-
require 'downup'
|
5
|
-
require 'awesome_print'
|
6
|
-
require 'tty-command'
|
3
|
+
%w[thor downup awesome_print tty-command pry].each { |f| require f }
|
7
4
|
|
8
|
-
|
9
|
-
|
10
|
-
require 'install_gem_local/action/remove_gem'
|
11
|
-
require 'install_gem_local/action/copy_gem'
|
12
|
-
require 'install_gem_local/action/push_gem'
|
5
|
+
# TODO: refactor these code later
|
6
|
+
Dir[File.join(File.expand_path(__dir__), 'install_gem_local', 'action/*.rb')].each { |f| require f }
|
13
7
|
Dir[File.join(File.expand_path(__dir__), 'install_gem_local', '**/*.rb')].each { |f| require f }
|
14
8
|
|
15
9
|
module InstallGemLocal
|