massimo 0.4.4 → 0.4.5

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. data/VERSION +1 -1
  2. data/lib/massimo/site.rb +3 -1
  3. data/massimo.gemspec +11 -11
  4. metadata +10 -10
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.4.4
1
+ 0.4.5
data/lib/massimo/site.rb CHANGED
@@ -125,7 +125,9 @@ module Massimo
125
125
  class_name = File.basename(file).gsub(File.extname(file), "").classify
126
126
  Object.class_eval { remove_const(class_name) if const_defined?(class_name) }
127
127
  load(file)
128
- class_name.constantize rescue nil
128
+ class_constant = class_name.constantize rescue nil
129
+ Massimo.resources.delete(class_constant)
130
+ class_constant
129
131
  end
130
132
  end
131
133
  end
data/massimo.gemspec CHANGED
@@ -5,11 +5,11 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{massimo}
8
- s.version = "0.4.4"
8
+ s.version = "0.4.5"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Peter Browne"]
12
- s.date = %q{2010-03-30}
12
+ s.date = %q{2010-03-31}
13
13
  s.default_executable = %q{massimo}
14
14
  s.description = %q{Massimo builds HTML, Javascript, and CSS Files from your source.}
15
15
  s.email = %q{me@petebrowne.com}
@@ -88,17 +88,17 @@ Gem::Specification.new do |s|
88
88
  s.rubygems_version = %q{1.3.6}
89
89
  s.summary = %q{Massimo is a static website builder.}
90
90
  s.test_files = [
91
- "test/test_helpers.rb",
92
- "test/assertions.rb",
93
- "test/test_stylesheet.rb",
94
- "test/test_site.rb",
91
+ "test/assertions.rb",
95
92
  "test/helper.rb",
96
- "test/test_resource.rb",
97
- "test/test_page.rb",
98
- "test/test_view.rb",
99
- "test/test_javascript.rb",
93
+ "test/source/helpers/test_helper.rb",
100
94
  "test/source/lib/site.rb",
101
- "test/source/helpers/test_helper.rb"
95
+ "test/test_helpers.rb",
96
+ "test/test_javascript.rb",
97
+ "test/test_page.rb",
98
+ "test/test_resource.rb",
99
+ "test/test_site.rb",
100
+ "test/test_stylesheet.rb",
101
+ "test/test_view.rb"
102
102
  ]
103
103
 
104
104
  if s.respond_to? :specification_version then
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 0
7
7
  - 4
8
- - 4
9
- version: 0.4.4
8
+ - 5
9
+ version: 0.4.5
10
10
  platform: ruby
11
11
  authors:
12
12
  - Peter Browne
@@ -14,7 +14,7 @@ autorequire:
14
14
  bindir: bin
15
15
  cert_chain: []
16
16
 
17
- date: 2010-03-30 00:00:00 -05:00
17
+ date: 2010-03-31 00:00:00 -05:00
18
18
  default_executable: massimo
19
19
  dependencies:
20
20
  - !ruby/object:Gem::Dependency
@@ -219,14 +219,14 @@ signing_key:
219
219
  specification_version: 3
220
220
  summary: Massimo is a static website builder.
221
221
  test_files:
222
- - test/test_helpers.rb
223
222
  - test/assertions.rb
224
- - test/test_stylesheet.rb
225
- - test/test_site.rb
226
223
  - test/helper.rb
227
- - test/test_resource.rb
224
+ - test/source/helpers/test_helper.rb
225
+ - test/source/lib/site.rb
226
+ - test/test_helpers.rb
227
+ - test/test_javascript.rb
228
228
  - test/test_page.rb
229
+ - test/test_resource.rb
230
+ - test/test_site.rb
231
+ - test/test_stylesheet.rb
229
232
  - test/test_view.rb
230
- - test/test_javascript.rb
231
- - test/source/lib/site.rb
232
- - test/source/helpers/test_helper.rb