den 0.1.0 → 0.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (3) hide show
  1. data/den.gemspec +1 -1
  2. data/lib/den/page.rb +5 -5
  3. metadata +1 -1
data/den.gemspec CHANGED
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |s|
2
2
  s.name = 'den'
3
- s.version = '0.1.0'
3
+ s.version = '0.1.1'
4
4
  s.summary = 'A really simple static-site generator.'
5
5
  s.authors = ["Peter Valdez"]
6
6
  s.email = 'peter@someindividual.com'
data/lib/den/page.rb CHANGED
@@ -29,13 +29,13 @@ class Page < Resource
29
29
  def process
30
30
  File.open(@file) do |f|
31
31
  page = markup(f.read)
32
- end
33
32
 
34
- # Extract the url from the filename
35
- page[:id] = @file.split('/')[-1]
33
+ # Extract the url from the filename
34
+ page[:id] = @file.split('/')[-1]
36
35
 
37
- # Store the processed info
38
- @content = page
36
+ # Store the processed info
37
+ @content = page
38
+ end
39
39
  end
40
40
 
41
41
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: den
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: