```ruby
Gem::Specification.new do |s|

  s.name = %q{be_valid_asset}
  s.version = "0.9.0"

  s.description = %q{Provides be_valid_xhtml and be_valid_css matchers for rspec controller and view tests.}
  s.email = %q{github@unboxedconsulting.com}
  s.homepage = %q{http://github.com/unboxed/be_valid_asset}
  s.summary = %q{Markup validation for RSpec}
  s.has_rdoc = false
  
  s.files = [
    %w(Rakefile README.markdown MIT-LICENSE.txt),
    Dir['lib/**/*.rb'],
    Dir['spec/**/*.rb'],
    Dir['spec/files/*'],
    %w(spec/spec.opts)
  ].flatten
  s.test_files = Dir['spec/**/*_spec.rb']

end```

Make gemspec work with $SAFE = 3
user
```ruby
Gem::Specification.new do |s|

  s.name = %q{be_valid_asset}
  s.version = "0.9.0"

  s.description = %q{Provides be_valid_xhtml and be_valid_css matchers for rspec controller and view tests.}
  s.email = %q{github@unboxedconsulting.com}
  s.homepage = %q{http://github.com/unboxed/be_valid_asset}
  s.summary = %q{Markup validation for RSpec}
  s.has_rdoc = false

  # Dir[] is not allowed with $SAFE = 3
#  s.files = [
#    %w(Rakefile README.markdown MIT-LICENSE.txt),
#    Dir['lib/**/*.rb'],
#    Dir['spec/**/*.rb'],
#    Dir['spec/files/*'],
#    %w(spec/spec.opts)
#  ].flatten
#  puts s.files
  s.files = %w(
    Rakefile
    README.markdown
    MIT-LICENSE.txt
    lib/be_valid_asset.rb
    lib/be_valid_asset/be_valid_xhtml.rb
    lib/be_valid_asset/be_valid_css.rb
    lib/be_valid_asset/be_valid_base.rb
    spec/spec_helper.rb
    spec/be_valid_asset/be_valid_css_spec.rb
    spec/be_valid_asset/be_valid_xhtml_spec.rb
    spec/files/valid.html
    spec/files/valid-3.css
    spec/files/invalid.html
    spec/files/valid.css
    spec/files/valid-2.css
    spec/files/valid-1.css
    spec/files/invalid.css
    spec/spec.opts
  )
  s.test_files = %w(
    spec/be_valid_asset/be_valid_css_spec.rb
    spec/be_valid_asset/be_valid_xhtml_spec.rb
  )
end```
assistant