Logo Rails Bling
Logo Inverted Logo
  • Tags
  • active_record
  • activerecord-tablefree
  • activerecord-transactionable
  • africa
  • agile
  • anonymous_active_record
  • archivist-client
  • authentication
  • benchmarking
  • bundler
  • cacheable-flash
  • celluloid-io-pg-listener
  • charity
  • controller_validator
  • csv_pirate
  • database
  • debug_logging
  • destination_errors
  • development
  • DevOps
  • dry_views
  • dvcs
  • Dynamoid
  • each_in_batches
  • email
  • environment
  • federation
  • flag_shih_tzu
  • floss
  • gem_bench
  • ghana
  • git
  • github
  • Go
  • homebrew
  • hooks
  • humanitarian
  • humorous_log_formatter
  • include_with_respect
  • java
  • letter_group
  • liberia
  • logging
  • management
  • month-serializer
  • nokogiri
  • oauth
  • oauth2
  • process
  • qt5
  • rack-insight
  • rack-toolbar
  • rails
  • rails_env_local
  • react-rails-benchmark_renderer
  • refugees
  • release
  • repatriation
  • require_bench
  • resque
  • resque-unique_at_runtime
  • resque-unique_by_arity
  • retired
  • rspec
  • rspec-block_is_expected
  • rspec-pending_for
  • rspec-stubbed_env
  • ruby
  • rubygems
  • rubyweekly
  • SAFe
  • sanitize_email
  • scrum
  • security
  • silent_stream
  • stackable_flash
  • status_tag
  • strict_states
  • subdomain-fu
Hero Image
Gemfile Specs! New for gem_bench v1.0.2

Gemfile Specs! New for 1.0.2 Version constraints are important. Give the Gemfile some love in your CI build Create a spec/gemfile_spec.rb like: Rspec.describe "Gemfile" do it("has version constraint on every gem") do requirements = GemBench::StrictVersionRequirement.new({verbose: false}) expect(requirements.list_missing_version_constraints).to eq([]) end end Then your build will fail as soon as a gem is added without a proper constraint: Failures: 1) Gemfile has version constraint on every gem Failure/Error: expect(requirements.list_missing_version_constraints).to eq([]) expected: [] got: ["puma"] (compared using ==) # .

June 2, 2017 Read
Hero Image
Gem Source Grep! New for gem_bench v1.0.0

Find WAT Dragons! New for 1.0.0 Search the Ruby source code of all the gems loaded by your Gemfile for a specified regex, to find out which gems have wat DRAGONS. Gem: “I have no wat DRAGONS!” You: ❨╯°□°❩╯︵┻━┻ >> puts GemBench.find(look_for_regex: /wat/).starters.map {|gem| "#{gem.name} has wat DRAGONS at #{gem.stats}" }.join("\n") [GemBench] Will search for gems in ["/Users/pboling/.rvm/gems/ruby-2.4.0@floss/gems", "/Users/pboling/.rvm/gems/ruby-2.4.0@global/gems", "/Users/pboling/.rvm/gems/ruby-2.4.0@floss/bundler/gems"] [GemBench] Detected 11 loaded gems + 2 loaded gems which GemBench is configured to ignore.

February 26, 2017 Read
Hero Image
Introducing gem_bench

Ruby Gemfile analysis. gem_bench is for static Gemfile and installed gem library source code analysis. gem_bench can also be used to trim down app load times by keeping your worst players on the bench. Gem: “Put me in coach!” You: ❨╯°□°❩╯︵┻━┻ Usage Works with Ruby >= 2.0 due to use of named parameters. Example! Getting tired of seeing this irb warning, perhaps? $ bundle exec rails console Loading staging environment (Rails M.

April 5, 2013 Read
Navigation
  • About
  • Skills
  • Experience
  • Projects
Contact me:
  • peter.boling a@t gmail.com
  • +1-925-252-5351

Toha Theme Logo Toha (tweaked by @pboling)
© 2024 Peter Boling
CC BY-SA 4.0
Powered by Hugo Logo