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.153 lib/tasks/pull.rb
dev-2.1.152 lib/tasks/pull.rb
dev-2.1.151 lib/tasks/pull.rb
dev-2.1.150 lib/tasks/pull.rb
dev-2.1.149 lib/tasks/pull.rb
dev-2.1.148 lib/tasks/pull.rb
dev-2.1.147 lib/tasks/pull.rb
dev-2.1.146 lib/tasks/pull.rb
dev-2.1.145 lib/tasks/pull.rb
dev-2.1.144 lib/tasks/pull.rb
dev-2.1.143 lib/tasks/pull.rb
dev-2.1.142 lib/tasks/pull.rb
dev-2.1.141 lib/tasks/pull.rb
dev-2.1.140 lib/tasks/pull.rb
dev-2.1.139 lib/tasks/pull.rb
dev-2.1.137 lib/tasks/pull.rb
dev-2.1.136 lib/tasks/pull.rb
dev-2.1.135 lib/tasks/pull.rb
dev-2.1.134 lib/tasks/pull.rb
dev-2.1.133 lib/tasks/pull.rb