my_forum 0.0.1.beta50 → 0.0.1.beta51

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 01a6adf924404e2aa63c179b0825007047d3d7d1
4
- data.tar.gz: 95ad8e6116a77456b338ea2d1400d6f57e4adba3
3
+ metadata.gz: d79a687037e1c7872311e408f97b7d1c60d4aa6b
4
+ data.tar.gz: 3ea5e79a0441c6e4ffe57587a8eed390a9a96403
5
5
  SHA512:
6
- metadata.gz: d36dfb8f08717e203a30bc349f388b86265e6df7e7430b7261ea078985e12670486c16d8b2c1f5cee888e69a513e58ad991869855633e173cb8ff6ac22b795c7
7
- data.tar.gz: 9ca7e53d5ff302c5192cd368878636d99c00ed8cb6c8f0d28e69a3a676da7af4bff1c378cbc00d6d12bb23ed5a612b165d6dd04184e2e832a14ed5e9bc54897f
6
+ metadata.gz: a5339c3a555bef0e68173f0fd4b14b741baa0e3cdf97890fdcb8895bdbe0d65cce37752c872adb219e43a17b131b10138df0bfbb36fc0ab79154b430c53898c4
7
+ data.tar.gz: 9c205fdb56efa66b7e7a1e2eefe70e201434256057f67e4d4f854e7f076f8e36cea09bbb855cb0f521253d248e4bfc4582a46d5709a8d4ad6303f88a1dab80b4
@@ -0,0 +1,7 @@
1
+ class AddIndexesForTopics < ActiveRecord::Migration
2
+ def change
3
+ add_index :my_forum_topics, :latest_post_created_at, name: 'index_topics_latest_created_post'
4
+ add_index :my_forum_topics, [:deleted, :latest_post_created_at], name: 'index_topics_deleted_latest_created_post'
5
+ add_index :my_forum_topics, [:pinned, :latest_post_created_at, :deleted], name: 'index_topics_pinned_deleted_latest_created_post'
6
+ end
7
+ end
@@ -1,3 +1,3 @@
1
1
  module MyForum
2
- VERSION = "0.0.1.beta50"
2
+ VERSION = "0.0.1.beta51"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: my_forum
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1.beta50
4
+ version: 0.0.1.beta51
5
5
  platform: ruby
6
6
  authors:
7
7
  - Vitaly Omelchenko
@@ -284,6 +284,7 @@ files:
284
284
  - db/migrate/20151221203243_my_forum_rename_user_avatar.rb
285
285
  - db/migrate/20151221205045_my_forum_change_user_avatar.rb
286
286
  - db/migrate/20160122202142_add_latest_post_info_for_topic.rb
287
+ - db/migrate/20160210130805_add_indexes_for_topics.rb
287
288
  - lib/my_forum.rb
288
289
  - lib/my_forum/engine.rb
289
290
  - lib/my_forum/version.rb