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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: a89ba54ea48e8f2bed2bf4cff63ea1fd4f60c27f8686e456e90f889727c6fbea
4
- data.tar.gz: 1959799c24b4992db83de1cf634a25424cdd05fe8c299937faedd7677c659fed
3
+ metadata.gz: 96914189daf78345765705f570ff844837be3071cdf8e2e9786159513e6463d7
4
+ data.tar.gz: e4ba7d81dd7971772180afa5bc94d19fb8a0fad510573aa9137df72814d9dbd5
5
5
  SHA512:
6
- metadata.gz: 61ac29f991899e52aa77a09234cd57ef4cf2e0f2c49bef6581388cb083d23cb5732374bc9634bf3b2dd1ba1d27178e7bb9df0c38d21e667a971ecede402af026
7
- data.tar.gz: 894a6b20fb55f26c02bf14c60d814bdbb137d2182eaf19c17a5d8c0deaa8d3001b8add18a259070f84b89a7bc7b00a613f8863db69c3bdb71307bd7ad83e030a
6
+ metadata.gz: 4637134c8535cb83f149f87eeae2903b3cd32a4621c5b69d9508430459f13a1f8ce8823fd15603d556325ff35f4c5bce0e462823803c14a245accf56e1018064
7
+ data.tar.gz: 0fa5984ca36ecaa7b41b9a929a3f62721a6cf46a232478f09cb4737e2b5ecf2818fc7d121258b1663f2ff3ffb65487e958bf32ce8847b6b478cac1817eb72680
data/CHANGELOG.md CHANGED
@@ -1,3 +1,6 @@
1
+ v4.8.0 (April 2023)
2
+ - Add feature to select published/all records for export
3
+
1
4
  v4.7.0 (February 2023)
2
5
  - No changes
3
6
 
@@ -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(export_options)
8
- csv = exporter.export
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
- <button id="export-button" class="btn btn-lg btn-primary mt-4">Export</button>
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%>
@@ -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', '~> 4.0'
28
+ spec.add_dependency 'dradis-plugins', '>= 4.8.0'
29
29
 
30
- spec.add_development_dependency 'bundler', '~> 1.6'
31
- spec.add_development_dependency 'rake', '~> 10.0'
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
@@ -8,7 +8,7 @@ module Dradis
8
8
 
9
9
  module VERSION
10
10
  MAJOR = 4
11
- MINOR = 7
11
+ MINOR = 8
12
12
  TINY = 0
13
13
  PRE = nil
14
14
 
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.7.0
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-02-20 00:00:00.000000000 Z
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: '4.0'
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: '4.0'
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: '1.6'
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: '1.6'
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: '10.0'
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: '10.0'
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.1.4
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: