inochi 1.1.0 → 1.1.1
Sign up to get free protection for your applications and to get access to all the features.
- data/doc/api/apple-touch-icon.png +0 -0
- data/doc/api/classes/Inochi.html +17 -17
- data/doc/api/classes/Inochi/Manual.html +10 -10
- data/doc/api/classes/TempDir.html +5 -5
- data/doc/api/created.rid +1 -1
- data/doc/api/favicon.ico +0 -0
- data/doc/api/files/CREDITS.html +1 -1
- data/doc/api/files/LICENSE.html +1 -1
- data/doc/api/files/lib/inochi/book_rb.html +15 -1
- data/doc/api/files/lib/inochi/init_rb.html +1 -13
- data/doc/api/files/lib/inochi/main_rb.html +1 -1
- data/doc/api/files/lib/inochi/rake_rb.html +1 -1
- data/doc/api/files/lib/inochi/test/bacon_rb.html +1 -1
- data/doc/api/files/lib/inochi/test/context_rb.html +1 -1
- data/doc/api/files/lib/inochi/test/dfect_rb.html +1 -1
- data/doc/api/files/lib/inochi/test/matchy_rb.html +1 -1
- data/doc/api/files/lib/inochi/test/minitest_rb.html +1 -1
- data/doc/api/files/lib/inochi/test/mocha_rb.html +1 -1
- data/doc/api/files/lib/inochi/test/rspec_rb.html +1 -1
- data/doc/api/files/lib/inochi/test/shoulda_rb.html +1 -1
- data/doc/api/files/lib/inochi/test/test_spec_rb.html +1 -1
- data/doc/api/files/lib/inochi/test/test_unit_rb.html +1 -1
- data/doc/api/files/lib/inochi/util/combo_rb.html +1 -1
- data/doc/api/files/lib/inochi/util/tempdir_rb.html +1 -1
- data/doc/api/files/lib/inochi/util_rb.html +1 -1
- data/doc/api/files/lib/inochi_rb.html +1 -3
- data/doc/api/js/searchdoc.js +38 -15
- data/doc/api/panel/index.html +13 -5
- data/doc/api/panel/search_index.js +1 -1
- data/doc/history.erb +21 -1
- data/doc/index.html +233 -179
- data/lib/inochi.rb +16 -16
- data/lib/inochi/main.rb +1 -1
- data/lib/inochi/rake.rb +4 -4
- metadata +40 -29
data/lib/inochi.rb
CHANGED
@@ -17,25 +17,25 @@ require 'inochi/book'
|
|
17
17
|
require 'inochi/util'
|
18
18
|
|
19
19
|
Inochi.init :Inochi,
|
20
|
-
:version => '1.1.
|
21
|
-
:release => '2009-
|
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',
|
26
|
-
'launchy' => '>= 0.3.3',
|
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' => '~>
|
31
|
-
'mechanize' => '~> 0',
|
32
|
-
'voloko-sdoc' => '>= 0.2.10',
|
33
|
-
'addressable' => '~> 2',
|
34
|
-
'erbook' => '~> 7',
|
35
|
-
'babelfish' => '~> 0',
|
36
|
-
'
|
37
|
-
'flay' => nil,
|
38
|
-
'reek' => nil,
|
39
|
-
'roodi' => nil,
|
40
|
-
'ZenTest' => '~> 4',
|
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
|
}
|
data/lib/inochi/main.rb
CHANGED
@@ -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
|
57
|
+
sub(/\A!.*?\n/, '').lstrip # omit the hashbang line
|
58
58
|
text ''
|
59
59
|
|
60
60
|
instance_eval(&trollop_config) if trollop_config
|
data/lib/inochi/rake.rb
CHANGED
@@ -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
|
-
|
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,
|
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.
|
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.
|
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-
|
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:
|
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: "
|
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:
|
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: "
|
36
|
+
version: "2"
|
34
37
|
version:
|
35
38
|
- !ruby/object:Gem::Dependency
|
36
|
-
name:
|
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:
|
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.
|
59
|
+
version: 0.2.10
|
54
60
|
version:
|
55
61
|
- !ruby/object:Gem::Dependency
|
56
|
-
name:
|
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: "
|
69
|
+
version: "2"
|
64
70
|
version:
|
65
71
|
- !ruby/object:Gem::Dependency
|
66
|
-
name:
|
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: "
|
79
|
+
version: "7"
|
74
80
|
version:
|
75
81
|
- !ruby/object:Gem::Dependency
|
76
|
-
name:
|
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:
|
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:
|
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: "
|
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:
|
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
|
129
|
+
version: "0"
|
124
130
|
version:
|
125
131
|
- !ruby/object:Gem::Dependency
|
126
|
-
name:
|
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: "
|
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.
|
156
|
-
Version 1.1.
|
157
|
-
References\n\n 1. http://www.rubygems.org/\n 2. http://snk.tuxfamily.org/lib/inochi/#
|
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
|