nulogy-sequel-rails 0.3.8 → 0.3.9
Sign up to get free protection for your applications and to get access to all the features.
- data/.gitignore +1 -0
- data/README.rdoc +11 -27
- data/lib/sequel/rails/railtie.rb +0 -1
- data/lib/sequel/rails/version.rb +1 -1
- metadata +2 -2
data/.gitignore
CHANGED
data/README.rdoc
CHANGED
@@ -12,7 +12,7 @@ Using sequel with rails3 requires a couple minor changes.
|
|
12
12
|
|
13
13
|
First, add the following to your Gemfile:
|
14
14
|
|
15
|
-
gem '
|
15
|
+
gem 'nulogy-sequel-rails'
|
16
16
|
|
17
17
|
... be sure to run "bundle install" if needed!
|
18
18
|
|
@@ -22,9 +22,9 @@ Secondly, you'll need to require "sequel-rails/railtie" in your config/applicati
|
|
22
22
|
|
23
23
|
# Instead of 'rails/all', require these:
|
24
24
|
require "action_controller/railtie"
|
25
|
-
require "sequel
|
25
|
+
require "sequel/rails/railtie"
|
26
26
|
require "action_mailer/railtie"
|
27
|
-
|
27
|
+
require "action_view/railtie"
|
28
28
|
|
29
29
|
After those changes, you should be good to go!
|
30
30
|
|
@@ -52,50 +52,34 @@ Once you do that, you will see the following rake tasks among others. These are
|
|
52
52
|
...
|
53
53
|
|
54
54
|
|
55
|
-
== Current Issues
|
56
|
-
|
57
|
-
* There are bound to be a lot, but I'm not yet sure what they are
|
58
|
-
|
59
55
|
== TODO (not necessarily in that order)
|
60
56
|
|
61
57
|
* SPECS
|
62
58
|
* README changes
|
63
59
|
* Publish SQL issued by sequel to rails subscribers
|
64
60
|
|
65
|
-
== Credits
|
66
|
-
|
67
|
-
The {dm-rails}[http://github.com/datamapper/dm-rails] team wrote most of this code, I just sequel-ized it.
|
68
|
-
|
69
|
-
|
70
|
-
|
71
61
|
== Note on Patches/Pull Requests
|
72
62
|
|
73
63
|
* Fork the project.
|
74
64
|
* Make your feature addition or bug fix.
|
75
|
-
* Add tests for it
|
76
|
-
future version unintentionally.
|
65
|
+
* Add tests for it so that future versions don't break it.
|
77
66
|
* Commit, do not mess with rakefile, version, or history.
|
78
|
-
|
79
|
-
* Send me a pull request. Bonus points for topic branches.
|
67
|
+
* Send a pull request. Bonus points for topic branches.
|
80
68
|
|
81
|
-
|
82
|
-
== The sequel-rails team
|
69
|
+
== sequel-rails contributors
|
83
70
|
|
84
71
|
{Original project}[https://github.com/brasten/sequel-rails]:
|
85
72
|
|
86
73
|
* Brasten Sager (brasten)
|
87
74
|
|
88
|
-
|
89
|
-
|
90
|
-
* Jonathan Tron (JonathanTron)
|
75
|
+
fork history:
|
91
76
|
|
92
|
-
|
77
|
+
* {TalentBox}[https://github.com/TalentBox/sequel-rails]
|
78
|
+
* {mcmire}[https://github.com/mcmire/sequel-rails]
|
93
79
|
|
94
|
-
|
80
|
+
current fork:
|
95
81
|
|
96
|
-
*
|
97
|
-
* Gabor Ratky (rgabo)
|
98
|
-
* Joshua Hansen (binarypaladin)
|
82
|
+
* {nulogy}[https://github.com/nulogy/sequel-rails]
|
99
83
|
|
100
84
|
== Copyright
|
101
85
|
|
data/lib/sequel/rails/railtie.rb
CHANGED
@@ -64,7 +64,6 @@ module Sequel
|
|
64
64
|
# are in effect once we setup the connection. This is especially necessary
|
65
65
|
# for the cascaded adapter wrappers that need to be declared before setup.
|
66
66
|
config.after_initialize do |app|
|
67
|
-
Sequel::Model.raise_on_save_failure = false
|
68
67
|
Sequel::Model.plugin :active_model
|
69
68
|
Sequel::Model.plugin :validation_helpers
|
70
69
|
# This is our own plugin
|
data/lib/sequel/rails/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: nulogy-sequel-rails
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.3.
|
4
|
+
version: 0.3.9
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -12,7 +12,7 @@ authors:
|
|
12
12
|
autorequire:
|
13
13
|
bindir: bin
|
14
14
|
cert_chain: []
|
15
|
-
date: 2012-
|
15
|
+
date: 2012-10-15 00:00:00.000000000 Z
|
16
16
|
dependencies:
|
17
17
|
- !ruby/object:Gem::Dependency
|
18
18
|
name: sequel
|