<commit_before>= RubyMotion

RubyMotion is a commercial toolchain for iOS and OS X development using the
Ruby programming language.

This repository contains the parts of the RubyMotion product that are
opensource. It does not contain the full product, which can be purchased at
http://www.rubymotion.com.

== Contents

The +lib+ directory contains the project Rakefile library and the build system.

These files are installed as +/Library/RubyMotion/lib+.

In order to use the GitHub version of these files in your RubyMotion project,
you can modify the project Rakefile like this.

  $:.unshift(ENV['RUBYMOTION_LIB'] || '/Library/RubyMotion/lib')

You must also set +motiondir+, so the +data+ and +bin+ directories can be found.

  Motion::Project::App.setup do |app|
    app.name = '...'
    app.motiondir = '/Library/RubyMotion'
    # ...
  end

Then, simply set the RUBYMOTION_LIB environment variable when using +rake+.

  $ cd MyProject
  $ RUBYMOTION_LIB=~/src/RubyMotion/lib rake
  
---------------

If you are looking to modify the +motion+ command itself, you'll need to mimick your existing +/usr/bin/motion+

An easy way is to just make a copy somewhere on your $PATH and use that for testing

  $ sudo cp /usr/bin/motion /usr/bin/motionme

Edit +motionme+ and point the $motion_libdir variable at your local git repo.
  $motion_libdir = '/Absolute/Path/To/Forked/RubyMotion/lib/'
  
Now using +motionme+ instead of +motion+ will use the forked RubyMotion

== Contributions

Please use the GitHub pull-request mechanism to submit contributions.

== License

  Copyright (c) 2012, HipByte SPRL and contributors
  All rights reserved.

  Redistribution and use in source and binary forms, with or without
  modification, are permitted provided that the following conditions are met:

  1. Redistributions of source code must retain the above copyright notice, this
     list of conditions and the following disclaimer.
  2. Redistributions in binary form must reproduce the above copyright notice,
     this list of conditions and the following disclaimer in the documentation<commit_msg>update README.rdoc<commit_after>= RubyMotion

RubyMotion is a commercial toolchain for iOS and OS X development using the
Ruby programming language.

This repository contains the parts of the RubyMotion product that are
opensource. It does not contain the full product, which can be purchased at
http://www.rubymotion.com.

== Contents

The +lib+ directory contains the project Rakefile library and the build system.

These files are installed as +/Library/RubyMotion/lib+.

In order to use the GitHub version of these files in your RubyMotion project,
you can run the following commands.

  $ git clone https://github.com/HipByte/RubyMotion.git
  $ cd RubyMotion
  $ rake install

+/Library/RubyMotion/lib+ is replaced with +lib+ of git repository,
then you can use this in your RubyMotion app.

When you would like to go back to original installation,
you can run +rake uninstall+ within directory of git repository.

  $ rake uninstall
  
---------------

If you are looking to modify the +motion+ command itself, you'll need to mimick your existing +/usr/bin/motion+

An easy way is to just make a copy somewhere on your $PATH and use that for testing

  $ sudo cp /usr/bin/motion /usr/bin/motionme

Edit +motionme+ and point the $motion_libdir variable at your local git repo.
  $motion_libdir = '/Absolute/Path/To/Forked/RubyMotion/lib/'
  
Now using +motionme+ instead of +motion+ will use the forked RubyMotion

== Contributions

Please use the GitHub pull-request mechanism to submit contributions.

== License

  Copyright (c) 2012, HipByte SPRL and contributors
  All rights reserved.

  Redistribution and use in source and binary forms, with or without
  modification, are permitted provided that the following conditions are met:

  1. Redistributions of source code must retain the above copyright notice, this
     list of conditions and the following disclaimer.
  2. Redistributions in binary form must reproduce the above copyright notice,
     this list of conditions and the following disclaimer in the documentation
{'fraction_non_alphanumeric': 0.06624758220502901, 'fraction_numerical': 0.0029013539651837525, 'mean_word_length': 3.9485645933014353, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 1, 'lorem ipsum': 0, 'www.': 2, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5057156', 'n_tokens_mistral': 1176, 'n_tokens_neox': 1059, 'n_words': 543}