/usr/share/rubygems-integration/all/specifications/cleanroom-1.0.0.gemspec is in ruby-cleanroom 1.0.0-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 | # -*- encoding: utf-8 -*-
# stub: cleanroom 1.0.0 ruby lib
Gem::Specification.new do |s|
s.name = "cleanroom"
s.version = "1.0.0"
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
s.require_paths = ["lib"]
s.authors = ["Seth Vargo"]
s.date = "2014-08-12"
s.description = "Ruby is an excellent programming language for creating and managing custom DSLs, but how can you securely evaluate a DSL while explicitly controlling the methods exposed to the user? Our good friends instance_eval and instance_exec are great, but they expose all methods - public, protected, and private - to the user. Even worse, they expose the ability to accidentally or intentionally alter the behavior of the system! The cleanroom pattern is a safer, more convenient, Ruby-like approach for limiting the information exposed by a DSL while giving users the ability to write awesome code!"
s.email = "sethvargo@gmail.com"
s.files = [".gitignore", ".travis.yml", "CHANGELOG.md", "Gemfile", "LICENSE", "README.md", "Rakefile", "cleanroom.gemspec", "lib/cleanroom.rb", "lib/cleanroom/errors.rb", "lib/cleanroom/rspec.rb", "lib/cleanroom/version.rb", "spec/functional/cleanroom_spec.rb", "spec/spec_helper.rb", "spec/unit/cleanroom_spec.rb", "spec/unit/rspec_spec.rb"]
s.homepage = "https://github.com/sethvargo/cleanroom"
s.licenses = ["Apache 2.0"]
s.required_ruby_version = Gem::Requirement.new(">= 1.9.3")
s.rubygems_version = "2.2.2"
s.summary = "(More) safely evaluate Ruby DSLs with cleanroom"
s.test_files = ["spec/functional/cleanroom_spec.rb", "spec/spec_helper.rb", "spec/unit/cleanroom_spec.rb", "spec/unit/rspec_spec.rb"]
if s.respond_to? :specification_version then
s.specification_version = 4
if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
s.add_development_dependency(%q<rspec>, ["~> 3.0"])
s.add_development_dependency(%q<bundler>, [">= 0"])
s.add_development_dependency(%q<rake>, [">= 0"])
else
s.add_dependency(%q<rspec>, ["~> 3.0"])
s.add_dependency(%q<bundler>, [">= 0"])
s.add_dependency(%q<rake>, [">= 0"])
end
else
s.add_dependency(%q<rspec>, ["~> 3.0"])
s.add_dependency(%q<bundler>, [">= 0"])
s.add_dependency(%q<rake>, [">= 0"])
end
end
|