wbase 0.3.3 → 0.3.4

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: ad2a9b36aea99371640c52ac5827de5f38f21193
4
- data.tar.gz: b5b04938aa40f849c1fc99646cccd880e941d499
3
+ metadata.gz: b18caa53c672442509c4d79f1896f07bd38dbf70
4
+ data.tar.gz: 032b2f33cf59011e381281ea35077272aadf36a3
5
5
  SHA512:
6
- metadata.gz: af51c331e94559a5db9c2b24e923ae5467761acdfd5304a2957c91ded62c17d9d81413493cea0ecbc2e85f443c61accc372d2fc02946d6717b1250dc970361e8
7
- data.tar.gz: ecf242d8e03da26e8d30279e903a9ea19ae4065206c23b21bc85bee269401d042e67ddb3247d637bf8551acd764c6b5afdb4703839f4477b30c589e9a64c3da0
6
+ metadata.gz: 83e9b9d6855497163ec867cfd48d762463e31a61a4af66d977a3e17a30b4e4d1377ea5e4f9a229e1700c59dc3c3bbb362982225eea7065ba67e3f837972b6e2a
7
+ data.tar.gz: 0fea304b98a1b57da47dd982c80a5dcf1c795960e3fc016624f7efbe456fa4f3b8395911a28c93996d1b73c062635e7a7d5b8629bcf1f7433389815c51d6aef3
@@ -15,7 +15,7 @@ module Wbase
15
15
  if @user.save
16
16
  login(@user)
17
17
  AdminMailer.new_user(@user).deliver_later
18
- CreateDripSubscriberJob.perform_later(@user.id)
18
+ # CreateDripSubscriberJob.perform_later(@user.id)
19
19
  redirect_to '/'
20
20
  else
21
21
  flash.now[:errors] = @user.errors.full_messages
@@ -1,4 +1,4 @@
1
1
  class ApplicationMailer < ActionMailer::Base
2
- default from: "from@example.com"
2
+ default from: "CJ at RoeMe <cavilla@roeme.com>"
3
3
  layout 'mailer'
4
4
  end
@@ -34,7 +34,7 @@
34
34
  <tr>
35
35
  <td class="content-block" style="font-family: sans-serif; font-size: 16px !important; vertical-align: top; color: #999999; text-align: center;" align="center" valign="top">
36
36
  <span class="apple-link" style="color: #999999; font-size: 16px !important; text-align: center;"></span>
37
- <br><a href="http://i.imgur.com/CScmqnj.gif" style="color: #999999; font-size: 16px !important; text-align: center; text-decoration: underline;"></a>.
37
+ <br><a href="http://i.imgur.com/CScmqnj.gif" style="color: #999999; font-size: 16px !important; text-align: center; text-decoration: underline;"></a>
38
38
  </td>
39
39
  </tr>
40
40
  <tr>
@@ -42,6 +42,15 @@
42
42
  Powered by <a href="<%= Wbase.url %>/welcome?utm_source=email" style="color: #999999; font-size: 16px !important; text-align: center; text-decoration: none;"><%= Wbase.site_name %></a>.
43
43
  </td>
44
44
  </tr>
45
+ <% if !@user.nil? %>
46
+ <tr>
47
+ <td class="content-block powered-by" style="font-family: sans-serif; font-size: 12px !important; vertical-align: top; color: #999999; text-align: center;" align="center" valign="top">
48
+ <a href="<%= edit_email_url(id: @user.reset_token) %>" style="color: #999999; font-size: 16px !important; text-align: center; text-decoration: none;">
49
+ unsubscribe
50
+ </a>
51
+ </td>
52
+ </tr>
53
+ <% end %>
45
54
  </table>
46
55
  </div>
47
56
  </div>
@@ -1,3 +1,3 @@
1
1
  module Wbase
2
- VERSION = "0.3.3"
2
+ VERSION = "0.3.4"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: wbase
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.3
4
+ version: 0.3.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - CJ Avilla
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-01-27 00:00:00.000000000 Z
11
+ date: 2017-01-28 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails