ro 1.3.4 → 1.3.5

Sign up to get free protection for your applications and to get access to all the features.
Files changed (5) hide show
  1. checksums.yaml +8 -8
  2. data/lib/ro.rb +1 -1
  3. data/lib/ro/git.rb +7 -0
  4. data/ro.gemspec +1 -1
  5. metadata +2 -2
checksums.yaml CHANGED
@@ -1,15 +1,15 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
3
  metadata.gz: !binary |-
4
- NTI4MGE3ZmJiMTNiMmQ1ODY3ZmQ1MGVjZDNkOGNkNzE5MTg1ZmE5NA==
4
+ YmNhMTUwNjIwODk1YjRiZTYwMjAzNjQ4MmJlZTA4ZjE5NzE2Y2ZhNA==
5
5
  data.tar.gz: !binary |-
6
- ZjZkMDlhOTIwOWEyMDcwYzQwZjUwYjc5MDI0ZTZiMzk4ZDg1NjVkMg==
6
+ NDA0M2FiZmQwN2JiZTc0YjU0NWExOTA1NDc2MWNkMzE4YmU4YzcyYw==
7
7
  !binary "U0hBNTEy":
8
8
  metadata.gz: !binary |-
9
- NTdmYTk2ZGU5ZTc5NTU5NWJmMjM2ZThiYjdjZjQ4Y2MzZDRmNDUzZDgyYmUw
10
- YTFhMTlkNWZlZTIwZmFjMzcxMmUxNmYxOWY5ZWIwNDg2MTdjMzk0MmM4ZDlk
11
- ODk2YTllYWU3NWZlNTgxOWFmMDhhMzc4MjBhZTYyMDA1MmMwOTI=
9
+ NjI4M2VhNzIzMDIzMDZhNWEzMmNiYzQ0YzJjOGNhYjc2ZWQ5YTVlN2VmZGE0
10
+ MjA5NzIyZGZiZWJiYTI5NWQ1OGJlNjE0MmE4NWVkNWI0NjAzZjZmYTVkNGVi
11
+ YWU5MmU4NTA0N2U2MjJlNjQ5MTc4YzY0MGUxNGM5NTQwODZlYjM=
12
12
  data.tar.gz: !binary |-
13
- ZGFjMDliMjAxOWM0OGRlMzQ0ZjI4M2RlMWYyNGM0ZTIyNTdmYzMwYTgzZjRk
14
- ODM0MTNmMWUxOTY2NTA4NDFiNDI4MDZhNjgyYjliNzYyMDRlMjM4ZGQzOWUx
15
- YzUyMDg0NTJiMmU2MGUxOGJkZTcyOGE0ZDczY2NkNjkwMWVhOTI=
13
+ MDIwYjZlZTViZjQ3NDBlNzYzOTIyNWMzM2U5MjNkM2NiOTBmN2Q5NTE0NTc3
14
+ NGIzNDRkNTc3MjgyNDk3OGYxZGIyNjEzMTRkMmVmOTI4Y2M0NjM2YmVkNTk1
15
+ MTQxZDcwMTQ4NGFkNTk4NDZhZGYyMDFiMzk0NDhiZGUwMjkxMjM=
data/lib/ro.rb CHANGED
@@ -10,7 +10,7 @@
10
10
 
11
11
  #
12
12
  module Ro
13
- Version = '1.3.4' unless defined?(Version)
13
+ Version = '1.3.5' unless defined?(Version)
14
14
 
15
15
  def version
16
16
  Ro::Version
data/lib/ro/git.rb CHANGED
@@ -92,9 +92,16 @@ module Ro
92
92
  #
93
93
  spawn("git checkout master", :raise => true)
94
94
 
95
+ #
96
+ spawn("git rebase --abort")
97
+ spawn("git am --abort")
98
+ FileUtils.rm_rf("#{ dot_git }/rebase-apply")
99
+
100
+ #
95
101
  status, stdout, stderr =
96
102
  spawn("git am --signoff --3way", :capture => true, :stdin => patch.data)
97
103
 
104
+ #
98
105
  patch.applied = !!(status == 0)
99
106
 
100
107
  # commit the patch back to the repo
data/ro.gemspec CHANGED
@@ -3,7 +3,7 @@
3
3
 
4
4
  Gem::Specification::new do |spec|
5
5
  spec.name = "ro"
6
- spec.version = "1.3.4"
6
+ spec.version = "1.3.5"
7
7
  spec.platform = Gem::Platform::RUBY
8
8
  spec.summary = "ro"
9
9
  spec.description = "description: ro kicks the ass"
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ro
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.3.4
4
+ version: 1.3.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ara T. Howard
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-02-06 00:00:00.000000000 Z
11
+ date: 2014-02-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: map