gemlist 0.4.0 → 0.4.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
  SHA1:
3
- metadata.gz: 2efc06e39983c3d89c6fd0d95ee01ab9804d92fa
4
- data.tar.gz: 618a99be9ace4992cd77ebe881555cc47c8413d5
3
+ metadata.gz: 15712798c7488b5b4ed08f7325bf8f74c94e84a5
4
+ data.tar.gz: 9361ce0bd43bd4da9b2c976fde6a7731b9a3eb75
5
5
  SHA512:
6
- metadata.gz: 6e4b9819a79ddad661d46cbbd3c8f7314593b9b32604f91f58153069c3c0c2d3aef8b5415e33665c6977c1bff86397a711f6cfeb893164988ec7a05cda71f41a
7
- data.tar.gz: aa47efe7abc65336f336869769e8591d365ae86a6aab5a2510faf6ad3b3e6527f3d60803ef16dfd2590ed772600c011fb2f76ab65a6e3225b618141770bcbfca
6
+ metadata.gz: 61cd126426246dfab1b57fffd5d8615a56ab523c696cd5fe834f883d7b4b21708d4f3fe470e11b2e105fab2c9f2b12299af448f01aac32e83b93f6d3e13516d1
7
+ data.tar.gz: 1a40f204b0100aa69a15362571672143b0bfab991cad5d6993920725d64bb10b1764eb3470f7dda3044427cfdb06b2d79a0601adb4a1ea14866ecde9db405a83
@@ -10,7 +10,10 @@ class Gemlist
10
10
  end
11
11
 
12
12
  def sources
13
- lockfile_parser.sources.flat_map(&:remotes).map(&:to_s)
13
+ lockfile_parser.sources
14
+ .select { |source| source.is_a?(Bundler::Source::Rubygems) }
15
+ .flat_map(&:remotes)
16
+ .map(&:to_s)
14
17
  end
15
18
 
16
19
  def gems
@@ -1,3 +1,3 @@
1
1
  class Gemlist
2
- VERSION = "0.4.0"
2
+ VERSION = "0.4.1"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: gemlist
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.0
4
+ version: 0.4.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Chris Hoffman