active_scaffold_sortable 3.2.9 → 3.2.10

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: c2271e57325561689f2ce07b97d177a81dd4b4d3
4
+ data.tar.gz: a742daf66403523b39e34312230ab92f963d514a
5
+ SHA512:
6
+ metadata.gz: 212f542521885bd1f5f7995e64643ce945bc7508b14e5289ce07dc4cef225d396480e256fee8c372f49b8522273ef0c0672cb56880f54ffe860c57f74f3d87bf
7
+ data.tar.gz: c3dcd22c986d98af3823ca2a09a8e08a978658ef5de701ae993237fbe71e5d9eaa447268d593546b0e173d8d4702815633a5731e7180d33bef63d7e9ecdcb3a9
@@ -2,7 +2,7 @@ module ActiveScaffoldSortable
2
2
  module Version
3
3
  MAJOR = 3
4
4
  MINOR = 2
5
- PATCH = 9
5
+ PATCH = 10
6
6
 
7
7
  STRING = [MAJOR, MINOR, PATCH].compact.join('.')
8
8
  end
@@ -3,10 +3,10 @@ module ActiveScaffoldSortable
3
3
  def sort_params(config = active_scaffold_config)
4
4
  options = {
5
5
  :tag => 'tr',
6
- :reorder_url => url_for(params_for(:action => :reorder, :controller => controller_name)),
7
6
  :format => '^[^_-](?:[A-Za-z0-9_-]*)-(.*)-row$',
8
7
  :column => config.sortable.column.name
9
8
  }
9
+ options[:reorder_url] = url_for(params_for(:action => :reorder, :controller => controller_name)) if config == self.active_scaffold_config
10
10
  options.merge config.sortable.options
11
11
  end
12
12
 
metadata CHANGED
@@ -1,112 +1,57 @@
1
- --- !ruby/object:Gem::Specification
1
+ --- !ruby/object:Gem::Specification
2
2
  name: active_scaffold_sortable
3
- version: !ruby/object:Gem::Version
4
- hash: 29
5
- prerelease:
6
- segments:
7
- - 3
8
- - 2
9
- - 9
10
- version: 3.2.9
3
+ version: !ruby/object:Gem::Version
4
+ version: 3.2.10
11
5
  platform: ruby
12
- authors:
6
+ authors:
13
7
  - Sergio Cambra
14
8
  - Volker Hochstein
15
9
  autorequire:
16
10
  bindir: bin
17
11
  cert_chain: []
18
-
19
- date: 2014-08-26 00:00:00 Z
20
- dependencies:
21
- - !ruby/object:Gem::Dependency
22
- type: :development
23
- requirement: &id001 !ruby/object:Gem::Requirement
24
- none: false
25
- requirements:
26
- - - ">="
27
- - !ruby/object:Gem::Version
28
- hash: 3
29
- segments:
30
- - 0
31
- version: "0"
32
- version_requirements: *id001
33
- name: shoulda
34
- prerelease: false
35
- - !ruby/object:Gem::Dependency
36
- type: :development
37
- requirement: &id002 !ruby/object:Gem::Requirement
38
- none: false
39
- requirements:
40
- - - ~>
41
- - !ruby/object:Gem::Version
42
- hash: 23
43
- segments:
44
- - 1
45
- - 0
46
- - 0
47
- version: 1.0.0
48
- version_requirements: *id002
49
- name: bundler
50
- prerelease: false
51
- - !ruby/object:Gem::Dependency
52
- type: :development
53
- requirement: &id003 !ruby/object:Gem::Requirement
54
- none: false
55
- requirements:
56
- - - ">="
57
- - !ruby/object:Gem::Version
58
- hash: 3
59
- segments:
60
- - 0
61
- version: "0"
62
- version_requirements: *id003
63
- name: rcov
64
- prerelease: false
65
- - !ruby/object:Gem::Dependency
66
- type: :runtime
67
- requirement: &id004 !ruby/object:Gem::Requirement
68
- none: false
69
- requirements:
70
- - - ">="
71
- - !ruby/object:Gem::Version
72
- hash: 2224656299
73
- segments:
74
- - 3
75
- - 3
76
- - 0
77
- - rc
78
- - 3
79
- version: 3.3.0.rc3
80
- version_requirements: *id004
12
+ date: 2015-09-15 00:00:00.000000000 Z
13
+ dependencies:
14
+ - !ruby/object:Gem::Dependency
81
15
  name: active_scaffold
16
+ requirement: !ruby/object:Gem::Requirement
17
+ requirements:
18
+ - - '>='
19
+ - !ruby/object:Gem::Version
20
+ version: 3.3.0.rc3
21
+ type: :runtime
82
22
  prerelease: false
23
+ version_requirements: !ruby/object:Gem::Requirement
24
+ requirements:
25
+ - - '>='
26
+ - !ruby/object:Gem::Version
27
+ version: 3.3.0.rc3
83
28
  description: Sort Tree or List Structures by Drag n Drop
84
29
  email: activescaffold@googlegroups.com
85
30
  executables: []
86
-
87
31
  extensions: []
88
-
89
- extra_rdoc_files:
32
+ extra_rdoc_files:
33
+ - LICENSE.txt
34
+ - README.textile
35
+ files:
90
36
  - LICENSE.txt
91
37
  - README.textile
92
- files:
93
- - app/assets/stylesheets/active_scaffold_sortable.css.scss
94
38
  - app/assets/images/active_scaffold/sortable.png
95
39
  - app/assets/javascripts/active_scaffold_sortable.js.erb
96
40
  - app/assets/javascripts/jquery/active_scaffold_sortable.js
97
41
  - app/assets/javascripts/jquery/active_scaffold_sortable.js~
98
42
  - app/assets/javascripts/prototype/active_scaffold_sortable.js
99
43
  - app/assets/javascripts/prototype/active_scaffold_sortable.js~
44
+ - app/assets/stylesheets/active_scaffold_sortable.css.scss
100
45
  - app/views/active_scaffold_overrides/_form_association.html.erb
101
- - app/views/active_scaffold_overrides/edit_associated.js.erb
102
46
  - app/views/active_scaffold_overrides/_form_association.html.erb~
47
+ - app/views/active_scaffold_overrides/edit_associated.js.erb
103
48
  - app/views/active_scaffold_overrides/edit_associated.js.erb~
104
49
  - frontends/default/active_scaffold_overrides/_list.html.erb
105
50
  - frontends/default/active_scaffold_overrides/on_create.js.erb
106
- - frontends/default/active_scaffold_overrides/on_update.js.erb
107
- - frontends/default/active_scaffold_overrides/reorder.js.erb
108
51
  - frontends/default/active_scaffold_overrides/on_create.js.erb~
52
+ - frontends/default/active_scaffold_overrides/on_update.js.erb
109
53
  - frontends/default/active_scaffold_overrides/on_update.js.erb~
54
+ - frontends/default/active_scaffold_overrides/reorder.js.erb
110
55
  - lib/active_scaffold/actions/sortable.rb
111
56
  - lib/active_scaffold/actions/sortable.rb~
112
57
  - lib/active_scaffold/config/sortable.rb
@@ -114,12 +59,10 @@ files:
114
59
  - lib/active_scaffold_sortable.rb
115
60
  - lib/active_scaffold_sortable/config/core.rb
116
61
  - lib/active_scaffold_sortable/core.rb
117
- - lib/active_scaffold_sortable/version.rb
118
62
  - lib/active_scaffold_sortable/engine.rb
63
+ - lib/active_scaffold_sortable/version.rb
119
64
  - lib/active_scaffold_sortable/view_helpers.rb
120
65
  - lib/active_scaffold_sortable/view_helpers.rb~
121
- - LICENSE.txt
122
- - README.textile
123
66
  - test/auto_models_controller_test.rb
124
67
  - test/config_test.rb
125
68
  - test/controllers/auto_models_controller.rb
@@ -131,39 +74,30 @@ files:
131
74
  - test/schema.rb
132
75
  - test/test_helper.rb
133
76
  homepage: http://github.com/activescaffold/active_scaffold_sortable
134
- licenses:
77
+ licenses:
135
78
  - MIT
79
+ metadata: {}
136
80
  post_install_message:
137
81
  rdoc_options: []
138
-
139
- require_paths:
82
+ require_paths:
140
83
  - lib
141
- required_ruby_version: !ruby/object:Gem::Requirement
142
- none: false
143
- requirements:
144
- - - ">="
145
- - !ruby/object:Gem::Version
146
- hash: 3
147
- segments:
148
- - 0
149
- version: "0"
150
- required_rubygems_version: !ruby/object:Gem::Requirement
151
- none: false
152
- requirements:
153
- - - ">="
154
- - !ruby/object:Gem::Version
155
- hash: 3
156
- segments:
157
- - 0
158
- version: "0"
84
+ required_ruby_version: !ruby/object:Gem::Requirement
85
+ requirements:
86
+ - - '>='
87
+ - !ruby/object:Gem::Version
88
+ version: '0'
89
+ required_rubygems_version: !ruby/object:Gem::Requirement
90
+ requirements:
91
+ - - '>='
92
+ - !ruby/object:Gem::Version
93
+ version: '0'
159
94
  requirements: []
160
-
161
95
  rubyforge_project:
162
- rubygems_version: 1.8.29
96
+ rubygems_version: 2.4.5
163
97
  signing_key:
164
- specification_version: 3
98
+ specification_version: 4
165
99
  summary: Drag n Drop Sorting for Activescaffold
166
- test_files:
100
+ test_files:
167
101
  - test/auto_models_controller_test.rb
168
102
  - test/config_test.rb
169
103
  - test/controllers/auto_models_controller.rb