Sha256: bdb2558da29d5f5d6cfdc83e47c2434cf2df89d554eb9295f9a97625ac017e9e
Contents?: true
Size: 1.49 KB
Versions: 1
Compression:
Stored size: 1.49 KB
Contents
# -*- encoding: utf-8 -*- $:.push File.expand_path("../lib", __FILE__) require "unextendable/version" Gem::Specification.new do |s| s.name = "unextendable" s.version = Unextendable::VERSION s.platform = Gem::Platform::RUBY s.authors = ["Paul Engel"] s.email = ["paul.engel@holder.nl"] s.homepage = "https://github.com/archan937/unextendable" s.summary = %q{A small gem making unextending extended module methods within object instances possible} s.description = %q{Unextendable originated from the thought of being able to implement the "State pattern":http://tobyho.com/Design_Patterns_Revisited%3A_State within object instances using modules. In other words: I wanted object instances to behave dependent on their state using modules. I really want to use modules because they are commonly used to define a set of methods which you can extend within an object instance. Unfortunately, you cannot just unexclude a module. So after searching the web for solutions, I came across Mixology, evil-ruby and StatePattern. But they slightly did not fit the picture. So after doing some research, I came up with Unextendable.} s.rubyforge_project = "unextendable" s.files = `git ls-files`.split("\n") s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n") s.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) } s.require_paths = ["lib"] s.add_development_dependency "shoulda" s.add_development_dependency "mocha" end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
unextendable-0.1.0 | unextendable.gemspec |