osrcry 0.0.1 → 0.0.2

Sign up to get free protection for your applications and to get access to all the features.
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- osrcry (0.0.1)
4
+ osrcry (0.0.2)
5
5
 
6
6
  GEM
7
7
  remote: https://rubygems.org/
data/README.md CHANGED
@@ -22,7 +22,11 @@ To generate an updated LICENSE.md (will update year-range of copyright if needed
22
22
 
23
23
  $ osrcry license
24
24
 
25
- To generate an updated CONTRIBUTORS.md:
25
+ To generate a default CONTRIBUTING.md:
26
+
27
+ $ osrcry contributing
28
+
29
+ To generate an up to date CONTRIBUTORS.md:
26
30
 
27
31
  $ osrcry contributors
28
32
 
data/bin/osrcry CHANGED
@@ -2,7 +2,9 @@
2
2
 
3
3
  require File.expand_path(File.join(File.dirname(__FILE__), '..', 'lib', 'osrcry'))
4
4
 
5
- case ARGV.first.downcase
5
+ case ARGV.first && ARGV.first.downcase
6
+ when 'contributing', 'contributing.md'
7
+ Osrcry::Contributing.execute
6
8
  when 'contributors', 'contributors.md'
7
9
  Osrcry::Contributors.execute
8
10
  when 'license', 'license.md'
@@ -10,5 +12,5 @@ when 'license', 'license.md'
10
12
  when 'stale'
11
13
  Osrcry::Stale.execute
12
14
  else
13
- puts "Please specify: `contributors` or `license`"
15
+ puts "Please specify: `contributing`, `contributors`, `license` or `stale`"
14
16
  end
@@ -0,0 +1,31 @@
1
+ module Osrcry
2
+ class Contributing
3
+ def self.execute
4
+
5
+ contributing = <<-CONTRIBUTING
6
+ ## Getting Involved
7
+
8
+ New contributors are always welcome, when it doubt please ask questions. We strive to be an open and welcoming community. Please be nice to one another.
9
+
10
+ ### Coding
11
+
12
+ * Pick a task:
13
+ * Offer feedback on open [pull requests](https://github.com/#{Osrcry.user}/#{Osrcry.repo}/pulls).
14
+ * Review open [issues](https://github.com/#{Osrcry.user}/#{Osrcry.repo}/issues) for things to help on.
15
+ * [Create an issue](https://github.com/#{Osrcry.user}/#{Osrcry.repo}/issues/new) to start a discussion on additions or features.
16
+ * Fork the project, add your changes and tests to cover them in a topic branch.
17
+ * Commit your changes and rebase against `#{Osrcry.user}/#{Osrcry.repo}` to ensure everything is up to date.
18
+ * [Submit a pull request](https://github.com/#{Osrcry.user}/#{Osrcry.repo}/compare/).
19
+
20
+ ### Non-Coding
21
+
22
+ * Offer feedback on open [issues](https://github.com/#{Osrcry.user}/#{Osrcry.repo}/issues).
23
+ * Organize or volunteer at events.
24
+ CONTRIBUTING
25
+
26
+ File.open('CONTRIBUTING.md', 'w') do |file|
27
+ file.write(contributing)
28
+ end
29
+ end
30
+ end
31
+ end
@@ -1,3 +1,3 @@
1
1
  module Osrcry
2
- VERSION = "0.0.1"
2
+ VERSION = "0.0.2"
3
3
  end
data/lib/osrcry.rb CHANGED
@@ -1,4 +1,5 @@
1
1
  dir = File.dirname(__FILE__)
2
+ require File.join(dir, 'osrcry', 'contributing')
2
3
  require File.join(dir, 'osrcry', 'contributors')
3
4
  require File.join(dir, 'osrcry', 'license')
4
5
  require File.join(dir, 'osrcry', 'stale')
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.0.1
4
+ version: 0.0.2
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2013-12-23 00:00:00.000000000 Z
12
+ date: 2014-02-04 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: bundler
@@ -61,6 +61,7 @@ files:
61
61
  - Rakefile
62
62
  - bin/osrcry
63
63
  - lib/osrcry.rb
64
+ - lib/osrcry/contributing.rb
64
65
  - lib/osrcry/contributors.rb
65
66
  - lib/osrcry/license.rb
66
67
  - lib/osrcry/stale.rb
@@ -79,12 +80,18 @@ required_ruby_version: !ruby/object:Gem::Requirement
79
80
  - - ! '>='
80
81
  - !ruby/object:Gem::Version
81
82
  version: '0'
83
+ segments:
84
+ - 0
85
+ hash: 4310128012834672796
82
86
  required_rubygems_version: !ruby/object:Gem::Requirement
83
87
  none: false
84
88
  requirements:
85
89
  - - ! '>='
86
90
  - !ruby/object:Gem::Version
87
91
  version: '0'
92
+ segments:
93
+ - 0
94
+ hash: 4310128012834672796
88
95
  requirements: []
89
96
  rubyforge_project:
90
97
  rubygems_version: 1.8.23
@@ -92,4 +99,3 @@ signing_key:
92
99
  specification_version: 3
93
100
  summary: Tools for open source project management.
94
101
  test_files: []
95
- has_rdoc: