sequel-rails 0.1.1 → 0.1.2
Sign up to get free protection for your applications and to get access to all the features.
- data/.gitignore +1 -0
- data/CHANGELOG +9 -0
- data/VERSION +1 -1
- data/lib/sequel-rails/railties/controller_runtime.rb +2 -4
- data/lib/sequel-rails/railties/log_subscriber.rb +1 -1
- data/lib/sequel-rails/runtime.rb +14 -0
- data/lib/sequel-rails/setup.rb +1 -0
- data/sequel-rails.gemspec +4 -2
- metadata +5 -3
data/.gitignore
CHANGED
data/CHANGELOG
ADDED
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.1.
|
1
|
+
0.1.2
|
@@ -13,11 +13,9 @@ module Rails
|
|
13
13
|
attr_internal :db_runtime
|
14
14
|
|
15
15
|
def cleanup_view_runtime
|
16
|
-
|
17
|
-
# If it is, do this, if it isn't, just delegate to super
|
18
|
-
db_rt_before_render = ::Sequel.repository.adapter.reset_runtime
|
16
|
+
db_rt_before_render = ::Rails::Sequel.reset_runtime
|
19
17
|
runtime = super
|
20
|
-
db_rt_after_render = ::Sequel.
|
18
|
+
db_rt_after_render = ::Rails::Sequel.reset_runtime
|
21
19
|
self.db_runtime = db_rt_before_render + db_rt_after_render
|
22
20
|
runtime - db_rt_after_render
|
23
21
|
end
|
data/lib/sequel-rails/setup.rb
CHANGED
data/sequel-rails.gemspec
CHANGED
@@ -5,11 +5,11 @@
|
|
5
5
|
|
6
6
|
Gem::Specification.new do |s|
|
7
7
|
s.name = %q{sequel-rails}
|
8
|
-
s.version = "0.1.
|
8
|
+
s.version = "0.1.2"
|
9
9
|
|
10
10
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
11
11
|
s.authors = ["Brasten Sager (brasten)"]
|
12
|
-
s.date = %q{2010-
|
12
|
+
s.date = %q{2010-06-02}
|
13
13
|
s.description = %q{Integrate Sequel with Rails 3}
|
14
14
|
s.email = %q{brasten@gmail.com}
|
15
15
|
s.extra_rdoc_files = [
|
@@ -19,6 +19,7 @@ Gem::Specification.new do |s|
|
|
19
19
|
s.files = [
|
20
20
|
".document",
|
21
21
|
".gitignore",
|
22
|
+
"CHANGELOG",
|
22
23
|
"Gemfile",
|
23
24
|
"LICENSE",
|
24
25
|
"README.rdoc",
|
@@ -41,6 +42,7 @@ Gem::Specification.new do |s|
|
|
41
42
|
"lib/sequel-rails/railties/database.rake",
|
42
43
|
"lib/sequel-rails/railties/i18n_support.rb",
|
43
44
|
"lib/sequel-rails/railties/log_subscriber.rb",
|
45
|
+
"lib/sequel-rails/runtime.rb",
|
44
46
|
"lib/sequel-rails/session_store.rb",
|
45
47
|
"lib/sequel-rails/setup.rb",
|
46
48
|
"lib/sequel-rails/storage.rb",
|
metadata
CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
|
|
5
5
|
segments:
|
6
6
|
- 0
|
7
7
|
- 1
|
8
|
-
-
|
9
|
-
version: 0.1.
|
8
|
+
- 2
|
9
|
+
version: 0.1.2
|
10
10
|
platform: ruby
|
11
11
|
authors:
|
12
12
|
- Brasten Sager (brasten)
|
@@ -14,7 +14,7 @@ autorequire:
|
|
14
14
|
bindir: bin
|
15
15
|
cert_chain: []
|
16
16
|
|
17
|
-
date: 2010-
|
17
|
+
date: 2010-06-02 00:00:00 -07:00
|
18
18
|
default_executable:
|
19
19
|
dependencies:
|
20
20
|
- !ruby/object:Gem::Dependency
|
@@ -91,6 +91,7 @@ extra_rdoc_files:
|
|
91
91
|
files:
|
92
92
|
- .document
|
93
93
|
- .gitignore
|
94
|
+
- CHANGELOG
|
94
95
|
- Gemfile
|
95
96
|
- LICENSE
|
96
97
|
- README.rdoc
|
@@ -113,6 +114,7 @@ files:
|
|
113
114
|
- lib/sequel-rails/railties/database.rake
|
114
115
|
- lib/sequel-rails/railties/i18n_support.rb
|
115
116
|
- lib/sequel-rails/railties/log_subscriber.rb
|
117
|
+
- lib/sequel-rails/runtime.rb
|
116
118
|
- lib/sequel-rails/session_store.rb
|
117
119
|
- lib/sequel-rails/setup.rb
|
118
120
|
- lib/sequel-rails/storage.rb
|