ora-cli 0.2.4 → 0.2.5

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: 038612610c4657b0173d81ec5dc68c196e99595b
4
- data.tar.gz: 731a4799e04a174c6e80e7d5ad0ec82791b6ba0a
3
+ metadata.gz: 507b9b589105165384636b713d9d0c3ce178d068
4
+ data.tar.gz: d9cf76f68eada80d4a11421fd87d95ba6352c9ca
5
5
  SHA512:
6
- metadata.gz: e61f4be2e3975c1c7c3a028149dd284804f475c4dde4fbf8ea773a0f7abb0d28c81ccdf4d4421d9ed89382f54a9db9ab4e5a6205dc168e5e4f26b71cd48eebde
7
- data.tar.gz: 50c50816ecca83b59e3495c1485b68216e2f4eb289cdc9766481b0c5d79b7aa3bb76b1181b0a8b19192764367e71642225bda078efff5a8a59091696d72960f2
6
+ metadata.gz: bc80ddd7872fe0988a2ce5434a3df92a26835595002923b0c6ce5504b35b70ce1c9d3f97d7774b0f6246a15a8e8b7a54dae71e2fa0199ba5921ac2ba5e307f7f
7
+ data.tar.gz: 8532c9b269030f683cb80eb8a5461949a950e274be798f7e774c499048db593f3509a1b3f00e6094fff273bf64b090a8c42e3dc30cd9e07bca7d152fa906b1c2
data/README.md CHANGED
@@ -21,17 +21,37 @@ A command line tool to automate development workflow in ORA
21
21
 
22
22
  ## Tasks
23
23
 
24
- `new_feature_branch`: Help to create a new branch from up-to-date develop branch
24
+ `new_feature_branch`: Create a new branch from up-to-date develop branch
25
25
 
26
- `push_feature_branch`: Help to push your feature branch to remote ready for pull request
26
+ `push_feature_branch`: Push current feature branch to remote ready for pull request
27
27
 
28
- `push_to_staging`: Help to push your feature branch to staging
28
+ `delete_feature_branch`: Delete current feature branch
29
29
 
30
- `push_to_uat`: Help to push your feature branch to uat
30
+ `push_to_staging`: Push current feature branch to staging
31
31
 
32
- `push_to_master`: Help to push develop to master with a version tag with a message including all new pull requests from the previous tag
32
+ `push_to_uat`: Push current feature branch to uat
33
33
 
34
- `switch_branch`: Help to switch branch without thinking about dirty files
34
+ `push_to_master`: Push develop to master with a version tag with a message including all new pull requests from the previous tag
35
+
36
+ `switch_branch`: Switch branch without thinking about dirty files
37
+
38
+ ## Custom develop branch
39
+
40
+ $ ora branch-name
41
+
42
+ You can parse a branch name to ora command to use it instead develop branch.
43
+ Useful when we need a second develop branch.
44
+
45
+ > push_to_master will still push from develop to master.
46
+
47
+ ## Error handling
48
+
49
+ $ ora
50
+
51
+ When a task is failed, you can resolve the issue and run `ora` again to continue.
52
+ Ora-cli uses a file `~/.ora_continue` to save the state when a task is failed.
53
+
54
+ > To continue a failed task using custom develop branch, you need to type the custom branch name as an argument.
35
55
 
36
56
  ## Contributing
37
57
 
@@ -1,7 +1,7 @@
1
1
  require 'ora/cli/task'
2
2
 
3
3
  module Ora::Cli
4
- class DeleteFeatureBranct < Task
4
+ class DeleteFeatureBranch < Task
5
5
  def commands
6
6
  '
7
7
  :feature_branch!
@@ -1,5 +1,5 @@
1
1
  module Ora
2
2
  module Cli
3
- VERSION = "0.2.4"
3
+ VERSION = "0.2.5"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ora-cli
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.4
4
+ version: 0.2.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ducksan Cho
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-11-11 00:00:00.000000000 Z
11
+ date: 2016-11-28 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler