wice_grid 3.0.2 → 3.0.3
Sign up to get free protection for your applications and to get access to all the features.
- data/VERSION +1 -1
- data/lib/wice_grid.rb +19 -14
- data/wice_grid.gemspec +5 -5
- metadata +7 -5
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.3
|
data/lib/wice_grid.rb
CHANGED
@@ -28,24 +28,29 @@ module Wice
|
|
28
28
|
|
29
29
|
initializer "wice_grid_railtie.configure_rails_initialization" do |app|
|
30
30
|
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
Wice::GridRenderer.send(:include, ::WillPaginate::ViewHelpers)
|
36
|
-
|
37
|
-
::ActionView::Base.class_eval { include Wice::GridViewHelper }
|
31
|
+
ActiveSupport.on_load :action_controller do
|
32
|
+
ActionController::Base.send(:include, Wice::Controller)
|
33
|
+
end
|
38
34
|
|
39
|
-
|
35
|
+
ActiveSupport.on_load :active_record do
|
36
|
+
ActiveRecord::ConnectionAdapters::Column.send(:include, ::Wice::WiceGridExtentionToActiveRecordColumn)
|
37
|
+
ActiveRecord::Base.send(:include, ::Wice::MergeConditions)
|
38
|
+
end
|
40
39
|
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
40
|
+
ActiveSupport.on_load :action_view do
|
41
|
+
::ActionView::Base.class_eval { include Wice::GridViewHelper }
|
42
|
+
[ActionView::Helpers::AssetTagHelper,
|
43
|
+
ActionView::Helpers::TagHelper,
|
44
|
+
ActionView::Helpers::JavaScriptHelper,
|
45
|
+
ActionView::Helpers::FormTagHelper].each do |m|
|
46
|
+
JsCalendarHelpers.send(:include, m)
|
47
|
+
end
|
46
48
|
end
|
47
49
|
|
48
|
-
|
50
|
+
ActiveSupport.on_load :action_view do
|
51
|
+
Wice::GridRenderer.send(:include, ::WillPaginate::ViewHelpers)
|
52
|
+
require 'wice_grid_serialized_query.rb'
|
53
|
+
end
|
49
54
|
end
|
50
55
|
|
51
56
|
rake_tasks do
|
data/wice_grid.gemspec
CHANGED
@@ -5,11 +5,11 @@
|
|
5
5
|
|
6
6
|
Gem::Specification.new do |s|
|
7
7
|
s.name = %q{wice_grid}
|
8
|
-
s.version = "3.0.
|
8
|
+
s.version = "3.0.3"
|
9
9
|
|
10
10
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
11
|
-
s.authors = [
|
12
|
-
s.date = %q{2011-
|
11
|
+
s.authors = ["Yuri Leikind"]
|
12
|
+
s.date = %q{2011-09-01}
|
13
13
|
s.description = %q{A Rails grid plugin to create grids with sorting, pagination, and (automatically generated) filters }
|
14
14
|
s.email = %q{yuri.leikind@gmail.com}
|
15
15
|
s.extra_rdoc_files = [
|
@@ -80,8 +80,8 @@ Gem::Specification.new do |s|
|
|
80
80
|
"wice_grid.gemspec"
|
81
81
|
]
|
82
82
|
s.homepage = %q{http://github.com/lekind/wice_grid}
|
83
|
-
s.require_paths = [
|
84
|
-
s.rubygems_version = %q{1.
|
83
|
+
s.require_paths = ["lib"]
|
84
|
+
s.rubygems_version = %q{1.6.2}
|
85
85
|
s.summary = %q{Rails Grid Plugin}
|
86
86
|
|
87
87
|
if s.respond_to? :specification_version then
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: wice_grid
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 1
|
5
5
|
prerelease:
|
6
6
|
segments:
|
7
7
|
- 3
|
8
8
|
- 0
|
9
|
-
-
|
10
|
-
version: 3.0.
|
9
|
+
- 3
|
10
|
+
version: 3.0.3
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Yuri Leikind
|
@@ -15,7 +15,8 @@ autorequire:
|
|
15
15
|
bindir: bin
|
16
16
|
cert_chain: []
|
17
17
|
|
18
|
-
date: 2011-
|
18
|
+
date: 2011-09-01 00:00:00 +02:00
|
19
|
+
default_executable:
|
19
20
|
dependencies:
|
20
21
|
- !ruby/object:Gem::Dependency
|
21
22
|
name: will_paginate
|
@@ -105,6 +106,7 @@ files:
|
|
105
106
|
- test/wice_grid_test.rb
|
106
107
|
- test/wice_grid_view_helper_test.rb
|
107
108
|
- wice_grid.gemspec
|
109
|
+
has_rdoc: true
|
108
110
|
homepage: http://github.com/lekind/wice_grid
|
109
111
|
licenses: []
|
110
112
|
|
@@ -134,7 +136,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
134
136
|
requirements: []
|
135
137
|
|
136
138
|
rubyforge_project:
|
137
|
-
rubygems_version: 1.
|
139
|
+
rubygems_version: 1.6.2
|
138
140
|
signing_key:
|
139
141
|
specification_version: 3
|
140
142
|
summary: Rails Grid Plugin
|