sfb_scripts 1.0.0 → 1.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/bin/app_up +3 -3
  3. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 37feb93572e3de507db54fb6a99028c40e3cb35d
4
- data.tar.gz: 108e6cc518c42438b967c84dcab6071ca033816d
3
+ metadata.gz: 34eeb3943447a2665817761596d5efe3ba5098d1
4
+ data.tar.gz: c3ef9ee6c141a46c3bde5574ed31df2a7535f769
5
5
  SHA512:
6
- metadata.gz: 2e4342556ab9a7b92933310ba7661b27ce371b32fd29ae938a43ead87c1d30c357f9f22a98e0aa208ac29a6de9ac6a49fb544254ea0ad1d07755328ca1399abb
7
- data.tar.gz: 9305964ae8a97f4f234e388ad53f611e697b7608c4c9d0f779a3a717b715e0d5a9e56313de02827124172f10874298bd6687618983af045375a06a4b7ba8a8cd
6
+ metadata.gz: 9cb395d46b472bb604c51edde3ac0349700d85e18bef67092c609a9bc8467907dec1ea81be584043b54e2ab96888bc36cc720d5b7d7505cb6f98386608b06323
7
+ data.tar.gz: 3d47e212846d67f2f3dbf3c7b8975387498172e6ee0fae82f001e2f27b4b632925432bc5aae20e866666a2829c86dae271df26882d29a0225ae4acb1092015c0
data/bin/app_up CHANGED
@@ -14,15 +14,15 @@ class CLI < Thor
14
14
  option :no_git, aliases: ['--no-pull', '--no-rebase'], :type => :boolean, :desc => "Don't update the repo, just bundle and migrate everywhere."
15
15
  option :ignore, type: :array, desc: "Directories matching this pattern will be ignored. Example: 'app_up --ignore engines' will not bundle or migrate in a directory matching the word engines. You can specify multiple patterns: 'app_up --ignore dir1 dir2"
16
16
  option :on_branch, desc: "Rebase the current branch onto it's upstream counterpart. [Example: While on branch (feature_branch), using the --on-branch flag will yield the git command: 'git pull --rebase origin feature_branch'", default: 'master', default: false
17
- option :git_action, desc: "Specify what command to pass to git [Example: app_up --git-action 'pull --rebase origin branch_name']. Defaults to 'pull --rebase origin master'."
17
+ option :action, desc: "Specify what command to pass to git [Example: app_up --git-action 'pull --rebase origin branch_name']. Defaults to 'pull --rebase origin master'."
18
18
 
19
19
  def up
20
20
  if options[:no_git]
21
21
  Upper.no_git(options)
22
22
  elsif options[:on_branch]
23
23
  Upper.rebase_on_branch!(options)
24
- elsif options[:git_action]
25
- Upper.arbitrary_action!(options[:git_action], options)
24
+ elsif options[:action]
25
+ Upper.arbitrary_action!(options[:action], options)
26
26
  else
27
27
  Upper.rebase_on_master!(options)
28
28
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sfb_scripts
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ version: 1.1.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Pete Kinnecom