octopress-deploy 1.2.2 → 1.2.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -1
- data/lib/octopress-deploy/commands.rb +7 -7
- data/lib/octopress-deploy/version.rb +1 -1
- 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: f4b4725ad3e2d0fc962dc388610eda7049aaad5e
|
4
|
+
data.tar.gz: 7a224d84409eddcae184ba31990a5acea37c227f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 60726e955aab6ed9db2f858108c2f891086a4bf92dc5d4620b53ad61d439dd367520bc45aeffd06813fb531572c9b690cd6cc3f2cd0f10727926e10424bd5364
|
7
|
+
data.tar.gz: bb9162e8b8370b065fc2a827f5be678eec980d7f811f78b0f47767d816defbce9381d0c54154768a4035384f89b8953daf9f98392ebc13a018a6a72aae9c9b24
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,9 @@
|
|
1
1
|
# Changelog
|
2
2
|
|
3
|
-
### 1.2.
|
3
|
+
### 1.2.3 - 2015-05-01
|
4
|
+
- Minor: Added short flags for --config and --force
|
5
|
+
|
6
|
+
### 1.2.2 - 2015-04-28
|
4
7
|
- Fix: On deploy init git, moved git URL from option to argument since it is required.
|
5
8
|
- Minor: Now preventing deploy to working branch, complete with helpful error message.
|
6
9
|
|
@@ -6,7 +6,7 @@ module Octopress
|
|
6
6
|
c.syntax "deploy [options]"
|
7
7
|
c.version Deploy::VERSION
|
8
8
|
c.description "Deploy your Octopress site."
|
9
|
-
c.option "config_file", "--config FILE", "The path to your config file (default: _deploy.yml)"
|
9
|
+
c.option "config_file", "-c", "--config FILE", "The path to your config file (default: _deploy.yml)"
|
10
10
|
|
11
11
|
c.action do |args, options|
|
12
12
|
Octopress::Deploy.push(options)
|
@@ -15,8 +15,8 @@ module Octopress
|
|
15
15
|
c.command(:pull) do |c|
|
16
16
|
c.syntax "pull <DIR>"
|
17
17
|
c.description "Pull down the published copy of your site into DIR"
|
18
|
-
c.option 'force', '--force', 'Overwrite existing files on pull'
|
19
|
-
c.option "config_file", "--config FILE", "The path to your config file (default: _deploy.yml)"
|
18
|
+
c.option 'force', '-f', '--force', 'Overwrite existing files on pull'
|
19
|
+
c.option "config_file", "-c", "--config FILE", "The path to your config file (default: _deploy.yml)"
|
20
20
|
|
21
21
|
c.action do |args, options|
|
22
22
|
options['dir'] = args.first
|
@@ -33,7 +33,7 @@ module Octopress
|
|
33
33
|
c.description "Create an rsync deployment configuration file."
|
34
34
|
c.option 'user', '-u', '--user USER', 'SSH user (e.g. username@host.org)'
|
35
35
|
c.option 'port', '-p', '--port PORT', 'SSH port (default: 22)'
|
36
|
-
c.option 'flags', '-
|
36
|
+
c.option 'flags', '-F', '--flags FLAGS', 'Flags to pass to Rsync command (default: -avz)'
|
37
37
|
c.option 'remote_path', '--dir DIR', 'Path to site directory on host (e.g. ~/webroot/)'
|
38
38
|
c.option 'delete', '--delete', 'Sync file deletion'
|
39
39
|
add_common_init_options(c)
|
@@ -92,7 +92,7 @@ module Octopress
|
|
92
92
|
c.option 'region','--region REGION','Choose a region. (Defaults: to region in config file)'
|
93
93
|
c.option 'index_page','--index PAGE','Specify an index page. (Default: index.html)'
|
94
94
|
c.option 'error_page','--error PAGE','Specify an error page. (Default: 404.html)'
|
95
|
-
c.option "config_file", "--config FILE", "The path to your config file (default: _deploy.yml)"
|
95
|
+
c.option "config_file", "-c", "--config FILE", "The path to your config file (default: _deploy.yml)"
|
96
96
|
|
97
97
|
c.action do |args, options|
|
98
98
|
options['bucket_name'] = args.first
|
@@ -104,8 +104,8 @@ module Octopress
|
|
104
104
|
|
105
105
|
def self.add_common_init_options(c)
|
106
106
|
c.option 'site_dir', '--site', 'Path to generated site (default: _site).'
|
107
|
-
c.option 'force', '--force', 'Overwrite any exiting config file.'
|
108
|
-
c.option 'config_file', '--config FILE', 'Choose a config file name. (default. _deploy.yml)'
|
107
|
+
c.option 'force', '-f', '--force', 'Overwrite any exiting config file.'
|
108
|
+
c.option 'config_file', "-c", '--config FILE', 'Choose a config file name. (default. _deploy.yml)'
|
109
109
|
end
|
110
110
|
end
|
111
111
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: octopress-deploy
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.2.
|
4
|
+
version: 1.2.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Brandon Mathis
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-
|
11
|
+
date: 2015-05-01 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: colorator
|