rails_data 0.0.1 → 1.0.0
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/app/assets/javascripts/controllers/{the_data_admin → data/admin}/data_lists/edit.js +0 -0
- data/app/assets/javascripts/controllers/{the_data_admin → data/admin}/data_lists/new.js +0 -0
- data/app/assets/javascripts/controllers/{the_data_admin → data/admin}/table_lists/index.js +0 -0
- data/app/controllers/data/admin/base_controller.rb +3 -0
- data/app/controllers/{rails_data_admin → data/admin}/data_lists_controller.rb +1 -1
- data/app/controllers/{rails_data_admin → data/admin}/data_records_controller.rb +1 -1
- data/app/controllers/{rails_data_admin → data/admin}/record_lists_controller.rb +1 -1
- data/app/controllers/{rails_data_admin → data/admin}/table_lists_controller.rb +1 -1
- data/app/views/{rails_data_admin → data/admin}/base/_nav.html.erb +0 -0
- data/app/views/{rails_data_admin → data/admin}/data_lists/_item_form.html.erb +0 -0
- data/app/views/{rails_data_admin → data/admin}/data_lists/add_item.js.erb +0 -0
- data/app/views/{rails_data_admin → data/admin}/data_lists/edit.html.erb +0 -0
- data/app/views/{rails_data_admin → data/admin}/data_lists/index.html.erb +0 -0
- data/app/views/{rails_data_admin → data/admin}/data_lists/new.html.erb +0 -0
- data/app/views/{rails_data_admin → data/admin}/data_lists/remove_item.js.erb +0 -0
- data/app/views/{rails_data_admin → data/admin}/data_lists/reportable.html.erb +0 -0
- data/app/views/{rails_data_admin → data/admin}/data_lists/show.html.erb +0 -0
- data/app/views/{rails_data_admin → data/admin}/data_records/_item_form.html.erb +0 -0
- data/app/views/{rails_data_admin → data/admin}/data_records/add_item.js.erb +0 -0
- data/app/views/{rails_data_admin → data/admin}/data_records/edit.html.erb +0 -0
- data/app/views/{rails_data_admin → data/admin}/data_records/index.html.erb +0 -0
- data/app/views/{rails_data_admin → data/admin}/data_records/new.html.erb +0 -0
- data/app/views/{rails_data_admin → data/admin}/data_records/remove_item.js.erb +0 -0
- data/app/views/{rails_data_admin → data/admin}/data_records/reportable.html.erb +0 -0
- data/app/views/{rails_data_admin → data/admin}/data_records/show.html.erb +0 -0
- data/app/views/{rails_data_admin → data/admin}/record_lists/_edit_columns.html.erb +0 -0
- data/app/views/{rails_data_admin → data/admin}/record_lists/_edit_table.erb +0 -0
- data/app/views/{rails_data_admin → data/admin}/record_lists/_index.html.erb +0 -0
- data/app/views/{rails_data_admin → data/admin}/record_lists/_search_form.html.erb +0 -0
- data/app/views/{rails_data_admin → data/admin}/record_lists/_show.html.erb +0 -0
- data/app/views/{rails_data_admin → data/admin}/record_lists/_table.html.erb +0 -0
- data/app/views/{rails_data_admin → data/admin}/record_lists/edit.html.erb +0 -0
- data/app/views/{rails_data_admin → data/admin}/record_lists/edit_columns.html.erb +0 -0
- data/app/views/{rails_data_admin → data/admin}/record_lists/edit_columns.js.erb +0 -0
- data/app/views/{rails_data_admin → data/admin}/record_lists/find.js.erb +0 -0
- data/app/views/{rails_data_admin → data/admin}/record_lists/index.html.erb +0 -0
- data/app/views/{rails_data_admin → data/admin}/record_lists/new.html.erb +0 -0
- data/app/views/{rails_data_admin → data/admin}/record_lists/show.html.erb +0 -0
- data/app/views/{rails_data_admin → data/admin}/record_lists/show.js.erb +0 -0
- data/app/views/{rails_data_admin → data/admin}/record_lists/update_columns.js.erb +0 -0
- data/app/views/{rails_data_admin → data/admin}/table_lists/_import.html.erb +0 -0
- data/app/views/{rails_data_admin → data/admin}/table_lists/_index.html.erb +0 -0
- data/app/views/{rails_data_admin → data/admin}/table_lists/_process.html.erb +0 -0
- data/app/views/{rails_data_admin → data/admin}/table_lists/_show.html.erb +0 -0
- data/app/views/{rails_data_admin → data/admin}/table_lists/_table.html.erb +0 -0
- data/app/views/{rails_data_admin → data/admin}/table_lists/create_import.js.erb +0 -0
- data/app/views/{rails_data_admin → data/admin}/table_lists/edit.html.erb +0 -0
- data/app/views/{rails_data_admin → data/admin}/table_lists/find.js.erb +0 -0
- data/app/views/{rails_data_admin → data/admin}/table_lists/index.html.erb +0 -0
- data/app/views/{rails_data_admin → data/admin}/table_lists/new.html.erb +0 -0
- data/app/views/{rails_data_admin → data/admin}/table_lists/new_import.js.erb +0 -0
- data/app/views/{rails_data_admin → data/admin}/table_lists/run.js.erb +0 -0
- data/app/views/{rails_data_admin → data/admin}/table_lists/show.html.erb +0 -0
- data/config/routes.rb +1 -1
- data/lib/rails_data/config.rb +2 -2
- data/lib/rails_data/version.rb +1 -1
- metadata +56 -56
- data/app/controllers/rails_data_admin/base_controller.rb +0 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 8088277753f50fc01cdd2f2a2b35764a01e479bf05c9d44f7092941a61e20707
|
|
4
|
+
data.tar.gz: 85a9c69d22b2af40b930073fdb729787cd5856a6fe3de10087ad11999299ceff
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 3105ce181a27473c29d71e30a102419e21fa189ed2da253371da11b761c5d3243aa843a2515743817861839ac96b247ca3fcb6707503a2edd3fceb9233c78ae2
|
|
7
|
+
data.tar.gz: 4d0760739067f92a99754a1a244629cf429523c9ff1c0fa66a9b7151aa81273731a6bc7c4c3cd61a7d2701af0f318ee1718b18c50cb8afe87a59976920c62f4f
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
class
|
|
1
|
+
class Data::Admin::RecordListsController < Data::Admin::BaseController
|
|
2
2
|
before_action :set_data_record
|
|
3
3
|
before_action :set_record_list, only: [:show, :edit, :row, :run, :update, :edit_columns, :update_columns, :destroy]
|
|
4
4
|
skip_before_action :require_role
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
class
|
|
1
|
+
class Data::Admin::TableListsController < Data::Admin::BaseController
|
|
2
2
|
before_action :set_data_list
|
|
3
3
|
before_action :set_table_list, only: [:show, :xlsx, :edit, :row, :run, :migrate, :update, :destroy]
|
|
4
4
|
skip_before_action :require_role
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
data/config/routes.rb
CHANGED
data/lib/rails_data/config.rb
CHANGED
|
@@ -12,7 +12,7 @@ module RailsData
|
|
|
12
12
|
|
|
13
13
|
config.inflector = :titleize
|
|
14
14
|
config.method_name = :report
|
|
15
|
-
config.admin_class = '
|
|
15
|
+
config.admin_class = 'AdminController'
|
|
16
16
|
config.mapping.date = { input: 'date', output: 'to_date' }
|
|
17
17
|
config.mapping.integer = { input: 'number', output: 'to_i' }
|
|
18
18
|
config.mapping.string = { input: 'text', output: 'to_s' }
|
|
@@ -20,4 +20,4 @@ module RailsData
|
|
|
20
20
|
config.mapping.array = { input: 'array', output: 'to_s' }
|
|
21
21
|
end
|
|
22
22
|
|
|
23
|
-
end
|
|
23
|
+
end
|
data/lib/rails_data/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: rails_data
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.0
|
|
4
|
+
version: 1.0.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- qinmingyuan
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2018-
|
|
11
|
+
date: 2018-10-10 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: rails
|
|
@@ -106,16 +106,16 @@ files:
|
|
|
106
106
|
- Rakefile
|
|
107
107
|
- app/assets/config/rails_data_manifest.js
|
|
108
108
|
- app/assets/javascripts/channels/done.js
|
|
109
|
-
- app/assets/javascripts/controllers/
|
|
110
|
-
- app/assets/javascripts/controllers/
|
|
111
|
-
- app/assets/javascripts/controllers/
|
|
109
|
+
- app/assets/javascripts/controllers/data/admin/data_lists/edit.js
|
|
110
|
+
- app/assets/javascripts/controllers/data/admin/data_lists/new.js
|
|
111
|
+
- app/assets/javascripts/controllers/data/admin/table_lists/index.js
|
|
112
112
|
- app/channels/done_channel.rb
|
|
113
113
|
- app/channels/rails_data_connection.rb
|
|
114
|
-
- app/controllers/
|
|
115
|
-
- app/controllers/
|
|
116
|
-
- app/controllers/
|
|
117
|
-
- app/controllers/
|
|
118
|
-
- app/controllers/
|
|
114
|
+
- app/controllers/data/admin/base_controller.rb
|
|
115
|
+
- app/controllers/data/admin/data_lists_controller.rb
|
|
116
|
+
- app/controllers/data/admin/data_records_controller.rb
|
|
117
|
+
- app/controllers/data/admin/record_lists_controller.rb
|
|
118
|
+
- app/controllers/data/admin/table_lists_controller.rb
|
|
119
119
|
- app/helpers/data_records_helper.rb
|
|
120
120
|
- app/helpers/rails_data_helper.rb
|
|
121
121
|
- app/jobs/table_job.rb
|
|
@@ -138,51 +138,51 @@ files:
|
|
|
138
138
|
- app/pdfs/concerns/pdf_table_helper.rb
|
|
139
139
|
- app/pdfs/concerns/pdf_text_helper.rb
|
|
140
140
|
- app/pdfs/rails_data_pdf.rb
|
|
141
|
-
- app/views/
|
|
142
|
-
- app/views/
|
|
143
|
-
- app/views/
|
|
144
|
-
- app/views/
|
|
145
|
-
- app/views/
|
|
146
|
-
- app/views/
|
|
147
|
-
- app/views/
|
|
148
|
-
- app/views/
|
|
149
|
-
- app/views/
|
|
150
|
-
- app/views/
|
|
151
|
-
- app/views/
|
|
152
|
-
- app/views/
|
|
153
|
-
- app/views/
|
|
154
|
-
- app/views/
|
|
155
|
-
- app/views/
|
|
156
|
-
- app/views/
|
|
157
|
-
- app/views/
|
|
158
|
-
- app/views/
|
|
159
|
-
- app/views/
|
|
160
|
-
- app/views/
|
|
161
|
-
- app/views/
|
|
162
|
-
- app/views/
|
|
163
|
-
- app/views/
|
|
164
|
-
- app/views/
|
|
165
|
-
- app/views/
|
|
166
|
-
- app/views/
|
|
167
|
-
- app/views/
|
|
168
|
-
- app/views/
|
|
169
|
-
- app/views/
|
|
170
|
-
- app/views/
|
|
171
|
-
- app/views/
|
|
172
|
-
- app/views/
|
|
173
|
-
- app/views/
|
|
174
|
-
- app/views/
|
|
175
|
-
- app/views/
|
|
176
|
-
- app/views/
|
|
177
|
-
- app/views/
|
|
178
|
-
- app/views/
|
|
179
|
-
- app/views/
|
|
180
|
-
- app/views/
|
|
181
|
-
- app/views/
|
|
182
|
-
- app/views/
|
|
183
|
-
- app/views/
|
|
184
|
-
- app/views/
|
|
185
|
-
- app/views/
|
|
141
|
+
- app/views/data/admin/base/_nav.html.erb
|
|
142
|
+
- app/views/data/admin/data_lists/_item_form.html.erb
|
|
143
|
+
- app/views/data/admin/data_lists/add_item.js.erb
|
|
144
|
+
- app/views/data/admin/data_lists/edit.html.erb
|
|
145
|
+
- app/views/data/admin/data_lists/index.html.erb
|
|
146
|
+
- app/views/data/admin/data_lists/new.html.erb
|
|
147
|
+
- app/views/data/admin/data_lists/remove_item.js.erb
|
|
148
|
+
- app/views/data/admin/data_lists/reportable.html.erb
|
|
149
|
+
- app/views/data/admin/data_lists/show.html.erb
|
|
150
|
+
- app/views/data/admin/data_records/_item_form.html.erb
|
|
151
|
+
- app/views/data/admin/data_records/add_item.js.erb
|
|
152
|
+
- app/views/data/admin/data_records/edit.html.erb
|
|
153
|
+
- app/views/data/admin/data_records/index.html.erb
|
|
154
|
+
- app/views/data/admin/data_records/new.html.erb
|
|
155
|
+
- app/views/data/admin/data_records/remove_item.js.erb
|
|
156
|
+
- app/views/data/admin/data_records/reportable.html.erb
|
|
157
|
+
- app/views/data/admin/data_records/show.html.erb
|
|
158
|
+
- app/views/data/admin/record_lists/_edit_columns.html.erb
|
|
159
|
+
- app/views/data/admin/record_lists/_edit_table.erb
|
|
160
|
+
- app/views/data/admin/record_lists/_index.html.erb
|
|
161
|
+
- app/views/data/admin/record_lists/_search_form.html.erb
|
|
162
|
+
- app/views/data/admin/record_lists/_show.html.erb
|
|
163
|
+
- app/views/data/admin/record_lists/_table.html.erb
|
|
164
|
+
- app/views/data/admin/record_lists/edit.html.erb
|
|
165
|
+
- app/views/data/admin/record_lists/edit_columns.html.erb
|
|
166
|
+
- app/views/data/admin/record_lists/edit_columns.js.erb
|
|
167
|
+
- app/views/data/admin/record_lists/find.js.erb
|
|
168
|
+
- app/views/data/admin/record_lists/index.html.erb
|
|
169
|
+
- app/views/data/admin/record_lists/new.html.erb
|
|
170
|
+
- app/views/data/admin/record_lists/show.html.erb
|
|
171
|
+
- app/views/data/admin/record_lists/show.js.erb
|
|
172
|
+
- app/views/data/admin/record_lists/update_columns.js.erb
|
|
173
|
+
- app/views/data/admin/table_lists/_import.html.erb
|
|
174
|
+
- app/views/data/admin/table_lists/_index.html.erb
|
|
175
|
+
- app/views/data/admin/table_lists/_process.html.erb
|
|
176
|
+
- app/views/data/admin/table_lists/_show.html.erb
|
|
177
|
+
- app/views/data/admin/table_lists/_table.html.erb
|
|
178
|
+
- app/views/data/admin/table_lists/create_import.js.erb
|
|
179
|
+
- app/views/data/admin/table_lists/edit.html.erb
|
|
180
|
+
- app/views/data/admin/table_lists/find.js.erb
|
|
181
|
+
- app/views/data/admin/table_lists/index.html.erb
|
|
182
|
+
- app/views/data/admin/table_lists/new.html.erb
|
|
183
|
+
- app/views/data/admin/table_lists/new_import.js.erb
|
|
184
|
+
- app/views/data/admin/table_lists/run.js.erb
|
|
185
|
+
- app/views/data/admin/table_lists/show.html.erb
|
|
186
186
|
- app/views/report_finish_mailer/finish_notify.text.erb
|
|
187
187
|
- config/initializers/the_data.rb
|
|
188
188
|
- config/locales/en.yml
|
|
@@ -228,7 +228,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
228
228
|
version: '0'
|
|
229
229
|
requirements: []
|
|
230
230
|
rubyforge_project:
|
|
231
|
-
rubygems_version: 2.7.
|
|
231
|
+
rubygems_version: 2.7.6
|
|
232
232
|
signing_key:
|
|
233
233
|
specification_version: 4
|
|
234
234
|
summary: Data Import & Export for Rails
|