capistrano-gity 1.0.1 → 1.0.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,15 +1,15 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
3
  metadata.gz: !binary |-
4
- MWE0MzA1MjljMTVlNGE1YzQwNWQ2NTk5MTk1YzNmOGVkNmI5ZWQ4OA==
4
+ YzgzNDEyMGZiNzJhOTcwOTIyYWQ5N2MzMmM2ZGU2NzkyZTIzOWNjOA==
5
5
  data.tar.gz: !binary |-
6
- MjdjYTQ5NGUwMGE1ZmIyODcxMWYxMjMzNjQ4ZTEyNTAxMzNiNjNlZQ==
6
+ MzgzYTQ5MWQ2ZDU0MmNhMzdiMGM5MjdiODM3YzMyMjJjZjdiYTBkZg==
7
7
  SHA512:
8
8
  metadata.gz: !binary |-
9
- Yzc5NWQ2YzU3YTYxMzFhY2EwZDVmY2VkYmQzZjk2NTBhNWIwOGE5ZTM3NGY2
10
- YzE0NTk3NWU2YWJjYmZkYmZjZjFkMWExZWUzY2RjN2M4YzAzMjFlMzg0NWIx
11
- YjllYzY5YWYwMmNmMGNlNzI5ODYzZjk3ODE1NjMwYTdiYzljZDI=
9
+ MjNlMDQ3ZDE0MTFmNDAwZDZlY2YzY2ZmOTA2ZDY0YmY3OWM3OWQwZWVhODhl
10
+ MTY5YmNiN2YwMzU0NWNlMzBmYjM1M2VhNzcyNTVjM2VjNzk4NjU1ZGIyYmJh
11
+ MzBmNDRiYjE3ZTZlYjZkZThkODZkZDg3YWQ2NTAwN2E0ZTcwYTI=
12
12
  data.tar.gz: !binary |-
13
- YjczNGNlMzI3ZmY0NjM4MzAzNzVhNDdjOWRkNzIwOTBiNTcwMzQzZjNjZDgz
14
- NzA0NzRkMmY0YjgyNTc1NWM2ZjlhNTk3MzkxMDk2NDgwMWYwYmY5MmM5ODgy
15
- MGU2MGU5ZjRiYjhjZWVlZjY4MmZkOWIzZTI5NWIxZmZkNTlhZDg=
13
+ YTdlMTQ5OTlmMDMwOWI0OTk4NTk5YzYwYTk4YTc1YThmMTZiNzRlYWY4NjUy
14
+ NDQxZjYxY2EwYzFhNmU0MzA3NTg0ZWFiODQ2MTNjYjI3MmU2ZjNjOWM0ZGM0
15
+ Mzc4ODY3OGVjNTliZjE2MDk3OWM3ZTRiMWMyMDU5MjBjNjI3N2I=
data/README.md CHANGED
@@ -8,7 +8,7 @@ Add this in your Gemfile:
8
8
 
9
9
  ```ruby
10
10
  gem 'capistrano', '~> 3.1'
11
- gem 'capistrano-gity', '~> 0.6.0'
11
+ gem 'capistrano-gity', '~> 1.0.2'
12
12
  ```
13
13
 
14
14
  # Usage
@@ -4,7 +4,7 @@ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
4
 
5
5
  Gem::Specification.new do |s|
6
6
  s.name = 'capistrano-gity'
7
- s.version = '1.0.1'
7
+ s.version = '1.0.2'
8
8
  s.authors = ['Skroutz.gr Team']
9
9
  s.date = '2012-05-21'
10
10
  s.email = 'yatiohi@ideopolis.gr'
@@ -110,7 +110,7 @@ namespace :gity do
110
110
  def quit?
111
111
  return false if !fetch(:check_master)
112
112
 
113
- upstream_master = `git rev-parse --short #{fetch(:remote)}/master`
113
+ upstream_master = `git rev-parse --short #{fetch(:remote)}/master`.chomp
114
114
  commit_id = fetch(:commit_id)
115
115
  if commit_id != upstream_master
116
116
  puts <<-MSG
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: capistrano-gity
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.1
4
+ version: 1.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Skroutz.gr Team