git-runner 0.1.3 → 0.1.3.1

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: 7a10e80ae51b76c698b01112d4ce9e83fb682b26
4
- data.tar.gz: 612fd10eebabaa569632d4828c86b91b9402e202
3
+ metadata.gz: 1d13be1c683410da35909d3e8c1d7fbe9c3b8303
4
+ data.tar.gz: d647f6bbe2b51f241eab19555a31eadd2a8d94b3
5
5
  SHA512:
6
- metadata.gz: 034cee972df2a9f27ddde4c60662d41918ac7b761d51752a77f9865a440a217cfe767c4a61d732217ccd1a9b573375f5eac4ec252f34e22ac329a83d6142d26a
7
- data.tar.gz: 022bad902f351438f1119091e265f76a0a43ce1e8cdf90c687b8dfab84684efef2bc1ccb22d6834d66e35c4af3451a73909133878f61684652f86af7f87ac478
6
+ metadata.gz: e8da9af3b157a3c08fa6d23c6d2ddfc9b9af9423a597674ff6a98702df08c21abbe1243d0a7a89db7e4b0faa1201c44cae70b81df5377d0002b6dd5de174443f
7
+ data.tar.gz: ce7859f4e0058105db57c2915009b16adaf9c7d739beb3652916477ae507b9b87ae21f2010bfb3dcc5ed8695049e2de0e544d02714e0a7847bb64b603895bd63
@@ -24,9 +24,6 @@ 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
-
30
27
  # Use git to grep the current branch for instruction lines within the specific instruction file
31
28
  output = Command.execute(
32
29
  "cd #{repository_path}",
@@ -35,8 +32,12 @@ module GitRunner
35
32
 
36
33
  # Process the output to generate instructions
37
34
  output.split("\n").map do |line|
38
- Instruction.from_raw(line).tap do |instruction|
39
- instruction.branch = self
35
+ begin
36
+ Instruction.from_raw(line).tap do |instruction|
37
+ instruction.branch = self
38
+ end
39
+
40
+ rescue
40
41
  end
41
42
  end
42
43
  end
@@ -1,3 +1,3 @@
1
1
  module GitRunner
2
- VERSION = '0.1.3'
2
+ VERSION = '0.1.3.1'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: git-runner
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.3
4
+ version: 0.1.3.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - James Brooks
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2013-02-26 00:00:00.000000000 Z
11
+ date: 2013-02-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: session