hyde-ftp 0.1.11 → 0.2.0

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.
Files changed (3) hide show
  1. data/hyde-ftp.gemspec +1 -1
  2. data/lib/hyde.rb +4 -1
  3. metadata +1 -1
@@ -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.1.11'
7
+ s.version = '0.2.0'
8
8
  s.license = 'MIT'
9
9
  s.date = '2013-06-11'
10
10
 
@@ -29,7 +29,6 @@ class Jekyll
29
29
  end
30
30
 
31
31
  def deploy()
32
-
33
32
  # Declare Instance Variables
34
33
  config = YAML.load(File.read(ARGV[1]))
35
34
 
@@ -49,6 +48,10 @@ class Jekyll
49
48
  mirror @local_dir, ftp
50
49
 
51
50
  ftp.quit
51
+
52
+ rescue
53
+ puts "Invalid/nonexistant config file."
54
+ puts "Usage: hyde deploy _config.yml"
52
55
  end
53
56
 
54
57
  def help()
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.1.11
4
+ version: 0.2.0
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: