hyde-ftp 0.2.1 → 0.2.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. data/hyde-ftp.gemspec +1 -1
  2. data/lib/hyde.rb +11 -10
  3. metadata +1 -1
data/hyde-ftp.gemspec CHANGED
@@ -4,7 +4,7 @@ Gem::Specification.new do |s|
4
4
  s.rubygems_version = '1.3.5'
5
5
 
6
6
  s.name = 'hyde-ftp'
7
- s.version = '0.2.1'
7
+ s.version = '0.2.2'
8
8
  s.license = 'MIT'
9
9
  s.date = '2013-06-11'
10
10
 
data/lib/hyde.rb CHANGED
@@ -50,22 +50,23 @@ class Jekyll
50
50
  ftp.quit
51
51
 
52
52
  rescue
53
- puts "Invalid/nonexistant config file."
54
- puts "Usage: hyde deploy _config.yml"
53
+ puts " Incorrectly configured or nonexistant config file."
54
+ puts " Usage: hyde deploy _config.yml"
55
55
  end
56
56
 
57
57
  def help()
58
58
  command2 = ARGV[1]
59
59
  case command2
60
60
  when "deploy"
61
- puts "Build Jekyll site and deploy via FTP."
62
- puts "Usage: hyde deploy _config.yml"
61
+ puts " Build Jekyll site and deploy via FTP."
62
+ puts " Usage: hyde deploy _config.yml"
63
63
  when "new_site"
64
- puts "Create a new Jekyll site."
65
- puts "Usage: hyde new site_name"
64
+ puts " Create a new Jekyll site."
65
+ puts " Usage: hyde new site_name"
66
66
  else
67
- puts "Commands:"
68
- puts " deploy\n new_site"
67
+ puts " Commands:"
68
+ puts " deploy _config.yml"
69
+ puts " new_site siteName"
69
70
  end
70
71
  end
71
72
  end
@@ -75,12 +76,12 @@ case command1
75
76
  when "deploy"
76
77
  $jekyll.deploy
77
78
  when "new_site"
78
- $jekyll.new_site
79
+ $jekyll.new_site(ARGV[1])
79
80
  when "help"
80
81
  $jekyll.help
81
82
  when "list"
82
83
  %x( hyde help )
83
84
  else
84
- puts "You didn't give me a command.\nRun 'hyde help' to see a command list."
85
+ puts " You didn't give me a command.\n Run 'hyde help' to see a command list."
85
86
  end
86
87
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: hyde-ftp
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.1
4
+ version: 0.2.2
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: