Sha256: db587e172f5488d9f03a9fbb69c366e583555cf6e26cdc31f3ea5ae63ad4ee02

Contents?: true

Size: 279 Bytes

Versions: 5

Compression:

Stored size: 279 Bytes

Contents

desc 'performs a git pull'
task :pull do Tasks.execute_task :pull; end

class Pull < Array
	def update
		if(!defined?(NO_PULL))
		  if(File.exists?('.git') && `git config --list`.include?('user.name=') )
			add_passive('git pull') if Git.branch == 'master'
		  end
		end
	end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
dev-2.1.75 lib/tasks/pull.rb
dev-2.1.74 lib/tasks/pull.rb
dev-2.1.73 lib/tasks/pull.rb
dev-2.1.72 lib/tasks/pull.rb
dev-2.1.71 lib/tasks/pull.rb