jekyll-ftp 0.1.0 → 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +3 -1
- data/lib/jekyll-ftp/deploy.rb +2 -0
- data/lib/jekyll-ftp/version.rb +2 -2
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 005baaca5a1fb96e46e00c4e7132fd91b66b26ba
|
4
|
+
data.tar.gz: e00d7e33d8a10fadb9a97a6f69ed96aca66f1d95
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9f7a206fb75d506b488652d4910b5ec7e3a5ca87f866915cf0812d5be0f0351d53f3a113a003f23d7c1bfce2df6a354a3ae1dfdafe50d77dab3a0cd3faf087dc
|
7
|
+
data.tar.gz: aa998b1d545329a5892bf2ab4a5c2fdff35b6d110fc051c4efbbb21776bde4f3dc7bd88685f78b6b29a9ecdc5cf4008aa14c2b1c70b4ac2ba7a5e77059bb8f4c
|
data/README.md
CHANGED
@@ -5,7 +5,9 @@
|
|
5
5
|
* `jekyll-ftp clean` - Remove all the files from the preconfigured `remote_dir`.
|
6
6
|
|
7
7
|
## Configuring your `_config.yml` File
|
8
|
-
Since [Jekyll](https://github.com/mojombo/jekyll) uses `_config.yml`, Jekyll-FTP uses this too.
|
8
|
+
Since [Jekyll](https://github.com/mojombo/jekyll) uses `_config.yml`, Jekyll-FTP uses this too.
|
9
|
+
|
10
|
+
Jekyll-FTP needs 3 configuration settings:
|
9
11
|
* `username` - Your FTP server username.
|
10
12
|
* `server_url` - The URL for your FTP server (can also be an FTP).
|
11
13
|
* `remote_dir` - The remote directory where your site is to be deployed.
|
data/lib/jekyll-ftp/deploy.rb
CHANGED
@@ -41,9 +41,11 @@ module Jekyll_FTP
|
|
41
41
|
|
42
42
|
# Error handling over...
|
43
43
|
# Now deploy!
|
44
|
+
say "Logging in...".yellow
|
44
45
|
ftp = Net::FTP.new(server)
|
45
46
|
ftp.login(username, password)
|
46
47
|
ftp.chdir(remote_dir)
|
48
|
+
say "Logged in!".green
|
47
49
|
say "\nDeploying...".yellow unless deploy_now == false
|
48
50
|
|
49
51
|
# Delete old files.
|
data/lib/jekyll-ftp/version.rb
CHANGED
@@ -1,3 +1,3 @@
|
|
1
1
|
module Jekyll_FTP
|
2
|
-
VERSION = "0.1.
|
3
|
-
end
|
2
|
+
VERSION = "0.1.1"
|
3
|
+
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: jekyll-ftp
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jesse Herrick
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2013-10-
|
11
|
+
date: 2013-10-25 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: colorize
|