tkh_mailing_list 0.10.4 → 0.10.5

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: bb3e952226b00e6a5c4dcb53a28a92d74b8a4862
4
- data.tar.gz: f38bb4191825ece8deaf91df92a99b8788b48bad
3
+ metadata.gz: dcef8d93b8c6a00a140bbdc8cf6a305070fdb0d8
4
+ data.tar.gz: 692a650765ad08a5fb8e3645a8964e83818b76d4
5
5
  SHA512:
6
- metadata.gz: 8fbe55b3969a806a93c04b6dd7fc4edcafc535633edc70a7558d552a19fd0c36ee9b1163abf2d12a51f7cbee17252d3759c09508fa265cadc1ae1e47d2a56d2e
7
- data.tar.gz: bcdb2a06f57193881f4c93756a06782084c2719f123b1a4e8f9c8252440d3917b0978bbb19a153487576297616c7a6abee8ec346894959a60501989d0aa9f3fe
6
+ metadata.gz: 277138d76688c54ba117f73a3486e81ec5c0807b5a851929b33ff44e08472f9cd2ec3660c2454abbe6b9afa193d4d0441772a5eb3a6f0a0a2de238c137678b42
7
+ data.tar.gz: 074ed0fa450012d75f9c32686ca235ab4bc473ad772c208d6cda058cdbe19d6719bc22d0ba026855ed4068f47d2721730c841da8b9bacbdaa4ab1d02fcd6d22c
data/CHANGELOG.md CHANGED
@@ -2,6 +2,11 @@
2
2
 
3
3
 
4
4
 
5
+ ## 0.10.5
6
+
7
+ * Debugged the my profile view when urls are nil.
8
+
9
+
5
10
  ## 0.10.4
6
11
 
7
12
  * Fixed a bug in private profile
@@ -16,10 +16,10 @@
16
16
  <%= f.input :last_name, label: t('activerecord.attributes.users.last_name') %>
17
17
  <%= f.input :other_name, label: render( 'shared/other_name_label') %>
18
18
  <%= f.input :portrait %>
19
- <%= f.input :website_url %>
20
- <%= f.input :facebook_url %>
21
- <%= f.input :twitter_handle %>
22
- <%= f.input :google_plus_url, label: "Google+ url" %>
19
+ <%= f.input :website_url, hint: "DO include http:// or https://" %>
20
+ <%= f.input :facebook_url, hint: "DO include http:// or https://" %>
21
+ <%= f.input :twitter_handle, hint: "DO include http:// or https://" %>
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' %>
25
25
  <% end %>
@@ -35,10 +35,10 @@
35
35
  <tr><td class="key">first name</td><td class="value"><%= @profile.first_name %></td></tr>
36
36
  <tr><td class="key">last name</td><td class="value"><%= @profile.last_name %></td></tr>
37
37
  <tr><td class="key"><%= render 'shared/other_name_label' %></td><td class="value"><%= @profile.other_name %></td></tr>
38
- <tr><td class="key">website</td><td class="value"><%= link_to "#{URI(student.website_url).host}#{URI(student.website_url).path}#{URI(student.website_url).query}#{URI(student.website_url).fragment}", student.website_url, rel: 'nofollow' %></td></tr>
39
- <tr><td class="key">facebook</td><td class="value"><%= link_to "#{URI(student.facebook_url).host}#{URI(student.facebook_url).path}#{URI(student.facebook_url).query}#{URI(student.facebook_url).fragment}", student.facebook_url, rel: 'nofollow' %></td></tr>
40
- <tr><td class="key">twitter</td><td class="value"><%= link_to student.twitter_handle, "https://twitter.com/#{student.twitter_handle}", rel: 'nofollow' %></td></tr>
41
- <tr><td class="key">google+</td><td class="value"><%= link_to "#{URI(student.google_plus_url).host}#{URI(student.google_plus_url).path}#{URI(student.google_plus_url).query}#{URI(student.google_plus_url).fragment}", student.google_plus_url, rel: 'nofollow' %></td></tr>
38
+ <tr><td class="key">website</td><td class="value"><%= link_to "#{URI(student.website_url).host}#{URI(student.website_url).path}#{URI(student.website_url).query}#{URI(student.website_url).fragment}", student.website_url, rel: 'nofollow' unless student.website_url.nil? %></td></tr>
39
+ <tr><td class="key">facebook</td><td class="value"><%= link_to "#{URI(student.facebook_url).host}#{URI(student.facebook_url).path}#{URI(student.facebook_url).query}#{URI(student.facebook_url).fragment}", student.facebook_url, rel: 'nofollow' unless student.facebook_url.nil? %></td></tr>
40
+ <tr><td class="key">twitter</td><td class="value"><%= link_to student.twitter_handle, "https://twitter.com/#{student.twitter_handle}", rel: 'nofollow' unless student.twitter_handle.nil? %></td></tr>
41
+ <tr><td class="key">google+</td><td class="value"><%= link_to "#{URI(student.google_plus_url).host}#{URI(student.google_plus_url).path}#{URI(student.google_plus_url).query}#{URI(student.google_plus_url).fragment}", student.google_plus_url, rel: 'nofollow' unless student.google_plus_url.nil? %></td></tr>
42
42
  <%= render 'custom_public_profile_attributes', member: student %>
43
43
 
44
44
  </tbody>
@@ -16,7 +16,7 @@ module TkhMailingList
16
16
  end
17
17
 
18
18
  def copy_migrations
19
- puts 'creating user migration'
19
+ puts 'creating teacher and profile migrations'
20
20
  migration_template "add_teacher_status_to_users.rb", "db/migrate/add_teacher_status_to_users.rb"
21
21
  migration_template "add_profile_fields_to_users.rb", "db/migrate/add_profile_fields_to_users.rb"
22
22
  end
@@ -1,3 +1,3 @@
1
1
  module TkhMailingList
2
- VERSION = "0.10.4"
2
+ VERSION = "0.10.5"
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.4
4
+ version: 0.10.5
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-02 00:00:00.000000000 Z
11
+ date: 2014-09-09 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler