conversations 0.0.1 → 0.0.2
Sign up to get free protection for your applications and to get access to all the features.
- data/.gitignore +2 -1
- data/Gemfile.lock +82 -81
- data/README.md +24 -1
- data/app/assets/javascripts/conversations.js +4 -1
- data/app/assets/stylesheets/conversations.css +11 -1
- data/app/controllers/conversations/conversations_controller.rb +3 -2
- data/app/models/conversations/conversation.rb +1 -1
- data/app/models/conversations/message.rb +1 -1
- data/app/views/conversations/conversations/new.html.erb +11 -1
- data/app/views/conversations/user_conversations/index.html.erb +2 -4
- data/app/views/conversations/user_conversations/show.html.erb +20 -19
- data/config/locales/de.yml +28 -0
- data/config/routes.rb +3 -3
- data/conversations.gemspec +4 -4
- data/lib/conversations/version.rb +1 -1
- data/spec/integration/user_conversations_controller_spec.rb +6 -6
- metadata +29 -20
data/.gitignore
CHANGED
data/Gemfile.lock
CHANGED
@@ -1,43 +1,43 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
conversations (0.0.
|
5
|
-
jquery-rails (~> 1.
|
6
|
-
rails (~> 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.
|
12
|
-
actionpack (= 3.
|
13
|
-
mail (~> 2.
|
14
|
-
actionpack (3.
|
15
|
-
activemodel (= 3.
|
16
|
-
activesupport (= 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
|
-
|
20
|
-
rack (~> 1.
|
21
|
-
rack-cache (~> 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.
|
25
|
-
activemodel (3.
|
26
|
-
activesupport (= 3.
|
23
|
+
sprockets (~> 2.1.3)
|
24
|
+
activemodel (3.2.8)
|
25
|
+
activesupport (= 3.2.8)
|
27
26
|
builder (~> 3.0.0)
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
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.
|
35
|
-
activemodel (= 3.
|
36
|
-
activesupport (= 3.
|
37
|
-
activesupport (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
|
-
|
40
|
-
|
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.
|
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.
|
53
|
-
activesupport
|
54
|
-
factory_girl_rails (1.
|
55
|
-
factory_girl (~> 2.
|
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.
|
57
|
+
ffi (1.1.5)
|
58
58
|
hike (1.2.1)
|
59
|
-
i18n (0.6.
|
60
|
-
|
61
|
-
|
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.
|
64
|
-
|
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.
|
69
|
-
multi_json (1.
|
70
|
-
nokogiri (1.5.
|
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.
|
73
|
-
rack-cache (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.
|
80
|
+
rack-test (0.6.2)
|
80
81
|
rack (>= 1.0)
|
81
|
-
rails (3.
|
82
|
-
actionmailer (= 3.
|
83
|
-
actionpack (= 3.
|
84
|
-
activerecord (= 3.
|
85
|
-
activeresource (= 3.
|
86
|
-
activesupport (= 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.
|
89
|
-
railties (3.
|
90
|
-
actionpack (= 3.
|
91
|
-
activesupport (= 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 (
|
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.
|
100
|
-
rspec-core (~> 2.
|
101
|
-
rspec-expectations (~> 2.
|
102
|
-
rspec-mocks (~> 2.
|
103
|
-
rspec-core (2.
|
104
|
-
rspec-expectations (2.
|
105
|
-
diff-lcs (~> 1.1.
|
106
|
-
rspec-mocks (2.
|
107
|
-
rspec-rails (2.
|
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.
|
112
|
-
rubyzip (0.9.
|
113
|
-
selenium-webdriver (2.
|
112
|
+
rspec (~> 2.11.0)
|
113
|
+
rubyzip (0.9.9)
|
114
|
+
selenium-webdriver (2.25.0)
|
114
115
|
childprocess (>= 0.2.5)
|
115
|
-
|
116
|
-
multi_json (~> 1.0
|
116
|
+
libwebsocket (~> 0.1.3)
|
117
|
+
multi_json (~> 1.0)
|
117
118
|
rubyzip
|
118
|
-
simplecov (0.
|
119
|
-
multi_json (~> 1.0
|
120
|
-
simplecov-html (~> 0.
|
121
|
-
simplecov-html (0.
|
122
|
-
sprockets (2.
|
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.
|
127
|
-
thor (0.
|
127
|
+
sqlite3 (1.3.6)
|
128
|
+
thor (0.16.0)
|
128
129
|
tilt (1.3.3)
|
129
|
-
treetop (1.4.
|
130
|
+
treetop (1.4.11)
|
130
131
|
polyglot
|
131
132
|
polyglot (>= 0.3.1)
|
132
|
-
tzinfo (0.3.
|
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
|
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', {
|
4
|
+
$('#conversations_conversation_to_tokens').tokenInput('/users.json', {
|
5
|
+
crossDomain: false,
|
6
|
+
propertyToSearch: 'email'
|
7
|
+
});
|
5
8
|
});
|
@@ -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
|
17
|
-
@conversation.messages
|
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,16 @@
|
|
1
|
-
<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
|
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
|
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
|
-
<
|
4
|
-
<
|
5
|
-
|
6
|
-
<
|
7
|
-
|
8
|
-
|
9
|
-
|
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"
|
16
|
-
<div class="
|
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.
|
23
|
-
<%= f.text_area :body %>
|
24
|
+
<%= f.text_area :body, cols: 75, rows: 5 %>
|
24
25
|
</div>
|
25
|
-
|
26
|
+
<p><%= f.submit %></p>
|
26
27
|
<% end %>
|
27
28
|
|
28
29
|
<% if current_user == @conversation.user && !@conversation.read? %>
|
29
|
-
<%= link_to
|
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
|
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
|
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'
|
data/config/routes.rb
CHANGED
@@ -1,8 +1,8 @@
|
|
1
1
|
Rails.application.routes.draw do
|
2
2
|
resources :users do
|
3
|
-
resources :conversations, :
|
4
|
-
resources :conversations, :
|
5
|
-
resources :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
|
data/conversations.gemspec
CHANGED
@@ -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 = "
|
16
|
-
s.description = "
|
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.
|
26
|
-
s.add_dependency "jquery-rails", "~> 1.
|
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"
|
@@ -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('
|
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
|
45
|
-
click_link 'Mark
|
46
|
-
page.should have_content('Mark
|
47
|
-
click_link 'Mark
|
48
|
-
page.should have_content('Mark
|
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.
|
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
|
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: &
|
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.
|
21
|
+
version: 3.2.0
|
22
22
|
type: :runtime
|
23
23
|
prerelease: false
|
24
|
-
version_requirements: *
|
24
|
+
version_requirements: *70341804465420
|
25
25
|
- !ruby/object:Gem::Dependency
|
26
26
|
name: jquery-rails
|
27
|
-
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.
|
32
|
+
version: 2.1.1
|
33
33
|
type: :runtime
|
34
34
|
prerelease: false
|
35
|
-
version_requirements: *
|
35
|
+
version_requirements: *70341804464900
|
36
36
|
- !ruby/object:Gem::Dependency
|
37
37
|
name: sqlite3
|
38
|
-
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: *
|
46
|
+
version_requirements: *70341804464200
|
47
47
|
- !ruby/object:Gem::Dependency
|
48
48
|
name: rspec-rails
|
49
|
-
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: *
|
57
|
+
version_requirements: *70341804463740
|
58
58
|
- !ruby/object:Gem::Dependency
|
59
59
|
name: capybara
|
60
|
-
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: *
|
68
|
+
version_requirements: *70341804463160
|
69
69
|
- !ruby/object:Gem::Dependency
|
70
70
|
name: factory_girl_rails
|
71
|
-
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: *
|
79
|
+
version_requirements: *70341804462700
|
80
80
|
- !ruby/object:Gem::Dependency
|
81
81
|
name: simplecov
|
82
|
-
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: *
|
91
|
-
description:
|
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:
|
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
|