tkh_mailing_list 0.10.7 → 0.10.8

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: 17b1eafe1402fbae92b889ac767032e5a0ab8cfa
4
- data.tar.gz: 81c2b693c68577d316994b5f94ac7ec080d9b661
3
+ metadata.gz: 79e7f2d1bcf1082d3e6cbb42d3d1e43beab37915
4
+ data.tar.gz: bc8e8b09e5c8a6db8476740a7fc31d62cc4de28d
5
5
  SHA512:
6
- metadata.gz: aa06691192267016881a349849864bd1a47aa2014eece1cc593d044c341add50054759e75ab0e117d13e150955eae097802930677db47d05329704749a0783cd
7
- data.tar.gz: f69d003e19f4f8260def795efec2ea74a4477cf027f225f6826a8ea5221392e417bfa1692c1106d1d0f7289a1928a3a62877d45479e31a155278837f237777cb
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
- redirect_to profile_path, notice: "<strong><span class=\"glyphicon glyphicon-ok-sign\"></span>&nbsp;&nbsp;Success!</strong> Your profile was updated.".html_safe
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>&nbsp;&nbsp;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".html_safe
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: "DO include http:// or https://" %>
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' %>
@@ -1,3 +1,3 @@
1
1
  module TkhMailingList
2
- VERSION = "0.10.7"
2
+ VERSION = "0.10.8"
3
3
  end
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.7
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-22 00:00:00.000000000 Z
11
+ date: 2014-09-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler