<commit_before>require 'bubble-wrap/loader'

BubbleWrap.require_ios('motion') do
  BubbleWrap.require('motion/util/constants.rb')
  BubbleWrap.require('motion/core/string.rb')
  BubbleWrap.require('motion/motion/**/*.rb') do
    file('motion/motion/motion.rb').depends_on 'motion/util/constants.rb'
    file('motion/motion/motion.rb').uses_framework('CoreMotion')
  end
end<commit_msg>Make sure motion files are required in the right order.<commit_after>require 'bubble-wrap/loader'

BubbleWrap.require_ios('motion') do
  BubbleWrap.require('motion/util/constants.rb')
  BubbleWrap.require('motion/core/string.rb')
  BubbleWrap.require('motion/motion/**/*.rb') do
    file('motion/motion/motion.rb').depends_on 'motion/util/constants.rb'

    file('motion/motion/accelerometer.rb').depends_on('motion/motion/motion.rb')
    file('motion/motion/device_motion.rb').depends_on('motion/motion/motion.rb')
    file('motion/motion/gyroscope.rb').depends_on('motion/motion/motion.rb')
    file('motion/motion/magnetometer.rb').depends_on('motion/motion/motion.rb')

    file('motion/motion/motion.rb').uses_framework('CoreMotion')
  end
end
{'fraction_non_alphanumeric': 0.16857899382171226, 'fraction_numerical': 0.0, 'mean_word_length': 5.554913294797688, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, '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': '4791147', 'n_tokens_mistral': 424, 'n_tokens_neox': 377, 'n_words': 38}