git-runner 0.1.2 → 0.1.3

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: 7a10e80ae51b76c698b01112d4ce9e83fb682b26
4
+ data.tar.gz: 612fd10eebabaa569632d4828c86b91b9402e202
5
+ SHA512:
6
+ metadata.gz: 034cee972df2a9f27ddde4c60662d41918ac7b761d51752a77f9865a440a217cfe767c4a61d732217ccd1a9b573375f5eac4ec252f34e22ac329a83d6142d26a
7
+ data.tar.gz: 022bad902f351438f1119091e265f76a0a43ce1e8cdf90c687b8dfab84684efef2bc1ccb22d6834d66e35c4af3451a73909133878f61684652f86af7f87ac478
data/README.md CHANGED
@@ -9,14 +9,14 @@ It works by having the git server-side post-update hook (`hooks/post-update`) in
9
9
 
10
10
  Git Runner instructions are distrubuted as separate gems, see **Available Instructions** below for what instructions are currently available for use.
11
11
 
12
- Have a look at this short [demonistration video](http://ascii.io/a/1349) for what it looks like for a user pushing to a Git Runner enabled repository (using `git-runner-deploy`).
12
+ Have a look at this short [demonstration video](http://ascii.io/a/1349) for what it looks like for a user pushing to a Git Runner enabled repository (using `git-runner-deploy`).
13
13
 
14
14
 
15
15
  ## Why?
16
16
 
17
17
  #### Origins
18
18
 
19
- Git Runner originated from a need to simply the deployment process (capistrano) within my organisation for people who don't have their environments setup with ruby and the required gems. I wanted to make the process work for even those who are using GUI git clients.
19
+ Git Runner originated from a need to simplify the deployment process (capistrano) within my organisation for people who don't have their environments setup with ruby and the required gems. I wanted to make the process work for even those who are using GUI git clients.
20
20
 
21
21
 
22
22
  #### Wouldn't a simple script do the job?
@@ -24,6 +24,9 @@ module GitRunner
24
24
 
25
25
  private
26
26
  def extract_instructions
27
+ # Check if the instructions file exists
28
+ return unless File.exist?(File.join(repository_path, Configuration.instruction_file))
29
+
27
30
  # Use git to grep the current branch for instruction lines within the specific instruction file
28
31
  output = Command.execute(
29
32
  "cd #{repository_path}",
@@ -1,3 +1,3 @@
1
1
  module GitRunner
2
- VERSION = '0.1.2'
2
+ VERSION = '0.1.3'
3
3
  end
metadata CHANGED
@@ -1,30 +1,27 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: git-runner
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.2
5
- prerelease:
4
+ version: 0.1.3
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-02-26 00:00:00.000000000 Z
13
12
  dependencies:
14
13
  - !ruby/object:Gem::Dependency
15
14
  name: session
16
15
  requirement: !ruby/object:Gem::Requirement
17
- none: false
18
16
  requirements:
19
- - - ! '>='
17
+ - - '>='
20
18
  - !ruby/object:Gem::Version
21
19
  version: 3.1.0
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: 3.1.0
30
27
  description: GitRunner is a ruby framework to implement and run tasks after code has
@@ -58,26 +55,25 @@ files:
58
55
  - lib/git-runner/version.rb
59
56
  homepage: https://github.com/JamesBrooks/git-runner
60
57
  licenses: []
58
+ metadata: {}
61
59
  post_install_message:
62
60
  rdoc_options: []
63
61
  require_paths:
64
62
  - lib
65
63
  required_ruby_version: !ruby/object:Gem::Requirement
66
- none: false
67
64
  requirements:
68
- - - ! '>='
65
+ - - '>='
69
66
  - !ruby/object:Gem::Version
70
67
  version: '0'
71
68
  required_rubygems_version: !ruby/object:Gem::Requirement
72
- none: false
73
69
  requirements:
74
- - - ! '>='
70
+ - - '>='
75
71
  - !ruby/object:Gem::Version
76
72
  version: '0'
77
73
  requirements: []
78
74
  rubyforge_project:
79
- rubygems_version: 1.8.24
75
+ rubygems_version: 2.0.0
80
76
  signing_key:
81
- specification_version: 3
77
+ specification_version: 4
82
78
  summary: Ruby framework to run tasks after code has been pushed to a Git repository.
83
79
  test_files: []