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.187 lib/tasks/pull.rb
dev-2.0.186 lib/tasks/pull.rb
dev-2.0.185 lib/tasks/pull.rb
dev-2.0.184 lib/tasks/pull.rb
dev-2.0.183 lib/tasks/pull.rb
dev-2.0.182 lib/tasks/pull.rb
dev-2.0.181 lib/tasks/pull.rb
dev-2.0.180 lib/tasks/pull.rb
dev-2.0.179 lib/tasks/pull.rb
dev-2.0.178 lib/tasks/pull.rb
dev-2.0.177 lib/tasks/pull.rb
dev-2.0.176 lib/tasks/pull.rb
dev-2.0.175 lib/tasks/pull.rb
dev-2.0.174 lib/tasks/pull.rb
dev-2.0.173 lib/tasks/pull.rb
dev-2.0.172 lib/tasks/pull.rb
dev-2.0.171 lib/tasks/pull.rb
dev-2.0.170 lib/tasks/pull.rb
dev-2.0.169 lib/tasks/pull.rb
dev-2.0.168 lib/tasks/pull.rb