bundler_audit_notifier 0.0.1 → 0.0.6

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: 44b80cf5b697868af957fed65fcf42fede78537bd791bb65b658e8110190b68d
4
- data.tar.gz: 6bc3e4469eaa985843ea80d8e3b8c5cd31e6b33185b075ee2ca542ebbddf6d74
3
+ metadata.gz: 02e1b895bd9b372142235bb973c3df0e0551f1857ef5cd7991b93431a929d533
4
+ data.tar.gz: 1f9fa7a4d41567e5eaa1d93210acc58aaf3bbf0f2dbd961de7bf1a72b3d4ba94
5
5
  SHA512:
6
- metadata.gz: 58fc9dbb86f68cbac170b0fb167d42874933025b8936f21060b0b90ace9247d1f3b13d43888166787db4112eeaedbbb6d35cd6cac3574fbc854582ee3bad915a
7
- data.tar.gz: c5e73ea0f13f9a2de286c477770618ea3edd5dbffa344ad290faaed7d7fb126b1d4da472482d17fddaf3424e782b40504d02d4309f6489560c88c5243eabe449
6
+ metadata.gz: 87efd7b317c0dfd7971b455a8eaaa42170cb7716d9028559c2653ed52e02c2ffaf3a5c9faafe5c46c30250404e9d7f39d98ac490970176527a86b61471bafac3
7
+ data.tar.gz: e02e9546b44ed147dc8017618e5dcec962dcdd144792068e9ec6d372b6eef166b94544fd4534b666a5f64483555a8850e6221db52f7752bf07e3f47a6c18c3c1
@@ -5,7 +5,7 @@
5
5
  </head>
6
6
  <body>
7
7
  <h1>Vulnerabilities: </h1>
8
- <%= @vulnerabilities.each do |line| %>
8
+ <% @vulnerabilities.each do |line| %>
9
9
  <ul>
10
10
  <li> Name: <%= line[:name].to_s.html_safe %></li>
11
11
  <li> Version: <%= line[:version].to_s.html_safe %></li>
@@ -2,6 +2,7 @@
2
2
  require "active_support"
3
3
  require 'rake'
4
4
  require "bundler_audit_notifier/engine"
5
+ require "auditer_script"
5
6
 
6
7
  module BundlerAuditNotifier
7
8
  def self.audit_parse
@@ -2,18 +2,16 @@
2
2
  require "rails/generators/active_record"
3
3
  require "rails/generators"
4
4
  module BundlerAuditNotifier
5
- module Generators
6
- class BundlerAuditNotifierGenerator < Rails::Generators::Base
7
- include ActiveRecord::Generators::Migration
8
- source_root File.join(__dir__, "templates")
5
+ class BundlerAuditNotifierGenerator < Rails::Generators::Base
6
+ include ActiveRecord::Generators::Migration
7
+ source_root File.join(__dir__, "templates")
9
8
 
10
- def copy_migration
11
- migration_template "migration.rb", "db/migrate/create_bundler_audit_issues.rb", migration_version: migration_version
12
- end
9
+ def copy_migration
10
+ migration_template "migration.rb", "db/migrate/create_bundler_audit_issues.rb", migration_version: migration_version
11
+ end
13
12
 
14
- def migration_version
15
- "[#{ActiveRecord::VERSION::MAJOR}.#{ActiveRecord::VERSION::MINOR}]"
16
- end
13
+ def migration_version
14
+ "[#{ActiveRecord::VERSION::MAJOR}.#{ActiveRecord::VERSION::MINOR}]"
17
15
  end
18
16
  end
19
17
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bundler_audit_notifier
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.0.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Marley Stipich
@@ -170,7 +170,7 @@ metadata: {}
170
170
  post_install_message:
171
171
  rdoc_options: []
172
172
  require_paths:
173
- - "{lib, app}"
173
+ - lib
174
174
  required_ruby_version: !ruby/object:Gem::Requirement
175
175
  requirements:
176
176
  - - ">="