my_forum 0.0.1.beta1 → 0.0.1.beta2

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 75c4514607a2f4f93f603580bdfa73e2c313fbc2
4
- data.tar.gz: 15603a327245be2871d7db6c93f9ba883a9fed8b
3
+ metadata.gz: 259bf280807e5379a1207cd076de17a6ae69746d
4
+ data.tar.gz: 4d3486d8623e4192e3ada81996bea4a482d351fc
5
5
  SHA512:
6
- metadata.gz: 95409f57bd97a5e16fa8f2703557bbf71e9252b98272f19258f354afaa08268405fdfd2d7d83f1291296752aa2d3594f8bd1ef6efb010d431b7b0ce43cda8e4a
7
- data.tar.gz: 3cdd4ae7ee965f3de93c0995017d193a5120c12ec464721bdcbd1dbc6afa38fa1e3ac0094abf0a2201e7df850e085381eb6c385d642f4fc0035b718d1ee32983
6
+ metadata.gz: e791b972f66d6546af3214cbe409777845470c0e66a4267a6940b682bb82a16528d1923d6e6148e7470120d128ff0005de981eb7035d55c928e9b29302f3aa3e
7
+ data.tar.gz: 87b9229b72c71a0a1dcaac72fad05bf48cd434a13485708c39e9482b0fd7a571ab2ec63be4b4891fd20c3445017f2d8532103d3898e12d5a924e294c1ccfbc49
data/README.rdoc CHANGED
@@ -13,4 +13,6 @@ Create config/initializers/my_forum.rb with next content:
13
13
  MyForum::Engine.use_custom_user_model = true
14
14
  ...
15
15
 
16
- http://w3facility.org/question/ruby-regex-for-stripping-bbcode/
16
+ http://w3facility.org/question/ruby-regex-for-stripping-bbcode/
17
+
18
+ gem build tag_echidna.gemspec
@@ -0,0 +1,46 @@
1
+ ready = ->
2
+ $('.autocomplete').keyup (elm) ->
3
+ ajax_url = $(@).data('autocomplete-path')
4
+ return unless ajax_url
5
+
6
+ $.ajax
7
+ url: ajax_url
8
+ type: "GET"
9
+ dataType: "json"
10
+ data: str: $(elm.target).val()
11
+ success: (response) ->
12
+ autocomplete_popup(response, elm.target)
13
+
14
+ autocomplete_popup = (autocomplete_list, object) ->
15
+ popup_id = 'autocomplete_popup'
16
+
17
+ # Create or use existing Popup Window
18
+ if $('#' + popup_id).length > 0
19
+ popup_container = $('#' + popup_id)
20
+ else
21
+ popup_container = $("<div id='#{popup_id}'></div>")
22
+ $(object).after(popup_container)
23
+
24
+ # Show lists
25
+ html_list = $('<ul/>')
26
+ $.map autocomplete_list, (item) ->
27
+ li = $('<li/>')
28
+ .addClass('ui-menu-item')
29
+ .attr('role', 'menuitem')
30
+ .appendTo(html_list)
31
+
32
+ a = $('<a/>')
33
+ .addClass('ui-all')
34
+ .text(item)
35
+ .appendTo(li)
36
+
37
+ li.click ->
38
+ $(object).val(item)
39
+
40
+ # Destroy popup after select tag
41
+ popup_container.remove()
42
+
43
+ popup_container.html(html_list)
44
+
45
+ $(document).ready(ready)
46
+ $(document).on('page:load', ready)
@@ -26,4 +26,28 @@
26
26
  padding: 10px;
27
27
  border: 1px solid red;
28
28
  margin-bottom: 14px;
29
+ }
30
+
31
+ #autocomplete_popup {
32
+ position: absolute;
33
+ border: 1px solid grey;
34
+ padding: 0;
35
+ background-color: #fff;
36
+
37
+ ul {
38
+ list-style-type: none;
39
+ padding-left: 0;
40
+ width: 200px;
41
+
42
+ li {
43
+ padding: 4px;
44
+ width: 100%;
45
+ cursor: pointer;
46
+ }
47
+
48
+ li:hover {
49
+ background-color: cornflowerblue;
50
+ }
51
+ }
52
+
29
53
  }
@@ -36,6 +36,19 @@
36
36
  border: 1px solid black;
37
37
  }
38
38
 
39
+ .bbqoute {
40
+
41
+ .quote_info {
42
+ font-weight: bold;
43
+ font-size: 11px;
44
+ }
45
+
46
+ margin-right: 10px;
47
+ border: 1px solid gainsboro;
48
+ border-radius: 25px;
49
+ padding: 10px 20px 10px 20px;
50
+ }
51
+
39
52
  .user-title {
40
53
  margin-top: 10px;
41
54
  font-size: 11px;
@@ -24,6 +24,7 @@ module MyForum
24
24
 
25
25
  def new
26
26
  @pm = PrivateMessage.new
27
+ @reply_pm = PrivateMessage.find(params[:reply_for_id]) if params[:reply_for_id]
27
28
  end
28
29
 
29
30
  def create
@@ -42,7 +43,9 @@ module MyForum
42
43
  end
43
44
 
44
45
  @pm.recipient_id = recipient.id
46
+ @pm.recipient_login = recipient.login
45
47
  @pm.sender_id = current_user_id
48
+ @pm.sender_login = current_user.login
46
49
  @pm.assign_attributes(pm_params)
47
50
  @pm.save
48
51
 
@@ -3,7 +3,7 @@ require_dependency "my_forum/application_controller"
3
3
  module MyForum
4
4
  class UsersController < ApplicationController
5
5
 
6
- before_filter :authorize_user, only: [:edit, :update, :forgot_password]
6
+ before_filter :authorize_user, only: [:edit, :update]
7
7
 
8
8
  def new
9
9
  @user = User.new
@@ -66,6 +66,17 @@ module MyForum
66
66
  redirect_to root_path unless current_user
67
67
  end
68
68
 
69
+ def autocomplete
70
+ #TODO mysql safe
71
+ search_string = params[:str]
72
+ user_list = MyForum::User.where("login LIKE '%#{search_string}%'").pluck(:login)
73
+
74
+ respond_to do |format|
75
+ format.html { raise 'denied' }
76
+ format.js { render json: user_list }
77
+ end
78
+ end
79
+
69
80
  private
70
81
 
71
82
  def user_params
@@ -35,5 +35,9 @@ module MyForum
35
35
  content_tag :div, obj.errors.full_messages.to_sentence, class: 'errors_for'
36
36
  end
37
37
 
38
+ def time(datetime)
39
+ datetime.strftime('%T %F')
40
+ end
41
+
38
42
  end
39
43
  end
@@ -1,8 +1,10 @@
1
1
  module MyForum
2
2
  module PostsHelper
3
3
  def format_post_text(post)
4
- text = post.text
4
+ format_bbcode(post.text)
5
+ end
5
6
 
7
+ def format_bbcode(text)
6
8
  # Images
7
9
  text.gsub!(/\[img\]/i, '<img src="')
8
10
  text.gsub!(/\[\/img\]/i, '" />')
@@ -11,19 +13,32 @@ module MyForum
11
13
  text.gsub!(/\[b\]/i, '<strong>')
12
14
  text.gsub!(/\[\/b\]/i, '</strong>')
13
15
 
16
+ text.gsub!(/\[i\]/i, '<i>')
17
+ text.gsub!(/\[\/i\]/i, '</i>')
18
+
19
+ # Cut
20
+ text.gsub!(/\[cut\]/i, '<pre>')
21
+ text.gsub!(/\[\/cut\]/i, '</pre>')
22
+
23
+ # Color
24
+ text.gsub!(/\[color=(.*?)\](.*?)\[\/color\]/i) { "<span style='color: #{$1}'>#{$2}</span>" }
25
+
26
+ # Size
27
+ text.gsub!(/\[size=(.*?)\](.*?)\[\/size\]/i) { "<span style='font-size: #{$1}'>#{$2}</span>" }
28
+
14
29
  # Quote
15
- # text.gsub!(/\[quote.*]/i, '<span class="bbqoute">')
16
- # text.gsub!(/\[\/quote\]/i, '</span>')
17
- text.gsub!(/\[quote.*]/i, 'quote:')
18
- text.gsub!(/\[\/quote\]/i, '')
30
+ text.gsub!(/\[quote author=(.*?) link=(.*?) date=(.*?)\]/i) { bbquote(author: $1, date: $3) }
31
+ text.gsub!(/\[\/quote\]/i, '</div>')
19
32
 
20
33
  # Link
21
- #text.scan(/(?<url>\[url=(.*?)\])(?<url_text>.*?)\[\/url\]/) {|m| puts m.first}
22
- #text.match(/(?<url>\[url=(.*?)\])(?<url_text>.*?)\[\/url\]/)
23
- #\[url=(.*?)\](.*?)\[\/url\]
24
34
  text.gsub!(/\[url=(.*?)\](.*?)\[\/url\]/i) { "<a href='#{$1}'>#{$2}</a>" }
25
35
 
26
36
  text.html_safe
27
37
  end
38
+
39
+ def bbquote(author:, date:)
40
+ date_time = time(DateTime.strptime(date, '%s')) rescue ''
41
+ "<div class='bbqoute'> <div class='quote_info'>#{author} #{t('my_forum.bbquote.wrote')} #{date_time}:</div> "
42
+ end
28
43
  end
29
44
  end
@@ -8,6 +8,13 @@ module MyForum
8
8
  end
9
9
  end
10
10
 
11
+ def reply_pm_button(pm)
12
+ return unless current_user
13
+ content_tag :div, class: 'reply_pm_button' do
14
+ link_to t('my_forum.reply_for_pm'), new_private_message_path(reply: true, reply_for_id: pm.id), class: 'btn btn-primary'
15
+ end
16
+ end
17
+
11
18
  def new_private_messages_count_bage
12
19
  return unless current_user
13
20
  return if (count = new_pm_count).eql?(0)
@@ -2,10 +2,15 @@ module MyForum
2
2
  module TopicsHelper
3
3
 
4
4
  def topic_last_post_info(topic)
5
- html = content_tag(:div, topic.last_post_time)
5
+ html = content_tag(:div, time(topic.last_post_time))
6
6
  html += content_tag(:div, topic.last_post_user_login)
7
7
  html.html_safe
8
8
  end
9
9
 
10
+ def can_quick_answer?(forum)
11
+ return false unless current_user
12
+ true
13
+ end
14
+
10
15
  end
11
16
  end
@@ -1,7 +1,7 @@
1
1
  module MyForum
2
2
  class PrivateMessage < ActiveRecord::Base
3
3
  scope :unread_count_for, -> (user) { where(recipient_id: user.id, unread: true).count }
4
- scope :inbox_for, -> (user) { where(recipient_id: user.id) }
4
+ scope :inbox_for, -> (user) { where(recipient_id: user.id).order('created_at DESC') }
5
5
 
6
6
  attr_accessor :recipient
7
7
  end
@@ -11,6 +11,10 @@ module MyForum
11
11
  scope :online, -> { where("updated_at > ?", 10.minutes.ago) }
12
12
  scope :today_visited, -> { where("updated_at > ?", Time.now.beginning_of_day) }
13
13
 
14
+ enum gender: [:female, :male, :alien]
15
+ serialize :additional_info
16
+
17
+
14
18
  validates_uniqueness_of :login, :email
15
19
 
16
20
  before_save :encrypt_password
@@ -19,10 +23,6 @@ module MyForum
19
23
  password == encrypt(submitted_password)
20
24
  end
21
25
 
22
- def can_quick_answer?(forum)
23
- true
24
- end
25
-
26
26
  private
27
27
 
28
28
  def encrypt_password
@@ -20,7 +20,7 @@
20
20
  - @forum_topics.each do |topic|
21
21
  .row.topic-row
22
22
  .col-md-7.col-sm-7= render 'topic_subject', topic: topic, forum: @forum
23
- .col-md-1.col-sm-1= topic.posts.first.user.login
23
+ .col-md-1.col-sm-1= topic.posts.first.user.login rescue '-'
24
24
  .col-md-1.col-sm-1= topic.posts_count
25
25
  .col-md-1.col-sm-1= topic.views.to_i
26
26
  .col-md-2.col-sm-2.info= topic_last_post_info(topic)
@@ -13,12 +13,12 @@
13
13
  %thead
14
14
  %tr
15
15
  %td=t('.date')
16
- %td=t('.subject')
17
16
  %td=t('.from')
17
+ %td=t('.subject')
18
18
  %tbody
19
19
  - @private_messages.each do |message|
20
20
  %tr
21
21
  - html_class = 'unread' if message.unread?
22
22
  %td=link_to message.created_at, private_message_url(message), class: html_class
23
- %td=link_to message.subject, private_message_url(message), class: html_class
24
- %td=link_to message.body, private_message_url(message), class: html_class
23
+ %td=link_to message.sender_login, private_message_url(message), class: html_class
24
+ %td=link_to message.subject, private_message_url(message), class: html_class
@@ -9,8 +9,13 @@
9
9
  = errors_for @pm
10
10
 
11
11
  = form_for @pm, url: private_messages_path, role: 'form' do |form|
12
- .form-group= form.text_field :recipient, class: 'subject form-control', placeholder: t('.recipient')
13
- .form-group= form.text_field :subject, class: 'subject form-control', placeholder: t('.subject')
12
+ - if params[:reply]
13
+ .form-group= form.text_field :recipient, value: @reply_pm.sender_login, class: 'subject form-control'
14
+ .form-group= form.text_field :subject, value: @reply_pm.subject ,class: 'subject form-control', placeholder: t('.subject')
15
+ - else
16
+ .form-group= form.text_field :recipient, class: 'subject form-control autocomplete', placeholder: t('.recipient'), data: { autocomplete_path: autocomplete_users_path }
17
+ .form-group= form.text_field :subject, class: 'subject form-control', placeholder: t('.subject')
18
+
14
19
  .form-group= form.text_area :body, class: 'body form-control', placeholder: t('.body')
15
20
 
16
21
  = form.submit class: 'btn btn-primary btn-sm'
@@ -4,7 +4,7 @@
4
4
  = render partial: 'sidebar'
5
5
 
6
6
  .col-md-10
7
- %h2= t('.private_message')
7
+ = reply_pm_button(@pm)
8
8
 
9
- = @pm.subject
10
- = @pm.body
9
+ %h3= @pm.subject
10
+ = format_bbcode @pm.body
@@ -7,6 +7,6 @@
7
7
  .col-md-2
8
8
  = render 'user_info', post: post
9
9
  .col-md-10
10
- .created_at= t('.sent', datetime: post.created_at)
11
- #post_container
10
+ .created_at= t('.sent', datetime: time(post.created_at))
11
+ #post_container{ id: post.id }
12
12
  = format_post_text(post)
@@ -6,4 +6,4 @@
6
6
  .row
7
7
  .col-md-12.user-posts-count= t('.user_posts_count', count: user_posts_count(user))
8
8
  .row
9
- .col-md-12.user-reg-date= user.created_at
9
+ .col-md-12.user-reg-date= time(user.created_at)
@@ -16,6 +16,6 @@
16
16
 
17
17
  = will_paginate @topic_posts
18
18
 
19
- - if current_user.can_quick_answer?(@topic)
19
+ - if can_quick_answer?(@topic)
20
20
  #quick_answer
21
21
  = render 'quick_answer', forum: @forum, topic: @topic
@@ -0,0 +1,24 @@
1
+ module WillPaginate
2
+ module ActionView
3
+ def will_paginate(collection = nil, options = {})
4
+ options[:renderer] ||= BootstrapLinkRenderer
5
+ super.try :html_safe
6
+ end
7
+
8
+ class BootstrapLinkRenderer < LinkRenderer
9
+ protected
10
+
11
+ def html_container(html)
12
+ tag :nav, tag(:ul, html, class: 'pagination'), container_attributes
13
+ end
14
+
15
+ def page_number(page)
16
+ tag :li, link(page, page, :rel => rel_value(page)), :class => ('active' if page == current_page)
17
+ end
18
+
19
+ def previous_or_next_page(page, text, classname)
20
+ tag :li, link(text, page || '#'), :class => [classname[0..3], classname, ('disabled' unless page)].join(' ')
21
+ end
22
+ end
23
+ end
24
+ end
@@ -2,6 +2,8 @@ ru:
2
2
  my_forum:
3
3
  create_new_pm: 'Написать личное сообщение'
4
4
  create_new_topic: 'Создать новую тему'
5
+ bbquote:
6
+ wrote: 'написал'
5
7
 
6
8
  admin:
7
9
  forums:
@@ -110,6 +112,12 @@ ru:
110
112
  login: 'Войти'
111
113
  register: 'Зарегестрироваться'
112
114
 
115
+
116
+ will_paginate:
117
+ previous_label: 'Назад'
118
+ next_label: 'Вперед'
119
+
120
+
113
121
  activerecord:
114
122
  errors:
115
123
  models:
data/config/routes.rb CHANGED
@@ -8,7 +8,11 @@ MyForum::Engine.routes.draw do
8
8
  match 'unread_topics', to: 'forums#unread_topics', via: [:get], as: :unread_topics
9
9
  match 'mark_all_as_read', to: 'forums#mark_all_as_read', via: [:get], as: :mark_all_as_read
10
10
 
11
- resources :users
11
+ resources :users do
12
+ collection do
13
+ get :autocomplete
14
+ end
15
+ end
12
16
  resources :private_messages
13
17
 
14
18
  resources :forums, only: [:index, :show] do
@@ -4,6 +4,14 @@ class CreateMyForumUsers < ActiveRecord::Migration
4
4
  t.string :login
5
5
  t.string :password
6
6
  t.string :salt
7
+ t.string :real_name
8
+ t.integer :gender
9
+ t.date :birthdate
10
+ t.string :signature
11
+ t.string :avatar
12
+ t.string :location
13
+ t.string :user_ip
14
+ t.text :additional_info
7
15
  t.string :email
8
16
  t.integer :posts_count
9
17
  t.boolean :is_admin, default: false
@@ -22,4 +30,4 @@ class CreateMyForumUsers < ActiveRecord::Migration
22
30
  def self.down
23
31
  drop_table :my_forum_users
24
32
  end
25
- end
33
+ end
@@ -2,7 +2,9 @@ class CreateMyForumPrivateMessages < ActiveRecord::Migration
2
2
  def change
3
3
  create_table :my_forum_private_messages do |t|
4
4
  t.integer :sender_id
5
+ t.string :sender_login
5
6
  t.integer :recipient_id
7
+ t.string :recipient_login
6
8
  t.boolean :sender_deleted, :default => false
7
9
  t.boolean :recipient_deleted, :default => false
8
10
  t.boolean :unread, :default => true
@@ -1,3 +1,3 @@
1
1
  module MyForum
2
- VERSION = "0.0.1.beta1"
2
+ VERSION = "0.0.1.beta2"
3
3
  end
@@ -4924,3 +4924,211 @@ Redirected to http://test.host/my_forum/
4924
4924
  Completed 302 Found in 13ms (ActiveRecord: 0.7ms)
4925
4925
  MyForum::User Load (0.0ms) SELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."email" = ? LIMIT 1 [["email", "new_user@google.com"]]
4926
4926
   (0.5ms) rollback transaction
4927
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
4928
+  (0.1ms) begin transaction
4929
+  (0.1ms) SAVEPOINT active_record_1
4930
+ MyForum::User Exists (0.1ms) SELECT 1 AS one FROM "my_forum_users" WHERE "my_forum_users"."login" = 'demo' LIMIT 1
4931
+ MyForum::User Exists (0.1ms) SELECT 1 AS one FROM "my_forum_users" WHERE "my_forum_users"."email" = 'demo@example.com' LIMIT 1
4932
+ SQL (0.5ms) INSERT INTO "my_forum_users" ("login", "password", "email", "salt", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["login", "demo"], ["password", "59eed2d294b0268bbc5d59752fde1df0dd39667ff160f315f6160052516eea1d"], ["email", "demo@example.com"], ["salt", "3210fd5e71b5186cdf7422b113b4e7d68adc4be54ebf97876e6b1b5a9f4c0abe"], ["created_at", "2015-03-25 13:11:14.769189"], ["updated_at", "2015-03-25 13:11:14.769189"]]
4933
+  (0.1ms) RELEASE SAVEPOINT active_record_1
4934
+ Processing by MyForum::UsersController#signin as HTML
4935
+ Parameters: {"user"=>{"login"=>"demo", "password"=>"[FILTERED]"}}
4936
+ MyForum::User Load (0.1ms) SELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."login" = ? LIMIT 1 [["login", "demo"]]
4937
+ Redirected to http://test.host/my_forum/
4938
+ Completed 302 Found in 5ms (ActiveRecord: 0.1ms)
4939
+  (0.5ms) rollback transaction
4940
+  (0.1ms) begin transaction
4941
+ Processing by MyForum::UsersController#signin as HTML
4942
+ Parameters: {"user"=>{"login"=>"", "password"=>"[FILTERED]"}}
4943
+ MyForum::User Load (0.1ms) SELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."login" = ? LIMIT 1 [["login", ""]]
4944
+ Rendered /Users/vint/rails/my_forum/app/views/my_forum/users/signin.haml within layouts/my_forum/application (0.2ms)
4945
+ Completed 200 OK in 15ms (Views: 9.3ms | ActiveRecord: 0.1ms)
4946
+ Processing by MyForum::UsersController#signin as HTML
4947
+ Parameters: {"user"=>{"login"=>"wrong", "password"=>"[FILTERED]"}}
4948
+ MyForum::User Load (0.0ms) SELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."login" = ? LIMIT 1 [["login", "wrong"]]
4949
+ Rendered /Users/vint/rails/my_forum/app/views/my_forum/users/signin.haml within layouts/my_forum/application (0.1ms)
4950
+ Completed 200 OK in 1ms (Views: 0.4ms | ActiveRecord: 0.2ms)
4951
+  (0.1ms) rollback transaction
4952
+  (0.0ms) begin transaction
4953
+  (0.1ms) SAVEPOINT active_record_1
4954
+ MyForum::User Exists (0.1ms) SELECT 1 AS one FROM "my_forum_users" WHERE "my_forum_users"."login" = 'demo' LIMIT 1
4955
+ MyForum::User Exists (0.0ms) SELECT 1 AS one FROM "my_forum_users" WHERE "my_forum_users"."email" = 'demo@example.com' LIMIT 1
4956
+ SQL (0.2ms) INSERT INTO "my_forum_users" ("login", "password", "email", "salt", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["login", "demo"], ["password", "59eed2d294b0268bbc5d59752fde1df0dd39667ff160f315f6160052516eea1d"], ["email", "demo@example.com"], ["salt", "3210fd5e71b5186cdf7422b113b4e7d68adc4be54ebf97876e6b1b5a9f4c0abe"], ["created_at", "2015-03-25 13:11:14.807991"], ["updated_at", "2015-03-25 13:11:14.807991"]]
4957
+  (0.0ms) RELEASE SAVEPOINT active_record_1
4958
+ Processing by MyForum::UsersController#forgot_password as HTML
4959
+ Parameters: {"user"=>{"email"=>"demo@example.com"}}
4960
+ MyForum::User Load (0.1ms) SELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."id" = ? ORDER BY "my_forum_users"."id" ASC LIMIT 1 [["id", 2]]
4961
+ MyForum::UserGroup Load (0.2ms) SELECT "my_forum_user_groups".* FROM "my_forum_user_groups" WHERE "my_forum_user_groups"."name" = ? LIMIT 1 [["name", "Guests"]]
4962
+ MyForum::UserGroup Load (0.0ms) SELECT "my_forum_user_groups".* FROM "my_forum_user_groups" WHERE "my_forum_user_groups"."name" = ? LIMIT 1 [["name", "Member"]]
4963
+ MyForum::UserGroupLink Load (0.1ms) SELECT "my_forum_user_group_links".* FROM "my_forum_user_group_links" WHERE "my_forum_user_group_links"."user_id" IN (2)
4964
+ MyForum::User Load (0.0ms) SELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."id" = ? ORDER BY "my_forum_users"."id" ASC LIMIT 1 [["id", 2]]
4965
+ MyForum::UserGroupLink Load (0.1ms) SELECT "my_forum_user_group_links".* FROM "my_forum_user_group_links" WHERE "my_forum_user_group_links"."user_id" IN (2)
4966
+  (0.0ms) SAVEPOINT active_record_1
4967
+ SQL (0.3ms) UPDATE "my_forum_users" SET "updated_at" = '2015-03-25 13:11:14.839725' WHERE "my_forum_users"."id" = ? [["id", 2]]
4968
+  (0.0ms) RELEASE SAVEPOINT active_record_1
4969
+ MyForum::User Load (0.1ms) SELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."email" = ? LIMIT 1 [["email", "demo@example.com"]]
4970
+  (0.1ms) SAVEPOINT active_record_1
4971
+ MyForum::User Exists (0.1ms) SELECT 1 AS one FROM "my_forum_users" WHERE ("my_forum_users"."login" = 'demo' AND "my_forum_users"."id" != 2) LIMIT 1
4972
+ MyForum::User Exists (0.0ms) SELECT 1 AS one FROM "my_forum_users" WHERE ("my_forum_users"."email" = 'demo@example.com' AND "my_forum_users"."id" != 2) LIMIT 1
4973
+ SQL (0.1ms) UPDATE "my_forum_users" SET "password" = ?, "salt" = ?, "updated_at" = ? WHERE "my_forum_users"."id" = ? [["password", "a3d80eb9cab2f98bc2b973a1eb155fab0110e550a4583fa533516a0fd16e1886"], ["salt", "dfab96978915f8323aa5fd1154a7b88adc2fae56f6a4c4a9f492fa08c568eb86"], ["updated_at", "2015-03-25 13:11:14.855065"], ["id", 2]]
4974
+  (0.0ms) RELEASE SAVEPOINT active_record_1
4975
+ Rendered /Users/vint/rails/my_forum/app/views/my_forum/user_mailer/reset_password_email.text.erb within layouts/mailer (1.2ms)
4976
+ Rendered /Users/vint/rails/my_forum/app/views/my_forum/user_mailer/reset_password_email.haml within layouts/mailer (1.0ms)
4977
+
4978
+ MyForum::UserMailer#reset_password_email: processed outbound mail in 170.7ms
4979
+
4980
+ Sent mail to demo@example.com (7.5ms)
4981
+ Date: Wed, 25 Mar 2015 15:11:15 +0200
4982
+ From: from@example.com
4983
+ To: demo@example.com
4984
+ Message-ID: <5512b3f36b23_bfb83feff08601f8653fb@Vitalys-MacBook-Pro.local.mail>
4985
+ Subject: vaz.od.ua - New password
4986
+ Mime-Version: 1.0
4987
+ Content-Type: multipart/alternative;
4988
+ boundary="--==_mimepart_5512b3f35743_bfb83feff08601f86528a";
4989
+ charset=UTF-8
4990
+ Content-Transfer-Encoding: 7bit
4991
+
4992
+
4993
+ ----==_mimepart_5512b3f35743_bfb83feff08601f86528a
4994
+ Content-Type: text/plain;
4995
+ charset=UTF-8
4996
+ Content-Transfer-Encoding: 7bit
4997
+
4998
+ Your new password is: TXJihBJPbZ
4999
+
5000
+ ----==_mimepart_5512b3f35743_bfb83feff08601f86528a
5001
+ Content-Type: text/html;
5002
+ charset=UTF-8
5003
+ Content-Transfer-Encoding: 7bit
5004
+
5005
+ <html>
5006
+ <body>
5007
+ Your new password is: TXJihBJPbZ
5008
+
5009
+ </body>
5010
+ </html>
5011
+
5012
+ ----==_mimepart_5512b3f35743_bfb83feff08601f86528a--
5013
+
5014
+ Redirected to http://test.host/my_forum/
5015
+ Completed 302 Found in 221ms (ActiveRecord: 1.5ms)
5016
+ MyForum::User Load (0.1ms) SELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."id" = ? LIMIT 1 [["id", 2]]
5017
+ MyForum::User Load (0.0ms) SELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."id" = ? LIMIT 1 [["id", 2]]
5018
+  (0.6ms) rollback transaction
5019
+  (0.0ms) begin transaction
5020
+  (0.0ms) SAVEPOINT active_record_1
5021
+ MyForum::User Exists (0.1ms) SELECT 1 AS one FROM "my_forum_users" WHERE "my_forum_users"."login" = 'demo' LIMIT 1
5022
+ MyForum::User Exists (0.0ms) SELECT 1 AS one FROM "my_forum_users" WHERE "my_forum_users"."email" = 'demo@example.com' LIMIT 1
5023
+ SQL (0.2ms) INSERT INTO "my_forum_users" ("login", "password", "email", "salt", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["login", "demo"], ["password", "f0abae8ead75625e0d6689e95400dec999d1d615a8cb6b177c14ec47ff481bb4"], ["email", "demo@example.com"], ["salt", "03a41672ecd7b4bb0b64a0520762948e16083f3960f9c2f404cbdb60ef7ae67d"], ["created_at", "2015-03-25 13:11:15.037111"], ["updated_at", "2015-03-25 13:11:15.037111"]]
5024
+  (0.0ms) RELEASE SAVEPOINT active_record_1
5025
+ Processing by MyForum::UsersController#update as HTML
5026
+ Parameters: {"user"=>{"email"=>"abc@google.com", "password"=>"[FILTERED]"}, "id"=>"2"}
5027
+ MyForum::User Load (0.0ms) SELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."id" = ? ORDER BY "my_forum_users"."id" ASC LIMIT 1 [["id", 2]]
5028
+ MyForum::UserGroupLink Load (0.1ms) SELECT "my_forum_user_group_links".* FROM "my_forum_user_group_links" WHERE "my_forum_user_group_links"."user_id" IN (2)
5029
+ MyForum::User Load (0.0ms) SELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."id" = ? ORDER BY "my_forum_users"."id" ASC LIMIT 1 [["id", 2]]
5030
+ MyForum::UserGroupLink Load (0.0ms) SELECT "my_forum_user_group_links".* FROM "my_forum_user_group_links" WHERE "my_forum_user_group_links"."user_id" IN (2)
5031
+  (0.0ms) SAVEPOINT active_record_1
5032
+ SQL (0.3ms) UPDATE "my_forum_users" SET "updated_at" = '2015-03-25 13:11:15.042760' WHERE "my_forum_users"."id" = ? [["id", 2]]
5033
+  (0.0ms) RELEASE SAVEPOINT active_record_1
5034
+ MyForum::User Load (0.0ms) SELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."id" = ? ORDER BY "my_forum_users"."id" ASC LIMIT 1 [["id", 2]]
5035
+ MyForum::UserGroupLink Load (0.0ms) SELECT "my_forum_user_group_links".* FROM "my_forum_user_group_links" WHERE "my_forum_user_group_links"."user_id" IN (2)
5036
+ MyForum::User Load (0.0ms) SELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."id" = ? ORDER BY "my_forum_users"."id" ASC LIMIT 1 [["id", 2]]
5037
+ MyForum::UserGroupLink Load (0.0ms) SELECT "my_forum_user_group_links".* FROM "my_forum_user_group_links" WHERE "my_forum_user_group_links"."user_id" IN (2)
5038
+ Unpermitted parameter: password
5039
+ SQL (0.1ms) UPDATE "my_forum_users" SET "email" = 'abc@google.com' WHERE "my_forum_users"."id" = ? [["id", 2]]
5040
+ MyForum::User Load (0.0ms) SELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."id" = ? ORDER BY "my_forum_users"."id" ASC LIMIT 1 [["id", 2]]
5041
+ MyForum::UserGroupLink Load (0.0ms) SELECT "my_forum_user_group_links".* FROM "my_forum_user_group_links" WHERE "my_forum_user_group_links"."user_id" IN (2)
5042
+ Redirected to http://test.host/my_forum/users/2/edit
5043
+ Completed 302 Found in 8ms (ActiveRecord: 0.8ms)
5044
+ MyForum::User Load (0.0ms) SELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."id" = ? LIMIT 1 [["id", 2]]
5045
+ MyForum::User Load (0.0ms) SELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."id" = ? LIMIT 1 [["id", 2]]
5046
+  (0.6ms) rollback transaction
5047
+  (0.0ms) begin transaction
5048
+  (0.0ms) SAVEPOINT active_record_1
5049
+ MyForum::User Exists (0.1ms) SELECT 1 AS one FROM "my_forum_users" WHERE "my_forum_users"."login" = 'demo' LIMIT 1
5050
+ MyForum::User Exists (0.0ms) SELECT 1 AS one FROM "my_forum_users" WHERE "my_forum_users"."email" = 'demo@example.com' LIMIT 1
5051
+ SQL (0.1ms) INSERT INTO "my_forum_users" ("login", "password", "email", "salt", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["login", "demo"], ["password", "f0abae8ead75625e0d6689e95400dec999d1d615a8cb6b177c14ec47ff481bb4"], ["email", "demo@example.com"], ["salt", "03a41672ecd7b4bb0b64a0520762948e16083f3960f9c2f404cbdb60ef7ae67d"], ["created_at", "2015-03-25 13:11:15.052551"], ["updated_at", "2015-03-25 13:11:15.052551"]]
5052
+  (0.0ms) RELEASE SAVEPOINT active_record_1
5053
+ Processing by MyForum::UsersController#update as HTML
5054
+ Parameters: {"user"=>{"email"=>"abc@google.com", "password"=>"[FILTERED]"}, "id"=>"2"}
5055
+ MyForum::User Load (0.0ms) SELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."id" = ? ORDER BY "my_forum_users"."id" ASC LIMIT 1 [["id", 2]]
5056
+ MyForum::UserGroupLink Load (0.1ms) SELECT "my_forum_user_group_links".* FROM "my_forum_user_group_links" WHERE "my_forum_user_group_links"."user_id" IN (2)
5057
+ MyForum::User Load (0.0ms) SELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."id" = ? ORDER BY "my_forum_users"."id" ASC LIMIT 1 [["id", 2]]
5058
+ MyForum::UserGroupLink Load (0.0ms) SELECT "my_forum_user_group_links".* FROM "my_forum_user_group_links" WHERE "my_forum_user_group_links"."user_id" IN (2)
5059
+  (0.0ms) SAVEPOINT active_record_1
5060
+ SQL (0.3ms) UPDATE "my_forum_users" SET "updated_at" = '2015-03-25 13:11:15.057923' WHERE "my_forum_users"."id" = ? [["id", 2]]
5061
+  (0.0ms) RELEASE SAVEPOINT active_record_1
5062
+ MyForum::User Load (0.0ms) SELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."id" = ? ORDER BY "my_forum_users"."id" ASC LIMIT 1 [["id", 2]]
5063
+ MyForum::UserGroupLink Load (0.0ms) SELECT "my_forum_user_group_links".* FROM "my_forum_user_group_links" WHERE "my_forum_user_group_links"."user_id" IN (2)
5064
+ MyForum::User Load (0.0ms) SELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."id" = ? ORDER BY "my_forum_users"."id" ASC LIMIT 1 [["id", 2]]
5065
+ MyForum::UserGroupLink Load (0.1ms) SELECT "my_forum_user_group_links".* FROM "my_forum_user_group_links" WHERE "my_forum_user_group_links"."user_id" IN (2)
5066
+ Unpermitted parameter: password
5067
+ SQL (0.0ms) UPDATE "my_forum_users" SET "email" = 'abc@google.com' WHERE "my_forum_users"."id" = ? [["id", 2]]
5068
+ MyForum::User Load (0.0ms) SELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."id" = ? ORDER BY "my_forum_users"."id" ASC LIMIT 1 [["id", 2]]
5069
+ MyForum::UserGroupLink Load (0.0ms) SELECT "my_forum_user_group_links".* FROM "my_forum_user_group_links" WHERE "my_forum_user_group_links"."user_id" IN (2)
5070
+ Redirected to http://test.host/my_forum/users/2/edit
5071
+ Completed 302 Found in 8ms (ActiveRecord: 0.7ms)
5072
+ MyForum::User Load (0.0ms) SELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."id" = ? LIMIT 1 [["id", 2]]
5073
+  (0.7ms) rollback transaction
5074
+  (0.0ms) begin transaction
5075
+  (0.0ms) SAVEPOINT active_record_1
5076
+ MyForum::User Exists (0.1ms) SELECT 1 AS one FROM "my_forum_users" WHERE "my_forum_users"."login" = 'demo' LIMIT 1
5077
+ MyForum::User Exists (0.1ms) SELECT 1 AS one FROM "my_forum_users" WHERE "my_forum_users"."email" = 'demo@example.com' LIMIT 1
5078
+ SQL (0.2ms) INSERT INTO "my_forum_users" ("login", "password", "email", "salt", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["login", "demo"], ["password", "f0abae8ead75625e0d6689e95400dec999d1d615a8cb6b177c14ec47ff481bb4"], ["email", "demo@example.com"], ["salt", "03a41672ecd7b4bb0b64a0520762948e16083f3960f9c2f404cbdb60ef7ae67d"], ["created_at", "2015-03-25 13:11:15.067971"], ["updated_at", "2015-03-25 13:11:15.067971"]]
5079
+  (0.0ms) RELEASE SAVEPOINT active_record_1
5080
+ MyForum::User Load (0.0ms) SELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."id" = ? LIMIT 1 [["id", 2]]
5081
+ Processing by MyForum::UsersController#update as HTML
5082
+ Parameters: {"user"=>{"email"=>"abc@google.com", "password"=>"[FILTERED]", "new_password"=>"[FILTERED]"}, "id"=>"2"}
5083
+ MyForum::User Load (0.1ms) SELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."id" = ? ORDER BY "my_forum_users"."id" ASC LIMIT 1 [["id", 2]]
5084
+ MyForum::UserGroupLink Load (0.1ms) SELECT "my_forum_user_group_links".* FROM "my_forum_user_group_links" WHERE "my_forum_user_group_links"."user_id" IN (2)
5085
+ MyForum::User Load (0.0ms) SELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."id" = ? ORDER BY "my_forum_users"."id" ASC LIMIT 1 [["id", 2]]
5086
+ MyForum::UserGroupLink Load (0.1ms) SELECT "my_forum_user_group_links".* FROM "my_forum_user_group_links" WHERE "my_forum_user_group_links"."user_id" IN (2)
5087
+  (0.0ms) SAVEPOINT active_record_1
5088
+ SQL (0.3ms) UPDATE "my_forum_users" SET "updated_at" = '2015-03-25 13:11:15.075810' WHERE "my_forum_users"."id" = ? [["id", 2]]
5089
+  (0.0ms) RELEASE SAVEPOINT active_record_1
5090
+ MyForum::User Load (0.0ms) SELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."id" = ? ORDER BY "my_forum_users"."id" ASC LIMIT 1 [["id", 2]]
5091
+ MyForum::UserGroupLink Load (0.1ms) SELECT "my_forum_user_group_links".* FROM "my_forum_user_group_links" WHERE "my_forum_user_group_links"."user_id" IN (2)
5092
+ Unpermitted parameter: new_password
5093
+ MyForum::User Load (0.0ms) SELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."id" = ? ORDER BY "my_forum_users"."id" ASC LIMIT 1 [["id", 2]]
5094
+ MyForum::UserGroupLink Load (0.0ms) SELECT "my_forum_user_group_links".* FROM "my_forum_user_group_links" WHERE "my_forum_user_group_links"."user_id" IN (2)
5095
+ MyForum::User Load (0.0ms) SELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."id" = ? ORDER BY "my_forum_users"."id" ASC LIMIT 1 [["id", 2]]
5096
+ MyForum::UserGroupLink Load (0.0ms) SELECT "my_forum_user_group_links".* FROM "my_forum_user_group_links" WHERE "my_forum_user_group_links"."user_id" IN (2)
5097
+  (0.0ms) SAVEPOINT active_record_1
5098
+ MyForum::User Exists (0.1ms) SELECT 1 AS one FROM "my_forum_users" WHERE ("my_forum_users"."login" = 'demo' AND "my_forum_users"."id" != 2) LIMIT 1
5099
+ MyForum::User Exists (0.0ms) SELECT 1 AS one FROM "my_forum_users" WHERE ("my_forum_users"."email" = 'demo@example.com' AND "my_forum_users"."id" != 2) LIMIT 1
5100
+ SQL (0.0ms) UPDATE "my_forum_users" SET "password" = ?, "salt" = ?, "updated_at" = ? WHERE "my_forum_users"."id" = ? [["password", "2dff05801bb836396cb4645dd7a25d06fa16560a189bff9a945aff9b0cc9987f"], ["salt", "8f0d8702f17e9bcbee5c0e7649f1aebcff4d93f95a7ef5e1bd837fcecac97894"], ["updated_at", "2015-03-25 13:11:15.081280"], ["id", 2]]
5101
+  (0.0ms) RELEASE SAVEPOINT active_record_1
5102
+ MyForum::User Load (0.0ms) SELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."id" = ? ORDER BY "my_forum_users"."id" ASC LIMIT 1 [["id", 2]]
5103
+ MyForum::UserGroupLink Load (0.0ms) SELECT "my_forum_user_group_links".* FROM "my_forum_user_group_links" WHERE "my_forum_user_group_links"."user_id" IN (2)
5104
+ Unpermitted parameter: password
5105
+ SQL (0.0ms) UPDATE "my_forum_users" SET "email" = 'abc@google.com' WHERE "my_forum_users"."id" = ? [["id", 2]]
5106
+ MyForum::User Load (0.0ms) SELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."id" = ? ORDER BY "my_forum_users"."id" ASC LIMIT 1 [["id", 2]]
5107
+ MyForum::UserGroupLink Load (0.0ms) SELECT "my_forum_user_group_links".* FROM "my_forum_user_group_links" WHERE "my_forum_user_group_links"."user_id" IN (2)
5108
+ Redirected to http://test.host/my_forum/users/2/edit
5109
+ Completed 302 Found in 13ms (ActiveRecord: 1.2ms)
5110
+ MyForum::User Load (0.0ms) SELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."id" = ? LIMIT 1 [["id", 2]]
5111
+ MyForum::User Load (0.0ms) SELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."id" = ? LIMIT 1 [["id", 2]]
5112
+  (0.6ms) rollback transaction
5113
+  (0.0ms) begin transaction
5114
+ Processing by MyForum::UsersController#create as HTML
5115
+ Parameters: {"user"=>{"email"=>"new_user@google.com", "password"=>"[FILTERED]", "login"=>"new_user"}}
5116
+ MyForum::User Exists (0.1ms) SELECT 1 AS one FROM "my_forum_users" WHERE "my_forum_users"."login" = 'new_user' LIMIT 1
5117
+ MyForum::User Exists (0.0ms) SELECT 1 AS one FROM "my_forum_users" WHERE "my_forum_users"."email" = 'new_user@google.com' LIMIT 1
5118
+  (0.0ms) SAVEPOINT active_record_1
5119
+ MyForum::User Exists (0.0ms) SELECT 1 AS one FROM "my_forum_users" WHERE "my_forum_users"."login" = 'new_user' LIMIT 1
5120
+ MyForum::User Exists (0.0ms) SELECT 1 AS one FROM "my_forum_users" WHERE "my_forum_users"."email" = 'new_user@google.com' LIMIT 1
5121
+ SQL (0.3ms) INSERT INTO "my_forum_users" ("login", "email", "password", "salt", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["login", "new_user"], ["email", "new_user@google.com"], ["password", "f7e8d12ce6cb1252fb028bebd6463e10d4daba18429aa6825890167cd32d65aa"], ["salt", "db7db9805a2248285317476cb3204aef7f2c98b75c9e460df9fb3b15bb7792b5"], ["created_at", "2015-03-25 13:11:15.097563"], ["updated_at", "2015-03-25 13:11:15.097563"]]
5122
+ SQL (0.1ms) INSERT INTO "my_forum_user_group_links" ("user_group_id", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["user_group_id", 2], ["user_id", 2], ["created_at", "2015-03-25 13:11:15.098754"], ["updated_at", "2015-03-25 13:11:15.098754"]]
5123
+  (0.0ms) RELEASE SAVEPOINT active_record_1
5124
+ Redirected to http://test.host/my_forum/
5125
+ Completed 302 Found in 11ms (ActiveRecord: 0.7ms)
5126
+ MyForum::User Load (0.0ms) SELECT "my_forum_users".* FROM "my_forum_users" WHERE "my_forum_users"."email" = ? LIMIT 1 [["email", "new_user@google.com"]]
5127
+  (0.4ms) rollback transaction
5128
+  (0.1ms) begin transaction
5129
+  (0.1ms) SAVEPOINT active_record_1
5130
+ MyForum::User Exists (0.2ms) SELECT 1 AS one FROM "my_forum_users" WHERE "my_forum_users"."login" IS NULL LIMIT 1
5131
+ MyForum::User Exists (0.1ms) SELECT 1 AS one FROM "my_forum_users" WHERE "my_forum_users"."email" IS NULL LIMIT 1
5132
+ SQL (0.2ms) INSERT INTO "my_forum_users" ("password", "salt", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["password", "925006b8a1af39a370200566925a3a2f9d25bd067fa6039f24a3cfab6cc377dc"], ["salt", "786cf2a94204b8f3b9c0218d1427e9937ebb402bb35f07618905dcbca903e84d"], ["created_at", "2015-03-25 13:11:15.106136"], ["updated_at", "2015-03-25 13:11:15.106136"]]
5133
+  (0.0ms) RELEASE SAVEPOINT active_record_1
5134
+  (0.3ms) rollback transaction
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: my_forum
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1.beta1
4
+ version: 0.0.1.beta2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Vitaly Omelchenko
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-03-06 00:00:00.000000000 Z
11
+ date: 2015-03-25 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
@@ -125,6 +125,7 @@ files:
125
125
  - app/assets/javascripts/my_forum/admin/users.js
126
126
  - app/assets/javascripts/my_forum/application.js
127
127
  - app/assets/javascripts/my_forum/forums.js.coffee
128
+ - app/assets/javascripts/my_forum/my_forum.js.coffee
128
129
  - app/assets/javascripts/my_forum/posts.js.coffee
129
130
  - app/assets/javascripts/my_forum/topics.js.coffee
130
131
  - app/assets/javascripts/my_forum/users.js.coffee
@@ -212,6 +213,7 @@ files:
212
213
  - app/views/my_forum/users/signin.haml
213
214
  - app/views/my_forum/users/signout.haml
214
215
  - app/views/my_forum/welcome/index.haml
216
+ - config/initializers/will_paginate.rb
215
217
  - config/locales/en.yml
216
218
  - config/locales/ru.yml
217
219
  - config/routes.rb