securitytxt 0.1.0 → 0.1.1

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
  SHA1:
3
- metadata.gz: a94da8bb441d834511c0ee0a7109ec57b84e8319
4
- data.tar.gz: 0db1beee347f72b1b8f82ba6f8f7b971c2f4e6be
3
+ metadata.gz: 27e70469171c726ba4e2356bc164161faf698a4e
4
+ data.tar.gz: 62d06c069621e9504aa43b972ff8cdda05481a3e
5
5
  SHA512:
6
- metadata.gz: de2bdfdded9bbb839b7cd8046c0b4e00e327dbf57d3ce816c5bd5b7b603491c1f3c215ca688a2f1f09b6ba0ba75d085c8a1961ff9a8e4717faf4ab233f6d1873
7
- data.tar.gz: 1bb67af19bad0e1e09a057e44dec68e2861ae1c3fcdb3820abe85177edef2b36957547f75b62384c1018d8e594e018683e994c99b222ddd2fec7591875aa3615
6
+ metadata.gz: 431b1a4e3fb888e18d86cd19e4735cde8fd0dace49462642b259cd163aefb57bec23b75cf87de1bbda3054ef494352eac6b88e2baf8a8caeac661ab9d390414e
7
+ data.tar.gz: b228557995da8537dcd2b0fdf9b178f89d0e809b0e3aed87d21dbaa836eaf9df53944391c0b42a1f9ca989951c7b1f2d347699fba66868ced2661a5851d7e336
@@ -1,3 +1,3 @@
1
1
  module SecurityTxt
2
- VERSION = '0.1.0'
2
+ VERSION = '0.1.1'
3
3
  end
data/lib/securitytxt.rb CHANGED
@@ -17,7 +17,8 @@ module SecurityTxt
17
17
  class Application < Rails::Application
18
18
  config = proc do
19
19
  SecurityTxt::SECTIONS.inject({}) do |acc, v|
20
- acc[v] = SecurityTxt.send(v)
20
+ vd = SecurityTxt.send(v)
21
+ acc[v] = vd unless vd.blank?
21
22
  acc
22
23
  end
23
24
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: securitytxt
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Benoit Larroque