mailbuilder-preview 0.1.7 → 0.1.8

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: b375a0baff1ed7b3208d964dec017e8338f9c1d9
4
+ data.tar.gz: 764d0d7516d4e1171375c3352ab71a51c136346d
5
+ SHA512:
6
+ metadata.gz: 74060b81c1c0ccb90ad79d01f4083dfe512f4e59119e5cbfb32ae6dd64afba40a3f1f1a388ab2e367f4841940e2908691d9e9399152149af522a204c31811537
7
+ data.tar.gz: 9fb11f2d5da5dd8a30a5aa1219c27c8c70a651e6b0735b89fe9e931bbaf0a1c6ed65414e3e438c8ded0b03388792e172114a39f7bc6606f7b0bc69c8bf999110
data/Gemfile ADDED
@@ -0,0 +1,8 @@
1
+ source "https://rubygems.org"
2
+
3
+ gem 'mailbuilder', :require => 'mail_builder'
4
+
5
+ group :development do
6
+ gem "bundler"
7
+ gem "jeweler", ">= 1.8.8"
8
+ end
data/Rakefile CHANGED
@@ -1,39 +1,37 @@
1
- #!/usr/bin/env rake
2
- begin
3
- require 'bundler/setup'
4
- rescue LoadError
5
- puts 'You must `gem install bundler` and `bundle install` to run rake tasks'
6
- end
1
+ # encoding: utf-8
2
+
3
+ require 'rubygems'
4
+ require 'bundler'
7
5
  begin
8
- require 'rdoc/task'
9
- rescue LoadError
10
- require 'rdoc/rdoc'
11
- require 'rake/rdoctask'
12
- RDoc::Task = Rake::RDocTask
6
+ Bundler.setup(:default, :development)
7
+ rescue Bundler::BundlerError => e
8
+ $stderr.puts e.message
9
+ $stderr.puts "Run `bundle install` to install missing gems"
10
+ exit e.status_code
13
11
  end
14
12
 
15
- RDoc::Task.new(:rdoc) do |rdoc|
16
- rdoc.rdoc_dir = 'rdoc'
17
- rdoc.title = 'MailbuilderPreview'
18
- rdoc.options << '--line-numbers'
19
- rdoc.rdoc_files.include('README.rdoc')
20
- rdoc.rdoc_files.include('lib/**/*.rb')
13
+ require 'rake'
14
+ require 'jeweler'
15
+ require_relative "./lib/mailbuilder-preview/version"
16
+
17
+ Jeweler::Tasks.new do |gem|
18
+ # gem is a Gem::Specification... see http://docs.rubygems.org/read/chapter/20 for more options
19
+ gem.name = "mailbuilder-preview"
20
+ gem.homepage = "http://github.com/bjornblomqvist/mailbuilder-preview/"
21
+ gem.license = "LGPL3"
22
+ gem.summary = %Q{A nice helper when setting the styling for an email.}
23
+ gem.description = %Q{A nice helper when setting the styling for an email.}
24
+ gem.email = "darwin.git@marianna.se"
25
+ gem.authors = ["Darwin"]
26
+ gem.version = MailbuilderPreview::VERSION
21
27
  end
22
-
23
- APP_RAKEFILE = File.expand_path("../test/dummy/Rakefile", __FILE__)
24
-
25
-
26
-
27
- Bundler::GemHelper.install_tasks
28
+ Jeweler::RubygemsDotOrgTasks.new
28
29
 
29
30
  require 'rake/testtask'
30
-
31
- Rake::TestTask.new(:test) do |t|
32
- t.libs << 'lib'
33
- t.libs << 'test'
34
- t.pattern = 'test/**/*_test.rb'
35
- t.verbose = false
31
+ Rake::TestTask.new(:test) do |test|
32
+ test.libs << 'lib' << 'test'
33
+ test.pattern = 'test/**/test_*.rb'
34
+ test.verbose = true
36
35
  end
37
36
 
38
-
39
- task :default => :test
37
+ task :default => :test
@@ -1,10 +1,10 @@
1
1
  MailbuilderPreview::Engine.routes.draw do
2
2
 
3
- match "/" => "mail_preview#index"
3
+ get "/" => "mail_preview#index"
4
4
 
5
- match "/email" => "mail_preview#index"
6
- match "/email/:email_id" => "mail_preview#show"
7
- match "/email/:email_id/:rest" => "mail_preview#image", :constraints => { :rest => /.*/ }
5
+ get "/email" => "mail_preview#index"
6
+ get "/email/:email_id" => "mail_preview#show"
7
+ get "/email/:email_id/:rest" => "mail_preview#image", :constraints => { :rest => /.*/ }
8
8
 
9
9
  end
10
10
 
Binary file
Binary file
@@ -1,3 +1,3 @@
1
1
  module MailbuilderPreview
2
- VERSION = "0.1.7"
2
+ VERSION = "0.1.8"
3
3
  end
@@ -0,0 +1,72 @@
1
+ # Generated by jeweler
2
+ # DO NOT EDIT THIS FILE DIRECTLY
3
+ # Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec'
4
+ # -*- encoding: utf-8 -*-
5
+
6
+ Gem::Specification.new do |s|
7
+ s.name = "mailbuilder-preview"
8
+ s.version = "0.1.8"
9
+
10
+ s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
+ s.authors = ["Darwin"]
12
+ s.date = "2013-10-29"
13
+ s.description = "A nice helper when setting the styling for an email."
14
+ s.email = "darwin.git@marianna.se"
15
+ s.extra_rdoc_files = [
16
+ "LICENSE.txt",
17
+ "README.markdown"
18
+ ]
19
+ s.files = [
20
+ "Gemfile",
21
+ "LICENSE.txt",
22
+ "README.markdown",
23
+ "Rakefile",
24
+ "app/assets/images/mailbuilder-preview/.gitkeep",
25
+ "app/assets/images/mailbuilder-preview/glyphicons-halflings-white.png",
26
+ "app/assets/images/mailbuilder-preview/glyphicons-halflings.png",
27
+ "app/assets/javascripts/mailbuilder-preview/application.js",
28
+ "app/assets/javascripts/mailbuilder-preview/bootstrap.js",
29
+ "app/assets/javascripts/mailbuilder_preview/mail_preview.js",
30
+ "app/assets/stylesheets/mailbuilder-preview/application.css",
31
+ "app/assets/stylesheets/mailbuilder-preview/bootstrap.css",
32
+ "app/assets/stylesheets/mailbuilder_preview/mail_preview.css",
33
+ "app/controllers/mailbuilder_preview/application_controller.rb",
34
+ "app/controllers/mailbuilder_preview/mail_preview_controller.rb",
35
+ "app/helpers/mailbuilder_preview/application_helper.rb",
36
+ "app/views/layouts/mailbuilder_preview/application.html.erb",
37
+ "app/views/mailbuilder_preview/mail_preview/index.html.erb",
38
+ "app/views/mailbuilder_preview/mail_preview/show.html.erb",
39
+ "config/routes.rb",
40
+ "docs/list.png",
41
+ "docs/preview.png",
42
+ "lib/mailbuilder-preview.rb",
43
+ "lib/mailbuilder-preview/engine.rb",
44
+ "lib/mailbuilder-preview/version.rb",
45
+ "lib/tasks/mailbuilder-preview_tasks.rake",
46
+ "mailbuilder-preview.gemspec"
47
+ ]
48
+ s.homepage = "http://github.com/bjornblomqvist/mailbuilder-preview/"
49
+ s.licenses = ["LGPL3"]
50
+ s.require_paths = ["lib"]
51
+ s.rubygems_version = "2.0.6"
52
+ s.summary = "A nice helper when setting the styling for an email."
53
+
54
+ if s.respond_to? :specification_version then
55
+ s.specification_version = 4
56
+
57
+ if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
58
+ s.add_runtime_dependency(%q<mailbuilder>, [">= 0"])
59
+ s.add_development_dependency(%q<bundler>, [">= 0"])
60
+ s.add_development_dependency(%q<jeweler>, [">= 1.8.8"])
61
+ else
62
+ s.add_dependency(%q<mailbuilder>, [">= 0"])
63
+ s.add_dependency(%q<bundler>, [">= 0"])
64
+ s.add_dependency(%q<jeweler>, [">= 1.8.8"])
65
+ end
66
+ else
67
+ s.add_dependency(%q<mailbuilder>, [">= 0"])
68
+ s.add_dependency(%q<bundler>, [">= 0"])
69
+ s.add_dependency(%q<jeweler>, [">= 1.8.8"])
70
+ end
71
+ end
72
+
metadata CHANGED
@@ -1,71 +1,70 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mailbuilder-preview
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.7
5
- prerelease:
4
+ version: 0.1.8
6
5
  platform: ruby
7
6
  authors:
8
7
  - Darwin
9
8
  autorequire:
10
9
  bindir: bin
11
10
  cert_chain: []
12
- date: 2013-05-20 00:00:00.000000000 Z
11
+ date: 2013-10-29 00:00:00.000000000 Z
13
12
  dependencies:
14
13
  - !ruby/object:Gem::Dependency
15
- name: rails
14
+ name: mailbuilder
16
15
  requirement: !ruby/object:Gem::Requirement
17
- none: false
18
16
  requirements:
19
- - - ~>
17
+ - - '>='
20
18
  - !ruby/object:Gem::Version
21
- version: '3.0'
19
+ version: '0'
22
20
  type: :runtime
23
21
  prerelease: false
24
22
  version_requirements: !ruby/object:Gem::Requirement
25
- none: false
26
23
  requirements:
27
- - - ~>
24
+ - - '>='
28
25
  - !ruby/object:Gem::Version
29
- version: '3.0'
26
+ version: '0'
30
27
  - !ruby/object:Gem::Dependency
31
- name: mailbuilder
28
+ name: bundler
32
29
  requirement: !ruby/object:Gem::Requirement
33
- none: false
34
30
  requirements:
35
- - - ~>
31
+ - - '>='
36
32
  - !ruby/object:Gem::Version
37
- version: 0.2.0
38
- type: :runtime
33
+ version: '0'
34
+ type: :development
39
35
  prerelease: false
40
36
  version_requirements: !ruby/object:Gem::Requirement
41
- none: false
42
37
  requirements:
43
- - - ~>
38
+ - - '>='
44
39
  - !ruby/object:Gem::Version
45
- version: 0.2.0
40
+ version: '0'
46
41
  - !ruby/object:Gem::Dependency
47
- name: sqlite3
42
+ name: jeweler
48
43
  requirement: !ruby/object:Gem::Requirement
49
- none: false
50
44
  requirements:
51
- - - ! '>='
45
+ - - '>='
52
46
  - !ruby/object:Gem::Version
53
- version: '0'
47
+ version: 1.8.8
54
48
  type: :development
55
49
  prerelease: false
56
50
  version_requirements: !ruby/object:Gem::Requirement
57
- none: false
58
51
  requirements:
59
- - - ! '>='
52
+ - - '>='
60
53
  - !ruby/object:Gem::Version
61
- version: '0'
62
- description: I nice helper when setting the styling for an email.
63
- email:
64
- - darwin@bits2life.com
54
+ version: 1.8.8
55
+ description: A nice helper when setting the styling for an email.
56
+ email: darwin.git@marianna.se
65
57
  executables: []
66
58
  extensions: []
67
- extra_rdoc_files: []
59
+ extra_rdoc_files:
60
+ - LICENSE.txt
61
+ - README.markdown
68
62
  files:
63
+ - Gemfile
64
+ - LICENSE.txt
65
+ - README.markdown
66
+ - Rakefile
67
+ - app/assets/images/mailbuilder-preview/.gitkeep
69
68
  - app/assets/images/mailbuilder-preview/glyphicons-halflings-white.png
70
69
  - app/assets/images/mailbuilder-preview/glyphicons-halflings.png
71
70
  - app/assets/javascripts/mailbuilder-preview/application.js
@@ -81,42 +80,35 @@ files:
81
80
  - app/views/mailbuilder_preview/mail_preview/index.html.erb
82
81
  - app/views/mailbuilder_preview/mail_preview/show.html.erb
83
82
  - config/routes.rb
83
+ - docs/list.png
84
+ - docs/preview.png
85
+ - lib/mailbuilder-preview.rb
84
86
  - lib/mailbuilder-preview/engine.rb
85
87
  - lib/mailbuilder-preview/version.rb
86
- - lib/mailbuilder-preview.rb
87
88
  - lib/tasks/mailbuilder-preview_tasks.rake
88
- - LICENSE.txt
89
- - Rakefile
90
- - README.markdown
89
+ - mailbuilder-preview.gemspec
91
90
  homepage: http://github.com/bjornblomqvist/mailbuilder-preview/
92
91
  licenses:
93
92
  - LGPL3
93
+ metadata: {}
94
94
  post_install_message:
95
95
  rdoc_options: []
96
96
  require_paths:
97
97
  - lib
98
98
  required_ruby_version: !ruby/object:Gem::Requirement
99
- none: false
100
99
  requirements:
101
- - - ! '>='
100
+ - - '>='
102
101
  - !ruby/object:Gem::Version
103
102
  version: '0'
104
- segments:
105
- - 0
106
- hash: 1936895728309355170
107
103
  required_rubygems_version: !ruby/object:Gem::Requirement
108
- none: false
109
104
  requirements:
110
- - - ! '>='
105
+ - - '>='
111
106
  - !ruby/object:Gem::Version
112
107
  version: '0'
113
- segments:
114
- - 0
115
- hash: 1936895728309355170
116
108
  requirements: []
117
109
  rubyforge_project:
118
- rubygems_version: 1.8.24
110
+ rubygems_version: 2.0.6
119
111
  signing_key:
120
- specification_version: 3
121
- summary: I nice helper when setting the styling for an email.
112
+ specification_version: 4
113
+ summary: A nice helper when setting the styling for an email.
122
114
  test_files: []