genesis 0.0.1 → 0.0.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,3 +1,9 @@
1
+ = 0.0.2 2009-12-15
2
+
3
+ * Fixed bug with camelcase vs camelize causing different results (ie. methodName vs MethodName) on
4
+ linux systems
5
+
6
+
1
7
  = 0.0.1 2009-12-12
2
8
 
3
9
  * Added prepare seeding generator
@@ -62,9 +62,9 @@ Generate a seed file in a specific environment folder:
62
62
 
63
63
  This will generate a seed file for you in the db/seeds/production directory.
64
64
 
65
- Next, simply populate the self.up and self.down methods of the generated seed file. The seed is a normal Ruby class.
65
+ Finally, simply populate the self.up and self.down methods of the generated seed file. The seed is a normal Ruby class.
66
66
 
67
- ActiveRecord is extended with the following methods:
67
+ For convenience, ActiveRecord is extended with the following methods:
68
68
 
69
69
  === create_or_update_by_all
70
70
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.0.1
1
+ 0.0.2
@@ -5,11 +5,11 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{genesis}
8
- s.version = "0.0.1"
8
+ s.version = "0.0.2"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["C. Jason Harrelson (midas)"]
12
- s.date = %q{2009-12-13}
12
+ s.date = %q{2009-12-15}
13
13
  s.description = %q{A data seeding solution for Ruby on Rails providing seeding facilities far more advanced than the current built in Ruby on Rails solution.}
14
14
  s.email = %q{jason@lookforwardenterprises.com}
15
15
  s.extra_rdoc_files = [
@@ -124,7 +124,7 @@ module Genesis
124
124
  end
125
125
 
126
126
  def self.run_seed( version, metadata )
127
- class_name = metadata[0].camelcase
127
+ class_name = metadata[0].camelize
128
128
  file_name = metadata[1]
129
129
  load( file_name )
130
130
  klass = class_name.constantize
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: genesis
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - C. Jason Harrelson (midas)
@@ -9,7 +9,7 @@ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
11
 
12
- date: 2009-12-13 00:00:00 -06:00
12
+ date: 2009-12-15 00:00:00 -06:00
13
13
  default_executable:
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency