necktie 0.3.2 → 0.3.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.
Files changed (3) hide show
  1. data/lib/necktie/rake.rb +2 -2
  2. data/necktie.gemspec +1 -1
  3. metadata +1 -1
data/lib/necktie/rake.rb CHANGED
@@ -15,10 +15,10 @@ module Necktie
15
15
  init
16
16
  repo = File.expand_path(".necktie")
17
17
  if File.exist?(repo)
18
- if options.pull
18
+ Dir.chdir repo do
19
19
  puts "Pulling latest updates ..."
20
20
  sh "git pull origin #{ENV["BRANCH"] || "master"}", :verbose=>false
21
- end
21
+ end if options.pull
22
22
  else
23
23
  git_url = ENV["GIT_URL"] or fail "Need GIT_URL variable to point to Git repository, can't clone without it"
24
24
  puts "Cloning #{git_url} to #{repo}"
data/necktie.gemspec CHANGED
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |spec|
2
2
  spec.name = "necktie"
3
- spec.version = "0.3.2"
3
+ spec.version = "0.3.3"
4
4
  spec.author = "Assaf Arkin"
5
5
  spec.email = "assaf@labnotes.org"
6
6
  spec.homepage = ""
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: necktie
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.2
4
+ version: 0.3.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Assaf Arkin