contributor_covenant 0.1.1 → 0.1.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/exe/contributor-covenant +26 -0
- data/lib/contributor_covenant/install.rb +1 -1
- data/lib/contributor_covenant/version.rb +1 -1
- metadata +4 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2d398ba36562c9a9798cfce064f4595d912c8666fa76201eadfd24c27bc4b929
|
4
|
+
data.tar.gz: ebc808aacfb25e472798ca0a9d2cb448152c2d2171353b3160881c6fca3ffc1c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2b4d321fb2d165ef62020f4cb929492a3205ba317fd3d182c85f3865402bae5618d6f3c15b0e197c5feae824e8387e8a502d49295534a6e58b0973fcad7fc87b
|
7
|
+
data.tar.gz: eea37f3705e7ae981b4136bf19a3dca7e92d711c7e9e55c234441c37abdddddf4f0801ae79f68315dfe7e1c58de636cbb774345d908da810729bd29f803023d1
|
data/Gemfile.lock
CHANGED
@@ -0,0 +1,26 @@
|
|
1
|
+
#!/usr/bin/env ruby
|
2
|
+
# frozen_string_literal: true
|
3
|
+
|
4
|
+
$LOAD_PATH.unshift File.join(File.dirname(__FILE__), "..", "lib")
|
5
|
+
|
6
|
+
require "contributor_covenant"
|
7
|
+
|
8
|
+
template_file = "./CONTRIBUTOR_COVENANT.md"
|
9
|
+
|
10
|
+
begin
|
11
|
+
require template_file
|
12
|
+
warn "=> Generating release notes..."
|
13
|
+
ContributorCovenant.generate
|
14
|
+
warn "=> Done!"
|
15
|
+
rescue SignalException => e
|
16
|
+
# We might receive SIGTERM before our signal handler is installed.
|
17
|
+
if Signal.signame(e.signo) == "TERM"
|
18
|
+
exit(0)
|
19
|
+
else
|
20
|
+
raise
|
21
|
+
end
|
22
|
+
rescue
|
23
|
+
exit(1)
|
24
|
+
else
|
25
|
+
exit(0)
|
26
|
+
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: contributor_covenant
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Andrew Mason
|
@@ -69,7 +69,8 @@ dependencies:
|
|
69
69
|
description: automatically generate a contributor covenant for any project
|
70
70
|
email:
|
71
71
|
- masonam96@outlook.com
|
72
|
-
executables:
|
72
|
+
executables:
|
73
|
+
- contributor-covenant
|
73
74
|
extensions: []
|
74
75
|
extra_rdoc_files: []
|
75
76
|
files:
|
@@ -86,6 +87,7 @@ files:
|
|
86
87
|
- bin/setup
|
87
88
|
- bin/test
|
88
89
|
- contributor_covenant.gemspec
|
90
|
+
- exe/contributor-covenant
|
89
91
|
- lib/contributor_covenant.rb
|
90
92
|
- lib/contributor_covenant/install.rb
|
91
93
|
- lib/contributor_covenant/tasks/install.rake
|