my_generators 0.0.3 → 0.0.4

Sign up to get free protection for your applications and to get access to all the features.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.0.3
1
+ 0.0.4
@@ -66,14 +66,14 @@ module MySpec
66
66
  if child_model?
67
67
  "john_q(:#{parent_name}).#{table_name}.#{method}(:find).with(#{idstr}) { #{retstr} }"
68
68
  else
69
- "#{class_name}.#{method}(:find).with(#{idstr}) { retstr }"
69
+ "#{class_name}.#{method}(:find).with(#{idstr}) { #{retstr} }"
70
70
  end
71
71
  end
72
72
  def stub_index_finder(retstr, method="stub")
73
73
  if child_model?
74
74
  "john_q(:#{parent_name}).#{table_name}.#{method}(:all) { #{retstr} }"
75
75
  else
76
- "#{class_name}.#{method}(:find).with(:all) { retstr }"
76
+ "#{class_name}.#{method}(:find).with(:all) { #{retstr} }"
77
77
  end
78
78
  end
79
79
  def base_url
@@ -84,7 +84,7 @@ module MySpec
84
84
  if child_model?
85
85
  "john_q(:#{parent_name}).#{table_name}.stub(:build) { #{retstr} }"
86
86
  else
87
- "#{class_name}.stub(:new) { retstr }"
87
+ "#{class_name}.stub(:new) { #{retstr} }"
88
88
  end
89
89
  end
90
90
 
@@ -5,11 +5,11 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{my_generators}
8
- s.version = "0.0.3"
8
+ s.version = "0.0.4"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Tyler Gannon"]
12
- s.date = %q{2010-11-24}
12
+ s.date = %q{2010-11-27}
13
13
  s.description = %q{Just a replacement for default rails generators, specifig to my configuration of mongoid, inherited_resources, etc.}
14
14
  s.email = %q{tgannon@gmail.com}
15
15
  s.extra_rdoc_files = [
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 0
7
7
  - 0
8
- - 3
9
- version: 0.0.3
8
+ - 4
9
+ version: 0.0.4
10
10
  platform: ruby
11
11
  authors:
12
12
  - Tyler Gannon
@@ -14,7 +14,7 @@ autorequire:
14
14
  bindir: bin
15
15
  cert_chain: []
16
16
 
17
- date: 2010-11-24 00:00:00 -08:00
17
+ date: 2010-11-27 00:00:00 -08:00
18
18
  default_executable:
19
19
  dependencies: []
20
20