basic_table_sorter 0.0.3.beta → 1.0.0.beta
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/Gemfile +2 -0
- data/Guardfile +2 -2
- data/basic_table_sorter.gemspec +3 -3
- data/lib/basic_table_sorter/matchers.rb +1 -1
- data/lib/basic_table_sorter/version.rb +1 -1
- data/spec/basic_table_sorter/controller_additions_spec.rb +24 -25
- data/spec/basic_table_sorter/matchers_spec.rb +2 -2
- data/spec/basic_table_sorter/permission_service_additions_spec.rb +12 -12
- data/spec/basic_table_sorter/view_helpers_spec.rb +27 -27
- metadata +19 -19
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c9b59c3eb7f6b4911cdb6028798850a477f55424
|
4
|
+
data.tar.gz: fb72202c66536cd6f253a11e1561b0351b0404a1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8dacd8a70ae0ab2495039811d0084b48beffd1c84a2648b1595373ae4d679c834f7cc58adab92fd4782a196c84ed2e85366abd40c7062322eefc2ee086681552
|
7
|
+
data.tar.gz: 3dd7d7f134f2e59188a7031fc0b6490ab59adc223ac55a767236f9caee271072ddee13519e21d4415225b2f81a9ba9ab034067da9e906bbd8fded1ad009bb1fe
|
data/Gemfile
CHANGED
data/Guardfile
CHANGED
@@ -1,9 +1,9 @@
|
|
1
1
|
# A sample Guardfile
|
2
2
|
# More info at https://github.com/guard/guard#readme
|
3
3
|
|
4
|
-
notification :notifysend
|
4
|
+
notification :notifysend, t: 1000
|
5
5
|
|
6
|
-
guard
|
6
|
+
guard :rspec, failed_mode: :none, notification: true do
|
7
7
|
watch(%r{^spec/.+_spec\.rb$})
|
8
8
|
watch(%r{^lib/(.+)\.rb$}) { |m| "spec/#{m[1]}_spec.rb"}
|
9
9
|
watch('spec/spec_helper.rb') { "spec" }
|
data/basic_table_sorter.gemspec
CHANGED
@@ -18,7 +18,7 @@ Gem::Specification.new do |gem|
|
|
18
18
|
gem.test_files = gem.files.grep(%r{^(test|spec|features)/})
|
19
19
|
gem.require_paths = ["lib"]
|
20
20
|
|
21
|
-
gem.add_development_dependency "rspec", "~>
|
22
|
-
gem.add_development_dependency "actionpack", "~>4.0"
|
23
|
-
gem.add_development_dependency "guard-rspec", "~>3.0
|
21
|
+
gem.add_development_dependency "rspec", "~>3.0.0"
|
22
|
+
gem.add_development_dependency "actionpack", "~>4.1.0"
|
23
|
+
gem.add_development_dependency "guard-rspec", "~>4.3.0"
|
24
24
|
end
|
@@ -1,5 +1,5 @@
|
|
1
1
|
RSpec::Matchers.define :allow_sort_param do |controller, action, value|
|
2
2
|
match do |sort_params_permission_service|
|
3
|
-
sort_params_permission_service.allowed_sort_param?(controller, action, value.to_s).
|
3
|
+
expect(sort_params_permission_service.allowed_sort_param?(controller, action, value.to_s)).to be_truthy
|
4
4
|
end
|
5
5
|
end
|
@@ -4,7 +4,7 @@ describe 'ControllerAdditions' do
|
|
4
4
|
|
5
5
|
before :each do
|
6
6
|
@controller_class = Class.new
|
7
|
-
@controller_class.
|
7
|
+
allow(@controller_class).to receive(:helper_method)
|
8
8
|
@controller_class.send(:include, BasicTableSorter::ControllerAdditions)
|
9
9
|
@controller = @controller_class.new
|
10
10
|
end
|
@@ -13,7 +13,7 @@ describe 'ControllerAdditions' do
|
|
13
13
|
|
14
14
|
it 'should provide table_sort_direction as helper method' do
|
15
15
|
controller_class = Class.new
|
16
|
-
controller_class.
|
16
|
+
expect(controller_class).to receive(:helper_method).with(:table_sort_direction)
|
17
17
|
controller = controller_class.new
|
18
18
|
controller.singleton_class.send(:include, BasicTableSorter::ControllerAdditions)
|
19
19
|
end
|
@@ -22,74 +22,73 @@ describe 'ControllerAdditions' do
|
|
22
22
|
describe '#table_sort_direction' do
|
23
23
|
|
24
24
|
it 'should return asc if params table_sort_direction does not exits' do
|
25
|
-
@controller.
|
26
|
-
@controller.table_sort_direction.
|
25
|
+
allow(@controller).to receive(:params).and_return({})
|
26
|
+
expect(@controller.table_sort_direction).to eq 'asc'
|
27
27
|
end
|
28
28
|
|
29
29
|
it 'should return asc if params table_sort_direction is not asc or desc' do
|
30
|
-
@controller.
|
31
|
-
@controller.table_sort_direction.
|
30
|
+
allow(@controller).to receive(:params).and_return({table_sort_direction: 'test'})
|
31
|
+
expect(@controller.table_sort_direction).to eq 'asc'
|
32
32
|
end
|
33
33
|
|
34
34
|
it 'should return desc if params table_sort_direction has value desc' do
|
35
|
-
@controller.
|
36
|
-
@controller.table_sort_direction.
|
35
|
+
allow(@controller).to receive(:params).and_return({table_sort_direction: 'desc'})
|
36
|
+
expect(@controller.table_sort_direction).to eq 'desc'
|
37
37
|
end
|
38
38
|
end
|
39
39
|
|
40
40
|
describe '#custom_table_sort?' do
|
41
41
|
|
42
42
|
it 'should return true if params has key table_sort' do
|
43
|
-
@controller.
|
44
|
-
@controller.custom_table_sort
|
43
|
+
allow(@controller).to receive(:params).and_return({table_sort: 'test'})
|
44
|
+
expect(@controller.custom_table_sort?).to be_truthy
|
45
45
|
end
|
46
46
|
|
47
47
|
it 'should return false if params has no key table_sort' do
|
48
|
-
@controller.
|
49
|
-
@controller.custom_table_sort
|
48
|
+
allow(@controller).to receive(:params).and_return({})
|
49
|
+
expect(@controller.custom_table_sort?).to be_falsey
|
50
50
|
end
|
51
51
|
end
|
52
52
|
|
53
53
|
describe '#table_sort_order' do
|
54
54
|
|
55
55
|
it 'should return column with table sort direction as string' do
|
56
|
-
@controller.
|
57
|
-
@controller.table_sort_order.
|
56
|
+
allow(@controller).to receive(:params).and_return({table_sort: 'last_name', table_sort_direction: 'desc'})
|
57
|
+
expect(@controller.table_sort_order).to eq "last_name desc"
|
58
58
|
end
|
59
59
|
|
60
60
|
it 'should return columns together with sort direction as string if multiple given' do
|
61
|
-
@controller.
|
62
|
-
@controller.table_sort_order.
|
61
|
+
allow(@controller).to receive(:params).and_return({table_sort: ['last_name', 'first_name'], table_sort_direction: 'desc'})
|
62
|
+
expect(@controller.table_sort_order).to eq "last_name desc, first_name desc"
|
63
63
|
end
|
64
64
|
|
65
65
|
it 'should return nil when no param :table_sort present' do
|
66
|
-
@controller.
|
67
|
-
@controller.table_sort_order.
|
66
|
+
allow(@controller).to receive(:params).and_return({})
|
67
|
+
expect(@controller.table_sort_order).to be_nil
|
68
68
|
end
|
69
69
|
end
|
70
70
|
|
71
71
|
describe '#authorize_table_sort_params' do
|
72
72
|
|
73
73
|
it 'should call allowed_sort_param? if param with value table_sort exits' do
|
74
|
-
@controller.
|
75
|
-
BasicTableSorterPermissionService.
|
76
|
-
any_instance.should_receive(:allowed_sort_param?).
|
74
|
+
allow(@controller).to receive(:params).and_return(controller: 'users', action: 'index', table_sort: 'last_name')
|
75
|
+
expect_any_instance_of(BasicTableSorterPermissionService).to receive(:allowed_sort_param?).
|
77
76
|
with('users', 'index', 'last_name').
|
78
77
|
and_return(true)
|
79
78
|
@controller.authorize_table_sort_params
|
80
79
|
end
|
81
80
|
|
82
81
|
it 'should raise BasicTableSorter::TableSortParamNotAuthorized if allowed_sort_param? returns false' do
|
83
|
-
@controller.
|
84
|
-
BasicTableSorterPermissionService.
|
82
|
+
allow(@controller).to receive(:params).and_return(table_sort: 'last_name')
|
83
|
+
allow_any_instance_of(BasicTableSorterPermissionService).to receive(:allowed_sort_param?).and_return false
|
85
84
|
expect {
|
86
85
|
@controller.authorize_table_sort_params
|
87
86
|
}.to raise_error BasicTableSorter::TableSortParamNotAuthorized, "param table_sort = 'last_name' not allowed"
|
88
87
|
end
|
89
88
|
|
90
89
|
it 'should not call authorize_table_sort_params if params has no value table_sort' do
|
91
|
-
@controller.
|
92
|
-
@controller.
|
90
|
+
allow(@controller).to receive(:params).and_return({})
|
91
|
+
expect(@controller).not_to receive(:allowed_sort_param?)
|
93
92
|
@controller.authorize_table_sort_params
|
94
93
|
end
|
95
94
|
end
|
@@ -4,7 +4,7 @@ describe 'allow_sort_value' do
|
|
4
4
|
|
5
5
|
it 'should delegate to allowed_sort_param?' do
|
6
6
|
object = Object.new
|
7
|
-
object.
|
8
|
-
object.
|
7
|
+
expect(object).to receive(:allowed_sort_param?).once.with(:comments, :index, 'email').and_return(true)
|
8
|
+
expect(object).to allow_sort_param(:comments, :index, :email)
|
9
9
|
end
|
10
10
|
end
|
@@ -10,7 +10,7 @@ describe BasicTableSorter::PermissionServiceAdditions do
|
|
10
10
|
|
11
11
|
it 'should extend included class with module ClassMethods' do
|
12
12
|
clazz = Class.new
|
13
|
-
clazz.
|
13
|
+
expect(clazz).to receive(:extend).with(BasicTableSorter::PermissionServiceAdditions::ClassMethods)
|
14
14
|
clazz.send(:include, BasicTableSorter::PermissionServiceAdditions)
|
15
15
|
end
|
16
16
|
end
|
@@ -18,11 +18,11 @@ describe BasicTableSorter::PermissionServiceAdditions do
|
|
18
18
|
describe '::create' do
|
19
19
|
|
20
20
|
it 'should create a BasicTableSorterPermissionService instance object' do
|
21
|
-
@sort_params_permission_service.
|
21
|
+
expect(@sort_params_permission_service).to be_an_instance_of(BasicTableSorterPermissionService)
|
22
22
|
end
|
23
23
|
|
24
24
|
it 'should call configure_permissions' do
|
25
|
-
BasicTableSorterPermissionService.
|
25
|
+
expect_any_instance_of(BasicTableSorterPermissionService).to receive(:configure_permissions)
|
26
26
|
BasicTableSorterPermissionService.create
|
27
27
|
end
|
28
28
|
end
|
@@ -31,21 +31,21 @@ describe BasicTableSorter::PermissionServiceAdditions do
|
|
31
31
|
|
32
32
|
it 'should return false if @allowed_sort_values is nil' do
|
33
33
|
@sort_params_permission_service.instance_variable_set(:@allowed_sort_values, nil)
|
34
|
-
@sort_params_permission_service.allowed_sort_param?(nil, nil, nil).
|
34
|
+
expect(@sort_params_permission_service.allowed_sort_param?(nil, nil, nil)).to be_falsey
|
35
35
|
end
|
36
36
|
|
37
37
|
it 'should return false if @allowed_sort_value does not have given value' do
|
38
38
|
allowed_sort_values = {}
|
39
39
|
allowed_sort_values[['customer', 'index']] = ['last_name']
|
40
40
|
@sort_params_permission_service.instance_variable_set(:@allowed_sort_values, allowed_sort_values)
|
41
|
-
@sort_params_permission_service.allowed_sort_param?('customer', 'index', 'first_name').
|
41
|
+
expect(@sort_params_permission_service.allowed_sort_param?('customer', 'index', 'first_name')).to be_falsey
|
42
42
|
end
|
43
43
|
|
44
44
|
it 'should return true if @allowed_sort_value does have given value' do
|
45
45
|
allowed_sort_values = {}
|
46
46
|
allowed_sort_values[['customer', 'index']] = ['first_name']
|
47
47
|
@sort_params_permission_service.instance_variable_set(:@allowed_sort_values, allowed_sort_values)
|
48
|
-
@sort_params_permission_service.allowed_sort_param?('customer', 'index', 'first_name').
|
48
|
+
expect(@sort_params_permission_service.allowed_sort_param?('customer', 'index', 'first_name')).to be_truthy
|
49
49
|
end
|
50
50
|
end
|
51
51
|
|
@@ -53,20 +53,20 @@ describe BasicTableSorter::PermissionServiceAdditions do
|
|
53
53
|
|
54
54
|
it 'should insert value into @allow sort values' do
|
55
55
|
@sort_params_permission_service.allow_sort_params('customer', 'index', 'last_name')
|
56
|
-
@sort_params_permission_service.instance_variable_get(:@allowed_sort_values)[['customer', 'index']].
|
56
|
+
expect(@sort_params_permission_service.instance_variable_get(:@allowed_sort_values)[['customer', 'index']]).to eq ['last_name']
|
57
57
|
end
|
58
58
|
|
59
59
|
it 'should insert values into @allow sort values' do
|
60
60
|
@sort_params_permission_service.allow_sort_params('customer', 'index', ['first_name', 'last_name'])
|
61
|
-
@sort_params_permission_service.instance_variable_get(:@allowed_sort_values)[['customer', 'index']].
|
61
|
+
expect(@sort_params_permission_service.instance_variable_get(:@allowed_sort_values)[['customer', 'index']]).to eq ['first_name', 'last_name']
|
62
62
|
end
|
63
63
|
|
64
64
|
it 'should insert value for two keys' do
|
65
65
|
@sort_params_permission_service.allow_sort_params(['customer', 'person'], ['index', 'edit'], 'first_name')
|
66
|
-
@sort_params_permission_service.instance_variable_get(:@allowed_sort_values)[['customer', 'index']].
|
67
|
-
@sort_params_permission_service.instance_variable_get(:@allowed_sort_values)[['person', 'index']].
|
68
|
-
@sort_params_permission_service.instance_variable_get(:@allowed_sort_values)[['customer', 'edit']].
|
69
|
-
@sort_params_permission_service.instance_variable_get(:@allowed_sort_values)[['person', 'edit']].
|
66
|
+
expect(@sort_params_permission_service.instance_variable_get(:@allowed_sort_values)[['customer', 'index']]).to eq ['first_name']
|
67
|
+
expect(@sort_params_permission_service.instance_variable_get(:@allowed_sort_values)[['person', 'index']]).to eq ['first_name']
|
68
|
+
expect(@sort_params_permission_service.instance_variable_get(:@allowed_sort_values)[['customer', 'edit']]).to eq ['first_name']
|
69
|
+
expect(@sort_params_permission_service.instance_variable_get(:@allowed_sort_values)[['person', 'edit']]).to eq ['first_name']
|
70
70
|
end
|
71
71
|
end
|
72
72
|
end
|
@@ -6,8 +6,8 @@ describe BasicTableSorter::ViewHelpers do
|
|
6
6
|
helper_class = Class.new
|
7
7
|
helper_class.send(:include, BasicTableSorter::ViewHelpers)
|
8
8
|
helper_class.send(:include, ActionView::Helpers::TagHelper)
|
9
|
-
helper_class.
|
10
|
-
helper_class.
|
9
|
+
allow_any_instance_of(helper_class).to receive(:url_for).and_return('url_returned_by_url_for')
|
10
|
+
allow_any_instance_of(helper_class).to receive(:link_to)
|
11
11
|
helper_class.new
|
12
12
|
end
|
13
13
|
|
@@ -16,41 +16,41 @@ describe BasicTableSorter::ViewHelpers do
|
|
16
16
|
context 'column selected' do
|
17
17
|
|
18
18
|
it 'should create link with title and icon' do
|
19
|
-
helper.
|
20
|
-
helper.
|
19
|
+
allow(helper).to receive(:params).and_return({table_sort: 'title'})
|
20
|
+
allow(helper).to receive(:table_sort_direction).and_return('asc')
|
21
21
|
|
22
|
-
helper.
|
23
|
-
block.call.
|
22
|
+
expect(helper).to receive(:link_to).with('url_returned_by_url_for', class: 'selected-column') do |&block|
|
23
|
+
expect(block.call).to match /<span>Title<\/span><i class="icon-.*" \/>/
|
24
24
|
end
|
25
25
|
helper.sortable(:title, 'Title')
|
26
26
|
end
|
27
27
|
|
28
28
|
|
29
29
|
it 'should call url_for with correct params' do
|
30
|
-
helper.
|
31
|
-
helper.
|
30
|
+
allow(helper).to receive(:params).and_return({table_sort: 'title'})
|
31
|
+
allow(helper).to receive(:table_sort_direction).and_return('asc')
|
32
32
|
expected_link_params = {table_sort: :title, table_sort_direction: 'desc'}
|
33
|
-
helper.
|
33
|
+
expect(helper).to receive(:url_for).with(expected_link_params)
|
34
34
|
helper.sortable(:title, 'Title')
|
35
35
|
end
|
36
36
|
|
37
37
|
context 'column sorted asc' do
|
38
38
|
|
39
39
|
before :each do
|
40
|
-
helper.
|
41
|
-
helper.
|
40
|
+
allow(helper).to receive(:table_sort_direction).and_return('asc')
|
41
|
+
allow(helper).to receive(:params).and_return({controller: 'users', action: 'index', table_sort: 'name'})
|
42
42
|
end
|
43
43
|
|
44
44
|
it 'should have link to sort desc' do
|
45
|
-
helper.
|
45
|
+
expect(helper).to receive(:link_to).with('url_returned_by_url_for', {:class => "selected-column"})
|
46
46
|
helper.sortable(:name, 'Name')
|
47
47
|
end
|
48
48
|
|
49
49
|
it 'should have icon-chevron-down' do
|
50
50
|
|
51
|
-
helper.
|
52
|
-
block.call.
|
53
|
-
|
51
|
+
expect(helper).to receive(:link_to).with(any_args) { |&block|
|
52
|
+
expect(block.call).to include('icon-chevron-down')
|
53
|
+
}.once
|
54
54
|
|
55
55
|
helper.sortable(:name, 'Name')
|
56
56
|
end
|
@@ -59,20 +59,20 @@ describe BasicTableSorter::ViewHelpers do
|
|
59
59
|
context 'column sorted desc' do
|
60
60
|
|
61
61
|
before :each do
|
62
|
-
helper.
|
63
|
-
helper.
|
62
|
+
allow(helper).to receive(:table_sort_direction).and_return('desc')
|
63
|
+
allow(helper).to receive(:params).and_return({controller: 'users', action: 'index', table_sort: 'name'})
|
64
64
|
end
|
65
65
|
|
66
66
|
it 'should have link to sort asc' do
|
67
67
|
expected_link_params = {:table_sort => :name, :table_sort_direction => "asc"}
|
68
|
-
helper.
|
68
|
+
expect(helper).to receive(:link_to).with('url_returned_by_url_for', {:class => "selected-column"})
|
69
69
|
helper.sortable(:name, 'Name')
|
70
70
|
end
|
71
71
|
|
72
72
|
it 'should have icon-arrow-up' do
|
73
|
-
helper.
|
74
|
-
block.call.
|
75
|
-
|
73
|
+
expect(helper).to receive(:link_to).with(any_args) { |&block|
|
74
|
+
expect(block.call).to include('icon-chevron-up')
|
75
|
+
}.once
|
76
76
|
|
77
77
|
helper.sortable(:name, 'Name')
|
78
78
|
end
|
@@ -82,23 +82,23 @@ describe BasicTableSorter::ViewHelpers do
|
|
82
82
|
context 'column not selected' do
|
83
83
|
|
84
84
|
it 'should return link with title' do
|
85
|
-
helper.
|
86
|
-
helper.
|
85
|
+
allow(helper).to receive(:params).and_return({table_sort: 'first_name'})
|
86
|
+
expect(helper).to receive(:link_to).with('Name', 'url_returned_by_url_for')
|
87
87
|
helper.sortable(:last_name, 'Name')
|
88
88
|
end
|
89
89
|
|
90
90
|
it 'should call url_for with correct params' do
|
91
|
-
helper.
|
91
|
+
allow(helper).to receive(:params).and_return({table_sort: 'first_name'})
|
92
92
|
expected_params = {table_sort: :last_name, table_sort_direction: 'asc'}
|
93
|
-
helper.
|
93
|
+
expect(helper).to receive(:url_for).with(expected_params)
|
94
94
|
helper.sortable(:last_name, 'Name')
|
95
95
|
end
|
96
96
|
end
|
97
97
|
|
98
98
|
it 'should merge additional arguments before calling url for' do
|
99
|
-
helper.
|
99
|
+
allow(helper).to receive(:params).and_return({table_sort: 'title'})
|
100
100
|
epected_params = {table_sort: :last_name, table_sort_direction: 'asc', extra_param: 'extra_param'}
|
101
|
-
helper.
|
101
|
+
expect(helper).to receive(:url_for).with(epected_params)
|
102
102
|
helper.sortable(:last_name, 'Name', extra_param: 'extra_param')
|
103
103
|
end
|
104
104
|
end
|
metadata
CHANGED
@@ -1,57 +1,57 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: basic_table_sorter
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 1.0.0.beta
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Daniel Grawunder, Christian Mierich
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2014-08-01 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rspec
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
|
-
- - ~>
|
17
|
+
- - "~>"
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version:
|
19
|
+
version: 3.0.0
|
20
20
|
type: :development
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
|
-
- - ~>
|
24
|
+
- - "~>"
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version:
|
26
|
+
version: 3.0.0
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: actionpack
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
30
30
|
requirements:
|
31
|
-
- - ~>
|
31
|
+
- - "~>"
|
32
32
|
- !ruby/object:Gem::Version
|
33
|
-
version:
|
33
|
+
version: 4.1.0
|
34
34
|
type: :development
|
35
35
|
prerelease: false
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
38
|
-
- - ~>
|
38
|
+
- - "~>"
|
39
39
|
- !ruby/object:Gem::Version
|
40
|
-
version:
|
40
|
+
version: 4.1.0
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
42
|
name: guard-rspec
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
44
44
|
requirements:
|
45
|
-
- - ~>
|
45
|
+
- - "~>"
|
46
46
|
- !ruby/object:Gem::Version
|
47
|
-
version: 3.0
|
47
|
+
version: 4.3.0
|
48
48
|
type: :development
|
49
49
|
prerelease: false
|
50
50
|
version_requirements: !ruby/object:Gem::Requirement
|
51
51
|
requirements:
|
52
|
-
- - ~>
|
52
|
+
- - "~>"
|
53
53
|
- !ruby/object:Gem::Version
|
54
|
-
version: 3.0
|
54
|
+
version: 4.3.0
|
55
55
|
description: A Ruby on Rails basic table sorter gem
|
56
56
|
email:
|
57
57
|
- gramie.sw@gmail.com
|
@@ -59,8 +59,8 @@ executables: []
|
|
59
59
|
extensions: []
|
60
60
|
extra_rdoc_files: []
|
61
61
|
files:
|
62
|
-
- .gitignore
|
63
|
-
- .rspec
|
62
|
+
- ".gitignore"
|
63
|
+
- ".rspec"
|
64
64
|
- Gemfile
|
65
65
|
- Guardfile
|
66
66
|
- LICENSE.txt
|
@@ -91,17 +91,17 @@ require_paths:
|
|
91
91
|
- lib
|
92
92
|
required_ruby_version: !ruby/object:Gem::Requirement
|
93
93
|
requirements:
|
94
|
-
- -
|
94
|
+
- - ">="
|
95
95
|
- !ruby/object:Gem::Version
|
96
96
|
version: '0'
|
97
97
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
98
98
|
requirements:
|
99
|
-
- -
|
99
|
+
- - ">"
|
100
100
|
- !ruby/object:Gem::Version
|
101
101
|
version: 1.3.1
|
102
102
|
requirements: []
|
103
103
|
rubyforge_project:
|
104
|
-
rubygems_version: 2.0
|
104
|
+
rubygems_version: 2.3.0
|
105
105
|
signing_key:
|
106
106
|
specification_version: 4
|
107
107
|
summary: An easy to use basic table sorter for Ruby on Rails.
|