rmm5t-yarg 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.
- data/Manifest +14 -0
- data/Rakefile +12 -49
- data/lib/yarg.rb +1 -1
- data/yarg.gemspec +37 -0
- metadata +32 -13
data/Manifest
ADDED
@@ -0,0 +1,14 @@
|
|
1
|
+
bin/yarg
|
2
|
+
lib/yarg/file_actions.rb
|
3
|
+
lib/yarg/rails.rb
|
4
|
+
lib/yarg/scm/git.rb
|
5
|
+
lib/yarg/scm.rb
|
6
|
+
lib/yarg.rb
|
7
|
+
Manifest
|
8
|
+
Rakefile
|
9
|
+
README.markdown
|
10
|
+
test/file_actions_test.rb
|
11
|
+
test/rails_test.rb
|
12
|
+
test/scm_test.rb
|
13
|
+
test/test_helper.rb
|
14
|
+
yarg.gemspec
|
data/Rakefile
CHANGED
@@ -1,56 +1,19 @@
|
|
1
1
|
require 'rake'
|
2
2
|
require 'rake/testtask'
|
3
|
-
require 'rake/rdoctask'
|
4
|
-
require 'rake/gempackagetask'
|
5
3
|
require 'lib/yarg'
|
6
4
|
|
7
|
-
|
8
|
-
|
5
|
+
begin
|
6
|
+
require 'echoe'
|
9
7
|
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
desc 'Generate documentation for the yarg gem.'
|
18
|
-
Rake::RDocTask.new(:rdoc) do |rdoc|
|
19
|
-
rdoc.rdoc_dir = 'rdoc'
|
20
|
-
rdoc.title = 'Yarg'
|
21
|
-
rdoc.options << '--line-numbers' << '--inline-source'
|
22
|
-
rdoc.rdoc_files.include('README.markdown')
|
23
|
-
rdoc.rdoc_files.include('lib/**/*.rb')
|
24
|
-
end
|
25
|
-
|
26
|
-
spec = Gem::Specification.new do |s|
|
27
|
-
s.name = "yarg"
|
28
|
-
s.version = Yarg::VERSION
|
29
|
-
s.summary = "Yet Another Ruby Generator"
|
30
|
-
s.homepage = "http://github.com/rmm5t/yarg"
|
31
|
-
# s.rubyforge_project = "yarg"
|
32
|
-
|
33
|
-
s.files = FileList["[A-Z]*", "{bin,lib,test}/**/*"]
|
34
|
-
s.executables = s.files.grep(/^bin/) { |f| File.basename(f) }
|
35
|
-
|
36
|
-
s.has_rdoc = true
|
37
|
-
s.extra_rdoc_files = ["README.markdown"]
|
38
|
-
s.rdoc_options = ["--line-numbers", "--inline-source", "--main", "README.markdown"]
|
39
|
-
|
40
|
-
s.authors = ["Ryan McGeary"]
|
41
|
-
end
|
42
|
-
|
43
|
-
Rake::GemPackageTask.new spec do |pkg|
|
44
|
-
pkg.need_tar = true
|
45
|
-
pkg.need_zip = true
|
46
|
-
end
|
47
|
-
|
48
|
-
desc "Clean files generated by rake tasks"
|
49
|
-
task :clobber => [:clobber_rdoc, :clobber_package]
|
50
|
-
|
51
|
-
desc "Generate a gemspec file for GitHub"
|
52
|
-
task :gemspec do
|
53
|
-
File.open("#{spec.name}.gemspec", 'w') do |f|
|
54
|
-
f.write spec.to_ruby
|
8
|
+
Echoe.new('yarg', Yarg::VERSION) do |p|
|
9
|
+
# p.rubyforge_name = 'yarg'
|
10
|
+
p.summary = "Yet Another Ruby Generator"
|
11
|
+
p.description = "Yet Another Ruby Generator: Customize existing project generators to fit your personality."
|
12
|
+
p.url = "http://github.com/rmm5t/yarg"
|
13
|
+
p.author = ["Ryan McGeary"]
|
55
14
|
end
|
15
|
+
|
16
|
+
rescue LoadError => boom
|
17
|
+
puts "You are missing a dependency required for meta-operations on this gem."
|
18
|
+
puts "#{boom.to_s.capitalize}."
|
56
19
|
end
|
data/lib/yarg.rb
CHANGED
data/yarg.gemspec
ADDED
@@ -0,0 +1,37 @@
|
|
1
|
+
# -*- encoding: utf-8 -*-
|
2
|
+
|
3
|
+
Gem::Specification.new do |s|
|
4
|
+
s.name = %q{yarg}
|
5
|
+
s.version = "0.1.2"
|
6
|
+
|
7
|
+
s.required_rubygems_version = Gem::Requirement.new(">= 1.2") if s.respond_to? :required_rubygems_version=
|
8
|
+
s.authors = ["Ryan McGeary"]
|
9
|
+
s.date = %q{2008-11-13}
|
10
|
+
s.default_executable = %q{yarg}
|
11
|
+
s.description = %q{Yet Another Ruby Generator: Customize existing project generators to fit your personality.}
|
12
|
+
s.email = %q{}
|
13
|
+
s.executables = ["yarg"]
|
14
|
+
s.extra_rdoc_files = ["bin/yarg", "lib/yarg/file_actions.rb", "lib/yarg/rails.rb", "lib/yarg/scm/git.rb", "lib/yarg/scm.rb", "lib/yarg.rb", "README.markdown"]
|
15
|
+
s.files = ["bin/yarg", "lib/yarg/file_actions.rb", "lib/yarg/rails.rb", "lib/yarg/scm/git.rb", "lib/yarg/scm.rb", "lib/yarg.rb", "Manifest", "Rakefile", "README.markdown", "test/file_actions_test.rb", "test/rails_test.rb", "test/scm_test.rb", "test/test_helper.rb", "yarg.gemspec"]
|
16
|
+
s.has_rdoc = true
|
17
|
+
s.homepage = %q{http://github.com/rmm5t/yarg}
|
18
|
+
s.rdoc_options = ["--line-numbers", "--inline-source", "--title", "Yarg", "--main", "README.markdown"]
|
19
|
+
s.require_paths = ["lib"]
|
20
|
+
s.rubyforge_project = %q{yarg}
|
21
|
+
s.rubygems_version = %q{1.3.0}
|
22
|
+
s.summary = %q{Yet Another Ruby Generator}
|
23
|
+
s.test_files = ["test/file_actions_test.rb", "test/rails_test.rb", "test/scm_test.rb", "test/test_helper.rb"]
|
24
|
+
|
25
|
+
if s.respond_to? :specification_version then
|
26
|
+
current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
|
27
|
+
s.specification_version = 2
|
28
|
+
|
29
|
+
if Gem::Version.new(Gem::RubyGemsVersion) >= Gem::Version.new('1.2.0') then
|
30
|
+
s.add_development_dependency(%q<echoe>, [">= 0"])
|
31
|
+
else
|
32
|
+
s.add_dependency(%q<echoe>, [">= 0"])
|
33
|
+
end
|
34
|
+
else
|
35
|
+
s.add_dependency(%q<echoe>, [">= 0"])
|
36
|
+
end
|
37
|
+
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rmm5t-yarg
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ryan McGeary
|
@@ -11,37 +11,53 @@ cert_chain: []
|
|
11
11
|
|
12
12
|
date: 2008-11-13 00:00:00 -08:00
|
13
13
|
default_executable: yarg
|
14
|
-
dependencies:
|
15
|
-
|
16
|
-
|
17
|
-
|
14
|
+
dependencies:
|
15
|
+
- !ruby/object:Gem::Dependency
|
16
|
+
name: echoe
|
17
|
+
version_requirement:
|
18
|
+
version_requirements: !ruby/object:Gem::Requirement
|
19
|
+
requirements:
|
20
|
+
- - ">="
|
21
|
+
- !ruby/object:Gem::Version
|
22
|
+
version: "0"
|
23
|
+
version:
|
24
|
+
description: "Yet Another Ruby Generator: Customize existing project generators to fit your personality."
|
25
|
+
email: ""
|
18
26
|
executables:
|
19
27
|
- yarg
|
20
28
|
extensions: []
|
21
29
|
|
22
30
|
extra_rdoc_files:
|
31
|
+
- bin/yarg
|
32
|
+
- lib/yarg/file_actions.rb
|
33
|
+
- lib/yarg/rails.rb
|
34
|
+
- lib/yarg/scm/git.rb
|
35
|
+
- lib/yarg/scm.rb
|
36
|
+
- lib/yarg.rb
|
23
37
|
- README.markdown
|
24
38
|
files:
|
25
|
-
- Rakefile
|
26
|
-
- README.markdown
|
27
39
|
- bin/yarg
|
28
|
-
- lib/yarg
|
29
40
|
- lib/yarg/file_actions.rb
|
30
41
|
- lib/yarg/rails.rb
|
31
|
-
- lib/yarg/scm
|
32
42
|
- lib/yarg/scm/git.rb
|
33
43
|
- lib/yarg/scm.rb
|
34
44
|
- lib/yarg.rb
|
45
|
+
- Manifest
|
46
|
+
- Rakefile
|
47
|
+
- README.markdown
|
35
48
|
- test/file_actions_test.rb
|
36
49
|
- test/rails_test.rb
|
37
50
|
- test/scm_test.rb
|
38
51
|
- test/test_helper.rb
|
52
|
+
- yarg.gemspec
|
39
53
|
has_rdoc: true
|
40
54
|
homepage: http://github.com/rmm5t/yarg
|
41
55
|
post_install_message:
|
42
56
|
rdoc_options:
|
43
57
|
- --line-numbers
|
44
58
|
- --inline-source
|
59
|
+
- --title
|
60
|
+
- Yarg
|
45
61
|
- --main
|
46
62
|
- README.markdown
|
47
63
|
require_paths:
|
@@ -56,14 +72,17 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
56
72
|
requirements:
|
57
73
|
- - ">="
|
58
74
|
- !ruby/object:Gem::Version
|
59
|
-
version: "
|
75
|
+
version: "1.2"
|
60
76
|
version:
|
61
77
|
requirements: []
|
62
78
|
|
63
|
-
rubyforge_project:
|
79
|
+
rubyforge_project: yarg
|
64
80
|
rubygems_version: 1.2.0
|
65
81
|
signing_key:
|
66
82
|
specification_version: 2
|
67
83
|
summary: Yet Another Ruby Generator
|
68
|
-
test_files:
|
69
|
-
|
84
|
+
test_files:
|
85
|
+
- test/file_actions_test.rb
|
86
|
+
- test/rails_test.rb
|
87
|
+
- test/scm_test.rb
|
88
|
+
- test/test_helper.rb
|