maily 0.1.0 → 0.3.0
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.
- data/.gitignore +1 -0
- data/MIT-LICENSE +1 -1
- data/README.md +46 -7
- data/app/assets/images/maily/fonts/JosefinSans-Light.ttf +0 -0
- data/app/assets/images/maily/icons/maily.eot +0 -0
- data/app/assets/images/maily/icons/maily.svg +90 -0
- data/app/assets/images/maily/icons/maily.ttf +0 -0
- data/app/assets/images/maily/icons/maily.woff +0 -0
- data/app/assets/javascripts/maily/application.js +0 -14
- data/app/assets/javascripts/maily/html5shiv.js +8 -0
- data/app/assets/stylesheets/maily/application.scss +310 -0
- data/app/assets/stylesheets/maily/icons.css +199 -0
- data/app/assets/stylesheets/maily/normalize.css +406 -0
- data/app/controllers/maily/emails_controller.rb +14 -12
- data/app/helpers/maily/application_helper.rb +3 -0
- data/app/helpers/maily/emails_helper.rb +3 -0
- data/app/views/layouts/maily/application.html.erb +10 -4
- data/app/views/maily/emails/edit.html.erb +19 -10
- data/app/views/maily/emails/index.html.erb +2 -9
- data/app/views/maily/emails/show.html.erb +59 -36
- data/app/views/maily/shared/_footer.html.erb +3 -0
- data/app/views/maily/shared/_header.html.erb +3 -0
- data/app/views/maily/shared/_sidebar.html.erb +12 -0
- data/config/routes.rb +6 -6
- data/lib/generators/maily/install_generator.rb +9 -8
- data/lib/generators/templates/initializer.rb +6 -8
- data/lib/maily.rb +7 -1
- data/lib/maily/email.rb +39 -5
- data/lib/maily/mailer.rb +1 -1
- data/lib/maily/version.rb +1 -1
- data/maily.gemspec +2 -2
- data/screenshot.png +0 -0
- metadata +17 -6
- data/Gemfile.lock +0 -99
- data/app/assets/stylesheets/maily/application.css +0 -13
data/lib/maily/mailer.rb
CHANGED
data/lib/maily/version.rb
CHANGED
data/maily.gemspec
CHANGED
@@ -10,8 +10,8 @@ Gem::Specification.new do |s|
|
|
10
10
|
s.authors = ["markets"]
|
11
11
|
s.email = ["srmarc.ai@gmail.com"]
|
12
12
|
s.homepage = "https://github.com/markets/maily"
|
13
|
-
s.summary = "Rails Engine to
|
14
|
-
s.description = "Rails Engine to
|
13
|
+
s.summary = "Rails Engine to preview emails in a browser."
|
14
|
+
s.description = "Rails Engine to preview emails in a browser."
|
15
15
|
s.license = "MIT"
|
16
16
|
|
17
17
|
s.files = `git ls-files`.split($/)
|
data/screenshot.png
ADDED
Binary file
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: maily
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.3.0
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2014-
|
12
|
+
date: 2014-02-07 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: rails
|
@@ -43,7 +43,7 @@ dependencies:
|
|
43
43
|
- - ! '>='
|
44
44
|
- !ruby/object:Gem::Version
|
45
45
|
version: '0'
|
46
|
-
description: Rails Engine to
|
46
|
+
description: Rails Engine to preview emails in a browser.
|
47
47
|
email:
|
48
48
|
- srmarc.ai@gmail.com
|
49
49
|
executables: []
|
@@ -52,13 +52,20 @@ extra_rdoc_files: []
|
|
52
52
|
files:
|
53
53
|
- .gitignore
|
54
54
|
- Gemfile
|
55
|
-
- Gemfile.lock
|
56
55
|
- MIT-LICENSE
|
57
56
|
- README.md
|
58
57
|
- Rakefile
|
59
58
|
- app/assets/images/maily/.gitkeep
|
59
|
+
- app/assets/images/maily/fonts/JosefinSans-Light.ttf
|
60
|
+
- app/assets/images/maily/icons/maily.eot
|
61
|
+
- app/assets/images/maily/icons/maily.svg
|
62
|
+
- app/assets/images/maily/icons/maily.ttf
|
63
|
+
- app/assets/images/maily/icons/maily.woff
|
60
64
|
- app/assets/javascripts/maily/application.js
|
61
|
-
- app/assets/
|
65
|
+
- app/assets/javascripts/maily/html5shiv.js
|
66
|
+
- app/assets/stylesheets/maily/application.scss
|
67
|
+
- app/assets/stylesheets/maily/icons.css
|
68
|
+
- app/assets/stylesheets/maily/normalize.css
|
62
69
|
- app/controllers/maily/application_controller.rb
|
63
70
|
- app/controllers/maily/emails_controller.rb
|
64
71
|
- app/helpers/maily/application_helper.rb
|
@@ -67,6 +74,9 @@ files:
|
|
67
74
|
- app/views/maily/emails/edit.html.erb
|
68
75
|
- app/views/maily/emails/index.html.erb
|
69
76
|
- app/views/maily/emails/show.html.erb
|
77
|
+
- app/views/maily/shared/_footer.html.erb
|
78
|
+
- app/views/maily/shared/_header.html.erb
|
79
|
+
- app/views/maily/shared/_sidebar.html.erb
|
70
80
|
- config/routes.rb
|
71
81
|
- lib/generators/maily/install_generator.rb
|
72
82
|
- lib/generators/templates/initializer.rb
|
@@ -76,6 +86,7 @@ files:
|
|
76
86
|
- lib/maily/mailer.rb
|
77
87
|
- lib/maily/version.rb
|
78
88
|
- maily.gemspec
|
89
|
+
- screenshot.png
|
79
90
|
- script/rails
|
80
91
|
homepage: https://github.com/markets/maily
|
81
92
|
licenses:
|
@@ -101,5 +112,5 @@ rubyforge_project:
|
|
101
112
|
rubygems_version: 1.8.23
|
102
113
|
signing_key:
|
103
114
|
specification_version: 3
|
104
|
-
summary: Rails Engine to
|
115
|
+
summary: Rails Engine to preview emails in a browser.
|
105
116
|
test_files: []
|
data/Gemfile.lock
DELETED
@@ -1,99 +0,0 @@
|
|
1
|
-
PATH
|
2
|
-
remote: .
|
3
|
-
specs:
|
4
|
-
maily (0.0.1)
|
5
|
-
rails (~> 3.2.13)
|
6
|
-
|
7
|
-
GEM
|
8
|
-
remote: https://rubygems.org/
|
9
|
-
specs:
|
10
|
-
actionmailer (3.2.14)
|
11
|
-
actionpack (= 3.2.14)
|
12
|
-
mail (~> 2.5.4)
|
13
|
-
actionpack (3.2.14)
|
14
|
-
activemodel (= 3.2.14)
|
15
|
-
activesupport (= 3.2.14)
|
16
|
-
builder (~> 3.0.0)
|
17
|
-
erubis (~> 2.7.0)
|
18
|
-
journey (~> 1.0.4)
|
19
|
-
rack (~> 1.4.5)
|
20
|
-
rack-cache (~> 1.2)
|
21
|
-
rack-test (~> 0.6.1)
|
22
|
-
sprockets (~> 2.2.1)
|
23
|
-
activemodel (3.2.14)
|
24
|
-
activesupport (= 3.2.14)
|
25
|
-
builder (~> 3.0.0)
|
26
|
-
activerecord (3.2.14)
|
27
|
-
activemodel (= 3.2.14)
|
28
|
-
activesupport (= 3.2.14)
|
29
|
-
arel (~> 3.0.2)
|
30
|
-
tzinfo (~> 0.3.29)
|
31
|
-
activeresource (3.2.14)
|
32
|
-
activemodel (= 3.2.14)
|
33
|
-
activesupport (= 3.2.14)
|
34
|
-
activesupport (3.2.14)
|
35
|
-
i18n (~> 0.6, >= 0.6.4)
|
36
|
-
multi_json (~> 1.0)
|
37
|
-
arel (3.0.2)
|
38
|
-
builder (3.0.4)
|
39
|
-
columnize (0.3.6)
|
40
|
-
debugger (1.6.0)
|
41
|
-
columnize (>= 0.3.1)
|
42
|
-
debugger-linecache (~> 1.2.0)
|
43
|
-
debugger-ruby_core_source (~> 1.2.1)
|
44
|
-
debugger-linecache (1.2.0)
|
45
|
-
debugger-ruby_core_source (1.2.2)
|
46
|
-
erubis (2.7.0)
|
47
|
-
hike (1.2.3)
|
48
|
-
i18n (0.6.5)
|
49
|
-
journey (1.0.4)
|
50
|
-
json (1.8.0)
|
51
|
-
mail (2.5.4)
|
52
|
-
mime-types (~> 1.16)
|
53
|
-
treetop (~> 1.4.8)
|
54
|
-
mime-types (1.25)
|
55
|
-
multi_json (1.8.0)
|
56
|
-
polyglot (0.3.3)
|
57
|
-
rack (1.4.5)
|
58
|
-
rack-cache (1.2)
|
59
|
-
rack (>= 0.4)
|
60
|
-
rack-ssl (1.3.3)
|
61
|
-
rack
|
62
|
-
rack-test (0.6.2)
|
63
|
-
rack (>= 1.0)
|
64
|
-
rails (3.2.14)
|
65
|
-
actionmailer (= 3.2.14)
|
66
|
-
actionpack (= 3.2.14)
|
67
|
-
activerecord (= 3.2.14)
|
68
|
-
activeresource (= 3.2.14)
|
69
|
-
activesupport (= 3.2.14)
|
70
|
-
bundler (~> 1.0)
|
71
|
-
railties (= 3.2.14)
|
72
|
-
railties (3.2.14)
|
73
|
-
actionpack (= 3.2.14)
|
74
|
-
activesupport (= 3.2.14)
|
75
|
-
rack-ssl (~> 1.3.2)
|
76
|
-
rake (>= 0.8.7)
|
77
|
-
rdoc (~> 3.4)
|
78
|
-
thor (>= 0.14.6, < 2.0)
|
79
|
-
rake (10.1.0)
|
80
|
-
rdoc (3.12.2)
|
81
|
-
json (~> 1.4)
|
82
|
-
sprockets (2.2.2)
|
83
|
-
hike (~> 1.2)
|
84
|
-
multi_json (~> 1.0)
|
85
|
-
rack (~> 1.0)
|
86
|
-
tilt (~> 1.1, != 1.3.0)
|
87
|
-
thor (0.18.1)
|
88
|
-
tilt (1.4.1)
|
89
|
-
treetop (1.4.15)
|
90
|
-
polyglot
|
91
|
-
polyglot (>= 0.3.1)
|
92
|
-
tzinfo (0.3.37)
|
93
|
-
|
94
|
-
PLATFORMS
|
95
|
-
ruby
|
96
|
-
|
97
|
-
DEPENDENCIES
|
98
|
-
debugger
|
99
|
-
maily!
|
@@ -1,13 +0,0 @@
|
|
1
|
-
/*
|
2
|
-
* This is a manifest file that'll be compiled into application.css, which will include all the files
|
3
|
-
* listed below.
|
4
|
-
*
|
5
|
-
* Any CSS and SCSS file within this directory, lib/assets/stylesheets, vendor/assets/stylesheets,
|
6
|
-
* or vendor/assets/stylesheets of plugins, if any, can be referenced here using a relative path.
|
7
|
-
*
|
8
|
-
* You're free to add application-wide styles to this file and they'll appear at the top of the
|
9
|
-
* compiled file, but it's generally better to create a new file per style scope.
|
10
|
-
*
|
11
|
-
*= require_self
|
12
|
-
*= require_tree .
|
13
|
-
*/
|