gemfile_interpreter 0.0.4 → 0.0.5
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
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6a529a9378858c6ab1d69a49e9a0a2d9c2ee8092
|
4
|
+
data.tar.gz: 924f4814a334e2a97bbe254bef4d1ce04b036f29
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 72c8cee37e11b88cef07083dc0be9999e37e38ce80d818005adc45f20f2f1228b467d200abb7d5cfc4f71ed8e5f2d155cbe360735af0cb52c8e890097078fa2b
|
7
|
+
data.tar.gz: 4b6155cc9e3c1d1fa8264499b1e858d5c12d0e177305051593b8cfa0831506366125fce71e14c72a59520f70b4ddf29751cd8e4de30653befc127652c85f19cd
|
data/lib/gemfile_interpreter.rb
CHANGED
@@ -9,15 +9,11 @@ class GemfileInterpreter
|
|
9
9
|
gemfile_path = File.join dir, gemfile
|
10
10
|
lockfile_path = File.join dir, (lockfile || "#{gemfile}.lock")
|
11
11
|
@parsed = nil
|
12
|
-
@
|
12
|
+
@gems = ReadonlyBundler.load_gemfile gemfile_path, lockfile_path
|
13
13
|
true
|
14
14
|
end
|
15
15
|
|
16
|
-
attr_reader :
|
17
|
-
|
18
|
-
def gems
|
19
|
-
bundler_runtime.gems
|
20
|
-
end
|
16
|
+
attr_reader :gems
|
21
17
|
|
22
18
|
def parsed
|
23
19
|
@parsed = Parser.parse gems
|
@@ -44,7 +44,6 @@ RSpec.describe GemfileInterpreter do
|
|
44
44
|
rubygems_gem('omniauth', '1.6.1'),
|
45
45
|
rubygems_gem('omniauth-oauth2', '1.3.1'),
|
46
46
|
git_gem('omniauth-keltec', '0.0.1', 'https://github.com/ThunderKey/omniauth-keltec.git', 'd954a55459b48cb56be4dbbcaa1fd2afc113db5b'),
|
47
|
-
rubygems_gem('bundler', '1.14.3'),
|
48
47
|
]
|
49
48
|
end
|
50
49
|
|
@@ -87,7 +86,6 @@ RSpec.describe GemfileInterpreter do
|
|
87
86
|
rubygems_gem('omniauth', '1.6.1'),
|
88
87
|
rubygems_gem('omniauth-oauth2', '1.3.1'),
|
89
88
|
git_gem('omniauth-keltec', '0.0.1', 'https://github.com/ThunderKey/omniauth-keltec.git', 'd954a55459b48cb56be4dbbcaa1fd2afc113db5b'),
|
90
|
-
rubygems_gem('bundler', '1.14.3'),
|
91
89
|
]
|
92
90
|
end
|
93
91
|
|