foursquare_rails_generators 0.1.6 → 0.1.7

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,6 +1,6 @@
1
1
  Gem::Specification.new do |s|
2
2
  s.name = 'foursquare_rails_generators'
3
- s.version = '0.1.6'
3
+ s.version = '0.1.7'
4
4
  s.date = '2012-11-03'
5
5
  s.summary = "Foursquare Rails Generators"
6
6
  s.description = "Collection of Rails generators for the Foursquare API"
@@ -18,11 +18,11 @@ module Foursquare
18
18
 
19
19
  # hack around https://github.com/rails/rails/pull/5139
20
20
  def self.next_migration_number(dirname)
21
- ActiveRecord::Generators::Base.next_migration_number
21
+ '20121103111300'
22
22
  end
23
23
 
24
24
  def create_foursquare_user_model
25
- migration_template 'migrations/create_foursquare_user.rb'
25
+ migration_template 'migrations/create_foursquare_user.rb', 'db/migrate/create_foursquare_users'
26
26
  template 'models/foursquare_user.rb', File.join('app/models/', 'foursquare_user.rb')
27
27
  end
28
28
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: foursquare_rails_generators
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.6
4
+ version: 0.1.7
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: