gorg_slack_chat 0.1.0 → 0.1.1
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:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: fc9e6e88f2da8eb418924b253fbd8eb9ad83b132
|
|
4
|
+
data.tar.gz: 5ec163faba12b61c2cd681a547c78e4efcd63c5a
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: d900a15f9168e176e55d81f148b7649fd498a4b58d8588b89fe3130cc7d5016916c58f1f9f674e40752213bf310dfd6abfca188c52b2afdfc75d37764e955b99
|
|
7
|
+
data.tar.gz: c8e6e2f774604cac1bf26df90319a380a8a7bc60318b080dafc924413c372f4f8bad6962d796d128ce01adb0a7b4269365be4311bced69c50c307d9e9ad7475f
|
|
@@ -4,13 +4,13 @@ module GorgSlackChatHelper
|
|
|
4
4
|
render partial:'shared/tags_for_gorg_slack_chat'
|
|
5
5
|
end
|
|
6
6
|
|
|
7
|
-
def gorg_slack_chat
|
|
7
|
+
def gorg_slack_chat(name: nil, id: nil, link: nil )
|
|
8
8
|
session[:foo] = "bar" #Initialize session if not set
|
|
9
9
|
|
|
10
10
|
opts= {
|
|
11
|
-
user_name: "Utilisateur Anonyme - " + session.id[0..4].upcase,
|
|
12
|
-
user_id: "",
|
|
13
|
-
user_link: ""
|
|
11
|
+
user_name: (name||"Utilisateur Anonyme - " + session.id[0..4].upcase),
|
|
12
|
+
user_id: (id||""),
|
|
13
|
+
user_link: (link||"")
|
|
14
14
|
}
|
|
15
15
|
|
|
16
16
|
render partial:'shared/gorg_slack_chat', :locals => opts
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
<div class="message-box" data-toggle="tooltip" title="
|
|
1
|
+
<div class="message-box" data-toggle="tooltip" title="<%= t('slack_chat.button_title')%>">
|
|
2
2
|
<a href="javascript:void(0);" class="message-box-icon">
|
|
3
3
|
?
|
|
4
4
|
<div class="badge badge-danger slack-message-count"></div>
|
metadata
CHANGED
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: gorg_slack_chat
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.1.
|
|
4
|
+
version: 0.1.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Alexandre Narbonne
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2017-01-
|
|
11
|
+
date: 2017-01-18 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.2.3
|
|
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.2.3
|
|
27
27
|
- !ruby/object:Gem::Dependency
|