index_html 0.0.5 → 0.0.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Changelogs.md +3 -0
- data/README.md +4 -0
- data/Rakefile +1 -11
- data/lib/index_html/version.rb +1 -1
- data/lib/index_html.rb +0 -2
- metadata +3 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: afb6c2824dec9ffb66110b2681969fc77b1cc9a6
|
4
|
+
data.tar.gz: b341b80614a07e0368214ef5743643dcc3efd5d6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: eee2f7e4ae7e86a4fa4e8232e9d82cfe64120516d9beb38aafc5fea0fbfa837a90931ea6b76b60db3b586e6bf5f10683213c288c44f5ea0126b2dc78c0dd4706
|
7
|
+
data.tar.gz: 9a23e82ba4a79c8cdf2f61ddb729752461ed0fd719ca609baf9054c5a3a54fa0a575e2f1467679f8679065e30eedbb01330ab943e8a0fcb38c187bea2e624e98
|
data/Changelogs.md
ADDED
data/README.md
CHANGED
data/Rakefile
CHANGED
@@ -5,21 +5,11 @@ require 'rspec/core/rake_task'
|
|
5
5
|
RSpec::Core::RakeTask.new(:spec)
|
6
6
|
task :default => :spec
|
7
7
|
|
8
|
-
task :irb do
|
9
|
-
require 'irb'
|
10
|
-
require 'awesome_print'
|
11
|
-
require 'irb/completion'
|
12
|
-
require 'index_html'
|
13
|
-
include FileIndexer
|
14
|
-
ARGV.clear
|
15
|
-
IRB.start
|
16
|
-
end
|
17
|
-
|
18
8
|
task :pry do
|
19
9
|
require 'pry'
|
20
10
|
require 'awesome_print'
|
21
11
|
require 'index_html'
|
22
|
-
include
|
12
|
+
include IndexHtml
|
23
13
|
ARGV.clear
|
24
14
|
Pry.start
|
25
15
|
end
|
data/lib/index_html/version.rb
CHANGED
data/lib/index_html.rb
CHANGED
@@ -35,9 +35,7 @@ module IndexHtml
|
|
35
35
|
|
36
36
|
File.open(output, "w") do |f|
|
37
37
|
f.write(header)
|
38
|
-
# TODO: always use relative path to the current :base_name
|
39
38
|
links = make_links file_list, prefix: prefix, base_dir: args[:base_dir]
|
40
|
-
|
41
39
|
links.each { |i| f.write("#{' ' * indent}#{i}\n") }
|
42
40
|
f.write(footer)
|
43
41
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: index_html
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.6
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Burin Choomnuan
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-04-
|
11
|
+
date: 2014-04-18 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: code_lister
|
@@ -132,6 +132,7 @@ extra_rdoc_files: []
|
|
132
132
|
files:
|
133
133
|
- ".gitignore"
|
134
134
|
- ".ruby-version"
|
135
|
+
- Changelogs.md
|
135
136
|
- Gemfile
|
136
137
|
- Guardfile
|
137
138
|
- LICENSE.txt
|