contributor_covenant 0.1.1 → 0.1.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 3a90c4cea771b33a466d7e65c082577bf26310fa6ef10c2364ad6ae13b4fc50f
4
- data.tar.gz: 551c1379ad19e4e634c0aa37ebc75a76cef688466dbb0238517342f498a262d0
3
+ metadata.gz: 2d398ba36562c9a9798cfce064f4595d912c8666fa76201eadfd24c27bc4b929
4
+ data.tar.gz: ebc808aacfb25e472798ca0a9d2cb448152c2d2171353b3160881c6fca3ffc1c
5
5
  SHA512:
6
- metadata.gz: 0d2fdbfe6965db8cc053656d9f746100ffd0a023d937b5d94937d5f4f76718aeae8f0a8ebf82d9b8f8747095d5611a6acc4b8a539c43f6fd666b40dc9d68edfb
7
- data.tar.gz: 55e2603ed8dcd13656bada041000ffb915e5dd83b4a7aa4e1b4ca1b2c32f98b6d8a1dec7a592b2739a85f42a296a8effcd46d5c9471322bf169856689abb1dcf
6
+ metadata.gz: 2b4d321fb2d165ef62020f4cb929492a3205ba317fd3d182c85f3865402bae5618d6f3c15b0e197c5feae824e8387e8a502d49295534a6e58b0973fcad7fc87b
7
+ data.tar.gz: eea37f3705e7ae981b4136bf19a3dca7e92d711c7e9e55c234441c37abdddddf4f0801ae79f68315dfe7e1c58de636cbb774345d908da810729bd29f803023d1
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- contributor_covenant (0.1.0)
4
+ contributor_covenant (0.1.1)
5
5
 
6
6
  GEM
7
7
  remote: https://rubygems.org/
@@ -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
@@ -2,4 +2,4 @@
2
2
 
3
3
  require "rake"
4
4
 
5
- load File.expand_path(File.join(File.dirname(__FILE__), "tasks/install.rake"))
5
+ load File.expand_path(File.join(File.dirname(__FILE__), "tasks/generate_contributor_covenant.rake"))
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module ContributorCovenant
4
- VERSION = "0.1.1"
4
+ VERSION = "0.1.2"
5
5
  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.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