Sha256: c713aa86d2a859279b81517a65d539b5902814ffec24740d4cd029b9ed5c955c

Contents?: true

Size: 290 Bytes

Versions: 113

Compression:

Stored size: 290 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

113 entries across 113 versions & 1 rubygems

Version Path
dev-2.1.112 lib/tasks/pull.rb
dev-2.1.111 lib/tasks/pull.rb
dev-2.1.110 lib/tasks/pull.rb
dev-2.1.109 lib/tasks/pull.rb
dev-2.1.108 lib/tasks/pull.rb
dev-2.1.107 lib/tasks/pull.rb
dev-2.1.106 lib/tasks/pull.rb
dev-2.1.105 lib/tasks/pull.rb
dev-2.1.104 lib/tasks/pull.rb
dev-2.1.103 lib/tasks/pull.rb
dev-2.1.102 lib/tasks/pull.rb
dev-2.1.101 lib/tasks/pull.rb
dev-2.1.100 lib/tasks/pull.rb
dev-2.1.99 lib/tasks/pull.rb
dev-2.1.98 lib/tasks/pull.rb
dev-2.1.97 lib/tasks/pull.rb
dev-2.1.96 lib/tasks/pull.rb
dev-2.1.95 lib/tasks/pull.rb
dev-2.1.94 lib/tasks/pull.rb
dev-2.1.93 lib/tasks/pull.rb