command-line-utils 0.0.6 → 0.0.7

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,5 @@
1
+ lib/**/*.rb
2
+ bin/*
3
+ -
4
+ features/**/*.feature
5
+ LICENSE.txt
data/Gemfile CHANGED
@@ -7,7 +7,7 @@ source "http://rubygems.org"
7
7
  # Include everything needed to run rake, tests, features, etc.
8
8
  group :development do
9
9
  gem "shoulda", ">= 0"
10
- gem "bundler", "~> 1.0.0"
11
- gem "jeweler", "~> 1.5.2"
10
+ gem "jeweler"
11
+ gem "rdoc"
12
12
  gem "rcov", ">= 0"
13
13
  end
@@ -61,3 +61,4 @@ Put your command under bin directory.
61
61
  Copyright (c) 2011 Yoshihiro TAKAHARA. See LICENSE.txt for
62
62
  further details.
63
63
 
64
+ {<img src="http://api.coderwall.com/tumf/endorsecount.png"/>}[http://coderwall.com/tumf]
data/Rakefile CHANGED
@@ -38,12 +38,13 @@ Rcov::RcovTask.new do |test|
38
38
  test.libs << 'test'
39
39
  test.pattern = 'test/**/test_*.rb'
40
40
  test.verbose = true
41
+ test.rcov_opts << '-x /usr -x .rvm -x rvm -x vendor'
41
42
  end
42
43
 
43
44
  task :default => :test
44
45
 
45
- require 'rake/rdoctask'
46
- Rake::RDocTask.new do |rdoc|
46
+ require 'rdoc/task'
47
+ RDoc::Task.new do |rdoc|
47
48
  version = File.exist?('VERSION') ? File.read('VERSION') : ""
48
49
 
49
50
  rdoc.rdoc_dir = 'rdoc'
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.0.6
1
+ 0.0.7
@@ -4,21 +4,21 @@
4
4
  # -*- encoding: utf-8 -*-
5
5
 
6
6
  Gem::Specification.new do |s|
7
- s.name = %q{command-line-utils}
8
- s.version = "0.0.6"
7
+ s.name = "command-line-utils"
8
+ s.version = "0.0.7"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Yoshihiro TAKAHARA"]
12
- s.date = %q{2011-02-25}
13
- s.description = %q{This is a command line utilites.}
14
- s.email = %q{y.takahara@gmail.com}
12
+ s.date = "2012-06-01"
13
+ s.description = "This is a command line utilites."
14
+ s.email = "y.takahara@gmail.com"
15
15
  s.extra_rdoc_files = [
16
16
  "LICENSE.txt",
17
17
  "README.rdoc"
18
18
  ]
19
19
  s.files = [
20
+ ".document",
20
21
  "Gemfile",
21
- "Gemfile.lock",
22
22
  "LICENSE.txt",
23
23
  "README.rdoc",
24
24
  "Rakefile",
@@ -30,34 +30,30 @@ Gem::Specification.new do |s|
30
30
  "test/helper.rb",
31
31
  "test/test_command-line-utils.rb"
32
32
  ]
33
- s.homepage = %q{http://github.com/tumf/command-line-utils}
33
+ s.homepage = "http://github.com/tumf/command-line-utils"
34
34
  s.licenses = ["MIT"]
35
35
  s.require_paths = ["lib"]
36
- s.rubygems_version = %q{1.5.0}
37
- s.summary = %q{Command line utilities.}
38
- s.test_files = [
39
- "test/helper.rb",
40
- "test/test_command-line-utils.rb"
41
- ]
36
+ s.rubygems_version = "1.8.21"
37
+ s.summary = "Command line utilities."
42
38
 
43
39
  if s.respond_to? :specification_version then
44
40
  s.specification_version = 3
45
41
 
46
42
  if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
47
43
  s.add_development_dependency(%q<shoulda>, [">= 0"])
48
- s.add_development_dependency(%q<bundler>, ["~> 1.0.0"])
49
- s.add_development_dependency(%q<jeweler>, ["~> 1.5.2"])
44
+ s.add_development_dependency(%q<jeweler>, [">= 0"])
45
+ s.add_development_dependency(%q<rdoc>, [">= 0"])
50
46
  s.add_development_dependency(%q<rcov>, [">= 0"])
51
47
  else
52
48
  s.add_dependency(%q<shoulda>, [">= 0"])
53
- s.add_dependency(%q<bundler>, ["~> 1.0.0"])
54
- s.add_dependency(%q<jeweler>, ["~> 1.5.2"])
49
+ s.add_dependency(%q<jeweler>, [">= 0"])
50
+ s.add_dependency(%q<rdoc>, [">= 0"])
55
51
  s.add_dependency(%q<rcov>, [">= 0"])
56
52
  end
57
53
  else
58
54
  s.add_dependency(%q<shoulda>, [">= 0"])
59
- s.add_dependency(%q<bundler>, ["~> 1.0.0"])
60
- s.add_dependency(%q<jeweler>, ["~> 1.5.2"])
55
+ s.add_dependency(%q<jeweler>, [">= 0"])
56
+ s.add_dependency(%q<rdoc>, [">= 0"])
61
57
  s.add_dependency(%q<rcov>, [">= 0"])
62
58
  end
63
59
  end
@@ -24,7 +24,7 @@ module CommandLineUtils
24
24
  command = @command_options.shift
25
25
  raise UsageException unless command
26
26
  raise "Unknown command: " + command unless commands.include?(command)
27
- opt = send(command.sub(/:/,"_"))
27
+ opt = send(command.gsub(/:/,"_"))
28
28
  puts "Summery: #{@summery}"
29
29
  opt.banner += " #{command} #{@banner}" if opt
30
30
  puts opt if opt
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: command-line-utils
3
3
  version: !ruby/object:Gem::Version
4
- hash: 19
4
+ hash: 17
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 0
9
- - 6
10
- version: 0.0.6
9
+ - 7
10
+ version: 0.0.7
11
11
  platform: ruby
12
12
  authors:
13
13
  - Yoshihiro TAKAHARA
@@ -15,11 +15,10 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2011-02-25 00:00:00 +09:00
19
- default_executable:
18
+ date: 2012-06-01 00:00:00 Z
20
19
  dependencies:
21
20
  - !ruby/object:Gem::Dependency
22
- requirement: &id001 !ruby/object:Gem::Requirement
21
+ version_requirements: &id001 !ruby/object:Gem::Requirement
23
22
  none: false
24
23
  requirements:
25
24
  - - ">="
@@ -28,44 +27,40 @@ dependencies:
28
27
  segments:
29
28
  - 0
30
29
  version: "0"
31
- version_requirements: *id001
32
30
  name: shoulda
33
- prerelease: false
34
31
  type: :development
32
+ prerelease: false
33
+ requirement: *id001
35
34
  - !ruby/object:Gem::Dependency
36
- requirement: &id002 !ruby/object:Gem::Requirement
35
+ version_requirements: &id002 !ruby/object:Gem::Requirement
37
36
  none: false
38
37
  requirements:
39
- - - ~>
38
+ - - ">="
40
39
  - !ruby/object:Gem::Version
41
- hash: 23
40
+ hash: 3
42
41
  segments:
43
- - 1
44
- - 0
45
42
  - 0
46
- version: 1.0.0
47
- version_requirements: *id002
48
- name: bundler
49
- prerelease: false
43
+ version: "0"
44
+ name: jeweler
50
45
  type: :development
46
+ prerelease: false
47
+ requirement: *id002
51
48
  - !ruby/object:Gem::Dependency
52
- requirement: &id003 !ruby/object:Gem::Requirement
49
+ version_requirements: &id003 !ruby/object:Gem::Requirement
53
50
  none: false
54
51
  requirements:
55
- - - ~>
52
+ - - ">="
56
53
  - !ruby/object:Gem::Version
57
- hash: 7
54
+ hash: 3
58
55
  segments:
59
- - 1
60
- - 5
61
- - 2
62
- version: 1.5.2
63
- version_requirements: *id003
64
- name: jeweler
65
- prerelease: false
56
+ - 0
57
+ version: "0"
58
+ name: rdoc
66
59
  type: :development
60
+ prerelease: false
61
+ requirement: *id003
67
62
  - !ruby/object:Gem::Dependency
68
- requirement: &id004 !ruby/object:Gem::Requirement
63
+ version_requirements: &id004 !ruby/object:Gem::Requirement
69
64
  none: false
70
65
  requirements:
71
66
  - - ">="
@@ -74,10 +69,10 @@ dependencies:
74
69
  segments:
75
70
  - 0
76
71
  version: "0"
77
- version_requirements: *id004
78
72
  name: rcov
79
- prerelease: false
80
73
  type: :development
74
+ prerelease: false
75
+ requirement: *id004
81
76
  description: This is a command line utilites.
82
77
  email: y.takahara@gmail.com
83
78
  executables: []
@@ -88,8 +83,8 @@ extra_rdoc_files:
88
83
  - LICENSE.txt
89
84
  - README.rdoc
90
85
  files:
86
+ - .document
91
87
  - Gemfile
92
- - Gemfile.lock
93
88
  - LICENSE.txt
94
89
  - README.rdoc
95
90
  - Rakefile
@@ -100,7 +95,6 @@ files:
100
95
  - lib/command-line-utils/commands.rb
101
96
  - test/helper.rb
102
97
  - test/test_command-line-utils.rb
103
- has_rdoc: true
104
98
  homepage: http://github.com/tumf/command-line-utils
105
99
  licenses:
106
100
  - MIT
@@ -130,10 +124,9 @@ required_rubygems_version: !ruby/object:Gem::Requirement
130
124
  requirements: []
131
125
 
132
126
  rubyforge_project:
133
- rubygems_version: 1.5.0
127
+ rubygems_version: 1.8.21
134
128
  signing_key:
135
129
  specification_version: 3
136
130
  summary: Command line utilities.
137
- test_files:
138
- - test/helper.rb
139
- - test/test_command-line-utils.rb
131
+ test_files: []
132
+
@@ -1,20 +0,0 @@
1
- GEM
2
- remote: http://rubygems.org/
3
- specs:
4
- git (1.2.5)
5
- jeweler (1.5.2)
6
- bundler (~> 1.0.0)
7
- git (>= 1.2.5)
8
- rake
9
- rake (0.8.7)
10
- rcov (0.9.9)
11
- shoulda (2.11.3)
12
-
13
- PLATFORMS
14
- ruby
15
-
16
- DEPENDENCIES
17
- bundler (~> 1.0.0)
18
- jeweler (~> 1.5.2)
19
- rcov
20
- shoulda