Sha256: 81f155cc809729608fa0c731a4003f6aae671e5bbd0adcd13190a93df72d63c9

Contents?: true

Size: 326 Bytes

Versions: 44

Compression:

Stored size: 326 Bytes

Contents

namespace :mongodb do
	desc "make index into mongoDB"
	task :index do
		require 'erb'
		require 'tdiary'
		conf = TDiary::Config.new
		TDiary::DiaryContainer.new(conf, '2015', '01')
		TDiary::IO::MongoDB::Diary.create_indexes
		TDiary::IO::MongoDB::Comment.create_indexes
		TDiary::IO::MongoDB::Plugin.create_indexes
	end
end

Version data entries

44 entries across 33 versions & 1 rubygems

Version Path
tdiary-5.3.0 lib/tdiary/tasks/mongodb.rake
tdiary-5.2.4 lib/tdiary/tasks/mongodb.rake
tdiary-5.2.3 lib/tdiary/tasks/mongodb.rake
tdiary-5.2.2 lib/tdiary/tasks/mongodb.rake
tdiary-5.2.1 lib/tdiary/tasks/mongodb.rake
tdiary-5.2.0 lib/tdiary/tasks/mongodb.rake
tdiary-5.1.7 lib/tdiary/tasks/mongodb.rake
tdiary-5.1.6 vendor/bundle/ruby/2.7.0/gems/tdiary-5.1.5/lib/tdiary/tasks/mongodb.rake
tdiary-5.1.6 lib/tdiary/tasks/mongodb.rake
tdiary-5.1.6 vendor/bundle/ruby/2.7.0/gems/tdiary-5.1.5/vendor/bundle/ruby/3.0.0/gems/tdiary-5.1.4/lib/tdiary/tasks/mongodb.rake
tdiary-5.1.5 lib/tdiary/tasks/mongodb.rake
tdiary-5.1.5 vendor/bundle/ruby/3.0.0/gems/tdiary-5.1.4/lib/tdiary/tasks/mongodb.rake
tdiary-5.1.4 lib/tdiary/tasks/mongodb.rake
tdiary-5.1.3 lib/tdiary/tasks/mongodb.rake
tdiary-5.1.2 vendor/bundle/ruby/2.6.0/gems/tdiary-5.0.14/lib/tdiary/tasks/mongodb.rake
tdiary-5.1.2 lib/tdiary/tasks/mongodb.rake
tdiary-5.1.1 lib/tdiary/tasks/mongodb.rake
tdiary-5.1.1 vendor/bundle/ruby/2.6.0/gems/tdiary-5.0.14/lib/tdiary/tasks/mongodb.rake
tdiary-5.1.0 lib/tdiary/tasks/mongodb.rake
tdiary-5.0.14 lib/tdiary/tasks/mongodb.rake