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.248 lib/tasks/pull.rb
dev-2.0.247 lib/tasks/pull.rb
dev-2.0.246 lib/tasks/pull.rb
dev-2.0.245 lib/tasks/pull.rb
dev-2.0.244 lib/tasks/pull.rb
dev-2.0.243 lib/tasks/pull.rb
dev-2.0.242 lib/tasks/pull.rb
dev-2.0.241 lib/tasks/pull.rb
dev-2.0.240 lib/tasks/pull.rb
dev-2.0.239 lib/tasks/pull.rb
dev-2.0.238 lib/tasks/pull.rb
dev-2.0.237 lib/tasks/pull.rb
dev-2.0.236 lib/tasks/pull.rb
dev-2.0.235 lib/tasks/pull.rb
dev-2.0.234 lib/tasks/pull.rb
dev-2.0.233 lib/tasks/pull.rb
dev-2.0.232 lib/tasks/pull.rb
dev-2.0.231 lib/tasks/pull.rb
dev-2.0.230 lib/tasks/pull.rb
dev-2.0.229 lib/tasks/pull.rb