xamplr-gen 1.9.3 → 1.9.4

Sign up to get free protection for your applications and to get access to all the features.
data/Rakefile CHANGED
@@ -13,7 +13,7 @@ begin
13
13
  gem.add_development_dependency "cucumber", ">= 0"
14
14
  # gem is a Gem::Specification... see http://www.rubygems.org/read/chapter/20 for additional settings
15
15
 
16
- gem.add_dependency('xamplr', '>=1.9.1')
16
+ gem.add_dependency('xamplr', '>=1.9.2')
17
17
  end
18
18
  Jeweler::GemcutterTasks.new
19
19
  rescue LoadError
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.9.3
1
+ 1.9.4
@@ -176,6 +176,10 @@
176
176
  other.add_#{@element.attribute_name}(self)
177
177
  end
178
178
 
179
+ def remove_from(other)
180
+ other.remove_#{@element.attribute_name}(self) if (other.respond_to?("remove_#{@element.attribute_name}"))
181
+ end
182
+
179
183
  |
180
184
  |if @element.persisted then
181
185
  |
@@ -167,7 +167,11 @@
167
167
  end
168
168
 
169
169
  def append_to(other)
170
- other.add_#{element.attribute_name}(self)
170
+ other.add_#{@element.attribute_name}(self)
171
+ end
172
+
173
+ def remove_from(other)
174
+ other.remove_#{@element.attribute_name}(self) if (other.respond_to?("remove_#{@element.attribute_name}"))
171
175
  end
172
176
 
173
177
  |
@@ -171,6 +171,10 @@
171
171
  other.add_#{@element.attribute_name}(self)
172
172
  end
173
173
 
174
+ def remove_from(other)
175
+ other.remove_#{@element.attribute_name}(self) if (other.respond_to?("remove_#{@element.attribute_name}"))
176
+ end
177
+
174
178
  |
175
179
  |if @element.persisted then
176
180
  |
@@ -170,6 +170,10 @@
170
170
  other.add_#{@element.attribute_name}(self)
171
171
  end
172
172
 
173
+ def remove_from(other)
174
+ other.remove_#{@element.attribute_name}(self) if (other.respond_to?("remove_#{@element.attribute_name}"))
175
+ end
176
+
173
177
  |
174
178
  |if @element.persisted then
175
179
  |
data/xamplr-gen.gemspec CHANGED
@@ -5,11 +5,11 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{xamplr-gen}
8
- s.version = "1.9.3"
8
+ s.version = "1.9.4"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Bob Hutchison"]
12
- s.date = %q{2010-01-13}
12
+ s.date = %q{2010-01-20}
13
13
  s.default_executable = %q{xampl-gen}
14
14
  s.description = %q{This is the xampl code generator for Ruby.}
15
15
  s.email = %q{hutch@xampl.com}
@@ -85,14 +85,14 @@ Gem::Specification.new do |s|
85
85
 
86
86
  if Gem::Version.new(Gem::RubyGemsVersion) >= Gem::Version.new('1.2.0') then
87
87
  s.add_development_dependency(%q<cucumber>, [">= 0"])
88
- s.add_runtime_dependency(%q<xamplr>, [">= 1.9.1"])
88
+ s.add_runtime_dependency(%q<xamplr>, [">= 1.9.2"])
89
89
  else
90
90
  s.add_dependency(%q<cucumber>, [">= 0"])
91
- s.add_dependency(%q<xamplr>, [">= 1.9.1"])
91
+ s.add_dependency(%q<xamplr>, [">= 1.9.2"])
92
92
  end
93
93
  else
94
94
  s.add_dependency(%q<cucumber>, [">= 0"])
95
- s.add_dependency(%q<xamplr>, [">= 1.9.1"])
95
+ s.add_dependency(%q<xamplr>, [">= 1.9.2"])
96
96
  end
97
97
  end
98
98
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: xamplr-gen
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.9.3
4
+ version: 1.9.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Bob Hutchison
@@ -9,7 +9,7 @@ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
11
 
12
- date: 2010-01-13 00:00:00 -05:00
12
+ date: 2010-01-20 00:00:00 -05:00
13
13
  default_executable: xampl-gen
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
@@ -30,7 +30,7 @@ dependencies:
30
30
  requirements:
31
31
  - - ">="
32
32
  - !ruby/object:Gem::Version
33
- version: 1.9.1
33
+ version: 1.9.2
34
34
  version:
35
35
  description: This is the xampl code generator for Ruby.
36
36
  email: hutch@xampl.com