redhat_access 2.1.6 → 2.1.7

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
- SHA1:
3
- metadata.gz: 4d25fb606c8d74f419a35bf3ced75af7a4f92404
4
- data.tar.gz: f319ef7c2c06e9f8cf05d4f6ce992659d2297b7c
2
+ SHA256:
3
+ metadata.gz: 873c25168580111018433736f929c05066d2ec87096f52d002863fa11f8d7656
4
+ data.tar.gz: 44388a76958c4969d7b24a34d969fe6ad56bb91de39522f1a1d0aa40e01fdcdf
5
5
  SHA512:
6
- metadata.gz: b9647ac734d30c7cb99ba68a0980f7f8f3f641971ea86d28952135596d51c1934796a7ead1c412afd29c706fa1d77334949c3e28d686eb8d4288ef58a16a018f
7
- data.tar.gz: ed7869cd5e8ac7f76b94464649486d24c8495d81c0a3919dea2736f65349afcf4ae5e5e91445730cdb81f34e9533b845168e978039ea21c42a5f38295a595cfa
6
+ metadata.gz: c1cbc83e65114431494fb138685e1f3e3a5ca3e7b4a0d2253dadbc85a4698406457861c1f23ed504ba7bf38846588793627028da8bab2733d47a39234943c3ad
7
+ data.tar.gz: 9ce837ab9130d9afa85edb4199c98f5ebc631789c4156210e13b172f45ed8fb4dd4960b590ab2ff4a5b74682099b473d3c7d83ca0aa4dd0cb54d19412e7a545f
@@ -145,10 +145,10 @@ module RedhatAccess
145
145
  end
146
146
 
147
147
  def get_file_data params
148
- return {
149
- :file => params[:file],
150
- :filename => params[:file].original_filename
151
- }
148
+ data = {}
149
+ data[:file] = params[:file]
150
+ data[:metadata] = params[:metadata] if params[:metadata] # include the metadata part if present
151
+ return data
152
152
  end
153
153
 
154
154
  def add_branch_to_params(params)
@@ -1,3 +1,3 @@
1
1
  module RedhatAccess
2
- VERSION = "2.1.6"
2
+ VERSION = "2.1.7"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: redhat_access
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.1.6
4
+ version: 2.1.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Lindani Phiri
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-07-04 00:00:00.000000000 Z
11
+ date: 2019-03-01 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: redhat_access_lib
@@ -336,62 +336,61 @@ required_rubygems_version: !ruby/object:Gem::Requirement
336
336
  - !ruby/object:Gem::Version
337
337
  version: '0'
338
338
  requirements: []
339
- rubyforge_project:
340
- rubygems_version: 2.6.8
339
+ rubygems_version: 3.0.1
341
340
  signing_key:
342
341
  specification_version: 4
343
342
  summary: Plugin to add Redhat Access to Foreman
344
343
  test_files:
345
- - test/integration/navigation_test.rb
346
- - test/unit/helpers/redhat_access/redhat_access_helper_test.rb
347
- - test/unit/helpers/redhat_access/logs_helper_test.rb
348
- - test/unit/helpers/redhat_access/log_viewer_helper_test.rb
349
- - test/unit/helpers/redhat_access/search_helper_test.rb
344
+ - test/unit/redhat_access/telemetry_configuration_test.rb
350
345
  - test/unit/helpers/redhat_access/telemetry_configuration_helper_test.rb
351
- - test/unit/helpers/redhat_access/analytics_dashboard_helper_test.rb
346
+ - test/unit/helpers/redhat_access/redhat_access_helper_test.rb
352
347
  - test/unit/helpers/redhat_access/attachments_helper_test.rb
353
348
  - test/unit/helpers/redhat_access/cases_helper_test.rb
354
- - test/unit/redhat_access/telemetry_configuration_test.rb
355
- - test/test_helper.rb
356
- - test/models/redhat_access/telemetry_proxy_credentials_test.rb
357
- - test/functional/redhat_access/telemetry_configuration_controller_test.rb
358
- - test/functional/redhat_access/redhat_access_controller_test.rb
359
- - test/functional/redhat_access/attachments_controller_test.rb
360
- - test/functional/redhat_access/search_controller_test.rb
361
- - test/functional/redhat_access/analytics_dashboard_controller_test.rb
362
- - test/functional/redhat_access/configuration_controller_test.rb
363
- - test/functional/redhat_access/logs_controller_test.rb
364
- - test/functional/redhat_access/cases_controller_test.rb
365
- - test/functional/redhat_access/log_viewer_controller_test.rb
366
- - test/redhat_access_test.rb
349
+ - test/unit/helpers/redhat_access/analytics_dashboard_helper_test.rb
350
+ - test/unit/helpers/redhat_access/search_helper_test.rb
351
+ - test/unit/helpers/redhat_access/logs_helper_test.rb
352
+ - test/unit/helpers/redhat_access/log_viewer_helper_test.rb
367
353
  - test/sos-report-test.rb
368
- - test/dummy/README.rdoc
354
+ - test/dummy/app/controllers/application_controller.rb
355
+ - test/dummy/app/views/layouts/application.html.erb
356
+ - test/dummy/app/assets/javascripts/application.js
357
+ - test/dummy/app/assets/stylesheets/application.css
358
+ - test/dummy/app/helpers/application_helper.rb
369
359
  - test/dummy/config/routes.rb
370
- - test/dummy/config/initializers/wrap_parameters.rb
371
- - test/dummy/config/initializers/session_store.rb
372
- - test/dummy/config/initializers/mime_types.rb
373
- - test/dummy/config/initializers/inflections.rb
374
- - test/dummy/config/initializers/backtrace_silencers.rb
375
- - test/dummy/config/initializers/secret_token.rb
360
+ - test/dummy/config/locales/en.yml
376
361
  - test/dummy/config/environments/production.rb
377
362
  - test/dummy/config/environments/development.rb
378
363
  - test/dummy/config/environments/test.rb
379
- - test/dummy/config/database.yml
380
- - test/dummy/config/application.rb
381
- - test/dummy/config/locales/en.yml
382
364
  - test/dummy/config/environment.rb
365
+ - test/dummy/config/application.rb
366
+ - test/dummy/config/database.yml
383
367
  - test/dummy/config/boot.rb
384
- - test/dummy/public/404.html
385
- - test/dummy/public/500.html
386
- - test/dummy/public/422.html
387
- - test/dummy/public/favicon.ico
388
- - test/dummy/app/helpers/application_helper.rb
389
- - test/dummy/app/views/layouts/application.html.erb
390
- - test/dummy/app/assets/stylesheets/application.css
391
- - test/dummy/app/assets/javascripts/application.js
392
- - test/dummy/app/controllers/application_controller.rb
368
+ - test/dummy/config/initializers/backtrace_silencers.rb
369
+ - test/dummy/config/initializers/mime_types.rb
370
+ - test/dummy/config/initializers/session_store.rb
371
+ - test/dummy/config/initializers/wrap_parameters.rb
372
+ - test/dummy/config/initializers/secret_token.rb
373
+ - test/dummy/config/initializers/inflections.rb
393
374
  - test/dummy/config.ru
394
- - test/dummy/Rakefile
395
375
  - test/dummy/script/rails
376
+ - test/dummy/Rakefile
377
+ - test/dummy/public/favicon.ico
378
+ - test/dummy/public/422.html
379
+ - test/dummy/public/500.html
380
+ - test/dummy/public/404.html
381
+ - test/dummy/README.rdoc
382
+ - test/integration/navigation_test.rb
383
+ - test/models/redhat_access/telemetry_proxy_credentials_test.rb
384
+ - test/redhat_access_test.rb
396
385
  - test/fixtures/redhat_access/telemetry_configurations.yml
397
386
  - test/fixtures/redhat_access/telemetry_proxy_credentials.yml
387
+ - test/test_helper.rb
388
+ - test/functional/redhat_access/analytics_dashboard_controller_test.rb
389
+ - test/functional/redhat_access/redhat_access_controller_test.rb
390
+ - test/functional/redhat_access/logs_controller_test.rb
391
+ - test/functional/redhat_access/search_controller_test.rb
392
+ - test/functional/redhat_access/telemetry_configuration_controller_test.rb
393
+ - test/functional/redhat_access/log_viewer_controller_test.rb
394
+ - test/functional/redhat_access/attachments_controller_test.rb
395
+ - test/functional/redhat_access/configuration_controller_test.rb
396
+ - test/functional/redhat_access/cases_controller_test.rb