Sha256: 8ff2a62057420b92da820111321b9969a0135d2bed25634a6a4abf96199ff272

Contents?: true

Size: 324 Bytes

Versions: 118

Compression:

Stored size: 324 Bytes

Contents

puts __FILE__ if defined?(DEBUG)


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

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

Version data entries

118 entries across 118 versions & 1 rubygems

Version Path
dev-2.0.268 lib/tasks/pull.rb
dev-2.0.267 lib/tasks/pull.rb
dev-2.0.266 lib/tasks/pull.rb
dev-2.0.265 lib/tasks/pull.rb
dev-2.0.264 lib/tasks/pull.rb
dev-2.0.263 lib/tasks/pull.rb
dev-2.0.262 lib/tasks/pull.rb
dev-2.0.261 lib/tasks/pull.rb
dev-2.0.260 lib/tasks/pull.rb
dev-2.0.259 lib/tasks/pull.rb
dev-2.0.258 lib/tasks/pull.rb
dev-2.0.257 lib/tasks/pull.rb
dev-2.0.256 lib/tasks/pull.rb
dev-2.0.255 lib/tasks/pull.rb
dev-2.0.254 lib/tasks/pull.rb
dev-2.0.253 lib/tasks/pull.rb
dev-2.0.252 lib/tasks/pull.rb
dev-2.0.251 lib/tasks/pull.rb
dev-2.0.250 lib/tasks/pull.rb
dev-2.0.249 lib/tasks/pull.rb