osrcry 0.1.0 → 0.2.0

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: 53e91d3c7b2a9c6d736b60c88832a320f2ac7e12
4
- data.tar.gz: c360fe0679f927a224ef7a2874cb6bb2297cec2a
3
+ metadata.gz: 326669fccd8141a82f984dc57f5e3537276cbe3d
4
+ data.tar.gz: 480c939214f52a5947272ba06638bb5507988371
5
5
  SHA512:
6
- metadata.gz: dab2eb09eec67e8721ce91b5974a62fa9eab39de3b6d656df3249e1b4d044a6a4af2777a12b41ada543ed0745399f5cd8834c52ec7131d22dc0301c0c72a257f
7
- data.tar.gz: b426bc97ead0a18f6a5ca8971ac03690bae013cfa079c9e29b07b2395daac0a834e02c24d8068bd6206f676ecab43155319b7f6ab27fe327c0a023c4032f1068
6
+ metadata.gz: 3beb1aa81df9502f25e3f22497e82379a3656387e476df761641a3a3981cdae1839f275ca17e380b13fbaad93407af59b4cfaf0f801d57d4e29e59ff23e80fe5
7
+ data.tar.gz: 3b7133e1912b7836520e1adbdae8de8df5fc5ae10f3b600f07edb4163ceacfda7a77ac1894559f6d414fd8fc912eddae79d22b03f7c9850330eea6242c6f5a7d
data/Gemfile.lock CHANGED
@@ -1,12 +1,12 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- osrcry (0.1.0)
4
+ osrcry (0.2.0)
5
5
 
6
6
  GEM
7
7
  remote: https://rubygems.org/
8
8
  specs:
9
- rake (10.1.0)
9
+ rake (12.0.0)
10
10
 
11
11
  PLATFORMS
12
12
  ruby
data/bin/osrcry CHANGED
@@ -22,6 +22,10 @@ else
22
22
  Osrcry::Contributing.execute
23
23
  when 'contributors', 'contributors.md'
24
24
  Osrcry::Contributors.execute
25
+ when 'init'
26
+ Osrcry::Contributing.execute
27
+ Osrcry::Contributors.execute
28
+ Osrcry::License.execute
25
29
  when 'license', 'license.md'
26
30
  Osrcry::License.execute
27
31
  when 'stale'
@@ -1,6 +1,10 @@
1
1
  module Osrcry
2
2
  class Contributing
3
3
  def self.execute
4
+ unless Osrcry.remote
5
+ puts "Unable to create CONTRIBUTING.md due to missing git remote.\nPlease add git remote and try again."
6
+ return
7
+ end
4
8
 
5
9
  contributing = <<-CONTRIBUTING
6
10
  ## Getting Involved
@@ -1,3 +1,3 @@
1
1
  module Osrcry
2
- VERSION = "0.1.0"
2
+ VERSION = "0.2.0"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: osrcry
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - geemus