hoe 1.12.1 → 1.12.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (5) hide show
  1. data.tar.gz.sig +0 -0
  2. data/History.txt +11 -0
  3. data/lib/hoe.rb +19 -22
  4. metadata +44 -5
  5. metadata.gz.sig +5 -3
data.tar.gz.sig CHANGED
Binary file
@@ -1,3 +1,14 @@
1
+ === 1.12.2 / 2009-04-16
2
+
3
+ * 1 minor enhancement:
4
+
5
+ * Removed rcov_info.
6
+
7
+ * 2 bug fixes:
8
+
9
+ * clean globs should have coverage* glob.
10
+ * rcov task should create coverage.info file for tools.
11
+
1
12
  === 1.12.1 / 2009-03-31
2
13
 
3
14
  * 1 bug fix:
data/lib/hoe.rb CHANGED
@@ -134,7 +134,7 @@ end
134
134
  #
135
135
 
136
136
  class Hoe
137
- VERSION = '1.12.1'
137
+ VERSION = '1.12.2'
138
138
  GEMURL = URI.parse 'http://gems.rubyforge.org' # for namespace :deps below
139
139
 
140
140
  ruby_prefix = Config::CONFIG['prefix']
@@ -407,7 +407,7 @@ class Hoe
407
407
  self.author = []
408
408
  self.blog_categories = [name]
409
409
  self.clean_globs = %w(diff diff.txt email.txt ri deps .source_index
410
- *.gem **/*~ **/.*~ **/*.rbc)
410
+ *.gem **/*~ **/.*~ **/*.rbc coverage*)
411
411
  self.description_sections = %w(description)
412
412
  self.email = []
413
413
  self.extra_deps = []
@@ -559,20 +559,15 @@ class Hoe
559
559
 
560
560
  t.test_files = FileList[pattern]
561
561
  t.verbose = true
562
- t.rcov_opts << "--threshold 80"
563
562
  t.rcov_opts << "--no-color"
563
+ t.rcov_opts << "--save coverage.info"
564
564
  t.rcov_opts << "-x ^/"
565
565
  end
566
566
 
567
- # this is for autotest's rcov... also used by my emacs integration
568
- task :rcov_info do
569
- pattern = ENV['PATTERN'] || "test/test_*.rb"
570
- ruby "-Ilib -S rcov --text-report --save coverage.info --test-unit-only #{pattern}"
571
- end
572
-
573
567
  # this is for my emacs rcov overlay stuff on emacswiki.
574
568
  task :rcov_overlay do
575
- rcov, eol = Marshal.load(File.read("coverage.info")).last[ENV["FILE"]], 1
569
+ path = ENV["FILE"]
570
+ rcov, eol = Marshal.load(File.read("coverage.info")).last[path], 1
576
571
  puts rcov[:lines].zip(rcov[:coverage]).map { |line, coverage|
577
572
  bol, eol = eol, eol + line.length
578
573
  [bol, eol, "#ffcccc"] unless coverage
@@ -960,19 +955,21 @@ class Hoe
960
955
  task :config_hoe do
961
956
  with_config do |config, path|
962
957
  default_config = {
963
- "exclude" => /tmp$|CVS|\.svn|\.log$/,
958
+ "exclude" => /tmp$|CVS|\.svn|\.log$/,
964
959
  "publish_on_announce" => false,
965
- "signing_key_file" => "~/.gem/gem-private_key.pem",
966
- "signing_cert_file" => "~/.gem/gem-public_cert.pem",
967
- "blogs" => [ {
968
- "user" => "user",
969
- "url" => "url",
970
- "extra_headers" => {
971
- "mt_convert_breaks" => "markdown"
972
- },
973
- "blog_id" => "blog_id",
974
- "password"=>"password",
975
- } ],
960
+ "signing_key_file" => "~/.gem/gem-private_key.pem",
961
+ "signing_cert_file" => "~/.gem/gem-public_cert.pem",
962
+ "blogs" => [
963
+ {
964
+ "user" => "user",
965
+ "password" => "password",
966
+ "url" => "url",
967
+ "blog_id" => "blog_id",
968
+ "extra_headers" => {
969
+ "mt_convert_breaks" => "markdown"
970
+ },
971
+ }
972
+ ],
976
973
  }
977
974
  File.open(path, "w") do |f|
978
975
  YAML.dump(default_config.merge(config), f)
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: hoe
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.12.1
4
+ version: 1.12.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ryan Davis
@@ -30,7 +30,7 @@ cert_chain:
30
30
  FBHgymkyj/AOSqKRIpXPhjC6
31
31
  -----END CERTIFICATE-----
32
32
 
33
- date: 2009-03-31 00:00:00 -07:00
33
+ date: 2009-04-16 00:00:00 -07:00
34
34
  default_executable:
35
35
  dependencies:
36
36
  - !ruby/object:Gem::Dependency
@@ -53,7 +53,44 @@ dependencies:
53
53
  - !ruby/object:Gem::Version
54
54
  version: 0.8.4
55
55
  version:
56
- description: "Hoe is a simple rake/rubygems helper for project Rakefiles. It generates all the usual tasks for projects including rdoc generation, testing, packaging, and deployment. Tasks Provided: * announce - Create news email file and post to rubyforge. * audit - Run ZenTest against the package. * check_extra_deps - Install missing dependencies. * check_manifest - Verify the manifest. * clean - Clean up all the extras. * config_hoe - Create a fresh ~/.hoerc file. * debug_gem - Show information about the gem. * default - Run the default task(s). * deps:email - Print a contact list for gems dependent on this gem * deps:fetch - Fetch all the dependent gems of this gem into tarballs * deps:list - List all the dependent gems of this gem * docs - Build the docs HTML Files * email - Generate email announcement file. * flay - Analyze for code duplication. * flog - Analyze code complexity. * gem - Build the gem file hoe-1.9.0.gem * generate_key - Generate a key for signing your gems. * install_gem - Install the package as a gem. * multi - Run the test suite using multiruby. * package - Build all the packages * post_blog - Post announcement to blog. * post_news - Post announcement to rubyforge. * publish_docs - Publish RDoc to RubyForge. * rcov - Analyze code coverage with tests * release - Package and upload the release to rubyforge. * ridocs - Generate ri locally for testing. * tasks - Generate a list of tasks for doco. * test - Run the test suite. * test_deps - Show which test files fail when run alone. See class rdoc for help. Hint: ri Hoe"
56
+ description: |-
57
+ Hoe is a simple rake/rubygems helper for project Rakefiles. It
58
+ generates all the usual tasks for projects including rdoc generation,
59
+ testing, packaging, and deployment.
60
+
61
+ Tasks Provided:
62
+
63
+ * announce - Create news email file and post to rubyforge.
64
+ * audit - Run ZenTest against the package.
65
+ * check_extra_deps - Install missing dependencies.
66
+ * check_manifest - Verify the manifest.
67
+ * clean - Clean up all the extras.
68
+ * config_hoe - Create a fresh ~/.hoerc file.
69
+ * debug_gem - Show information about the gem.
70
+ * default - Run the default task(s).
71
+ * deps:email - Print a contact list for gems dependent on this gem
72
+ * deps:fetch - Fetch all the dependent gems of this gem into tarballs
73
+ * deps:list - List all the dependent gems of this gem
74
+ * docs - Build the docs HTML Files
75
+ * email - Generate email announcement file.
76
+ * flay - Analyze for code duplication.
77
+ * flog - Analyze code complexity.
78
+ * gem - Build the gem file hoe-1.9.0.gem
79
+ * generate_key - Generate a key for signing your gems.
80
+ * install_gem - Install the package as a gem.
81
+ * multi - Run the test suite using multiruby.
82
+ * package - Build all the packages
83
+ * post_blog - Post announcement to blog.
84
+ * post_news - Post announcement to rubyforge.
85
+ * publish_docs - Publish RDoc to RubyForge.
86
+ * rcov - Analyze code coverage with tests
87
+ * release - Package and upload the release to rubyforge.
88
+ * ridocs - Generate ri locally for testing.
89
+ * tasks - Generate a list of tasks for doco.
90
+ * test - Run the test suite.
91
+ * test_deps - Show which test files fail when run alone.
92
+
93
+ See class rdoc for help. Hint: ri Hoe
57
94
  email:
58
95
  - ryand-ruby@zenspider.com
59
96
  executables:
@@ -82,6 +119,8 @@ files:
82
119
  - test/test_hoe.rb
83
120
  has_rdoc: true
84
121
  homepage: http://rubyforge.org/projects/seattlerb/
122
+ licenses: []
123
+
85
124
  post_install_message:
86
125
  rdoc_options:
87
126
  - --main
@@ -103,9 +142,9 @@ required_rubygems_version: !ruby/object:Gem::Requirement
103
142
  requirements: []
104
143
 
105
144
  rubyforge_project: seattlerb
106
- rubygems_version: 1.3.1
145
+ rubygems_version: 1.3.2
107
146
  signing_key:
108
- specification_version: 2
147
+ specification_version: 3
109
148
  summary: Hoe is a simple rake/rubygems helper for project Rakefiles
110
149
  test_files:
111
150
  - test/test_hoe.rb
metadata.gz.sig CHANGED
@@ -1,3 +1,5 @@
1
- r7�X�P��g�1���8��?��:p@u���FY�{@h���ҟ�h�&�Jݜ�%�LSi�q0X�]b C-��yX4?��̴����R����:(�Ó��K�"���V�ٱ�?�qp� �
2
- ��Ph1������ސ���[��Q�~��*��Z�J��M�U� ���ɕ��U3'V�D�0�Or��X/�>Z�S�M��Uz@d_��>J�y�tQI�ĕ'����L�09Ǘ:(q�8��
3
- ED#�\�D��
1
+ ��>1��M5;���{e5>N]�c�㚲
2
+ �%�"��
3
+ P�!���%cSE����-���jzL�ǼYh���b�?5]������S�2>H85("
4
+ �rZ\5ۢ�8 #��A�'��b|F
5
+ lW�ST���Cm�7�f]~�ѡƒD�A�ީm������ �n>-�`��3�/��Q�le��j͜�`q�?+��Jk!Z��#���Bv��u?���