Skip to content

Commit 9a9170c

Browse files
committed
rename bundler-viz to bundler-graph
1 parent 39a70d3 commit 9a9170c

File tree

4 files changed

+8
-10
lines changed

4 files changed

+8
-10
lines changed

bundler-viz.gemspec renamed to bundler-graph.gemspec

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,16 @@
11
# frozen_string_literal: true
22

3-
require_relative "lib/bundler/viz/version"
3+
require_relative "lib/bundler/graph/version"
44

55
Gem::Specification.new do |spec|
6-
spec.name = "bundler-viz"
7-
spec.version = Bundler::Viz::VERSION
6+
spec.name = "bundler-graph"
7+
spec.version = Bundler::Graph::VERSION
88
spec.authors = ["Hiroshi SHIBATA"]
99
spec.email = ["[email protected]"]
1010

1111
spec.summary = ""
1212
spec.description = ""
13-
spec.homepage = "https://github.com/rubygems/bundler-viz"
13+
spec.homepage = "https://github.com/rubygems/bundler-graph"
1414
spec.license = "MIT"
1515
spec.required_ruby_version = ">= 2.4.0"
1616

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,7 @@
11
# frozen_string_literal: true
22

3-
require "bundler/plugin/api"
4-
53
module Bundler
6-
class Viz < Plugin::API
4+
class Graph
75
VERSION = "0.1.0"
86
end
97
end

lib/bundler/viz.rb renamed to lib/bundler/graph_cli.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,9 @@
44
require_relative "graph"
55

66
module Bundler
7-
class Viz < Plugin::API
7+
class GraphCLI < Plugin::API
88

9-
command "viz"
9+
command "graph"
1010

1111
def exec(command, options)
1212
# make sure we get the right `graphviz`. There is also a `graphviz`

plugins.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
# frozen_string_literal: true
22

3-
require "bundler/viz"
3+
require_relative "lib/bundler/graph_cli"

0 commit comments

Comments
 (0)