the_merger 0.0.2 → 0.0.3
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/Gemfile +1 -2
- data/README.md +10 -1
- data/lib/the_merger/version.rb +1 -1
- metadata +1 -7
data/Gemfile
CHANGED
data/README.md
CHANGED
|
@@ -8,6 +8,9 @@ A mail merge gem which allows you to do the following;
|
|
|
8
8
|
- manages bulk emails
|
|
9
9
|
- manages scheduled emails (optional)
|
|
10
10
|
|
|
11
|
+
## Demo app
|
|
12
|
+
There is a demo app here: https://github.com/map7/mailout
|
|
13
|
+
|
|
11
14
|
## Installation
|
|
12
15
|
|
|
13
16
|
Add this line to your application's Gemfile:
|
|
@@ -38,6 +41,12 @@ To use the javascript included in this gem put the following in your application
|
|
|
38
41
|
|
|
39
42
|
//= require the_merger/application
|
|
40
43
|
|
|
44
|
+
|
|
45
|
+
Where you need to insert fields (I usually create a 'letters' table) put the following in the form, just above the text_area.
|
|
46
|
+
|
|
47
|
+
<%= field_selection %>
|
|
48
|
+
|
|
49
|
+
|
|
41
50
|
## Usage
|
|
42
51
|
|
|
43
52
|
Currently it's just one method and this is how you pass it information
|
|
@@ -62,4 +71,4 @@ Currently it's just one method and this is how you pass it information
|
|
|
62
71
|
- DONE - Create a method to get all fields from the selected table.
|
|
63
72
|
- DONE - Create a helper method to have a dropdown of fields
|
|
64
73
|
- DONE - Turn this into an engine so that I can include asset pipeline javascript.
|
|
65
|
-
- Get the Email all button to work
|
|
74
|
+
- DONE - Get the Email all button to work
|
data/lib/the_merger/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: the_merger
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.0.
|
|
4
|
+
version: 0.0.3
|
|
5
5
|
prerelease:
|
|
6
6
|
platform: ruby
|
|
7
7
|
authors:
|
|
@@ -44,18 +44,12 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
|
44
44
|
- - ! '>='
|
|
45
45
|
- !ruby/object:Gem::Version
|
|
46
46
|
version: '0'
|
|
47
|
-
segments:
|
|
48
|
-
- 0
|
|
49
|
-
hash: 4450202675821388530
|
|
50
47
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
51
48
|
none: false
|
|
52
49
|
requirements:
|
|
53
50
|
- - ! '>='
|
|
54
51
|
- !ruby/object:Gem::Version
|
|
55
52
|
version: '0'
|
|
56
|
-
segments:
|
|
57
|
-
- 0
|
|
58
|
-
hash: 4450202675821388530
|
|
59
53
|
requirements: []
|
|
60
54
|
rubyforge_project:
|
|
61
55
|
rubygems_version: 1.8.23
|