proclaim 0.3.0 → 0.3.1

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: 499990491b4ea6af55296e35da87462bf821f3ab
4
- data.tar.gz: 160b0d32c648e01aadd3aa630a0c4ae37e4178ac
3
+ metadata.gz: 5c804948c26e92b6c025b23e0b436ff0f2ce3063
4
+ data.tar.gz: 4a38e087429d2f5a122b5d16a7d21145b0912b26
5
5
  SHA512:
6
- metadata.gz: 488d2f108123f326b091a1fe98e5c75702cef2a5f9ae0b1f66b9183ae65b188793007b3a49f759dc9f2cddad67a8430bf8fc9f26cd13c250f2c6c6ac1408539a
7
- data.tar.gz: 301cba906510fb9f2edc22eee6434ba821cbebacec2992ad816004e176e9c2be01f15087747d6f2158d4c1008e11ecff55fb10dd325183244fbf8326459e6e23
6
+ metadata.gz: 1cd62bc9af70f115ba3765d5370b426d7030d36fba5fd78800ac23ca2b0f769f2d41d07078c5b2542d64c77b0b59149c9a0a54b39f9ce6879c2c48e028f13129
7
+ data.tar.gz: 3021330ed8024b80122d5080b3dd01f9681794d44890eac4c310f3409114ea9dced85e2d308efff6294c02a91884eb9a40bce5d43af1720ab65407707871457c
data/CHANGELOG CHANGED
@@ -1,6 +1,10 @@
1
+ v 0.3.1
2
+ - Fixed bug causing floated images to display improperly in emails
3
+ - Added link to emails to view post online
4
+
1
5
  v 0.3.0
2
6
  - Implemented sanitization for post body, using lists of allowed HTML tags and
3
- attributes that can be customized via initializer.
7
+ attributes that can be customized via initializer
4
8
 
5
9
  v 0.2.4
6
10
  - Added simple format to comments, to preserve line breaks
data/README.md CHANGED
@@ -29,7 +29,7 @@ Proclaim 0.2 works with Rails 4.2 and on, with Ruby 1.9.3 and on. Add it to your
29
29
  Gemfile with:
30
30
 
31
31
  ```ruby
32
- gem 'proclaim', "~> 0.3.0"
32
+ gem 'proclaim', "~> 0.3.1"
33
33
  ```
34
34
 
35
35
  Run `bundle install` to install it.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.3.0
1
+ 0.3.1
@@ -19,6 +19,14 @@
19
19
  margin: 0 auto;
20
20
  }
21
21
 
22
+ td.view_online
23
+ {
24
+ text-align: center;
25
+ font-size: smaller;
26
+ padding: 0 0 10px 0;
27
+ color: #888;
28
+ }
29
+
22
30
  td.post_title
23
31
  {
24
32
  text-align: center;
@@ -39,13 +47,13 @@
39
47
  .mediumInsert.small
40
48
  {
41
49
  float: left;
50
+ max-width: 35%;
42
51
  max-width: calc(33.33% + 40px);
43
52
  min-height: 18px;
44
53
  }
45
54
 
46
55
  .mediumInsert img
47
56
  {
48
- display: block;
49
57
  margin: 0px;
50
58
  vertical-align: top;
51
59
  max-width: 600px;
@@ -62,6 +70,7 @@
62
70
  width: 100%;
63
71
  margin: 0px;
64
72
  text-align: center;
73
+ display: inline-block;
65
74
  }
66
75
 
67
76
  figure.mediumInsert-images.small
@@ -3,6 +3,12 @@
3
3
  <td class = "post_title"><h1><%= @post.title %></h1></td>
4
4
  </tr>
5
5
 
6
+ <tr>
7
+ <td class = "view_online">
8
+ (If you'd like to view this post online, <%= link_to "feel free", post_url(@post) %>)
9
+ </td>
10
+ </tr>
11
+
6
12
  <tr>
7
13
  <td class = "post_body"><%= @post.body.html_safe %></td>
8
14
  </tr>
@@ -1,3 +1,3 @@
1
1
  module Proclaim
2
- VERSION = "0.3.0"
2
+ VERSION = "0.3.1"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: proclaim
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.0
4
+ version: 0.3.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Kyle Fazzari
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-01-19 00:00:00.000000000 Z
11
+ date: 2015-01-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails