has_emails 0.1.0 → 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
- data/CHANGELOG +4 -0
- data/README +5 -0
- data/Rakefile +5 -4
- data/test/test_helper.rb +1 -1
- metadata +13 -12
data/CHANGELOG
CHANGED
data/README
CHANGED
@@ -84,8 +84,13 @@ them like so:
|
|
84
84
|
Before you can run any tests, the following gem must be installed:
|
85
85
|
* plugin_test_helper[http://wiki.pluginaweek.org/Plugin_test_helper]
|
86
86
|
|
87
|
+
To run against a specific version of Rails:
|
88
|
+
|
89
|
+
rake test RAILS_FRAMEWORK_ROOT=/path/to/rails
|
90
|
+
|
87
91
|
== Dependencies
|
88
92
|
|
93
|
+
* Rails 2.1 or later
|
89
94
|
* plugins_plus[http://wiki.pluginaweek.org/Plugins_plus]
|
90
95
|
* has_messages[http://wiki.pluginaweek.org/Has_messages]
|
91
96
|
* state_machine[http://wiki.pluginaweek.org/State_machine]
|
data/Rakefile
CHANGED
@@ -4,7 +4,7 @@ require 'rake/gempackagetask'
|
|
4
4
|
require 'rake/contrib/sshpublisher'
|
5
5
|
|
6
6
|
PKG_NAME = 'has_emails'
|
7
|
-
PKG_VERSION = '0.1.
|
7
|
+
PKG_VERSION = '0.1.1'
|
8
8
|
PKG_FILE_NAME = "#{PKG_NAME}-#{PKG_VERSION}"
|
9
9
|
RUBY_FORGE_PROJECT = 'pluginaweek'
|
10
10
|
|
@@ -22,6 +22,7 @@ desc 'Generate documentation for the has_emails plugin.'
|
|
22
22
|
Rake::RDocTask.new(:rdoc) do |rdoc|
|
23
23
|
rdoc.rdoc_dir = 'rdoc'
|
24
24
|
rdoc.title = 'HasEmails'
|
25
|
+
rdoc.template = '../rdoc_template.rb'
|
25
26
|
rdoc.options << '--line-numbers' << '--inline-source'
|
26
27
|
rdoc.rdoc_files.include('README')
|
27
28
|
rdoc.rdoc_files.include('lib/**/*.rb')
|
@@ -33,7 +34,7 @@ spec = Gem::Specification.new do |s|
|
|
33
34
|
s.platform = Gem::Platform::RUBY
|
34
35
|
s.summary = 'Demonstrates a reference implementation for sending emails with logging and asynchronous support.'
|
35
36
|
|
36
|
-
s.files = FileList['{app,db,lib,test}/**/*'].to_a + %w(CHANGELOG init.rb MIT-LICENSE Rakefile README)
|
37
|
+
s.files = FileList['{app,db,lib,test}/**/*'].to_a - FileList['test/app_root/log/*'].to_a + %w(CHANGELOG init.rb MIT-LICENSE Rakefile README)
|
37
38
|
s.require_path = 'lib'
|
38
39
|
s.autorequire = 'has_emails'
|
39
40
|
s.has_rdoc = true
|
@@ -63,13 +64,13 @@ task :pdoc => [:rdoc] do
|
|
63
64
|
end
|
64
65
|
|
65
66
|
desc 'Publish the API docs and gem'
|
66
|
-
task :publish => [:pdoc, :release]
|
67
|
+
task :publish => [:pgem, :pdoc, :release]
|
67
68
|
|
68
69
|
desc 'Publish the release files to RubyForge.'
|
69
70
|
task :release => [:gem, :package] do
|
70
71
|
require 'rubyforge'
|
71
72
|
|
72
|
-
ruby_forge = RubyForge.new
|
73
|
+
ruby_forge = RubyForge.new.configure
|
73
74
|
ruby_forge.login
|
74
75
|
|
75
76
|
%w( gem tgz zip ).each do |ext|
|
data/test/test_helper.rb
CHANGED
@@ -4,7 +4,7 @@ require 'rubygems'
|
|
4
4
|
require 'plugin_test_helper'
|
5
5
|
|
6
6
|
# Run the migrations
|
7
|
-
ActiveRecord::Migrator.migrate("#{
|
7
|
+
ActiveRecord::Migrator.migrate("#{Rails.root}/db/migrate")
|
8
8
|
|
9
9
|
# Mixin the factory helper
|
10
10
|
require File.expand_path("#{File.dirname(__FILE__)}/factory")
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: has_emails
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Aaron Pfeifer
|
@@ -9,7 +9,7 @@ autorequire: has_emails
|
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
11
|
|
12
|
-
date: 2008-
|
12
|
+
date: 2008-06-22 00:00:00 -04:00
|
13
13
|
default_executable:
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
@@ -40,28 +40,29 @@ extra_rdoc_files: []
|
|
40
40
|
|
41
41
|
files:
|
42
42
|
- app/models
|
43
|
-
- app/models/email_address.rb
|
44
43
|
- app/models/email.rb
|
44
|
+
- app/models/email_address.rb
|
45
45
|
- db/migrate
|
46
46
|
- db/migrate/001_create_email_addresses.rb
|
47
|
-
- lib/has_emails.rb
|
48
47
|
- lib/has_emails
|
49
48
|
- lib/has_emails/extensions
|
50
49
|
- lib/has_emails/extensions/action_mailer.rb
|
51
|
-
-
|
50
|
+
- lib/has_emails.rb
|
52
51
|
- test/app_root
|
53
|
-
- test/app_root/db
|
54
|
-
- test/app_root/db/migrate
|
55
|
-
- test/app_root/db/migrate/002_migrate_has_emails_to_version_1.rb
|
56
|
-
- test/app_root/db/migrate/001_migrate_has_messages_to_version_2.rb
|
57
|
-
- test/app_root/config
|
58
|
-
- test/app_root/config/environment.rb
|
59
52
|
- test/app_root/app
|
60
53
|
- test/app_root/app/models
|
61
54
|
- test/app_root/app/models/empty
|
55
|
+
- test/app_root/config
|
56
|
+
- test/app_root/config/environment.rb
|
57
|
+
- test/app_root/db
|
58
|
+
- test/app_root/db/migrate
|
59
|
+
- test/app_root/db/migrate/001_migrate_has_messages_to_version_2.rb
|
60
|
+
- test/app_root/db/migrate/002_migrate_has_emails_to_version_1.rb
|
61
|
+
- test/app_root/log
|
62
62
|
- test/functional
|
63
63
|
- test/functional/has_emails_test.rb
|
64
64
|
- test/test_helper.rb
|
65
|
+
- test/factory.rb
|
65
66
|
- test/unit
|
66
67
|
- test/unit/email_address_test.rb
|
67
68
|
- test/unit/action_mailer_test.rb
|
@@ -93,7 +94,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
93
94
|
requirements: []
|
94
95
|
|
95
96
|
rubyforge_project:
|
96
|
-
rubygems_version: 1.1.
|
97
|
+
rubygems_version: 1.1.1
|
97
98
|
signing_key:
|
98
99
|
specification_version: 2
|
99
100
|
summary: Demonstrates a reference implementation for sending emails with logging and asynchronous support.
|