osrcry 0.0.2 → 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: 53e91d3c7b2a9c6d736b60c88832a320f2ac7e12
4
+ data.tar.gz: c360fe0679f927a224ef7a2874cb6bb2297cec2a
5
+ SHA512:
6
+ metadata.gz: dab2eb09eec67e8721ce91b5974a62fa9eab39de3b6d656df3249e1b4d044a6a4af2777a12b41ada543ed0745399f5cd8834c52ec7131d22dc0301c0c72a257f
7
+ data.tar.gz: b426bc97ead0a18f6a5ca8971ac03690bae013cfa079c9e29b07b2395daac0a834e02c24d8068bd6206f676ecab43155319b7f6ab27fe327c0a023c4032f1068
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- osrcry (0.0.2)
4
+ osrcry (0.1.0)
5
5
 
6
6
  GEM
7
7
  remote: https://rubygems.org/
@@ -15,3 +15,6 @@ DEPENDENCIES
15
15
  bundler (~> 1.3)
16
16
  osrcry!
17
17
  rake
18
+
19
+ BUNDLED WITH
20
+ 1.11.2
data/README.md CHANGED
@@ -6,7 +6,7 @@ Open Sourcery - Tools for open source project management.
6
6
 
7
7
  Add this line to your application's Gemfile:
8
8
 
9
- gem 'oscrcy'
9
+ gem 'osrcry'
10
10
 
11
11
  And then execute:
12
12
 
@@ -14,7 +14,7 @@ And then execute:
14
14
 
15
15
  Or install it yourself as:
16
16
 
17
- $ gem install oscrcy
17
+ $ gem install osrcry
18
18
 
19
19
  ## Usage
20
20
 
@@ -37,6 +37,8 @@ To lookup stale issues (years, months, weeks or days old):
37
37
  $ osrcry stale weeks
38
38
  $ osrcry stale days
39
39
 
40
+ Additionally, you may list multiple commands to do them all in one command.
41
+
40
42
  ## Getting Help
41
43
 
42
44
  <!-- * [General Documentation](http://geemus.github.io/osrcry). -->
data/bin/osrcry CHANGED
@@ -2,15 +2,30 @@
2
2
 
3
3
  require File.expand_path(File.join(File.dirname(__FILE__), '..', 'lib', 'osrcry'))
4
4
 
5
- case ARGV.first && ARGV.first.downcase
6
- when 'contributing', 'contributing.md'
7
- Osrcry::Contributing.execute
8
- when 'contributors', 'contributors.md'
9
- Osrcry::Contributors.execute
10
- when 'license', 'license.md'
11
- Osrcry::License.execute
12
- when 'stale'
13
- Osrcry::Stale.execute
5
+ arguments = ARGV.map {|arg| arg.downcase}
6
+ commands = %w{
7
+ contributing
8
+ contributing.md
9
+ contributors
10
+ contributors.md
11
+ license
12
+ license.md
13
+ stale
14
+ }
15
+
16
+ unless arguments.any? {|argument| commands.include?(argument)}
17
+ puts "Please specify: `contributing`, `contributors`, `license` and/or `stale`"
14
18
  else
15
- puts "Please specify: `contributing`, `contributors`, `license` or `stale`"
19
+ arguments.each do |command|
20
+ case command
21
+ when 'contributing', 'contributing.md'
22
+ Osrcry::Contributing.execute
23
+ when 'contributors', 'contributors.md'
24
+ Osrcry::Contributors.execute
25
+ when 'license', 'license.md'
26
+ Osrcry::License.execute
27
+ when 'stale'
28
+ Osrcry::Stale.execute
29
+ end
30
+ end
16
31
  end
@@ -1,3 +1,3 @@
1
1
  module Osrcry
2
- VERSION = "0.0.2"
2
+ VERSION = "0.1.0"
3
3
  end
metadata CHANGED
@@ -1,46 +1,41 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: osrcry
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2
5
- prerelease:
4
+ version: 0.1.0
6
5
  platform: ruby
7
6
  authors:
8
7
  - geemus
9
8
  autorequire:
10
9
  bindir: bin
11
10
  cert_chain: []
12
- date: 2014-02-04 00:00:00.000000000 Z
11
+ date: 2017-04-01 00:00:00.000000000 Z
13
12
  dependencies:
14
13
  - !ruby/object:Gem::Dependency
15
14
  name: bundler
16
15
  requirement: !ruby/object:Gem::Requirement
17
- none: false
18
16
  requirements:
19
- - - ~>
17
+ - - "~>"
20
18
  - !ruby/object:Gem::Version
21
19
  version: '1.3'
22
20
  type: :development
23
21
  prerelease: false
24
22
  version_requirements: !ruby/object:Gem::Requirement
25
- none: false
26
23
  requirements:
27
- - - ~>
24
+ - - "~>"
28
25
  - !ruby/object:Gem::Version
29
26
  version: '1.3'
30
27
  - !ruby/object:Gem::Dependency
31
28
  name: rake
32
29
  requirement: !ruby/object:Gem::Requirement
33
- none: false
34
30
  requirements:
35
- - - ! '>='
31
+ - - ">="
36
32
  - !ruby/object:Gem::Version
37
33
  version: '0'
38
34
  type: :development
39
35
  prerelease: false
40
36
  version_requirements: !ruby/object:Gem::Requirement
41
- none: false
42
37
  requirements:
43
- - - ! '>='
38
+ - - ">="
44
39
  - !ruby/object:Gem::Version
45
40
  version: '0'
46
41
  description: Tools for open source project management.
@@ -51,7 +46,7 @@ executables:
51
46
  extensions: []
52
47
  extra_rdoc_files: []
53
48
  files:
54
- - .gitignore
49
+ - ".gitignore"
55
50
  - CONTRIBUTING.md
56
51
  - CONTRIBUTORS.md
57
52
  - Gemfile
@@ -70,32 +65,25 @@ files:
70
65
  homepage: ''
71
66
  licenses:
72
67
  - MIT
68
+ metadata: {}
73
69
  post_install_message:
74
70
  rdoc_options: []
75
71
  require_paths:
76
72
  - lib
77
73
  required_ruby_version: !ruby/object:Gem::Requirement
78
- none: false
79
74
  requirements:
80
- - - ! '>='
75
+ - - ">="
81
76
  - !ruby/object:Gem::Version
82
77
  version: '0'
83
- segments:
84
- - 0
85
- hash: 4310128012834672796
86
78
  required_rubygems_version: !ruby/object:Gem::Requirement
87
- none: false
88
79
  requirements:
89
- - - ! '>='
80
+ - - ">="
90
81
  - !ruby/object:Gem::Version
91
82
  version: '0'
92
- segments:
93
- - 0
94
- hash: 4310128012834672796
95
83
  requirements: []
96
84
  rubyforge_project:
97
- rubygems_version: 1.8.23
85
+ rubygems_version: 2.5.1
98
86
  signing_key:
99
- specification_version: 3
87
+ specification_version: 4
100
88
  summary: Tools for open source project management.
101
89
  test_files: []