Skip to content

Commit

Permalink
bump to 0.41
Browse files Browse the repository at this point in the history
  • Loading branch information
xdite committed May 2, 2013
1 parent c63702b commit 2e21a3f
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/auto/facebook/version.rb
@@ -1,4 +1,4 @@
module AutoFacebook module AutoFacebook


VERSION = "0.01" VERSION = "0.41"
end end
6 changes: 5 additions & 1 deletion lib/generators/auto_facebook/user/user_generator.rb
@@ -1,6 +1,6 @@
require 'rails/generators' require 'rails/generators'
require 'rails/generators/migration' require 'rails/generators/migration'
require 'rails/generators/active_record/migration' require 'rails/generators/active_record'


module AutoFacebook module AutoFacebook


Expand All @@ -17,6 +17,10 @@ def create_migration_file
def self.next_migration_number(path) def self.next_migration_number(path)
@migration_number = Time.now.utc.strftime("%Y%m%d%H%M%S").to_i.to_s @migration_number = Time.now.utc.strftime("%Y%m%d%H%M%S").to_i.to_s
end end

def self.next_migration_number(dirname)
ActiveRecord::Generators::Base.next_migration_number(dirname)
end
end end
end end


Expand Down

0 comments on commit 2e21a3f

Please sign in to comment.