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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 5193cab4ce08ed883a01384d2c19594fc38a5864
4
- data.tar.gz: c024077ddeab7a639be25ed7c7b77bc4df94564e
3
+ metadata.gz: f4b4725ad3e2d0fc962dc388610eda7049aaad5e
4
+ data.tar.gz: 7a224d84409eddcae184ba31990a5acea37c227f
5
5
  SHA512:
6
- metadata.gz: c328742b9202f1a5690730b8e3ccc1f7989cb46caf423336416c9aefe85234953019724d70ebca6bc3ea01acbc1388523792c3c2f09ac480002a7904e36080be
7
- data.tar.gz: 2bed2d3d3bf4c6ea848ed085d7c1abc576e0b2e3637db47ade8dc8556c935b900009edbe226e8ff3b4829707adb968f33c4312ec7b6069c0d9d5818ab01f5022
6
+ metadata.gz: 60726e955aab6ed9db2f858108c2f891086a4bf92dc5d4620b53ad61d439dd367520bc45aeffd06813fb531572c9b690cd6cc3f2cd0f10727926e10424bd5364
7
+ data.tar.gz: bb9162e8b8370b065fc2a827f5be678eec980d7f811f78b0f47767d816defbce9381d0c54154768a4035384f89b8953daf9f98392ebc13a018a6a72aae9c9b24
@@ -1,6 +1,9 @@
1
1
  # Changelog
2
2
 
3
- ### 1.2.1 - 2015-04-28
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', '-f', '--flags FLAGS', 'Flags to pass to Rsync command (default: -avz)'
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
@@ -1,5 +1,5 @@
1
1
  module Octopress
2
2
  module Deploy
3
- VERSION = "1.2.2"
3
+ VERSION = "1.2.3"
4
4
  end
5
5
  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.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-04-28 00:00:00.000000000 Z
11
+ date: 2015-05-01 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: colorator