Sha256: 6a5da55ac56dc34a572e06623a0bf0f9d8bf0f604632e2b5981651daeedebd75

Contents?: true

Size: 235 Bytes

Versions: 29

Compression:

Stored size: 235 Bytes

Contents

require 'machinist/active_record'
require 'sham'

Sham.title { Time.now.to_i }
Content.blueprint do
  title
end

module Blueprint
  def self.seed
    14.times do |i|
      content = Content.make(:title => "Link #{i}")
    end
  end
end

Version data entries

29 entries across 29 versions & 3 rubygems

Version Path
sitemap_generator-4.0 spec/blueprint.rb
sitemap_generator-4.0.alpha spec/blueprint.rb
sitemap_generator-3.4 spec/blueprint.rb
sitemap_generator-3.3 spec/blueprint.rb
sitemap_generator-3.2.1 spec/blueprint.rb
sitemap_generator-3.2 spec/blueprint.rb
sitemap_generator-3.1.1 spec/blueprint.rb
sitemap_generator-3.1.0 spec/blueprint.rb
sitemap_generator-3.0.0 spec/blueprint.rb