mail_view 2.0.1 → 2.0.2

Sign up to get free protection for your applications and to get access to all the features.
@@ -83,7 +83,7 @@
83
83
 
84
84
  <% if mail.multipart? %>
85
85
  <dd>
86
- <select onchange="top.messageBody.location=this.options[this.selectedIndex].value;">
86
+ <select onchange="document.getElementsByName('messageBody')[0].src=this.options[this.selectedIndex].value;">
87
87
  <option value="?part=text%2Fhtml">View as HTML email</option>
88
88
  <option value="?part=text%2Fplain">View as plain-text email</option>
89
89
  </select>
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |s|
2
2
  s.name = 'mail_view'
3
- s.version = '2.0.1'
3
+ s.version = '2.0.2'
4
4
  s.author = 'Josh Peek'
5
5
  s.email = 'josh@joshpeek.com'
6
6
  s.summary = 'Visual email testing'
@@ -13,5 +13,5 @@ Gem::Specification.new do |s|
13
13
  s.add_development_dependency 'tmail', '~> 1.2'
14
14
  s.add_development_dependency 'rake'
15
15
 
16
- s.files = Dir["#{File.dirname(__FILE__)}/**/*"]
16
+ s.files = Dir[File.expand_path('../**/*', __FILE__)]
17
17
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mail_view
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.1
4
+ version: 2.0.2
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: 2013-08-10 00:00:00.000000000 Z
12
+ date: 2013-12-11 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: tilt
@@ -97,18 +97,18 @@ executables: []
97
97
  extensions: []
98
98
  extra_rdoc_files: []
99
99
  files:
100
- - ./Gemfile
101
- - ./Gemfile.lock
102
- - ./init.rb
103
- - ./lib/mail_view/email.html.erb
104
- - ./lib/mail_view/index.html.erb
105
- - ./lib/mail_view/mapper.rb
106
- - ./lib/mail_view.rb
107
- - ./LICENSE
108
- - ./mail_view.gemspec
109
- - ./Rakefile
110
- - ./README.md
111
- - ./test/test_mail_view.rb
100
+ - /Users/jeremy/work/plugins/mail_view/Gemfile
101
+ - /Users/jeremy/work/plugins/mail_view/Gemfile.lock
102
+ - /Users/jeremy/work/plugins/mail_view/init.rb
103
+ - /Users/jeremy/work/plugins/mail_view/lib/mail_view/email.html.erb
104
+ - /Users/jeremy/work/plugins/mail_view/lib/mail_view/index.html.erb
105
+ - /Users/jeremy/work/plugins/mail_view/lib/mail_view/mapper.rb
106
+ - /Users/jeremy/work/plugins/mail_view/lib/mail_view.rb
107
+ - /Users/jeremy/work/plugins/mail_view/LICENSE
108
+ - /Users/jeremy/work/plugins/mail_view/mail_view.gemspec
109
+ - /Users/jeremy/work/plugins/mail_view/Rakefile
110
+ - /Users/jeremy/work/plugins/mail_view/README.md
111
+ - /Users/jeremy/work/plugins/mail_view/test/test_mail_view.rb
112
112
  homepage: https://github.com/37signals/mail_view
113
113
  licenses: []
114
114
  post_install_message: