soup 0.2.0 → 0.2.1

Sign up to get free protection for your applications and to get access to all the features.
data/Manifest CHANGED
@@ -1,3 +1,4 @@
1
+ lib/soup/empty_class.rb
1
2
  lib/soup/snip.rb
2
3
  lib/soup/tuples/active_record_tuple.rb
3
4
  lib/soup/tuples/data_mapper_tuple.rb
@@ -4,7 +4,7 @@ $LOAD_PATH.unshift(File.dirname(__FILE__)).uniq!
4
4
  require 'soup/snip'
5
5
 
6
6
  module Soup
7
- VERSION = "0.2.0"
7
+ VERSION = "0.2.1"
8
8
 
9
9
  DEFAULT_CONFIG = {
10
10
  :adapter => 'sqlite3',
@@ -0,0 +1,6 @@
1
+ # Based on Builder's BlankSlate object
2
+ module Soup
3
+ class EmptyClass
4
+ instance_methods.each { |m| undef_method(m) unless m =~ /^(__|instance_eval|respond_to\?)/ }
5
+ end
6
+ end
@@ -1,10 +1,10 @@
1
1
 
2
- # Gem::Specification for Soup-0.2.0
2
+ # Gem::Specification for Soup-0.2.1
3
3
  # Originally generated by Echoe
4
4
 
5
5
  Gem::Specification.new do |s|
6
6
  s.name = %q{soup}
7
- s.version = "0.2.0"
7
+ s.version = "0.2.1"
8
8
  s.date = %q{2008-04-17}
9
9
  s.summary = %q{Soup is a bit of everything, summoned from nothing. Soup is like an imaginary friend - comforting,}
10
10
  s.email = ["james@lazyatom.com"]
@@ -13,7 +13,7 @@ Gem::Specification.new do |s|
13
13
  s.description = %q{Soup is a bit of everything, summoned from nothing. Soup is like an imaginary friend - comforting,}
14
14
  s.has_rdoc = true
15
15
  s.authors = ["James Adam"]
16
- s.files = ["lib/soup/snip.rb", "lib/soup/tuples/active_record_tuple.rb", "lib/soup/tuples/data_mapper_tuple.rb", "lib/soup/tuples/sequel_tuple.rb", "lib/soup.rb", "Manifest", "README", "spec/snip_spec.rb", "spec/soup_spec.rb", "spec/spec_helper.rb", "spec/spec_runner.rb", "soup.gemspec"]
16
+ s.files = ["lib/soup/empty_class.rb", "lib/soup/snip.rb", "lib/soup/tuples/active_record_tuple.rb", "lib/soup/tuples/data_mapper_tuple.rb", "lib/soup/tuples/sequel_tuple.rb", "lib/soup.rb", "Manifest", "README", "spec/snip_spec.rb", "spec/soup_spec.rb", "spec/spec_helper.rb", "spec/spec_runner.rb", "soup.gemspec"]
17
17
  s.add_dependency(%q<activerecord>, [">= 2.0.2"])
18
18
  end
19
19
 
metadata CHANGED
@@ -3,7 +3,7 @@ rubygems_version: 0.9.4
3
3
  specification_version: 1
4
4
  name: soup
5
5
  version: !ruby/object:Gem::Version
6
- version: 0.2.0
6
+ version: 0.2.1
7
7
  date: 2008-04-17 00:00:00 +01:00
8
8
  summary: Soup is a bit of everything, summoned from nothing. Soup is like an imaginary friend - comforting,
9
9
  require_paths:
@@ -30,6 +30,7 @@ post_install_message:
30
30
  authors:
31
31
  - James Adam
32
32
  files:
33
+ - lib/soup/empty_class.rb
33
34
  - lib/soup/snip.rb
34
35
  - lib/soup/tuples/active_record_tuple.rb
35
36
  - lib/soup/tuples/data_mapper_tuple.rb