pushdeploy 0.0.2 → 0.0.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -18,13 +18,13 @@
18
18
  # which lauches bundler, migrate and other commands that you specified.
19
19
  #
20
20
 
21
- repository=`git config --get remote.origin.url`
21
+ repository = `git config --get remote.origin.url`.chomp
22
22
 
23
23
  rvm_path = ENV['rvm_path']
24
- rvm_string = rvm_path.nil? ? nil : `rvm current`
24
+ rvm_string = rvm_path.nil? ? nil : `rvm current`.chomp
25
25
  current_path = `pwd`.chop
26
26
 
27
- if ! File.directory?(repository) || ARGV[0] == '-m'
27
+ if !File.directory?(repository) || ARGV[0] == '-m'
28
28
 
29
29
  if ! File.directory?(repository)
30
30
  puts "\n\e[00;31m*** Can't locate your git repository. ***\e[00m"
@@ -1,3 +1,3 @@
1
1
  module Pushdeploy
2
- VERSION = "0.0.2"
2
+ VERSION = "0.0.3"
3
3
  end
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: pushdeploy
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: 0.0.2
5
+ version: 0.0.3
6
6
  platform: ruby
7
7
  authors:
8
8
  - Artem Yankov