inochi 1.1.0 → 1.1.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (35) hide show
  1. data/doc/api/apple-touch-icon.png +0 -0
  2. data/doc/api/classes/Inochi.html +17 -17
  3. data/doc/api/classes/Inochi/Manual.html +10 -10
  4. data/doc/api/classes/TempDir.html +5 -5
  5. data/doc/api/created.rid +1 -1
  6. data/doc/api/favicon.ico +0 -0
  7. data/doc/api/files/CREDITS.html +1 -1
  8. data/doc/api/files/LICENSE.html +1 -1
  9. data/doc/api/files/lib/inochi/book_rb.html +15 -1
  10. data/doc/api/files/lib/inochi/init_rb.html +1 -13
  11. data/doc/api/files/lib/inochi/main_rb.html +1 -1
  12. data/doc/api/files/lib/inochi/rake_rb.html +1 -1
  13. data/doc/api/files/lib/inochi/test/bacon_rb.html +1 -1
  14. data/doc/api/files/lib/inochi/test/context_rb.html +1 -1
  15. data/doc/api/files/lib/inochi/test/dfect_rb.html +1 -1
  16. data/doc/api/files/lib/inochi/test/matchy_rb.html +1 -1
  17. data/doc/api/files/lib/inochi/test/minitest_rb.html +1 -1
  18. data/doc/api/files/lib/inochi/test/mocha_rb.html +1 -1
  19. data/doc/api/files/lib/inochi/test/rspec_rb.html +1 -1
  20. data/doc/api/files/lib/inochi/test/shoulda_rb.html +1 -1
  21. data/doc/api/files/lib/inochi/test/test_spec_rb.html +1 -1
  22. data/doc/api/files/lib/inochi/test/test_unit_rb.html +1 -1
  23. data/doc/api/files/lib/inochi/util/combo_rb.html +1 -1
  24. data/doc/api/files/lib/inochi/util/tempdir_rb.html +1 -1
  25. data/doc/api/files/lib/inochi/util_rb.html +1 -1
  26. data/doc/api/files/lib/inochi_rb.html +1 -3
  27. data/doc/api/js/searchdoc.js +38 -15
  28. data/doc/api/panel/index.html +13 -5
  29. data/doc/api/panel/search_index.js +1 -1
  30. data/doc/history.erb +21 -1
  31. data/doc/index.html +233 -179
  32. data/lib/inochi.rb +16 -16
  33. data/lib/inochi/main.rb +1 -1
  34. data/lib/inochi/rake.rb +4 -4
  35. metadata +40 -29
@@ -17,25 +17,25 @@ require 'inochi/book'
17
17
  require 'inochi/util'
18
18
 
19
19
  Inochi.init :Inochi,
20
- :version => '1.1.0',
21
- :release => '2009-09-06',
20
+ :version => '1.1.1',
21
+ :release => '2009-10-03',
22
22
  :website => 'http://snk.tuxfamily.org/lib/inochi/',
23
23
  :tagline => 'Gives life to RubyGems-based software',
24
24
  :require => {
25
- 'trollop' => '~> 1', # for parsing command-line options
26
- 'launchy' => '>= 0.3.3', # for launching a web browser
25
+ 'trollop' => '~> 1', # for parsing command-line
26
+ 'launchy' => ['~> 0', '>= 0.3.3'], # for launching a browser
27
27
  },
28
28
  :develop => {
29
- 'rake' => '>= 0.8.4',
30
- 'rubyforge' => '~> 1', # for publishing gems to RubyForge
31
- 'mechanize' => '~> 0', # for automating web browsing
32
- 'voloko-sdoc' => '>= 0.2.10', # for generating API documentation
33
- 'addressable' => '~> 2', # for parsing URIs properly
34
- 'erbook' => '~> 7', # for processing the user manual
35
- 'babelfish' => '~> 0', # for human language translation
36
- 'spicycode-rcov' => nil, # for code coverage statistics
37
- 'flay' => nil, # for code quality analysis
38
- 'reek' => nil, # for code quality analysis
39
- 'roodi' => nil, # for code quality analysis
40
- 'ZenTest' => '~> 4', # for the `multiruby` tool
29
+ 'rake' => ['~> 0', '>= 0.8.4'],
30
+ 'rubyforge' => '~> 2', # for publishing gems
31
+ 'mechanize' => '~> 0', # for web automation
32
+ 'voloko-sdoc' => ['~> 0', '>= 0.2.10'], # for API docs
33
+ 'addressable' => '~> 2', # for parsing URIs properly
34
+ 'erbook' => '~> 7', # for generating user manual
35
+ 'babelfish' => '~> 0', # for language translation
36
+ 'relevance-rcov' => nil, # for code coverage statistics
37
+ 'flay' => nil, # for code quality analysis
38
+ 'reek' => nil, # for code quality analysis
39
+ 'roodi' => nil, # for code quality analysis
40
+ 'ZenTest' => '~> 4', # for the `multiruby` tool
41
41
  }
@@ -54,7 +54,7 @@ def Inochi.main project_symbol, *trollop_args, &trollop_config
54
54
  # show program description
55
55
  text File.read(program_file)[/\A.*?^$\n/m]. # grab the header
56
56
  gsub(/^# ?/, ''). # strip the comment markers
57
- sub(/\A!.*?\n/, '').lstrip # omit the shebang line
57
+ sub(/\A!.*?\n/, '').lstrip # omit the hashbang line
58
58
  text ''
59
59
 
60
60
  instance_eval(&trollop_config) if trollop_config
@@ -113,7 +113,7 @@ def Inochi.rake project_symbol, options = {}, &gem_config
113
113
 
114
114
  # load the project module
115
115
  program_name = File.basename(program_home)
116
- project_libs = File.join('lib', program_name)
116
+ project_libs = File.join(program_home, 'lib', program_name)
117
117
 
118
118
  require project_libs
119
119
  project_module = fetch_project_module(project_symbol)
@@ -536,7 +536,7 @@ def Inochi.rake project_symbol, options = {}, &gem_config
536
536
  require 'time'
537
537
  require 'rss/maker'
538
538
 
539
- feed = RSS::Maker.make('2.0') do |feed|
539
+ rss = RSS::Maker.make('2.0') do |feed|
540
540
  feed.channel.title = ann_project
541
541
  feed.channel.link = project_module::WEBSITE
542
542
  feed.channel.description = project_module::TAGLINE
@@ -551,7 +551,7 @@ def Inochi.rake project_symbol, options = {}, &gem_config
551
551
  item.description = ann_html
552
552
  end
553
553
 
554
- File.write ann_feed_dst, feed
554
+ File.write ann_feed_dst, rss
555
555
  end
556
556
 
557
557
  CLOBBER.include ann_feed_dst
@@ -742,7 +742,7 @@ def Inochi.rake project_symbol, options = {}, &gem_config
742
742
  www = WWW::Mechanize.new
743
743
  page = www.get "http://rubyforge.org/news/?group_id=#{group_id}"
744
744
 
745
- posts = (page/'//a[starts-with(./@href, "/forum/forum.php?forum_id=")]/text()').map {|e| e.to_s.gsub("\302\240", '').strip }
745
+ posts = (page/'//a[starts-with(./@href, "/forum/forum.php?forum_id=")]/text()').map {|e| e.to_s.strip }
746
746
 
747
747
  already_announced = posts.include? ann_subject
748
748
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: inochi
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.0
4
+ version: 1.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Suraj N. Kurapati
@@ -9,71 +9,77 @@ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
11
 
12
- date: 2009-09-06 00:00:00 -07:00
12
+ date: 2009-10-03 00:00:00 -07:00
13
13
  default_executable:
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
- name: erbook
16
+ name: rake
17
17
  type: :development
18
18
  version_requirement:
19
19
  version_requirements: !ruby/object:Gem::Requirement
20
20
  requirements:
21
21
  - - ~>
22
22
  - !ruby/object:Gem::Version
23
- version: "7"
23
+ version: "0"
24
+ - - ">="
25
+ - !ruby/object:Gem::Version
26
+ version: 0.8.4
24
27
  version:
25
28
  - !ruby/object:Gem::Dependency
26
- name: ZenTest
29
+ name: rubyforge
27
30
  type: :development
28
31
  version_requirement:
29
32
  version_requirements: !ruby/object:Gem::Requirement
30
33
  requirements:
31
34
  - - ~>
32
35
  - !ruby/object:Gem::Version
33
- version: "4"
36
+ version: "2"
34
37
  version:
35
38
  - !ruby/object:Gem::Dependency
36
- name: spicycode-rcov
39
+ name: mechanize
37
40
  type: :development
38
41
  version_requirement:
39
42
  version_requirements: !ruby/object:Gem::Requirement
40
43
  requirements:
41
- - - ">="
44
+ - - ~>
42
45
  - !ruby/object:Gem::Version
43
46
  version: "0"
44
47
  version:
45
48
  - !ruby/object:Gem::Dependency
46
- name: rake
49
+ name: voloko-sdoc
47
50
  type: :development
48
51
  version_requirement:
49
52
  version_requirements: !ruby/object:Gem::Requirement
50
53
  requirements:
54
+ - - ~>
55
+ - !ruby/object:Gem::Version
56
+ version: "0"
51
57
  - - ">="
52
58
  - !ruby/object:Gem::Version
53
- version: 0.8.4
59
+ version: 0.2.10
54
60
  version:
55
61
  - !ruby/object:Gem::Dependency
56
- name: roodi
62
+ name: addressable
57
63
  type: :development
58
64
  version_requirement:
59
65
  version_requirements: !ruby/object:Gem::Requirement
60
66
  requirements:
61
- - - ">="
67
+ - - ~>
62
68
  - !ruby/object:Gem::Version
63
- version: "0"
69
+ version: "2"
64
70
  version:
65
71
  - !ruby/object:Gem::Dependency
66
- name: addressable
72
+ name: erbook
67
73
  type: :development
68
74
  version_requirement:
69
75
  version_requirements: !ruby/object:Gem::Requirement
70
76
  requirements:
71
77
  - - ~>
72
78
  - !ruby/object:Gem::Version
73
- version: "2"
79
+ version: "7"
74
80
  version:
75
81
  - !ruby/object:Gem::Dependency
76
- name: mechanize
82
+ name: babelfish
77
83
  type: :development
78
84
  version_requirement:
79
85
  version_requirements: !ruby/object:Gem::Requirement
@@ -83,24 +89,24 @@ dependencies:
83
89
  version: "0"
84
90
  version:
85
91
  - !ruby/object:Gem::Dependency
86
- name: babelfish
92
+ name: relevance-rcov
87
93
  type: :development
88
94
  version_requirement:
89
95
  version_requirements: !ruby/object:Gem::Requirement
90
96
  requirements:
91
- - - ~>
97
+ - - ">="
92
98
  - !ruby/object:Gem::Version
93
99
  version: "0"
94
100
  version:
95
101
  - !ruby/object:Gem::Dependency
96
- name: rubyforge
102
+ name: flay
97
103
  type: :development
98
104
  version_requirement:
99
105
  version_requirements: !ruby/object:Gem::Requirement
100
106
  requirements:
101
- - - ~>
107
+ - - ">="
102
108
  - !ruby/object:Gem::Version
103
- version: "1"
109
+ version: "0"
104
110
  version:
105
111
  - !ruby/object:Gem::Dependency
106
112
  name: reek
@@ -113,24 +119,24 @@ dependencies:
113
119
  version: "0"
114
120
  version:
115
121
  - !ruby/object:Gem::Dependency
116
- name: voloko-sdoc
122
+ name: roodi
117
123
  type: :development
118
124
  version_requirement:
119
125
  version_requirements: !ruby/object:Gem::Requirement
120
126
  requirements:
121
127
  - - ">="
122
128
  - !ruby/object:Gem::Version
123
- version: 0.2.10
129
+ version: "0"
124
130
  version:
125
131
  - !ruby/object:Gem::Dependency
126
- name: flay
132
+ name: ZenTest
127
133
  type: :development
128
134
  version_requirement:
129
135
  version_requirements: !ruby/object:Gem::Requirement
130
136
  requirements:
131
- - - ">="
137
+ - - ~>
132
138
  - !ruby/object:Gem::Version
133
- version: "0"
139
+ version: "4"
134
140
  version:
135
141
  - !ruby/object:Gem::Dependency
136
142
  name: trollop
@@ -148,13 +154,16 @@ dependencies:
148
154
  version_requirement:
149
155
  version_requirements: !ruby/object:Gem::Requirement
150
156
  requirements:
157
+ - - ~>
158
+ - !ruby/object:Gem::Version
159
+ version: "0"
151
160
  - - ">="
152
161
  - !ruby/object:Gem::Version
153
162
  version: 0.3.3
154
163
  version:
155
- description: " Inochi 1.1.0\n\n Gives life to RubyGems-based software\n\n http://snk.tuxfamily.org/lib/inochi/\n\n Inochi is an infrastructure for [1]RubyGems-based software\n that encourages good documentation, reduces programming\n effort, and automates common tasks.\n\n\
156
- Version 1.1.0 (2009-09-06)\n\n This release improves the user manual and scaffold generator\n output, injects more metadata into gems, adds support for\n Microsoft web browsers, and fixes some bugs.\n\n * [2]New features\n\n * [3]Bug fixes\n\n * [4]Housekeeping\n\n New features\n\n * Add [5]instructions for building gems without Inochi as a\n runtime dependency.\n\n * Put release notes in \"description\" field of gemspec, as\n [6]suggested by Eric Hodel, so that subscribers of [7]the\n RubyForge gems feed are aware of the changes in a\n published gem.\n\n * Set the \"date\" field in gemspec to project release date.\n\n * Change file extension of generated user manuals from\n .xhtml to .html to accomodate Microsoft web browsers'\n inability to process the application/xhtml+xml mime type.\n\n Bug fixes\n\n * The sdoc library was necessary to run `rake test'.\n\n * Forgot to add :develop option to scaffold generator\n output.\n\n * Make \"rake lang:dump\" unconditionally overwrite the dump\n file.\n\n * Fix gem not being built and prevent Maruku errors for the\n dummy \"WordCount\" project in the user manual.\n\n * Use /usr/bin/env instead of /usr/bin/ruby to launch Ruby\n for better portability.\n\n Housekeeping\n\n * Use simpler Copyright reminder at the top of every file.\n\n * Open source is for fun, so [8]be nice: speak of \"related\n works\" instead of \"competitors\".\n\n * Rename \"Tutorial\" to \"General walkthrough\" in user manual\n and add a \"Specific topics\" section for housing uncommon\n use cases.\n\n * Remove \"logistics\" section and redistribute its contents\n in more suitable locations in the user manual.\n\n\
157
- References\n\n 1. http://www.rubygems.org/\n 2. http://snk.tuxfamily.org/lib/inochi/#New-features\n 3. http://snk.tuxfamily.org/lib/inochi/#Bug-fixes\n 4. http://snk.tuxfamily.org/lib/inochi/#Housekeeping\n 5. http://snk.tuxfamily.org/lib/inochi/#Build-a-RubyGem-without-Inochi-as-runtime-dependency\n 6. http://www.ruby-forum.com/topic/190220#830072\n 7. http://gems.rubyforge.org/index.rss\n 8. http://loiclemeur.com/english/2009/03/never-criticize-your-competitors.html\n"
164
+ description: " Inochi 1.1.1\n\n Gives life to RubyGems-based software\n\n http://snk.tuxfamily.org/lib/inochi/\n\n Inochi is an infrastructure for [1]RubyGems-based software\n that encourages good documentation, reduces programming\n effort, and automates common tasks.\n\n\
165
+ Version 1.1.1 (2009-10-03)\n\n This release improves Ruby 1.9 support and upgrades gem\n dependencies.\n\n * [2]Bug fixes\n\n * [3]Housekeeping\n\n Bug fixes\n\n * require() was unable to find project library in Ruby\n 1.9.2dev.\n\n * Ruby 1.9 warning about \"shadowing outer variable\".\n\n * Ruby 1.9 error about \"incompatible encoding regexp\n match\".\n\n Housekeeping\n\n * The \"spicycode-rcov\" project was officially renamed to\n \"relevance-rcov\".\n\n * Upgrade to RubyForge 2.x library for publishing gems.\n\n\
166
+ References\n\n 1. http://www.rubygems.org/\n 2. http://snk.tuxfamily.org/lib/inochi/#Bug-fixes\n 3. http://snk.tuxfamily.org/lib/inochi/#Housekeeping\n"
158
167
  email: sunaku@gmail.com
159
168
  executables:
160
169
  - inochi
@@ -231,7 +240,9 @@ files:
231
240
  - doc/api/i/arrows.png
232
241
  - doc/api/i/tree_bg.png
233
242
  - doc/api/i/results_bg.png
243
+ - doc/api/apple-touch-icon.png
234
244
  - doc/api/created.rid
245
+ - doc/api/favicon.ico
235
246
  - doc/api/index.html
236
247
  - doc/usage.erb
237
248
  - doc/history.erb