conversations 0.0.1 → 0.0.2

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.
data/.gitignore CHANGED
@@ -5,4 +5,5 @@ pkg/
5
5
  spec/dummy/db/*.sqlite3
6
6
  spec/dummy/log/*.log
7
7
  spec/dummy/tmp/
8
- coverage/
8
+ coverage/
9
+ *.gem
@@ -1,43 +1,43 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- conversations (0.0.1)
5
- jquery-rails (~> 1.0.19)
6
- rails (~> 3.1.3)
4
+ conversations (0.0.2)
5
+ jquery-rails (~> 2.1.1)
6
+ rails (~> 3.2.0)
7
7
 
8
8
  GEM
9
9
  remote: http://rubygems.org/
10
10
  specs:
11
- actionmailer (3.1.3)
12
- actionpack (= 3.1.3)
13
- mail (~> 2.3.0)
14
- actionpack (3.1.3)
15
- activemodel (= 3.1.3)
16
- activesupport (= 3.1.3)
11
+ actionmailer (3.2.8)
12
+ actionpack (= 3.2.8)
13
+ mail (~> 2.4.4)
14
+ actionpack (3.2.8)
15
+ activemodel (= 3.2.8)
16
+ activesupport (= 3.2.8)
17
17
  builder (~> 3.0.0)
18
18
  erubis (~> 2.7.0)
19
- i18n (~> 0.6)
20
- rack (~> 1.3.5)
21
- rack-cache (~> 1.1)
22
- rack-mount (~> 0.8.2)
19
+ journey (~> 1.0.4)
20
+ rack (~> 1.4.0)
21
+ rack-cache (~> 1.2)
23
22
  rack-test (~> 0.6.1)
24
- sprockets (~> 2.0.3)
25
- activemodel (3.1.3)
26
- activesupport (= 3.1.3)
23
+ sprockets (~> 2.1.3)
24
+ activemodel (3.2.8)
25
+ activesupport (= 3.2.8)
27
26
  builder (~> 3.0.0)
28
- i18n (~> 0.6)
29
- activerecord (3.1.3)
30
- activemodel (= 3.1.3)
31
- activesupport (= 3.1.3)
32
- arel (~> 2.2.1)
27
+ activerecord (3.2.8)
28
+ activemodel (= 3.2.8)
29
+ activesupport (= 3.2.8)
30
+ arel (~> 3.0.2)
33
31
  tzinfo (~> 0.3.29)
34
- activeresource (3.1.3)
35
- activemodel (= 3.1.3)
36
- activesupport (= 3.1.3)
37
- activesupport (3.1.3)
32
+ activeresource (3.2.8)
33
+ activemodel (= 3.2.8)
34
+ activesupport (= 3.2.8)
35
+ activesupport (3.2.8)
36
+ i18n (~> 0.6)
38
37
  multi_json (~> 1.0)
39
- arel (2.2.1)
40
- builder (3.0.0)
38
+ addressable (2.3.2)
39
+ arel (3.0.2)
40
+ builder (3.0.4)
41
41
  capybara (1.1.2)
42
42
  mime-types (>= 1.16)
43
43
  nokogiri (>= 1.3.3)
@@ -45,91 +45,92 @@ GEM
45
45
  rack-test (>= 0.5.4)
46
46
  selenium-webdriver (~> 2.0)
47
47
  xpath (~> 0.1.4)
48
- childprocess (0.2.8)
49
- ffi (~> 1.0.6)
48
+ childprocess (0.3.6)
49
+ ffi (~> 1.0, >= 1.0.6)
50
50
  diff-lcs (1.1.3)
51
51
  erubis (2.7.0)
52
- factory_girl (2.3.2)
53
- activesupport
54
- factory_girl_rails (1.4.0)
55
- factory_girl (~> 2.3.0)
52
+ factory_girl (2.6.4)
53
+ activesupport (>= 2.3.9)
54
+ factory_girl_rails (1.7.0)
55
+ factory_girl (~> 2.6.0)
56
56
  railties (>= 3.0.0)
57
- ffi (1.0.11)
57
+ ffi (1.1.5)
58
58
  hike (1.2.1)
59
- i18n (0.6.0)
60
- jquery-rails (1.0.19)
61
- railties (~> 3.0)
59
+ i18n (0.6.1)
60
+ journey (1.0.4)
61
+ jquery-rails (2.1.3)
62
+ railties (>= 3.1.0, < 5.0)
62
63
  thor (~> 0.14)
63
- json (1.6.4)
64
- mail (2.3.0)
64
+ json (1.7.5)
65
+ libwebsocket (0.1.5)
66
+ addressable
67
+ mail (2.4.4)
65
68
  i18n (>= 0.4.0)
66
69
  mime-types (~> 1.16)
67
70
  treetop (~> 1.4.8)
68
- mime-types (1.17.2)
69
- multi_json (1.0.4)
70
- nokogiri (1.5.0)
71
+ mime-types (1.19)
72
+ multi_json (1.3.6)
73
+ nokogiri (1.5.5)
71
74
  polyglot (0.3.3)
72
- rack (1.3.6)
73
- rack-cache (1.1)
75
+ rack (1.4.1)
76
+ rack-cache (1.2)
74
77
  rack (>= 0.4)
75
- rack-mount (0.8.3)
76
- rack (>= 1.0.0)
77
78
  rack-ssl (1.3.2)
78
79
  rack
79
- rack-test (0.6.1)
80
+ rack-test (0.6.2)
80
81
  rack (>= 1.0)
81
- rails (3.1.3)
82
- actionmailer (= 3.1.3)
83
- actionpack (= 3.1.3)
84
- activerecord (= 3.1.3)
85
- activeresource (= 3.1.3)
86
- activesupport (= 3.1.3)
82
+ rails (3.2.8)
83
+ actionmailer (= 3.2.8)
84
+ actionpack (= 3.2.8)
85
+ activerecord (= 3.2.8)
86
+ activeresource (= 3.2.8)
87
+ activesupport (= 3.2.8)
87
88
  bundler (~> 1.0)
88
- railties (= 3.1.3)
89
- railties (3.1.3)
90
- actionpack (= 3.1.3)
91
- activesupport (= 3.1.3)
89
+ railties (= 3.2.8)
90
+ railties (3.2.8)
91
+ actionpack (= 3.2.8)
92
+ activesupport (= 3.2.8)
92
93
  rack-ssl (~> 1.3.2)
93
94
  rake (>= 0.8.7)
94
95
  rdoc (~> 3.4)
95
- thor (~> 0.14.6)
96
+ thor (>= 0.14.6, < 2.0)
96
97
  rake (0.9.2.2)
97
98
  rdoc (3.12)
98
99
  json (~> 1.4)
99
- rspec (2.8.0)
100
- rspec-core (~> 2.8.0)
101
- rspec-expectations (~> 2.8.0)
102
- rspec-mocks (~> 2.8.0)
103
- rspec-core (2.8.0)
104
- rspec-expectations (2.8.0)
105
- diff-lcs (~> 1.1.2)
106
- rspec-mocks (2.8.0)
107
- rspec-rails (2.8.1)
100
+ rspec (2.11.0)
101
+ rspec-core (~> 2.11.0)
102
+ rspec-expectations (~> 2.11.0)
103
+ rspec-mocks (~> 2.11.0)
104
+ rspec-core (2.11.1)
105
+ rspec-expectations (2.11.3)
106
+ diff-lcs (~> 1.1.3)
107
+ rspec-mocks (2.11.3)
108
+ rspec-rails (2.11.4)
108
109
  actionpack (>= 3.0)
109
110
  activesupport (>= 3.0)
110
111
  railties (>= 3.0)
111
- rspec (~> 2.8.0)
112
- rubyzip (0.9.5)
113
- selenium-webdriver (2.16.0)
112
+ rspec (~> 2.11.0)
113
+ rubyzip (0.9.9)
114
+ selenium-webdriver (2.25.0)
114
115
  childprocess (>= 0.2.5)
115
- ffi (~> 1.0.9)
116
- multi_json (~> 1.0.4)
116
+ libwebsocket (~> 0.1.3)
117
+ multi_json (~> 1.0)
117
118
  rubyzip
118
- simplecov (0.5.4)
119
- multi_json (~> 1.0.3)
120
- simplecov-html (~> 0.5.3)
121
- simplecov-html (0.5.3)
122
- sprockets (2.0.3)
119
+ simplecov (0.7.1)
120
+ multi_json (~> 1.0)
121
+ simplecov-html (~> 0.7.1)
122
+ simplecov-html (0.7.1)
123
+ sprockets (2.1.3)
123
124
  hike (~> 1.2)
124
125
  rack (~> 1.0)
125
126
  tilt (~> 1.1, != 1.3.0)
126
- sqlite3 (1.3.5)
127
- thor (0.14.6)
127
+ sqlite3 (1.3.6)
128
+ thor (0.16.0)
128
129
  tilt (1.3.3)
129
- treetop (1.4.10)
130
+ treetop (1.4.11)
130
131
  polyglot
131
132
  polyglot (>= 0.3.1)
132
- tzinfo (0.3.31)
133
+ tzinfo (0.3.34)
133
134
  xpath (0.1.4)
134
135
  nokogiri (~> 1.3)
135
136
 
data/README.md CHANGED
@@ -1,7 +1,7 @@
1
1
  Conversations
2
2
  =
3
3
 
4
- This project rocks big time and uses MIT-LICENSE.
4
+ This project uses the MIT-LICENSE.
5
5
 
6
6
  Installation
7
7
  -
@@ -35,6 +35,29 @@ file.
35
35
  `has_conversations`
36
36
  to User model
37
37
 
38
+ * Add following code
39
+
40
+ ```
41
+ def name
42
+ self.email
43
+ end
44
+ ```
45
+
46
+ to User model
47
+
48
+ * Add
49
+
50
+ ```
51
+ def index
52
+ ...
53
+ respond_to do |format|
54
+ format.json { render :json => User.where("email like ?", "%#{params[:q]}%").map(&:attributes) }
55
+ end
56
+ end
57
+ ```
58
+
59
+ to User controller
60
+
38
61
  * Add links to the conversations anywhere you want
39
62
  `<%= link_to 'Messages', user_conversations_path(current_user) %>`
40
63
 
@@ -1,5 +1,8 @@
1
1
  //= require_tree .
2
2
 
3
3
  $(function () {
4
- $('#conversations_conversation_to_tokens').tokenInput('/users.json', { crossDomain: false });
4
+ $('#conversations_conversation_to_tokens').tokenInput('/users.json', {
5
+ crossDomain: false,
6
+ propertyToSearch: 'email'
7
+ });
5
8
  });
@@ -1,4 +1,14 @@
1
1
  /*
2
2
  *= require_self
3
3
  *= require_tree .
4
- */
4
+ */
5
+
6
+ .message {
7
+ padding: 10px;
8
+ border-bottom: 1px solid #000;
9
+ margin-bottom: 10px;
10
+ }
11
+ .message-head {
12
+ font-weight: bold;
13
+ margin-bottom: 5px;
14
+ }
@@ -13,8 +13,9 @@ module Conversations
13
13
  @conversation = Conversation.new params[:conversations_conversation]
14
14
  @conversation.user_conversations.build
15
15
  @conversation.user_conversations.first.user = @user
16
- @conversation.messages.build :body => params[:conversations_conversation][:messages_attributes]['0'][:body]
17
- @conversation.messages.first.user = @user
16
+ # @conversation.messages.build if @conversation.messages.empty?
17
+ @conversation.messages = []
18
+ @conversation.messages.build body: params[:conversations_conversation][:messages_attributes]['0'][:body], user_id: @user.id
18
19
  if @conversation.save
19
20
  redirect_to user_conversation_path(@user, @user.user_conversations.last), notice: 'Conversation was successfully created.'
20
21
  else
@@ -1,6 +1,6 @@
1
1
  module Conversations
2
2
  class Conversation < ActiveRecord::Base
3
- attr_accessible :subject, :to_tokens
3
+ attr_accessible :subject, :to_tokens, :messages_attributes
4
4
  attr_accessor :to_tokens
5
5
 
6
6
  has_many :user_conversations
@@ -1,6 +1,6 @@
1
1
  module Conversations
2
2
  class Message < ActiveRecord::Base
3
- attr_accessible :user_id, :conversation_id, :body
3
+ attr_accessible :user_id, :conversation_id, :body, :user
4
4
 
5
5
  belongs_to :user
6
6
  belongs_to :conversation
@@ -1,6 +1,16 @@
1
- <h1>New Conversation</h1>
1
+ <h1><%= t('conversation.new.new_conversation') %></h1>
2
2
 
3
3
  <%= form_for(@conversation, :url => user_conversations_path) do |f| %>
4
+ <% if @conversation.errors.any? %>
5
+ <div id="error_explanation">
6
+ <h2><%= "#{pluralize(@conversation.errors.count, "error")} prohibited this order from being saved:" %></ul>
7
+ <ul>
8
+ <% @conversation.errors.full_messages.each do |msg| %>
9
+ <li><%= msg%></li>
10
+ <% end %>
11
+ </ul>
12
+ </div>
13
+ <% end %>
4
14
  <div>
5
15
  <%= f.label :to_tokens %>
6
16
  <%= f.text_field :to_tokens %>
@@ -1,4 +1,4 @@
1
- <h1><%= @user.name %>'s Conversations</h1>
1
+ <h1><%= @user.name %>'s <%= Conversations::Conversation.model_name.human %></h1>
2
2
 
3
3
  <ul>
4
4
  <% for conversation in @conversations do %>
@@ -12,6 +12,4 @@
12
12
  <% end %>
13
13
  </ul>
14
14
 
15
- <%= link_to "Create a New Conversation", new_user_conversation_path(@user) %>
16
- <br>
17
- <%= link_to "Back to User", user_path(@user) %>
15
+ <%= link_to t('conversation.index.new_conversation'), new_user_conversation_path(@user) %>
@@ -1,35 +1,36 @@
1
1
  <h1><%= @conversation.subject %></h1>
2
2
 
3
- <div>
4
- <h4>From: <%= @user.name %></h4>
5
- <h4>To:</h4>
6
- <ul>
7
- <%# TODO: move method into model %>
8
- <% for user in @conversation.users.reject! { |u| u == @user } do %>
9
- <li><%= link_to user.name, user %></li>
10
- <% end %>
11
- </ul>
12
- </div>
3
+ <p>
4
+ <b><%= t('conversation.show.participants') %></b>:
5
+ <%= @conversation.users.map{|u| u.name}.join(', ') %>
6
+ <br />
7
+ <b><%= t('conversation.show.created_at') %></b>:
8
+ <%= l @conversation.created_at %>
9
+ </p>
13
10
 
14
11
  <% for message in @conversation.messages do %>
15
- <div class="message"><%= time_ago_in_words(message.created_at) %> ago, <%= message.user.name %> wrote:
16
- <div class="message_body"><%= message.body %></div>
12
+ <div class="message">
13
+ <div class="message-head">
14
+ <%= t('conversation.show.wrote', person: message.user.name) %>
15
+ <%= t('conversation.show.time_ago', time: time_ago_in_words(message.created_at)) %>:
16
+ </div>
17
+ <div class="message-body">
18
+ <%= message.body %>
19
+ </div>
17
20
  </div>
18
21
  <% end %>
19
-
20
22
  <%= form_for(@message, :url => user_conversation_messages_path(@conversation.user, @conversation)) do |f| %>
21
23
  <div>
22
- <%= f.label :body %><br />
23
- <%= f.text_area :body %>
24
+ <%= f.text_area :body, cols: 75, rows: 5 %>
24
25
  </div>
25
- <%= f.submit %>
26
+ <p><%= f.submit %></p>
26
27
  <% end %>
27
28
 
28
29
  <% if current_user == @conversation.user && !@conversation.read? %>
29
- <%= link_to "Mark as read", mark_as_read_user_conversation_path(@conversation.user, @conversation), :method => :post %>
30
+ <%= link_to t('conversation.show.mark_as_read'), mark_as_read_user_conversation_path(@conversation.user, @conversation), :method => :post %>
30
31
  <% elsif current_user == @conversation.user && @conversation.read? %>
31
- <%= link_to "Mark as unread", mark_as_unread_user_conversation_path(@conversation.user, @conversation), :method => :post %>
32
+ <%= link_to t('conversation.show.mark_as_unread'), mark_as_unread_user_conversation_path(@conversation.user, @conversation), :method => :post %>
32
33
  <% end %>
33
34
  <br />
34
35
 
35
- <%= link_to "Back to conversations", user_conversations_path(@user) %>
36
+ <%= link_to t('conversation.show.back_to_conversations'), user_conversations_path(@user) %>
@@ -0,0 +1,28 @@
1
+ de:
2
+ conversation:
3
+ index:
4
+ new_conversation: 'Neue Konversation erstellen'
5
+ new:
6
+ new_conversation: 'Neue Konversation'
7
+ show:
8
+ participants: 'Teilnehmer'
9
+ time_ago: "vor %{time}"
10
+ wrote: '%{person} schrieb'
11
+ mark_as_read: 'Als gelesen markieren'
12
+ mark_as_unread: 'Als ungelesen markieren'
13
+ back_to_conversations: 'Zurück zu den Konversationen'
14
+ created_at: 'Erstellt am'
15
+ activerecord:
16
+ models:
17
+ conversations/conversation:
18
+ one: 'Konversation'
19
+ other: 'Konversationen'
20
+ conversations/message:
21
+ one: 'Nachricht'
22
+ other: 'Nachrichten'
23
+ attributes:
24
+ conversations/conversation:
25
+ to_tokens: 'An'
26
+ subject: 'Betreff'
27
+ conversations/message:
28
+ body: 'Text'
@@ -1,8 +1,8 @@
1
1
  Rails.application.routes.draw do
2
2
  resources :users do
3
- resources :conversations, :controller => "conversations/conversations", :only => [:new, :create]
4
- resources :conversations, :controller => "conversations/user_conversations", :except => [:new, :create] do
5
- resources :messages, :controller => "conversations/messages"
3
+ resources :conversations, controller: "conversations/conversations", only: [:new, :create]
4
+ resources :conversations, controller: "conversations/user_conversations", except: [:new, :create] do
5
+ resources :messages, controller: "conversations/messages"
6
6
  member do
7
7
  post :mark_as_read
8
8
  post :mark_as_unread
@@ -12,8 +12,8 @@ Gem::Specification.new do |s|
12
12
  s.authors = ["Patrick Bartels"]
13
13
  s.email = ["patrick@bartels.ug"]
14
14
  s.homepage = %q{https://github.com/roughneck/conversations}
15
- s.summary = "Summary of Conversations."
16
- s.description = "Description of Conversations."
15
+ s.summary = "Messaging gem for rails applications"
16
+ s.description = "Conversations is a messaging system that enables users of devise-based Rails applications to exchanges messages with any other user. It supports conversations with multiple participants."
17
17
 
18
18
  s.files = `git ls-files`.split("\n")
19
19
  s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
@@ -22,8 +22,8 @@ Gem::Specification.new do |s|
22
22
 
23
23
  s.rubyforge_project = "conversations"
24
24
 
25
- s.add_dependency "rails", "~> 3.1.3"
26
- s.add_dependency "jquery-rails", "~> 1.0.19"
25
+ s.add_dependency "rails", "~> 3.2.0"
26
+ s.add_dependency "jquery-rails", "~> 2.1.1"
27
27
 
28
28
  s.add_development_dependency "sqlite3", "~> 1.3"
29
29
  s.add_development_dependency "rspec-rails", "~> 2.8"
@@ -1,3 +1,3 @@
1
1
  module Conversations
2
- VERSION = "0.0.1"
2
+ VERSION = "0.0.2"
3
3
  end
@@ -34,18 +34,18 @@ feature "UserConversation", %q{} do
34
34
 
35
35
  scenario "view a conversation" do
36
36
  visit user_conversation_path @sender, @user_conversation
37
- page.should have_content('From')
37
+ page.should have_content('Participants')
38
38
  end
39
39
 
40
40
  scenario "mark a conversation as un/read" do
41
41
  visit user_path @recipient
42
42
  click_link 'Sign In as This User'
43
43
  visit user_conversation_path @recipient, @user_conversation
44
- page.should have_content('Mark as read')
45
- click_link 'Mark as read'
46
- page.should have_content('Mark as unread')
47
- click_link 'Mark as unread'
48
- page.should have_content('Mark as read')
44
+ page.should have_content('Mark As Read')
45
+ click_link 'Mark As Read'
46
+ page.should have_content('Mark As Unread')
47
+ click_link 'Mark As Unread'
48
+ page.should have_content('Mark As Read')
49
49
  end
50
50
 
51
51
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: conversations
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.0.2
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,33 +9,33 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-01-14 00:00:00.000000000 Z
12
+ date: 2012-11-01 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rails
16
- requirement: &70164230071100 !ruby/object:Gem::Requirement
16
+ requirement: &70341804465420 !ruby/object:Gem::Requirement
17
17
  none: false
18
18
  requirements:
19
19
  - - ~>
20
20
  - !ruby/object:Gem::Version
21
- version: 3.1.3
21
+ version: 3.2.0
22
22
  type: :runtime
23
23
  prerelease: false
24
- version_requirements: *70164230071100
24
+ version_requirements: *70341804465420
25
25
  - !ruby/object:Gem::Dependency
26
26
  name: jquery-rails
27
- requirement: &70164230070440 !ruby/object:Gem::Requirement
27
+ requirement: &70341804464900 !ruby/object:Gem::Requirement
28
28
  none: false
29
29
  requirements:
30
30
  - - ~>
31
31
  - !ruby/object:Gem::Version
32
- version: 1.0.19
32
+ version: 2.1.1
33
33
  type: :runtime
34
34
  prerelease: false
35
- version_requirements: *70164230070440
35
+ version_requirements: *70341804464900
36
36
  - !ruby/object:Gem::Dependency
37
37
  name: sqlite3
38
- requirement: &70164230069860 !ruby/object:Gem::Requirement
38
+ requirement: &70341804464200 !ruby/object:Gem::Requirement
39
39
  none: false
40
40
  requirements:
41
41
  - - ~>
@@ -43,10 +43,10 @@ dependencies:
43
43
  version: '1.3'
44
44
  type: :development
45
45
  prerelease: false
46
- version_requirements: *70164230069860
46
+ version_requirements: *70341804464200
47
47
  - !ruby/object:Gem::Dependency
48
48
  name: rspec-rails
49
- requirement: &70164230067860 !ruby/object:Gem::Requirement
49
+ requirement: &70341804463740 !ruby/object:Gem::Requirement
50
50
  none: false
51
51
  requirements:
52
52
  - - ~>
@@ -54,10 +54,10 @@ dependencies:
54
54
  version: '2.8'
55
55
  type: :development
56
56
  prerelease: false
57
- version_requirements: *70164230067860
57
+ version_requirements: *70341804463740
58
58
  - !ruby/object:Gem::Dependency
59
59
  name: capybara
60
- requirement: &70164230064280 !ruby/object:Gem::Requirement
60
+ requirement: &70341804463160 !ruby/object:Gem::Requirement
61
61
  none: false
62
62
  requirements:
63
63
  - - ~>
@@ -65,10 +65,10 @@ dependencies:
65
65
  version: '1.1'
66
66
  type: :development
67
67
  prerelease: false
68
- version_requirements: *70164230064280
68
+ version_requirements: *70341804463160
69
69
  - !ruby/object:Gem::Dependency
70
70
  name: factory_girl_rails
71
- requirement: &70164230058160 !ruby/object:Gem::Requirement
71
+ requirement: &70341804462700 !ruby/object:Gem::Requirement
72
72
  none: false
73
73
  requirements:
74
74
  - - ~>
@@ -76,10 +76,10 @@ dependencies:
76
76
  version: '1.4'
77
77
  type: :development
78
78
  prerelease: false
79
- version_requirements: *70164230058160
79
+ version_requirements: *70341804462700
80
80
  - !ruby/object:Gem::Dependency
81
81
  name: simplecov
82
- requirement: &70164230042400 !ruby/object:Gem::Requirement
82
+ requirement: &70341804462180 !ruby/object:Gem::Requirement
83
83
  none: false
84
84
  requirements:
85
85
  - - ~>
@@ -87,8 +87,10 @@ dependencies:
87
87
  version: '0.5'
88
88
  type: :development
89
89
  prerelease: false
90
- version_requirements: *70164230042400
91
- description: Description of Conversations.
90
+ version_requirements: *70341804462180
91
+ description: Conversations is a messaging system that enables users of devise-based
92
+ Rails applications to exchanges messages with any other user. It supports conversations
93
+ with multiple participants.
92
94
  email:
93
95
  - patrick@bartels.ug
94
96
  executables: []
@@ -118,6 +120,7 @@ files:
118
120
  - app/views/conversations/conversations/new.html.erb
119
121
  - app/views/conversations/user_conversations/index.html.erb
120
122
  - app/views/conversations/user_conversations/show.html.erb
123
+ - config/locales/de.yml
121
124
  - config/routes.rb
122
125
  - conversations.gemspec
123
126
  - lib/conversations.rb
@@ -213,18 +216,24 @@ required_ruby_version: !ruby/object:Gem::Requirement
213
216
  - - ! '>='
214
217
  - !ruby/object:Gem::Version
215
218
  version: '0'
219
+ segments:
220
+ - 0
221
+ hash: 2920880207248402247
216
222
  required_rubygems_version: !ruby/object:Gem::Requirement
217
223
  none: false
218
224
  requirements:
219
225
  - - ! '>='
220
226
  - !ruby/object:Gem::Version
221
227
  version: '0'
228
+ segments:
229
+ - 0
230
+ hash: 2920880207248402247
222
231
  requirements: []
223
232
  rubyforge_project: conversations
224
233
  rubygems_version: 1.8.10
225
234
  signing_key:
226
235
  specification_version: 3
227
- summary: Summary of Conversations.
236
+ summary: Messaging gem for rails applications
228
237
  test_files:
229
238
  - spec/dummy/Rakefile
230
239
  - spec/dummy/app/assets/javascripts/application.js