Hokkaido 0.0.6 → 0.0.9

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.
@@ -1,7 +1,7 @@
1
1
  #!/usr/bin/env ruby
2
2
  require 'commander/import'
3
3
  require 'Hokkaido'
4
- puts "Hokkaido v#{Hokkaido::VERSION} codename Northern Sea Circuit".colorize(:yellow)
4
+ puts "Hokkaido v#{Hokkaido::VERSION} codename Northern Sea Circuit" #.colorize(:yellow)
5
5
 
6
6
  program :name, "Hokkaido"
7
7
  program :version, '0.0.1'
@@ -13,12 +13,12 @@ command :port do |c|
13
13
  c.option '--sim', TrueClass, 'Does not edit the gem files. Good for hacking Hokkaido'
14
14
  c.action do |args, options|
15
15
  if Hokkaido.valid_input?(args)
16
- puts "Init Lib:".colorize(:blue)+" #{args[1]}"
17
- puts "Gem name:".colorize(:blue)+" #{args[0]}"
18
- say "Lib folder:".colorize(:blue)+" #{args[2]}"
16
+ puts "Init Lib: #{args[1]}"
17
+ puts "Gem name: #{args[0]}"
18
+ say "Lib folder: #{args[2]}"
19
19
  port = Hokkaido::Port.new(args, options)
20
20
  port.modify
21
- say "Gem modification complete. It will now be tested.".colorize(:yellow)
21
+ say "Gem modification complete. It will now be tested." #.colorize(:yellow)
22
22
  say Hokkaido.self_test_result(port)
23
23
  else
24
24
  say "I can't process that."
@@ -1,6 +1,6 @@
1
1
  require "Hokkaido/version"
2
2
  require 'gem_modifier'
3
- require 'term/ansicolor'
3
+ #require 'term/ansicolor'
4
4
 
5
5
  module Hokkaido
6
6
 
@@ -35,9 +35,9 @@ HEREDOC
35
35
 
36
36
  def self.self_test_result(port)
37
37
  if port.test
38
- puts "The #require removal was successful.".colorize(:green)
38
+ puts "The #require removal was successful.".green #.colorize(:green)
39
39
  else
40
- puts "The #require removal has failed.".colorize(:red)
40
+ puts "The #require removal has failed.".red #.colorize(:red)
41
41
  end
42
42
  end
43
43
 
@@ -1,3 +1,3 @@
1
1
  module Hokkaido
2
- VERSION = "0.0.6"
2
+ VERSION = "0.0.9"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: Hokkaido
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.6
4
+ version: 0.0.9
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: