tkh_mailing_list 0.10.7 → 0.10.8
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 +4 -4
- data/CHANGELOG.md +7 -0
- data/app/controllers/profiles_controller.rb +3 -2
- data/app/views/profiles/edit.html.erb +1 -1
- data/lib/tkh_mailing_list/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 79e7f2d1bcf1082d3e6cbb42d3d1e43beab37915
|
|
4
|
+
data.tar.gz: bc8e8b09e5c8a6db8476740a7fc31d62cc4de28d
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 197b80d185e0ef02fa998073c8c58cf88b7d16b84a6ee103e13c2ffe20169107edb3e9f4f11dfeb11dce7b8d1aa8ab480c824959d00a1230c4800ac154628150
|
|
7
|
+
data.tar.gz: 2252628d85d811eea547a4fc0a3437cc801f268a54e2de6311d27d1558e664bd4254dc72bec6f5ced9b62c1c93e20f3b24e2d7898ab8b3422b4d0ed22507eac9
|
data/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,13 @@
|
|
|
2
2
|
|
|
3
3
|
|
|
4
4
|
|
|
5
|
+
## 0.10.8
|
|
6
|
+
|
|
7
|
+
* Removed html_safe method from flash messages in profiles update method. Message is rawified in tkh_toolbox gem.
|
|
8
|
+
* Corrected the profile form twitter handle hint.
|
|
9
|
+
* Create activity feed item upon profile updates.
|
|
10
|
+
|
|
11
|
+
|
|
5
12
|
## 0.10.7
|
|
6
13
|
|
|
7
14
|
* Added navigation around show and edit views.
|
|
@@ -15,10 +15,11 @@ class ProfilesController < ApplicationController
|
|
|
15
15
|
if params[:profile][:portrait].present?
|
|
16
16
|
render :crop ## Render the view for cropping
|
|
17
17
|
else
|
|
18
|
-
|
|
18
|
+
Activity.create doer_id: current_user.id, message: "performed a profile edit. See #{view_context.link_to 'public profile', member_path(@profile)}."
|
|
19
|
+
redirect_to profile_path, notice: "<strong><span class=\"glyphicon glyphicon-ok-sign\"></span> Success!</strong> Your profile was updated."
|
|
19
20
|
end
|
|
20
21
|
else
|
|
21
|
-
render action: "edit", warning: "<strong>Attention!</strong> A problem occurred while trying to update your profile. Plese try again"
|
|
22
|
+
render action: "edit", warning: "<strong>Attention!</strong> A problem occurred while trying to update your profile. Plese try again."
|
|
22
23
|
end
|
|
23
24
|
end
|
|
24
25
|
|
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
<%= f.input :portrait %>
|
|
19
19
|
<%= f.input :website_url, hint: "DO include http:// or https://" %>
|
|
20
20
|
<%= f.input :facebook_url, hint: "DO include http:// or https://" %>
|
|
21
|
-
<%= f.input :twitter_handle, hint: "
|
|
21
|
+
<%= f.input :twitter_handle, hint: "Only the handle. The part after @" %>
|
|
22
22
|
<%= f.input :google_plus_url, label: "Google+ url", hint: "DO include http:// or https://" %>
|
|
23
23
|
|
|
24
24
|
<%= f.button :submit, :class => 'btn btn-primary' %>
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: tkh_mailing_list
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.10.
|
|
4
|
+
version: 0.10.8
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Swami Atma
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2014-09-
|
|
11
|
+
date: 2014-09-23 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: bundler
|