Cool


On Wed, Mar 5, 2014 at 6:00 PM, Fran Casas <notifications@github.com> wrote:

> In lib/tasks/gem/new_version_task.rb:
>
> > +  protected
> > +
> > +  def gemspec_file
> > +    Dir['*.gemspec'].first
> > +  end
> > +
> > +  def bump
> > +    @version = Gem::BumpTask.new(bump_term).task
> > +  end
> > +
> > +  def build
> > +    Gem::BuildTask.new(gemspec_file, options).task
> > +  end
> > +
> > +  def push(gem_file, version)
> > +    Anvil.logger.info "Pushing version #{version} to rubygems"
>
> I would use that to wrap Anvil.logger so that we always use the same
> logger everywhere.
>
> --
> Reply to this email directly or view it on GitHub<https://github.com/anvil-src/anvil-core/pull/13/files#r10307596>
> .
>



-- 
Jon de Andrés