My Account Log in

3 options

Rake task management essentials : deploy, test, and build software to solve real-world automation challenges using rake / Andrey Koleshko ; Kim Nousaine, cover image.

EBSCOhost Academic eBook Collection (North America) Available online

View online

Ebook Central Academic Complete Available online

View online

Ebook Central College Complete Available online

View online
Format:
Book
Author/Creator:
Koleshko, Andrey, author.
Contributor:
Nousaine, Kim, cover designer.
Series:
Community expertise distilled
Language:
English
Subjects (All):
Object-oriented programming (Computer science).
Ruby (Computer program language).
Ruby (Langage de programmation).
Physical Description:
1 online resource (122 p.)
Edition:
1st ed.
Place of Publication:
Birmingham, England : Packt Publishing, 2014.
Language Note:
English
Summary:
A step-by-step and interactive approach explaining the Rake essentials along with code examples and advanced features. If you are a developer who is acquainted with the Ruby language and want to speed up writing the code concerned with files, then this book is for you. To start reading this book, basic Ruby knowledge is required; however, a huge amount of experience with the language is not necessary.
Contents:
Cover; Copyright; Credits; About the Author; Acknowledgements; About the Reviewers; www.PacktPub.com; Table of Contents; Preface; Chapter 1: The Software Task Management Tool - Rake; Installing Rake; Introducing rake tasks; The command-line arguments; Using global Rakefiles to run tasks anywhere; Defining custom rake tasks; Task dependencies - prerequisites; Multiple tasks definitions; Passing arguments to the tasks; The structure of a Rake project; Using the import method to load other Rakefiles; Running rake tasks from other tasks; The code conventions of Rake; Summary
Chapter 2: Working with FilesUsing file tasks to work with files; The characteristics of the file task dependencies; Creating a folder with the directory method; Using Rake's file utilities; Using the FileList module functionality to collect the files; Using pathmap to transform file lists; Introducing the FileUtils module; A practical example of automatically generating a config file; Summary; Chapter 3: Working with Rules; Understanding the duplication of the file tasks; Using a rule to get rid of the duplicated file tasks; Detecting a source for the rule dynamically
Using a regular expression to match more tasksSummary; Chapter 4: Cleaning Up a Build; Setting up a project; The cleaning tasks; Summary; Chapter 5: Running Tasks in Parallel; Defining tasks with parallel prerequisites; Thread safety of multitasks; Multiple task definitions with a common prerequisite; Applying multitasks in practice; Summary; Chapter 6: Debugging Rake Tasks; Using command-line arguments for debugging; Getting a dependency's resolution with
prereqs; Using the
rules option to trace the rule resolution; Using the Ruby approach to debug a Rake project; Summary
Chapter 7: Integration with RailsIntroducing Rake's integration with Rails; Custom rake tasks in a Rails project; Recurrent running of tasks; Summary; Chapter 8: Testing Rake Tasks; The need for tests; Writing tests for rake tasks; Summary; Chapter 9: Continuous Integration; Introducing Jenkins; Setting up Jenkins; Configuring Jenkins to run rake tasks; Summary; Chapter 10: Relentless Automation; Examples of Rake being used by famous gems; The pain of task execution; Sinatra using Rake to run tests; Sinatra using Rake to generate documentation; Capistrano extending the Rake implementation
Other examples of Sinatra using RakeThor - the next generation of Rake; Summary; Index
Notes:
Includes index.
Description based on online resource; title from PDF title page (ebrary, viewed April 29, 2014).
ISBN:
9781783280780
1783280786
OCLC:
878109237

The Penn Libraries is committed to describing library materials using current, accurate, and responsible language. If you discover outdated or inaccurate language, please fill out this feedback form to report it and suggest alternative language.

Find

Home Release notes

My Account

Shelf Request an item Bookmarks Fines and fees Settings

Guides

Using the Find catalog Using Articles+ Using your account