dradis-csv_export 4.7.0 → 4.8.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +3 -0
- data/app/controllers/dradis/plugins/csv_export/base_controller.rb +2 -4
- data/app/views/dradis/plugins/csv_export/export/_index-content.html.erb +4 -1
- data/dradis-csv_export.gemspec +3 -3
- data/lib/dradis/plugins/csv_export/gem_version.rb +1 -1
- metadata +18 -18
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 96914189daf78345765705f570ff844837be3071cdf8e2e9786159513e6463d7
|
4
|
+
data.tar.gz: e4ba7d81dd7971772180afa5bc94d19fb8a0fad510573aa9137df72814d9dbd5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4637134c8535cb83f149f87eeae2903b3cd32a4621c5b69d9508430459f13a1f8ce8823fd15603d556325ff35f4c5bce0e462823803c14a245accf56e1018064
|
7
|
+
data.tar.gz: 0fa5984ca36ecaa7b41b9a929a3f62721a6cf46a232478f09cb4737e2b5ecf2818fc7d121258b1663f2ff3ffb65487e958bf32ce8847b6b478cac1817eb72680
|
data/CHANGELOG.md
CHANGED
@@ -2,10 +2,9 @@ module Dradis
|
|
2
2
|
module Plugins
|
3
3
|
module CSVExport
|
4
4
|
class BaseController < Dradis::Plugins::Export::BaseController
|
5
|
-
|
6
5
|
def index
|
7
|
-
exporter = Dradis::Plugins::CSVExport::Exporter.new(
|
8
|
-
csv
|
6
|
+
exporter = Dradis::Plugins::CSVExport::Exporter.new(export_params)
|
7
|
+
csv = exporter.export
|
9
8
|
|
10
9
|
send_data csv,
|
11
10
|
disposition: 'inline',
|
@@ -13,7 +12,6 @@ module Dradis
|
|
13
12
|
type: 'text/csv'
|
14
13
|
end
|
15
14
|
end
|
16
|
-
|
17
15
|
end
|
18
16
|
end
|
19
17
|
end
|
@@ -5,6 +5,9 @@
|
|
5
5
|
<%= hidden_field_tag :route, :root %>
|
6
6
|
|
7
7
|
<h4 class="header-underline mb-0">Ready when you are!</h4>
|
8
|
-
|
8
|
+
|
9
|
+
<div class="mt-4">
|
10
|
+
<%= render partial: 'export/submit_button', locals: { plugin_name: Dradis::Plugins::CSVExport::Engine.plugin_name } %>
|
11
|
+
</div>
|
9
12
|
<% end %>
|
10
13
|
<% end%>
|
data/dradis-csv_export.gemspec
CHANGED
@@ -25,10 +25,10 @@ Gem::Specification.new do |spec|
|
|
25
25
|
# versions of Rails (a sure recipe for disaster, I'm sure), which is needed
|
26
26
|
# until we bump Dradis Pro to 4.1.
|
27
27
|
# s.add_dependency 'rails', '~> 4.1.1'
|
28
|
-
spec.add_dependency 'dradis-plugins', '
|
28
|
+
spec.add_dependency 'dradis-plugins', '>= 4.8.0'
|
29
29
|
|
30
|
-
spec.add_development_dependency 'bundler', '
|
31
|
-
spec.add_development_dependency 'rake', '
|
30
|
+
spec.add_development_dependency 'bundler', '>= 2.2.33'
|
31
|
+
spec.add_development_dependency 'rake', '>= 12.3.3'
|
32
32
|
|
33
33
|
spec.add_development_dependency 'rspec-rails'#, '~> 3.0.0'
|
34
34
|
end
|
metadata
CHANGED
@@ -1,57 +1,57 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: dradis-csv_export
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 4.
|
4
|
+
version: 4.8.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Daniel Martin
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-
|
11
|
+
date: 2023-04-12 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: dradis-plugins
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
|
-
- - "
|
17
|
+
- - ">="
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version:
|
19
|
+
version: 4.8.0
|
20
20
|
type: :runtime
|
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: 4.8.0
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: bundler
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
30
30
|
requirements:
|
31
|
-
- - "
|
31
|
+
- - ">="
|
32
32
|
- !ruby/object:Gem::Version
|
33
|
-
version:
|
33
|
+
version: 2.2.33
|
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: 2.2.33
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
42
|
name: rake
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
44
44
|
requirements:
|
45
|
-
- - "
|
45
|
+
- - ">="
|
46
46
|
- !ruby/object:Gem::Version
|
47
|
-
version:
|
47
|
+
version: 12.3.3
|
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:
|
54
|
+
version: 12.3.3
|
55
55
|
- !ruby/object:Gem::Dependency
|
56
56
|
name: rspec-rails
|
57
57
|
requirement: !ruby/object:Gem::Requirement
|
@@ -102,7 +102,7 @@ homepage: http://dradisframework.org
|
|
102
102
|
licenses:
|
103
103
|
- GPL-2
|
104
104
|
metadata: {}
|
105
|
-
post_install_message:
|
105
|
+
post_install_message:
|
106
106
|
rdoc_options: []
|
107
107
|
require_paths:
|
108
108
|
- lib
|
@@ -117,8 +117,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
117
117
|
- !ruby/object:Gem::Version
|
118
118
|
version: '0'
|
119
119
|
requirements: []
|
120
|
-
rubygems_version: 3.
|
121
|
-
signing_key:
|
120
|
+
rubygems_version: 3.3.7
|
121
|
+
signing_key:
|
122
122
|
specification_version: 4
|
123
123
|
summary: CSV export plugin for the Dradis Framework.
|
124
124
|
test_files:
|