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.207 lib/tasks/pull.rb
dev-2.0.206 lib/tasks/pull.rb
dev-2.0.205 lib/tasks/pull.rb
dev-2.0.204 lib/tasks/pull.rb
dev-2.0.203 lib/tasks/pull.rb
dev-2.0.202 lib/tasks/pull.rb
dev-2.0.201 lib/tasks/pull.rb
dev-2.0.200 lib/tasks/pull.rb
dev-2.0.199 lib/tasks/pull.rb
dev-2.0.198 lib/tasks/pull.rb
dev-2.0.197 lib/tasks/pull.rb
dev-2.0.196 lib/tasks/pull.rb
dev-2.0.195 lib/tasks/pull.rb
dev-2.0.194 lib/tasks/pull.rb
dev-2.0.193 lib/tasks/pull.rb
dev-2.0.192 lib/tasks/pull.rb
dev-2.0.191 lib/tasks/pull.rb
dev-2.0.190 lib/tasks/pull.rb
dev-2.0.189 lib/tasks/pull.rb
dev-2.0.188 lib/tasks/pull.rb