Skip to content

Commit

Permalink
Add @Kressh to contributors and spec on new ::ActiveSupport.run_load_…
Browse files Browse the repository at this point in the history
…hooks (refs #85)
  • Loading branch information
JonathanTron committed Feb 1, 2015
1 parent f58f02a commit d58eabe
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 0 deletions.
1 change: 1 addition & 0 deletions History.md
@@ -1,6 +1,7 @@
dev
===

* Add `ActiveSupport.on_load :sequel` support (kr3ssh) [#85](https://github.com/TalentBox/sequel-rails/pull/85)
* Added option to skip connect after Rails initialize with new option
`config.sequel.skip_connect = true`. (Alexander Birkner) [#83](https://github.com/TalentBox/sequel-rails/pull/83)

Expand Down
1 change: 1 addition & 0 deletions README.md
Expand Up @@ -353,6 +353,7 @@ Improvements has been made by those awesome contributors:
* Andrey Chernih (andreychernih)
* Nico Rieck (gix)
* Alexander Birkner (BirknerAlex)
* kr3ssh (kressh)

Credits
=======
Expand Down
9 changes: 9 additions & 0 deletions spec/lib/sequel_rails/railtie_spec.rb
Expand Up @@ -127,4 +127,13 @@
end
end
end

it 'run load hooks for :sequel passing ::Sequel::Model' do
class_context = nil
::ActiveSupport.on_load :sequel do
class_context = self
end
app
expect( class_context ).to be ::Sequel::Model
end
end

0 comments on commit d58eabe

Please sign in to comment.