chatty 0.0.3 → 0.0.4

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: 87ca9a98ed8b49169259e0ca3a389af4abad3c52
4
- data.tar.gz: 36c4b26cb9ba44b6d77f54edbc8cbd8810ee9628
3
+ metadata.gz: ccddaa579727156b1a72b0b4aba0808818d578e2
4
+ data.tar.gz: a957fdc99aa2cf4fd9de6759e0afd4e23596e49b
5
5
  SHA512:
6
- metadata.gz: 9e05424786e767ef69a3095ca45ac2adc1798b22473f0db8bd0536d6f481363805ce97e6c11a0ee98168e0fd527cb67429f6fcb0407034bbc82b9ba5668d6ca4
7
- data.tar.gz: 6ced35306e8623cdd13f9f3933afd4923fde8336b515b365950dd0c8bc49671eb9382fdf57966004143ab9821182c08a905f04f895bf724e1e041d5e4b9b1ff0
6
+ metadata.gz: 22ca590ace0f3f6e3c8e66d785a8d6958455682d720aed0d8937f92d2c490afc9be4da025c512568a7f163c92c0c90358db607589f03d99964a4f96118bcb696
7
+ data.tar.gz: 9ca27aef9394703ae5cf9bf62c0d916ef1905b756f9aed185a27f15497c86ccb90dae5f21df81c325643dd586fa611e1ee44453cb884e9b68162f34b6aeff396
@@ -2,7 +2,7 @@ $ ->
2
2
  # Adds the messages element and waits for the chat to be handled.
3
3
  chatty_init = (chat) ->
4
4
  chat.addClass("chatty_chat_" + chat.data("chat-id"))
5
-
5
+
6
6
  messages = $("<div />", {
7
7
  "class": "chatty_messages",
8
8
  "text": chat.data("waiting-to-connect-message"),
@@ -11,7 +11,7 @@ $ ->
11
11
  }
12
12
  })
13
13
  chat.append(messages)
14
-
14
+
15
15
  error = $("<div />", {
16
16
  "class": "chatty_not_allowed_to_add_messages",
17
17
  "text": chat.data("not-allowed-to-add-messages-message"),
@@ -20,7 +20,7 @@ $ ->
20
20
  }
21
21
  })
22
22
  chat.prepend(error)
23
-
23
+
24
24
  error = $("<div />", {
25
25
  "class": "chatty_not_signed_in_error",
26
26
  "text": chat.data("need-to-be-signed-in-message"),
@@ -29,68 +29,68 @@ $ ->
29
29
  }
30
30
  })
31
31
  chat.prepend(error)
32
-
32
+
33
33
  chatty_handled chat, ->
34
34
  chatty_init_messages chat, ->
35
35
  chatty_init_form chat, ->
36
36
  chatty_refresh_messages(chat)
37
37
  chatty_check_new_messages(chat)
38
-
38
+
39
39
  chatty_check_new_messages = (chat) ->
40
40
  setTimeout((->
41
41
  chatty_refresh_messages(chat)
42
-
42
+
43
43
  # Handle changed chat state.
44
44
  chatty_with_state chat, (data) ->
45
45
  if data.chat.state != "handled"
46
46
  chatty_hide_form() unless chatty_form_hidden()
47
47
  else
48
48
  chatty_show_form() if chatty_form_hidden()
49
-
49
+
50
50
  if data.chat.state == "closed"
51
51
  chatty_show_not_allowed_to_add_messages() if chatty_not_allowed_to_add_messages_hidden()
52
52
  else
53
53
  chatty_hide_not_allowed_to_add_messages() unless chatty_not_allowed_to_add_messages_hidden()
54
-
54
+
55
55
  chatty_check_new_messages(chat)
56
56
  ), 1000)
57
-
57
+
58
58
  chatty_show_not_allowed_to_add_messages = (chat) ->
59
59
  $(".chatty_not_allowed_to_add_messages", chat).slideDown("fast")
60
-
60
+
61
61
  chatty_hide_not_allowed_to_add_messages = (chat) ->
62
62
  $(".chatty_not_allowed_to_add_messages", chat).slideUp("fast")
63
-
63
+
64
64
  chatty_not_allowed_to_add_messages_hidden = (chat) ->
65
65
  $(".chatty_not_allowed_to_add_messages", chat).css("display") != "block"
66
-
66
+
67
67
  chatty_hide_form = (chat) ->
68
68
  $(".chatty_form", chat).slideUp("fast") unless chatty_form_hidden()
69
-
69
+
70
70
  chatty_form_hidden = (chat) ->
71
71
  $(".chatty_form", chat).css("display") != "block"
72
-
72
+
73
73
  chatty_show_form = (chat) ->
74
74
  $(".chatty_form", chat).slideDown("fast") if chatty_form_hidden()
75
-
75
+
76
76
  chatty_with_state = (chat, callback) ->
77
77
  $.ajax({type: "GET", url: "/chatty/chats/" + chat.data("chat-id"), cache: false, async: true, dataType: "json", success: (data) ->
78
78
  callback(data)
79
79
  })
80
-
80
+
81
81
  # Waits for the chat to be handled, loads the messages and calls back.
82
82
  chatty_handled = (chat, callback) ->
83
83
  chatty_show_messages()
84
84
  messages = $(".chatty_messages", chat)
85
-
85
+
86
86
  $.ajax({type: "GET", url: "/chatty/chats/" + chat.data("chat-id"), cache: false, async: true, dataType: "json", success: (data) ->
87
87
  chat.data("state", data.chat.state)
88
-
88
+
89
89
  if data.chat.state == "new"
90
90
  messages.text(chat.data("waiting-to-be-handled-message"))
91
91
  else if data.chat.state == "closed"
92
92
  chatty_show_not_allowed_to_add_messages()
93
-
93
+
94
94
  if data.chat.state == "handled" || data.chat.state == "closed"
95
95
  callback.call()
96
96
  else
@@ -98,7 +98,7 @@ $ ->
98
98
  chatty_handled(chat, callback)
99
99
  ), 500)
100
100
  })
101
-
101
+
102
102
  # Inits all messages and begin new messages callback.
103
103
  chatty_init_messages = (chat, callback) ->
104
104
  chat.data("last-message-id", 0)
@@ -108,27 +108,27 @@ $ ->
108
108
  $.ajax({type: "GET", url: "/chatty/messages/?q[chat_id_eq]=" + chat.data("chat-id"), cache: false, async: true, dataType: "json", success: (data) ->
109
109
  for message in data.messages
110
110
  chatty_add_message(chat, message)
111
-
111
+
112
112
  callback.call()
113
113
  })
114
-
114
+
115
115
  chatty_add_message = (chat, message) ->
116
116
  msg_id = parseInt(message.id)
117
117
  message_class = "chatty_message_" + msg_id
118
-
118
+
119
119
  # Dont continue if message already exists!
120
120
  return if $("." + message_class, chat).length > 0
121
-
121
+
122
122
  last_id = parseInt(chat.data("last-message-id"))
123
123
  chat.data("last-message-id", msg_id) if msg_id > last_id
124
124
  messages_container = $(".chatty_messages", chat)
125
125
  message_class = "chatty_message_" + msg_id
126
-
126
+
127
127
  if message.self
128
128
  self_class = "chatty_message_self"
129
129
  else
130
130
  self_class = "chatty_message_other"
131
-
131
+
132
132
  container = $("<div />", {
133
133
  "class": "chatty_message " + message_class + " " + self_class,
134
134
  "data": {
@@ -139,45 +139,45 @@ $ ->
139
139
  "display": "none"
140
140
  }
141
141
  })
142
-
142
+
143
143
  user_div = $("<div />", {
144
144
  "class": "chatty_message_user",
145
145
  "text": message.user_name
146
146
  })
147
147
  container.append(user_div)
148
-
149
- message_div = $("<div />", {
150
- "class": "chatty_message_message",
151
- "text": message.message
152
- })
153
- container.append(message_div)
154
-
148
+
155
149
  created_at_div = $("<div />", {
156
150
  "class": "chatty_message_created_at",
157
151
  "text": message.created_at
158
152
  })
159
153
  container.append(created_at_div)
160
-
154
+
155
+ message_div = $("<div />", {
156
+ "class": "chatty_message_message",
157
+ "text": message.message
158
+ })
159
+ container.append(message_div)
160
+
161
161
  messages_container.prepend(container)
162
162
  container.slideDown("fast")
163
-
163
+
164
164
  chatty_refresh_messages = (chat, callback) ->
165
165
  last_message_id = chat.data("last-message-id")
166
-
166
+
167
167
  $.ajax({type: "GET", url: "/chatty/messages/?q[id_gt]=" + chat.data("last-message-id") + "&q[chat_id_eq]=" + chat.data("chat-id"), cache: false, async: true, dataType: "json", success: (data) ->
168
168
  for message in data.messages
169
169
  chatty_add_message(chat, message)
170
170
  })
171
-
171
+
172
172
  chatty_show_not_signed_in_error = (chat) ->
173
173
  $(".chatty_not_signed_in_error", chat).slideDown("fast")
174
-
174
+
175
175
  chatty_show_cant_add_messages_error = (chat) ->
176
176
  $(".chatty_not_allowed_to_add_messages", chat).slideDown("fast")
177
-
177
+
178
178
  chatty_show_messages = (chat) ->
179
179
  $(".chatty_messages", chat).slideDown("fast")
180
-
180
+
181
181
  chatty_init_form = (chat, callback) ->
182
182
  if !chat.data("signed-in")
183
183
  chatty_show_not_signed_in_error()
@@ -196,25 +196,29 @@ $ ->
196
196
  "display": "none"
197
197
  }
198
198
  })
199
+
200
+ send_button = $(".chatty_send_msg", form_container)
201
+ send_button.val(chat.data("send-msg-text")) if chat.data("send-msg-text")
202
+
199
203
  chat.prepend(form_container)
200
204
  form_container.slideDown("fast")
201
-
205
+
202
206
  $("form", form_container).bind("ajax:complete", (env, xhr, status) ->
203
207
  textfield = $("textarea, input[type=text]", chat)
204
208
  chatty_refresh_messages(chat)
205
209
  res = $.parseJSON(xhr.responseText)
206
-
210
+
207
211
  if !res.success
208
212
  alert(res.errors)
209
213
  else
210
214
  textfield.val("")
211
-
215
+
212
216
  textfield.focus()
213
217
  )
214
-
218
+
215
219
  callback.call()
216
220
  })
217
-
221
+
218
222
  $(".chatty_chat").each ->
219
223
  chat = $(this)
220
224
  chatty_init(chat)
@@ -1,17 +1,26 @@
1
1
  module Chatty::ChatsHelper
2
- def chatty_chat(chat)
2
+ CHATTY_CHAT_ALLOWED_KEYS = [:data]
3
+ def chatty_chat chat, args = {}
4
+ args.each do |key, val|
5
+ raise ArgumentError, "Invalid key: #{key}" unless CHATTY_CHAT_ALLOWED_KEYS.include?(key)
6
+ end
7
+
8
+ data = {
9
+ chat_id: chat.id,
10
+ signed_in: signed_in?,
11
+ can_add_messages: can?(:new, Chatty::Message),
12
+ need_to_be_signed_in_message: _("You need to be signed in to write messages."),
13
+ not_allowed_to_add_messages_message: _("You are not allowed to write messages."),
14
+ waiting_to_connect_message: _("Waiting to connect..."),
15
+ waiting_to_be_handled_message: _("Waiting to be handled..."),
16
+ chat_is_closed_message: _("This chat is closed.")
17
+ }
18
+
19
+ data = data.merge(args[:data]) if args[:data]
20
+
3
21
  content_tag(:div, nil, {
4
- :class => "chatty_chat",
5
- :data => {
6
- :chat_id => chat.id,
7
- :signed_in => signed_in?,
8
- :can_add_messages => can?(:new, Chatty::Message),
9
- :need_to_be_signed_in_message => _("You need to be signed in to write messages."),
10
- :not_allowed_to_add_messages_message => _("You are not allowed to write messages."),
11
- :waiting_to_connect_message => _("Waiting to connect..."),
12
- :waiting_to_be_handled_message => _("Waiting to be handled..."),
13
- :chat_is_closed_message => _("This chat is closed.")
14
- }
22
+ class: "chatty_chat",
23
+ data: data
15
24
  })
16
25
  end
17
26
  end
@@ -1,4 +1,4 @@
1
1
  = simple_form_for @message, :remote => true do |f|
2
2
  = f.input :chat_id, :as => :hidden
3
3
  = f.input :message, :as => :string
4
- = f.submit
4
+ = f.submit class: "chatty_send_msg"
@@ -1,3 +1,3 @@
1
1
  module Chatty
2
- VERSION = "0.0.3"
2
+ VERSION = "0.0.4"
3
3
  end
metadata CHANGED
@@ -1,251 +1,251 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: chatty
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.3
4
+ version: 0.0.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Kasper Johansen
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-07-04 00:00:00.000000000 Z
11
+ date: 2014-08-28 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - '>='
17
+ - - ">="
18
18
  - !ruby/object:Gem::Version
19
19
  version: 4.0.0
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
- - - '>='
24
+ - - ">="
25
25
  - !ruby/object:Gem::Version
26
26
  version: 4.0.0
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: string-cases
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
- - - '>='
31
+ - - ">="
32
32
  - !ruby/object:Gem::Version
33
33
  version: '0'
34
34
  type: :runtime
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
- - - '>='
38
+ - - ">="
39
39
  - !ruby/object:Gem::Version
40
40
  version: '0'
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: haml-rails
43
43
  requirement: !ruby/object:Gem::Requirement
44
44
  requirements:
45
- - - '>='
45
+ - - ">="
46
46
  - !ruby/object:Gem::Version
47
47
  version: '0'
48
48
  type: :runtime
49
49
  prerelease: false
50
50
  version_requirements: !ruby/object:Gem::Requirement
51
51
  requirements:
52
- - - '>='
52
+ - - ">="
53
53
  - !ruby/object:Gem::Version
54
54
  version: '0'
55
55
  - !ruby/object:Gem::Dependency
56
56
  name: simple_form_ransack
57
57
  requirement: !ruby/object:Gem::Requirement
58
58
  requirements:
59
- - - '>='
59
+ - - ">="
60
60
  - !ruby/object:Gem::Version
61
61
  version: 0.0.3
62
62
  type: :runtime
63
63
  prerelease: false
64
64
  version_requirements: !ruby/object:Gem::Requirement
65
65
  requirements:
66
- - - '>='
66
+ - - ">="
67
67
  - !ruby/object:Gem::Version
68
68
  version: 0.0.3
69
69
  - !ruby/object:Gem::Dependency
70
70
  name: public_activity
71
71
  requirement: !ruby/object:Gem::Requirement
72
72
  requirements:
73
- - - '>='
73
+ - - ">="
74
74
  - !ruby/object:Gem::Version
75
75
  version: '0'
76
76
  type: :runtime
77
77
  prerelease: false
78
78
  version_requirements: !ruby/object:Gem::Requirement
79
79
  requirements:
80
- - - '>='
80
+ - - ">="
81
81
  - !ruby/object:Gem::Version
82
82
  version: '0'
83
83
  - !ruby/object:Gem::Dependency
84
84
  name: plugin_migrator
85
85
  requirement: !ruby/object:Gem::Requirement
86
86
  requirements:
87
- - - '>='
87
+ - - ">="
88
88
  - !ruby/object:Gem::Version
89
89
  version: 0.0.1
90
90
  type: :runtime
91
91
  prerelease: false
92
92
  version_requirements: !ruby/object:Gem::Requirement
93
93
  requirements:
94
- - - '>='
94
+ - - ">="
95
95
  - !ruby/object:Gem::Version
96
96
  version: 0.0.1
97
97
  - !ruby/object:Gem::Dependency
98
98
  name: devise
99
99
  requirement: !ruby/object:Gem::Requirement
100
100
  requirements:
101
- - - '>='
101
+ - - ">="
102
102
  - !ruby/object:Gem::Version
103
103
  version: '0'
104
104
  type: :runtime
105
105
  prerelease: false
106
106
  version_requirements: !ruby/object:Gem::Requirement
107
107
  requirements:
108
- - - '>='
108
+ - - ">="
109
109
  - !ruby/object:Gem::Version
110
110
  version: '0'
111
111
  - !ruby/object:Gem::Dependency
112
112
  name: ransack
113
113
  requirement: !ruby/object:Gem::Requirement
114
114
  requirements:
115
- - - '>='
115
+ - - ">="
116
116
  - !ruby/object:Gem::Version
117
117
  version: '0'
118
118
  type: :runtime
119
119
  prerelease: false
120
120
  version_requirements: !ruby/object:Gem::Requirement
121
121
  requirements:
122
- - - '>='
122
+ - - ">="
123
123
  - !ruby/object:Gem::Version
124
124
  version: '0'
125
125
  - !ruby/object:Gem::Dependency
126
126
  name: gettext_simple_rails
127
127
  requirement: !ruby/object:Gem::Requirement
128
128
  requirements:
129
- - - '>='
129
+ - - ">="
130
130
  - !ruby/object:Gem::Version
131
131
  version: 0.0.12
132
132
  type: :runtime
133
133
  prerelease: false
134
134
  version_requirements: !ruby/object:Gem::Requirement
135
135
  requirements:
136
- - - '>='
136
+ - - ">="
137
137
  - !ruby/object:Gem::Version
138
138
  version: 0.0.12
139
139
  - !ruby/object:Gem::Dependency
140
140
  name: simple_form
141
141
  requirement: !ruby/object:Gem::Requirement
142
142
  requirements:
143
- - - '>='
143
+ - - ">="
144
144
  - !ruby/object:Gem::Version
145
145
  version: '0'
146
146
  type: :runtime
147
147
  prerelease: false
148
148
  version_requirements: !ruby/object:Gem::Requirement
149
149
  requirements:
150
- - - '>='
150
+ - - ">="
151
151
  - !ruby/object:Gem::Version
152
152
  version: '0'
153
153
  - !ruby/object:Gem::Dependency
154
154
  name: sass-rails
155
155
  requirement: !ruby/object:Gem::Requirement
156
156
  requirements:
157
- - - '>='
157
+ - - ">="
158
158
  - !ruby/object:Gem::Version
159
159
  version: '0'
160
160
  type: :runtime
161
161
  prerelease: false
162
162
  version_requirements: !ruby/object:Gem::Requirement
163
163
  requirements:
164
- - - '>='
164
+ - - ">="
165
165
  - !ruby/object:Gem::Version
166
166
  version: '0'
167
167
  - !ruby/object:Gem::Dependency
168
168
  name: state_machine
169
169
  requirement: !ruby/object:Gem::Requirement
170
170
  requirements:
171
- - - '>='
171
+ - - ">="
172
172
  - !ruby/object:Gem::Version
173
173
  version: '0'
174
174
  type: :runtime
175
175
  prerelease: false
176
176
  version_requirements: !ruby/object:Gem::Requirement
177
177
  requirements:
178
- - - '>='
178
+ - - ">="
179
179
  - !ruby/object:Gem::Version
180
180
  version: '0'
181
181
  - !ruby/object:Gem::Dependency
182
182
  name: cancan
183
183
  requirement: !ruby/object:Gem::Requirement
184
184
  requirements:
185
- - - '>='
185
+ - - ">="
186
186
  - !ruby/object:Gem::Version
187
187
  version: '0'
188
188
  type: :runtime
189
189
  prerelease: false
190
190
  version_requirements: !ruby/object:Gem::Requirement
191
191
  requirements:
192
- - - '>='
192
+ - - ">="
193
193
  - !ruby/object:Gem::Version
194
194
  version: '0'
195
195
  - !ruby/object:Gem::Dependency
196
196
  name: sqlite3
197
197
  requirement: !ruby/object:Gem::Requirement
198
198
  requirements:
199
- - - '>='
199
+ - - ">="
200
200
  - !ruby/object:Gem::Version
201
201
  version: '0'
202
202
  type: :development
203
203
  prerelease: false
204
204
  version_requirements: !ruby/object:Gem::Requirement
205
205
  requirements:
206
- - - '>='
206
+ - - ">="
207
207
  - !ruby/object:Gem::Version
208
208
  version: '0'
209
209
  - !ruby/object:Gem::Dependency
210
210
  name: rspec-rails
211
211
  requirement: !ruby/object:Gem::Requirement
212
212
  requirements:
213
- - - '>='
213
+ - - ">="
214
214
  - !ruby/object:Gem::Version
215
215
  version: '0'
216
216
  type: :development
217
217
  prerelease: false
218
218
  version_requirements: !ruby/object:Gem::Requirement
219
219
  requirements:
220
- - - '>='
220
+ - - ">="
221
221
  - !ruby/object:Gem::Version
222
222
  version: '0'
223
223
  - !ruby/object:Gem::Dependency
224
224
  name: factory_girl_rails
225
225
  requirement: !ruby/object:Gem::Requirement
226
226
  requirements:
227
- - - '>='
227
+ - - ">="
228
228
  - !ruby/object:Gem::Version
229
229
  version: '0'
230
230
  type: :development
231
231
  prerelease: false
232
232
  version_requirements: !ruby/object:Gem::Requirement
233
233
  requirements:
234
- - - '>='
234
+ - - ">="
235
235
  - !ruby/object:Gem::Version
236
236
  version: '0'
237
237
  - !ruby/object:Gem::Dependency
238
238
  name: forgery
239
239
  requirement: !ruby/object:Gem::Requirement
240
240
  requirements:
241
- - - '>='
241
+ - - ">="
242
242
  - !ruby/object:Gem::Version
243
243
  version: '0'
244
244
  type: :development
245
245
  prerelease: false
246
246
  version_requirements: !ruby/object:Gem::Requirement
247
247
  requirements:
248
- - - '>='
248
+ - - ">="
249
249
  - !ruby/object:Gem::Version
250
250
  version: '0'
251
251
  description: Making it easy to set it up a live chat on your website.
@@ -255,35 +255,35 @@ executables: []
255
255
  extensions: []
256
256
  extra_rdoc_files: []
257
257
  files:
258
- - app/models/chatty/message.rb
259
- - app/models/chatty/chat.rb
260
- - app/assets/stylesheets/scaffold.css
258
+ - MIT-LICENSE
259
+ - Rakefile
260
+ - app/assets/javascripts/chatty.js.coffee
261
+ - app/assets/javascripts/chatty/application.js
262
+ - app/assets/javascripts/chatty/chats.js
263
+ - app/assets/stylesheets/chatty.css.scss
261
264
  - app/assets/stylesheets/chatty/application.css
262
265
  - app/assets/stylesheets/chatty/chats.css
263
- - app/assets/stylesheets/chatty.css.scss
264
- - app/assets/javascripts/chatty/chats.js
265
- - app/assets/javascripts/chatty/application.js
266
- - app/assets/javascripts/chatty.js.coffee
267
- - app/helpers/chatty/application_helper.rb
268
- - app/helpers/chatty/chats_helper.rb
266
+ - app/assets/stylesheets/scaffold.css
267
+ - app/controllers/chatty/admin_chats_controller.rb
269
268
  - app/controllers/chatty/application_controller.rb
270
269
  - app/controllers/chatty/chats_controller.rb
271
270
  - app/controllers/chatty/messages_controller.rb
272
- - app/controllers/chatty/admin_chats_controller.rb
271
+ - app/helpers/chatty/application_helper.rb
272
+ - app/helpers/chatty/chats_helper.rb
273
+ - app/models/chatty/chat.rb
274
+ - app/models/chatty/message.rb
273
275
  - app/views/chatty/chats/index.html.haml
274
276
  - app/views/chatty/chats/show.html.haml
275
277
  - app/views/chatty/messages/_form.html.haml
276
278
  - app/views/chatty/messages/new.html.haml
277
279
  - config/routes.rb
278
- - db/plugin_migrate/20140521072854_create_activities.rb
279
280
  - db/plugin_migrate/20140520083027_create_chatty_messages.rb
280
281
  - db/plugin_migrate/20140520083510_create_chatty_chats.rb
282
+ - db/plugin_migrate/20140521072854_create_activities.rb
283
+ - lib/chatty.rb
281
284
  - lib/chatty/engine.rb
282
285
  - lib/chatty/version.rb
283
- - lib/chatty.rb
284
286
  - lib/tasks/chatty_tasks.rake
285
- - MIT-LICENSE
286
- - Rakefile
287
287
  homepage: https://www.github.com/kaspernj/chatty
288
288
  licenses: []
289
289
  metadata: {}
@@ -293,17 +293,17 @@ require_paths:
293
293
  - lib
294
294
  required_ruby_version: !ruby/object:Gem::Requirement
295
295
  requirements:
296
- - - '>='
296
+ - - ">="
297
297
  - !ruby/object:Gem::Version
298
298
  version: '0'
299
299
  required_rubygems_version: !ruby/object:Gem::Requirement
300
300
  requirements:
301
- - - '>='
301
+ - - ">="
302
302
  - !ruby/object:Gem::Version
303
303
  version: '0'
304
304
  requirements: []
305
305
  rubyforge_project:
306
- rubygems_version: 2.0.14
306
+ rubygems_version: 2.4.0
307
307
  signing_key:
308
308
  specification_version: 4
309
309
  summary: Chatty is a chat extention for Rails