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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 1f1e275104533fdf5d31bce94ed3604e4d7f6c75
4
- data.tar.gz: cd24d5b692d85bb9421adccd471a16d520e68918
3
+ metadata.gz: afb6c2824dec9ffb66110b2681969fc77b1cc9a6
4
+ data.tar.gz: b341b80614a07e0368214ef5743643dcc3efd5d6
5
5
  SHA512:
6
- metadata.gz: 80882e01cc3b38f3227b59dbb057e40e9c3e0724e068f3a59845e55dab2e3196046f7ebaede003439013abc8fb173e77093a1a1ea82681798422188d6bb58496
7
- data.tar.gz: 57c19489171279480889d448c1fe0917f39377ec5d1d9f3076300e53156e351b7d11775a1d6b3f14d3652119457d26ccfe7bcc115de8963ecee029e30b101553
6
+ metadata.gz: eee2f7e4ae7e86a4fa4e8232e9d82cfe64120516d9beb38aafc5fea0fbfa837a90931ea6b76b60db3b586e6bf5f10683213c288c44f5ea0126b2dc78c0dd4706
7
+ data.tar.gz: 9a23e82ba4a79c8cdf2f61ddb729752461ed0fd719ca609baf9054c5a3a54fa0a575e2f1467679f8679065e30eedbb01330ab943e8a0fcb38c187bea2e624e98
data/Changelogs.md ADDED
@@ -0,0 +1,3 @@
1
+ ### Changelogs
2
+
3
+ - fix the error in Rakefile
data/README.md CHANGED
@@ -121,6 +121,10 @@ The output file `index.html` should be something like
121
121
 
122
122
  ### Changelogs
123
123
 
124
+ #### 0.0.6
125
+
126
+ - Fix the Rakefile to include the correct library
127
+
124
128
  #### 0.0.5
125
129
 
126
130
  - Always make the url relative in `make_links` method.
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 FileIndexer
12
+ include IndexHtml
23
13
  ARGV.clear
24
14
  Pry.start
25
15
  end
@@ -1,3 +1,3 @@
1
1
  module IndexHtml
2
- VERSION = "0.0.5"
2
+ VERSION = "0.0.6"
3
3
  end
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.5
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-17 00:00:00.000000000 Z
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