git-runner-deploy 0.1.3 → 0.1.4

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. checksums.yaml +7 -0
  2. data/README.md +16 -1
  3. data/lib/git-runner-deploy.rb +2 -2
  4. metadata +9 -13
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: d241d9e4e915e7235707ccd65e5b0ea61f5718d8
4
+ data.tar.gz: f1f7e668645e336bacecd51724585f61460760cb
5
+ SHA512:
6
+ metadata.gz: 281bc73e50c4ba87f0bb5778d42a3013f926eddcde9f14080d6fb8f469f978aec86b4ed569e91c1c4aed5d7f84cd0ce2c58691205a099af71d8223783e1926f7
7
+ data.tar.gz: 10bedca6cfdb1763aefc58c815331733bf6d73fbe36effee74a78f445f8c064284d0b3e449f7a0ac046891c518c397981068712ae9822f0840f1424517d5ad86
data/README.md CHANGED
@@ -12,8 +12,23 @@ Added deployment functionality (using capistrano) to be integrated into Git Runn
12
12
  $ gem install git-runner-deploy
13
13
 
14
14
  ## Usage
15
+ At the top of your deploy file (e.g. config/deploy.rb):
15
16
 
16
- TODO: Write usage instructions
17
+ ##### To deploy all branches
18
+ ````
19
+ # GitRunner: Deploy
20
+ ````
21
+
22
+ ##### To only deploy specific branches
23
+ ````
24
+ # GitRunner: Deploy master staging
25
+ ````
26
+
27
+ ## Multistage
28
+ Capistrano multistage configurations are automatically detected. In the case of multistage the branch name is used to determine which stage should be deployed. In the case of the master branch the stage name `production` is used. For every other branch that branches name is used as the deploy stage, e.g:
29
+
30
+ * `master` -> `cap production deploy`
31
+ * `staging` -> `cap staging deploy`
17
32
 
18
33
  ## Contributing
19
34
 
@@ -7,7 +7,7 @@ module GitRunner
7
7
 
8
8
  # Performs deployments using capistrano (cap deploy)
9
9
  class Deploy < Base
10
- VERSION = '0.1.3'
10
+ VERSION = '0.1.4'
11
11
 
12
12
  attr_accessor :clone_directory
13
13
 
@@ -72,7 +72,7 @@ module GitRunner
72
72
  "git fetch origin",
73
73
  "git fetch --tags origin",
74
74
  "git reset --hard #{revision}",
75
- "git clean -d -x -f"
75
+ "git clean -x -f"
76
76
  )
77
77
  else
78
78
  Text.out("Checking out #{branch.name} to #{clone_directory} (fresh clone)")
metadata CHANGED
@@ -1,30 +1,27 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: git-runner-deploy
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.3
5
- prerelease:
4
+ version: 0.1.4
6
5
  platform: ruby
7
6
  authors:
8
7
  - James Brooks
9
8
  autorequire:
10
9
  bindir: bin
11
10
  cert_chain: []
12
- date: 2012-10-26 00:00:00.000000000 Z
11
+ date: 2013-07-05 00:00:00.000000000 Z
13
12
  dependencies:
14
13
  - !ruby/object:Gem::Dependency
15
14
  name: git-runner
16
15
  requirement: !ruby/object:Gem::Requirement
17
- none: false
18
16
  requirements:
19
- - - ! '>='
17
+ - - '>='
20
18
  - !ruby/object:Gem::Version
21
19
  version: 0.1.2
22
20
  type: :runtime
23
21
  prerelease: false
24
22
  version_requirements: !ruby/object:Gem::Requirement
25
- none: false
26
23
  requirements:
27
- - - ! '>='
24
+ - - '>='
28
25
  - !ruby/object:Gem::Version
29
26
  version: 0.1.2
30
27
  description: Capistrano deploy module for git-runner
@@ -43,26 +40,25 @@ files:
43
40
  - lib/git-runner-deploy.rb
44
41
  homepage: https://github.com/JamesBrooks/git-runner-deploy
45
42
  licenses: []
43
+ metadata: {}
46
44
  post_install_message:
47
45
  rdoc_options: []
48
46
  require_paths:
49
47
  - lib
50
48
  required_ruby_version: !ruby/object:Gem::Requirement
51
- none: false
52
49
  requirements:
53
- - - ! '>='
50
+ - - '>='
54
51
  - !ruby/object:Gem::Version
55
52
  version: '0'
56
53
  required_rubygems_version: !ruby/object:Gem::Requirement
57
- none: false
58
54
  requirements:
59
- - - ! '>='
55
+ - - '>='
60
56
  - !ruby/object:Gem::Version
61
57
  version: '0'
62
58
  requirements: []
63
59
  rubyforge_project:
64
- rubygems_version: 1.8.24
60
+ rubygems_version: 2.0.0
65
61
  signing_key:
66
- specification_version: 3
62
+ specification_version: 4
67
63
  summary: Capistrano deploy module for git-runner
68
64
  test_files: []