gem_bench 0.0.3 → 0.0.4

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.
data/README.md CHANGED
@@ -58,7 +58,7 @@ Here is an example `irb` session where I have installed only `gem_bench`, `rails
58
58
  [GemBench] Will search for gems in ["/Users/pboling/.rvm/gems/ruby-1.9.3-head@foss/gems", "/Users/pboling/.rvm/gems/ruby-1.9.3-head@global/gems", "/Users/pboling/.rvm/gems/ruby-1.9.3-head@foss/bundler/gems"]
59
59
  [GemBench] Will check Gemfile at /Users/pboling/Documents/src/my/gem_bench/Gemfile.
60
60
  [GemBench] Detected 0 loaded gems
61
- (excluding the 2 GemBench is configured to skip)
61
+ (excluding the 2 loaded gems which GemBench is configured to ignore)
62
62
  [GemBench] No gems were evaluated by GemBench.
63
63
  [GemBench] Usage: Require another gem in this session to evaluate it.
64
64
  Example:
@@ -77,7 +77,7 @@ For the second run I `require 'rails'` as well, and now I can see which rails de
77
77
  [GemBench] Will search for gems in ["/Users/pboling/.rvm/gems/ruby-1.9.3-head@foss/gems", "/Users/pboling/.rvm/gems/ruby-1.9.3-head@global/gems", "/Users/pboling/.rvm/gems/ruby-1.9.3-head@foss/bundler/gems"]
78
78
  [GemBench] Will check Gemfile at /Users/pboling/Documents/src/my/gem_bench/Gemfile.
79
79
  [GemBench] Detected 14 loaded gems
80
- (excluding the 2 GemBench is configured to skip)
80
+ (excluding the 2 loaded gems which GemBench is configured to ignore)
81
81
  [GemBench] You might want to verify that activesupport v3.2.13 really has a Rails::Railtie or Rails::Engine. Check these files:
82
82
  ["/Users/pboling/.rvm/gems/ruby-1.9.3-head@foss/gems/activesupport-3.2.11/lib/active_support/i18n_railtie.rb", 146]
83
83
  [GemBench] You might want to verify that actionpack v3.2.13 really has a Rails::Railtie or Rails::Engine. Check these files:
@@ -107,7 +107,7 @@ In a random directory, in an irb session, where there is no Gemfile in sight it
107
107
  [GemBench] No Gemfile found.
108
108
  [GemBench] Will show bad ideas. Be Careful.
109
109
  [GemBench] Detected 14 loaded gems
110
- (excluding the 2 GemBench is configured to skip)
110
+ (excluding the 2 loaded gems which GemBench is configured to ignore)
111
111
 
112
112
  [GemBench] Usage: Require another gem in this session to evaluate it.
113
113
  Example:
@@ -434,6 +434,8 @@ If found 45 gems which are listed as primary dependencies in my `Gemfile` which
434
434
 
435
435
  How much faster will my app boot loading 45 fewer gems? A bit.
436
436
 
437
+ **Note:** Some of the gems in the list above should have been excluded. They are now excluded as of `gem_bench` version 0.0.4.
438
+
437
439
  ## Contributing
438
440
 
439
441
  1. Fork it
@@ -1,7 +1,9 @@
1
1
  module GemBench
2
2
  class Team
3
3
 
4
- EXCLUDE = ['bundler','gem_bench']
4
+ EXCLUDE = [ 'bundler','gem_bench','i18n-airbrake','devise-async','km','vestal_versions','omniauth-facebook',
5
+ 'flag_shih_tzu','pry-remote','koala','simple_form','thumbs_up','memoist','cancan','friendly_id',
6
+ 'faker']
5
7
  # A comment preceding the require: false anywhere on the line should not be considered an active require: false
6
8
 
7
9
 
@@ -26,7 +28,7 @@ module GemBench
26
28
  # Among these there may be some that did not need to be.
27
29
  totes = Gem.loaded_specs.values.map {|x| [x.name, x.version.to_s] }
28
30
  @excluded, @all = totes.partition {|x| EXCLUDE.include?(x[0]) }
29
- exclusions = "\t(excluding the #{self.excluded.length} GemBench is configured to skip)\n" if @excluded.length > 0
31
+ exclusions = "\t(excluding the #{self.excluded.length} loaded gems which GemBench is configured to ignore)\n" if @excluded.length > 0
30
32
  @starters = []
31
33
  @benchers = []
32
34
  @current_gemfile_suggestions = []
@@ -1,3 +1,3 @@
1
1
  module GemBench
2
- VERSION = "0.0.3"
2
+ VERSION = "0.0.4"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: gem_bench
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.3
4
+ version: 0.0.4
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: