action_tabler 0.1.2 → 0.1.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/lib/action_tabler/has_table_action.rb +2 -2
- data/lib/action_tabler/version.rb +1 -1
- metadata +69 -96
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: aba5e222b91fd993a0a5c965c59b40561508e308
|
4
|
+
data.tar.gz: c9c09659bd74ac87231a3b10682c1926fca1bc82
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: 1fedf9de9fe1af2695f4eef619c43eab437159e7f98d135910009e73785252a8993049f78e6a5767515405e3f292de39a9257e6b3c4d7e699f37cedfd3610b29
|
7
|
+
data.tar.gz: 8eee6c60c492b4748c719104d0b2317a9a071b0cf9d6b9f610bfbb5397368c74085c678a54509e02f376db687d20cd39647b6469675c8a26feda8fab18b27248
|
@@ -11,7 +11,7 @@ module ActionTabler
|
|
11
11
|
def has_table_action(columns = [], options = {}, &block)
|
12
12
|
self.table_handler = ActionTabler::Handler.new(self, columns, options, &block)
|
13
13
|
|
14
|
-
include
|
14
|
+
include InstanceMethodsOnActivation
|
15
15
|
|
16
16
|
# Define the table action method
|
17
17
|
define_method(options[:action] || ActionTabler::Handler.configuration[:action]) do
|
@@ -23,7 +23,7 @@ module ActionTabler
|
|
23
23
|
|
24
24
|
end # ClassMethods
|
25
25
|
|
26
|
-
module
|
26
|
+
module InstanceMethodsOnActivation
|
27
27
|
|
28
28
|
private
|
29
29
|
|
metadata
CHANGED
@@ -1,94 +1,81 @@
|
|
1
|
-
--- !ruby/object:Gem::Specification
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
2
|
name: action_tabler
|
3
|
-
version: !ruby/object:Gem::Version
|
4
|
-
|
5
|
-
prerelease:
|
6
|
-
segments:
|
7
|
-
- 0
|
8
|
-
- 1
|
9
|
-
- 2
|
10
|
-
version: 0.1.2
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.1.3
|
11
5
|
platform: ruby
|
12
|
-
authors:
|
6
|
+
authors:
|
13
7
|
- lhalff
|
14
8
|
autorequire:
|
15
9
|
bindir: bin
|
16
10
|
cert_chain: []
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
- !ruby/object:Gem::Dependency
|
11
|
+
date: 2015-06-17 00:00:00.000000000 Z
|
12
|
+
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
21
14
|
name: rails
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
- - ~>
|
27
|
-
- !ruby/object:Gem::Version
|
28
|
-
hash: 21
|
29
|
-
segments:
|
30
|
-
- 3
|
31
|
-
- 2
|
32
|
-
- 13
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - "~>"
|
18
|
+
- !ruby/object:Gem::Version
|
33
19
|
version: 3.2.13
|
34
20
|
type: :runtime
|
35
|
-
version_requirements: *id001
|
36
|
-
- !ruby/object:Gem::Dependency
|
37
|
-
name: jquery-datatables-rails
|
38
21
|
prerelease: false
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - "~>"
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: 3.2.13
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: jquery-datatables-rails
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - "~>"
|
32
|
+
- !ruby/object:Gem::Version
|
49
33
|
version: 1.11.2
|
50
34
|
type: :runtime
|
51
|
-
version_requirements: *id002
|
52
|
-
- !ruby/object:Gem::Dependency
|
53
|
-
name: sqlite3
|
54
35
|
prerelease: false
|
55
|
-
|
56
|
-
|
57
|
-
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - "~>"
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: 1.11.2
|
41
|
+
- !ruby/object:Gem::Dependency
|
42
|
+
name: sqlite3
|
43
|
+
requirement: !ruby/object:Gem::Requirement
|
44
|
+
requirements:
|
58
45
|
- - ">="
|
59
|
-
- !ruby/object:Gem::Version
|
60
|
-
|
61
|
-
segments:
|
62
|
-
- 0
|
63
|
-
version: "0"
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
version: '0'
|
64
48
|
type: :development
|
65
|
-
version_requirements: *id003
|
66
|
-
- !ruby/object:Gem::Dependency
|
67
|
-
name: rspec-rails
|
68
49
|
prerelease: false
|
69
|
-
|
70
|
-
|
71
|
-
|
72
|
-
|
73
|
-
|
74
|
-
|
75
|
-
|
76
|
-
|
77
|
-
|
78
|
-
|
50
|
+
version_requirements: !ruby/object:Gem::Requirement
|
51
|
+
requirements:
|
52
|
+
- - ">="
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: '0'
|
55
|
+
- !ruby/object:Gem::Dependency
|
56
|
+
name: rspec-rails
|
57
|
+
requirement: !ruby/object:Gem::Requirement
|
58
|
+
requirements:
|
59
|
+
- - "~>"
|
60
|
+
- !ruby/object:Gem::Version
|
79
61
|
version: 2.13.1
|
80
62
|
type: :development
|
81
|
-
|
63
|
+
prerelease: false
|
64
|
+
version_requirements: !ruby/object:Gem::Requirement
|
65
|
+
requirements:
|
66
|
+
- - "~>"
|
67
|
+
- !ruby/object:Gem::Version
|
68
|
+
version: 2.13.1
|
82
69
|
description: A drop in table action for your Rails controllers using DataTables.
|
83
|
-
email:
|
70
|
+
email:
|
84
71
|
- email@larryhalff.com
|
85
72
|
executables: []
|
86
|
-
|
87
73
|
extensions: []
|
88
|
-
|
89
74
|
extra_rdoc_files: []
|
90
|
-
|
91
|
-
|
75
|
+
files:
|
76
|
+
- MIT-LICENSE
|
77
|
+
- README.md
|
78
|
+
- Rakefile
|
92
79
|
- app/assets/javascripts/action_tabler.js
|
93
80
|
- app/assets/stylesheets/action_tabler.css
|
94
81
|
- app/assets/stylesheets/action_tabler_bootstrap.css
|
@@ -97,52 +84,38 @@ files:
|
|
97
84
|
- app/views/action_tabler/_table_footer.html.erb
|
98
85
|
- app/views/action_tabler/_table_header.html.erb
|
99
86
|
- app/views/action_tabler/table.html.erb
|
87
|
+
- lib/action_tabler.rb
|
88
|
+
- lib/action_tabler/data_tables.rb
|
100
89
|
- lib/action_tabler/data_tables/data_handler.rb
|
101
90
|
- lib/action_tabler/data_tables/display_handler.rb
|
102
|
-
- lib/action_tabler/data_tables.rb
|
103
91
|
- lib/action_tabler/has_table_action.rb
|
104
92
|
- lib/action_tabler/mapper.rb
|
105
93
|
- lib/action_tabler/railtie.rb
|
106
94
|
- lib/action_tabler/table_handler.rb
|
107
95
|
- lib/action_tabler/utilities.rb
|
108
96
|
- lib/action_tabler/version.rb
|
109
|
-
- lib/action_tabler.rb
|
110
97
|
- lib/tasks/table_view_tasks.rake
|
111
|
-
- MIT-LICENSE
|
112
|
-
- Rakefile
|
113
|
-
- README.md
|
114
98
|
homepage: https://github.com/lhalff/action_tabler
|
115
99
|
licenses: []
|
116
|
-
|
100
|
+
metadata: {}
|
117
101
|
post_install_message:
|
118
102
|
rdoc_options: []
|
119
|
-
|
120
|
-
require_paths:
|
103
|
+
require_paths:
|
121
104
|
- lib
|
122
|
-
required_ruby_version: !ruby/object:Gem::Requirement
|
123
|
-
|
124
|
-
requirements:
|
105
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
106
|
+
requirements:
|
125
107
|
- - ">="
|
126
|
-
- !ruby/object:Gem::Version
|
127
|
-
|
128
|
-
|
129
|
-
|
130
|
-
version: "0"
|
131
|
-
required_rubygems_version: !ruby/object:Gem::Requirement
|
132
|
-
none: false
|
133
|
-
requirements:
|
108
|
+
- !ruby/object:Gem::Version
|
109
|
+
version: '0'
|
110
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
111
|
+
requirements:
|
134
112
|
- - ">="
|
135
|
-
- !ruby/object:Gem::Version
|
136
|
-
|
137
|
-
segments:
|
138
|
-
- 0
|
139
|
-
version: "0"
|
113
|
+
- !ruby/object:Gem::Version
|
114
|
+
version: '0'
|
140
115
|
requirements: []
|
141
|
-
|
142
116
|
rubyforge_project:
|
143
|
-
rubygems_version:
|
117
|
+
rubygems_version: 2.4.5
|
144
118
|
signing_key:
|
145
|
-
specification_version:
|
119
|
+
specification_version: 4
|
146
120
|
summary: has_table_index mixin for ActionController
|
147
121
|
test_files: []
|
148
|
-
|