inky-rb 0.0.3 → 1.3.6.0

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: 0b80cbab70f46992b028d1922f75f4e174feaed9
4
- data.tar.gz: c423de651a2e9360171ca5c53ea84b387bff8032
3
+ metadata.gz: 3282f169829c4857894a4cb75b7ef6a5a96f3edc
4
+ data.tar.gz: 3bceb0ddb23bad1075e79ef58bad6040dbf7e17f
5
5
  SHA512:
6
- metadata.gz: fbb5a18634c5da418d8f343de6b1106ae2ac61c689b256c5a112fdca6218daf0843af331d50cea4174db1b3cadf1e7c115c4d27d770d3f4f119e9a92f7490d44
7
- data.tar.gz: e804bf2d79119958f5facaeeeb96cc752cdf059a00b83567b621efbc2272f657e0d7d68e02479b733e2eaa3dd5ad022176fe97e81056ed4d1f700a34bf9b29cd
6
+ metadata.gz: a1ae7a6c393a72b2aa6c4a3f7d4ca463253a95f2b826f6a4e5032c2454efc4e1044d4e9bc25ca126eb618e4eb34c5024e92e2f3a0844f87af1c7846cc714ef83
7
+ data.tar.gz: 28240f7c706c4a3fa1dcc294f45a3c6f4f0e2d929780f7419fa5715c3e69a31f589e396c026a77947e21254f193e9a217cf144cf2a2262cfe37c0725c4e07fce
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- inky-rb (0.0.2)
4
+ inky-rb (0.0.3)
5
5
  foundation_emails (~> 2)
6
6
 
7
7
  GEM
@@ -9,8 +9,8 @@ GEM
9
9
  specs:
10
10
  diff-lcs (1.2.5)
11
11
  foundation_emails (2.1.0.1)
12
- rake (11.1.2)
13
- rspec-core (3.4.1)
12
+ rake (11.2.2)
13
+ rspec-core (3.4.4)
14
14
  rspec-support (~> 3.4.0)
15
15
  rspec-expectations (3.4.0)
16
16
  diff-lcs (>= 1.2.0, < 2.0)
@@ -28,4 +28,4 @@ DEPENDENCIES
28
28
  rspec-expectations
29
29
 
30
30
  BUNDLED WITH
31
- 1.10.6
31
+ 1.12.4
data/README.md CHANGED
@@ -36,29 +36,40 @@ And get complicated, but battle-tested, email-ready HTML like this:
36
36
  </table>
37
37
  ```
38
38
 
39
- ## Installation
39
+ ## Getting Started
40
40
 
41
- Add this line to your application's Gemfile:
41
+ Add the following gems to your Gemfile:
42
42
 
43
- $ gem 'foundation-rails', require: 'inky'
44
-
45
- And then execute:
43
+ ```ruby
44
+ gem 'inky-rb', require: 'inky'
45
+ # Stylesheet inlining for email **
46
+ gem 'premailer-rails'
47
+ ```
46
48
 
47
- $ bundle
49
+ Then execute:
48
50
 
49
- Or install it yourself as:
51
+ ```bash
52
+ bundle install
53
+ ```
50
54
 
51
- $ gem install foundation-rails
55
+ Make sure that the stylesheet included in your email layout imports the Foundation for Emails styles:
52
56
 
53
- ## Usage
57
+ ```scss
58
+ // my_awesome_emails_stylesheet.scss
59
+ @import "foundation-emails";
60
+ ```
54
61
 
55
- Inky can be embedded into your asset pipeline, combining with premailer to let you generate amazing HTML emails without the nightmare of table-based email development.
62
+ Rename your email templates to use the `.inky` file extension. Note that you'll still be able to use ERB within the `.inky` templates:
56
63
 
57
- Simply use the file extension `.inky` and make sure your email layout includes a scss file that includes the foundation-emails styles.
58
64
  ```
59
- @import 'foundation-emails'
65
+ welcome.html => welcome.html.inky
66
+ pw_reset.html.erb => pw_reset.html.inky
60
67
  ```
61
68
 
69
+ You're all set!
70
+
71
+ ** The majority of email clients ignore linked stylesheets. By inlining your referenced styles, `premailer-rails` lets you keep your markup and stylesheets in separate files.
72
+
62
73
  ## Custom Elements
63
74
 
64
75
  Inky simplifies the process of creating HTML emails by expanding out simple tags like `<row>` and `<column>` into full table syntax. The names of the tags can be changed with the `components` setting.
@@ -1,5 +1,5 @@
1
1
  module Inky
2
2
  module Rails
3
- VERSION="0.0.3"
3
+ VERSION = "1.3.6.0"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: inky-rb
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.3
4
+ version: 1.3.6.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - ZURB