05 Jul, 2012

1 commit

  •   * Every class now can declare that it is able to inlcude hotspots by
        declaring 'acts_as_having_hotspots'. It's important to note that
        every class that have hotspots must define an instance method named
        'environment' that returns the environment associated with the
        instance.
    
      * Now the enabled_plugins method is centralized in the Thread.current
        making the plugins instantiation happen only once by Thread. Every
        request reinstantiate the plugins since every request creates a new
        Thread. The models that access this method only instantiate it if it
        wasn't instantiated already.
    
      * Since the models doesn't reinstantiate the plugins in the same
        Thread and the tests run in only one Thread, the tests that have
        some plugin stuff must clean the instantiation in the teardown.
    Rodrigo Souto
     

25 May, 2012

1 commit


23 May, 2012

1 commit


22 May, 2012

5 commits


17 May, 2012

4 commits


16 May, 2012

16 commits


14 May, 2012

3 commits


13 May, 2012

3 commits


10 May, 2012

6 commits