Skip to content

Commit

Permalink
Rename project to libyear-bundler
Browse files Browse the repository at this point in the history
  • Loading branch information
jaredbeck committed Mar 10, 2017
1 parent cde6875 commit 4fcea65
Show file tree
Hide file tree
Showing 13 changed files with 18 additions and 43 deletions.
2 changes: 0 additions & 2 deletions Rakefile

This file was deleted.

14 changes: 0 additions & 14 deletions bin/console

This file was deleted.

3 changes: 0 additions & 3 deletions bin/libyear

This file was deleted.

3 changes: 3 additions & 0 deletions bin/libyear-bundler
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
#!/usr/bin/env ruby
require "libyear_bundler"
LibyearBundler::CLI.new(ARGV).run
8 changes: 0 additions & 8 deletions bin/setup

This file was deleted.

3 changes: 0 additions & 3 deletions lib/libyear.rb

This file was deleted.

3 changes: 0 additions & 3 deletions lib/libyear/version.rb

This file was deleted.

3 changes: 3 additions & 0 deletions lib/libyear_bundler.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
require "bundler"
require "libyear_bundler/version"
require "libyear_bundler/cli"
6 changes: 3 additions & 3 deletions lib/libyear/cli.rb → lib/libyear_bundler/cli.rb
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
require "bundler/cli"
require "bundler/cli/outdated"
require "libyear/report"
require "libyear/query"
require "libyear_bundler/report"
require "libyear_bundler/query"

module Libyear
module LibyearBundler
class CLI
def initialize(argv)
validate_arguments(argv)
Expand Down
2 changes: 1 addition & 1 deletion lib/libyear/query.rb → lib/libyear_bundler/query.rb
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
require "English"
require "open3"

module Libyear
module LibyearBundler
# Responsible for getting all the data that goes into the `Report`.
class Query
# Format of `bundle outdated --parseable` (BOP)
Expand Down
2 changes: 1 addition & 1 deletion lib/libyear/report.rb → lib/libyear_bundler/report.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
module Libyear
module LibyearBundler
# Responsible presenting data from the `Query`. Should only be concerned
# with presentation, nothing else.
class Report
Expand Down
3 changes: 3 additions & 0 deletions lib/libyear_bundler/version.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
module LibyearBundler
VERSION = "0.2.0"
end
9 changes: 4 additions & 5 deletions libyear.gemspec
Original file line number Diff line number Diff line change
@@ -1,22 +1,21 @@
# coding: utf-8
lib = File.expand_path('../lib', __FILE__)
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
require 'libyear/version'
require 'libyear_bundler/version'

Gem::Specification.new do |spec|
spec.name = "libyear"
spec.name = "libyear-bundler"
spec.version = Libyear::VERSION
spec.authors = ["Jared Beck"]
spec.email = ["jared@jaredbeck.com"]
spec.summary = "A simple measure of software dependency freshness"
spec.summary = "A simple measure of dependency freshness"
spec.homepage = "https://libyear.com"
spec.licenses = ["GPL-3.0"]
spec.files = `git ls-files -z`.split("\x0").reject do |f|
f.match(%r{^(test|spec|features)/})
end
spec.bindir = "bin"
spec.executables = ["libyear"]
spec.executables = ["libyear-bundler"]
spec.require_paths = ["lib"]
spec.add_dependency "bundler", "~> 1.14"
spec.add_development_dependency "rake", "~> 10.0"
end

0 comments on commit 4fcea65

Please sign in to comment.