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.167 lib/tasks/pull.rb
dev-2.0.166 lib/tasks/pull.rb
dev-2.0.165 lib/tasks/pull.rb
dev-2.0.164 lib/tasks/pull.rb
dev-2.0.163 lib/tasks/pull.rb
dev-2.0.162 lib/tasks/pull.rb
dev-2.0.161 lib/tasks/pull.rb
dev-2.0.160 lib/tasks/pull.rb
dev-2.0.159 lib/tasks/pull.rb
dev-2.0.158 lib/tasks/pull.rb
dev-2.0.157 lib/tasks/pull.rb
dev-2.0.156 lib/tasks/pull.rb
dev-2.0.155 lib/tasks/pull.rb
dev-2.0.154 lib/tasks/pull.rb
dev-2.0.153 lib/tasks/pull.rb
dev-2.0.152 lib/tasks/pull.rb
dev-2.0.151 lib/tasks/pull.rb
dev-2.0.150 lib/tasks/pull.rb