gemstat 0.2.1 → 0.2.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/bin/gemstat +1 -2
- data/gemstat.gemspec +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: b346f6243f19fd565b4e3553c188684e7de9d45f
|
|
4
|
+
data.tar.gz: 38bba2e6ed019a6356a3c342d4217a7ed779fb5b
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 3abeef174f9dd73b5a3feff69a73f89b26a00eefceac70a168c3f8110c050b98ac37ae070f5750b797d9e9f6e7acea6fa9426119cfb9a343586a6a56f753df78
|
|
7
|
+
data.tar.gz: bc81722c0878194d9709c0a2f47db3b26d97ddd2ffc25a924d5c8bafbac04b326f9060a8f5ffd197a84fd1027f09c57fd8b65aac949e0fe71ae4333b1cb1b50f
|
data/bin/gemstat
CHANGED
|
@@ -72,7 +72,6 @@ module Gemstat
|
|
|
72
72
|
class Population
|
|
73
73
|
attr_reader :dependencies
|
|
74
74
|
def initialize(folder_path)
|
|
75
|
-
puts File.dirname(__FILE__)
|
|
76
75
|
cache_path = File.dirname(__FILE__) + '/' + `du -s #{File.dirname(__FILE__)}/gemfiles | cut -f1`.chomp + '.cache'
|
|
77
76
|
if File.exist?(cache_path) then
|
|
78
77
|
@dependencies = Marshal.load(File.read(cache_path))
|
|
@@ -124,7 +123,7 @@ module Gemstat
|
|
|
124
123
|
ranking = population.dependencies.map {|item| item.gems}.flatten.inject(Hash.new(0)){|hash,a| hash[a]+=1; hash}
|
|
125
124
|
|
|
126
125
|
puts ""
|
|
127
|
-
puts "# gemstat v0.2.
|
|
126
|
+
puts "# gemstat v0.2.2"
|
|
128
127
|
puts
|
|
129
128
|
puts " " + "-"*44
|
|
130
129
|
puts " Gemfile Gems in Use"
|
data/gemstat.gemspec
CHANGED