infinitered / redpotion

We believe iPhone development should be clean, scalable, and fast with a language that developers not only enjoy, but actively choose. With the advent of Ruby for iPhone development the RubyMotion community has combined and tested the most active and powerful gems into a single package called RedPotion
MIT License
233 stars 40 forks source link

Added open and close to REPL #143

Closed jamonholmgren closed 9 years ago

jamonholmgren commented 9 years ago

Also changed from Kernel to TopLevel to avoid polluting everything. We should always use TopLevel for REPL commands.

cc @GantMan

jamonholmgren commented 9 years ago

Travis failures don't seem to have anything to do with this.

Bacon::Error: #<Proc:0x10fdcff20 (lambda)>.raise?() failed
    spec.rb:769:in `satisfy:': searchable - should raise an error when initializing without model field specifications
    spec.rb:783:in `method_missing:'
    spec.rb:316:in `block in run_spec_block'
    spec.rb:459:in `execute_block'
    spec.rb:316:in `run_spec_block'
    spec.rb:331:in `run'
NoMethodError: undefined method `fetchRequest' for nil:NilClass
    spec.rb:316:in `block in run_spec_block': searchable - should filter results in a new fetched results controller
    spec.rb:459:in `execute_block'
    spec.rb:316:in `run_spec_block'
    spec.rb:331:in `run'
NoMethodError: undefined method `sections' for nil:NilClass
    data_table.rb:143:in `tableView:numberOfRowsInSection:': searchable - should have the proper results for a search
    spec.rb:316:in `block in run_spec_block'
    spec.rb:459:in `execute_block'
    spec.rb:316:in `run_spec_block'
    spec.rb:331:in `run'
GantMan commented 9 years ago

works great