<commit_before># -*- coding: utf-8 -*-
class ReadabilityActivity < UIActivity
  attr_accessor :navigationController
  include URLPerformable

  def activityType
    "net.bloghackers.app.ReadabilityActivity"
  end

  def activityImage
    UIImage.imageNamed("Readability-activity")
  end

  def activityTitle
    "Readability"
  end

  def performActivity
    self.navigationController.pushViewController(
      ReadabilityViewController.new.tap { |c| c.url = @url },
      animated:true
    )
    activityDidFinish(true)
  end
end<commit_msg>Fix crash bug<commit_after># -*- coding: utf-8 -*-
class ReadabilityActivity < UIActivity
  attr_accessor :navigationController
  include URLPerformable

  def activityType
    "net.bloghackers.app.ReadabilityActivity"
  end

  def activityImage
    UIImage.imageNamed("Readability-activity")
  end

  def activityTitle
    "Readability"
  end

  def performActivity
    self.navigationController.pushViewController(
      ReadabilityViewController.new.tap { |c| c.url = @url.absoluteString },
      animated:true
    )
    activityDidFinish(true)
  end
end
{'fraction_non_alphanumeric': 0.08098271155595996, 'fraction_numerical': 0.0018198362147406734, 'mean_word_length': 3.7413793103448274, 'pattern_counts': {'":': 0, '<': 5, '<?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': '6628751', 'n_tokens_mistral': 332, 'n_tokens_neox': 321, 'n_words': 67}