Sha256: 726eae578978ed66ebb9b494f439b36c9b5e670a043ad43406f21718cc7abf36

Contents?: true

Size: 251 Bytes

Versions: 56

Compression:

Stored size: 251 Bytes

Contents

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

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

Version data entries

56 entries across 56 versions & 1 rubygems

Version Path
dev-2.1.31 lib/tasks/pull.rb
dev-2.1.30 lib/tasks/pull.rb
dev-2.1.29 lib/tasks/pull.rb
dev-2.1.28 lib/tasks/pull.rb
dev-2.1.27 lib/tasks/pull.rb
dev-2.1.26 lib/tasks/pull.rb
dev-2.1.25 lib/tasks/pull.rb
dev-2.1.24 lib/tasks/pull.rb
dev-2.1.23 lib/tasks/pull.rb
dev-2.1.22 lib/tasks/pull.rb
dev-2.1.21 lib/tasks/pull.rb
dev-2.1.20 lib/tasks/pull.rb
dev-2.1.19 lib/tasks/pull.rb
dev-2.1.18 lib/tasks/pull.rb
dev-2.1.17 lib/tasks/pull.rb
dev-2.1.16 lib/tasks/pull.rb
dev-2.1.15 lib/tasks/pull.rb
dev-2.1.14 lib/tasks/pull.rb
dev-2.1.13 lib/tasks/pull.rb
dev-2.1.12 lib/tasks/pull.rb