Sha256: dd90479a8f4ea511af4fabdbbd454adc888965764f8bb9c2c9dde0adebee496e

Contents?: true

Size: 251 Bytes

Versions: 6

Compression:

Stored size: 251 Bytes

Contents

require 'padrino-gen/generators/components/actions'
# Ugly monkey patching to get timestamp generators to work
module Padrino::Generators::Components::Actions
  def return_last_migration_number
    Time.now.utc.strftime("%Y%m%d%H%M%S").to_i
  end
end

Version data entries

6 entries across 1 versions & 1 rubygems

Version Path
apl-library-0.0.90 vendor/bundle/ruby/1.8/gems/sc-core-0.0.210/lib/sc_core/add_timestamp_migrations_to_padrino.rb
apl-library-0.0.90 vendor/bundle/ruby/1.9.1/gems/sc-core-0.0.210/lib/sc_core/add_timestamp_migrations_to_padrino.rb
apl-library-0.0.90 vendor/bundle/ruby/2.1.0/gems/apl-library-0.0.90/vendor/bundle/ruby/1.8/gems/sc-core-0.0.210/lib/sc_core/add_timestamp_migrations_to_padrino.rb
apl-library-0.0.90 vendor/bundle/ruby/2.1.0/gems/apl-library-0.0.90/vendor/bundle/ruby/1.9.1/gems/sc-core-0.0.210/lib/sc_core/add_timestamp_migrations_to_padrino.rb
apl-library-0.0.90 vendor/bundle/ruby/2.1.0/gems/apl-library-0.0.90/vendor/bundle/ruby/2.1.0/gems/sc-core-0.0.210/lib/sc_core/add_timestamp_migrations_to_padrino.rb
apl-library-0.0.90 vendor/bundle/ruby/2.1.0/gems/sc-core-0.0.210/lib/sc_core/add_timestamp_migrations_to_padrino.rb