i_reach 3.2.2 → 3.2.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.
- checksums.yaml +4 -4
- data/README.md +48 -40
- data/app/views/layouts/i_reach/application.html.erb +2 -2
- data/lib/i_reach/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c4ef3702c04ba8bfbfc82f0fd418ed8472f93736
|
4
|
+
data.tar.gz: 854a8def07cbcef251f540ca0aef8fc29b0ccb27
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0dffff951d0ebb06a1a7ab3d42b8826c7ab50ed12069e954c8cb683a223909eb2d1e9364202b775f9e3cbc9b67912418c039fdf94c9e954ad5dc5ce72b64c6fd
|
7
|
+
data.tar.gz: 4e16d09caf0ce154484e1ef06a00e9ae8c3acc1864389eeb22c16682c782902773742408d556d9fdf053cfdd6b849bb682c43b3e9c1d98fbe078ddcb9ece1338
|
data/README.md
CHANGED
@@ -17,66 +17,74 @@ Optional Dependencies
|
|
17
17
|
|
18
18
|
Installation
|
19
19
|
-----------
|
20
|
-
* install rvm/ruby 1.9.3/bundler/rails 3.2.x then run the following or skip ahead to the next step if you already have a rails 3.2.x app
|
21
|
-
* new rails app where you want to not use 'test' and want to use mysql
|
22
|
-
|
23
|
-
rails new MyApp -T --skip-bundle -d mysql
|
24
|
-
|
20
|
+
* install rvm/ruby 1.9.3/bundler/rails 3.2.x then run the following or skip ahead to the next step if you already have a rails 3.2.x app
|
21
|
+
* new rails app where you want to not use 'test' and want to use mysql
|
22
|
+
```
|
23
|
+
rails new MyApp -T --skip-bundle -d mysql
|
24
|
+
```
|
25
|
+
* or optionally a default rails app
|
26
|
+
```
|
25
27
|
rails new MyApp
|
26
28
|
cd MyApp
|
29
|
+
```
|
27
30
|
|
28
|
-
* edit your Gemfile
|
29
|
-
|
31
|
+
* edit your Gemfile
|
32
|
+
```ruby
|
30
33
|
gem 'i_reach'
|
31
|
-
|
32
|
-
|
34
|
+
```
|
35
|
+
* uncomment the ruby racer line ... or pick another JS gem
|
36
|
+
```ruby
|
37
|
+
gem 'therubyracer', :platforms => :ruby`
|
38
|
+
```
|
33
39
|
* add any other gems you like
|
34
40
|
|
35
|
-
* bundle your gems
|
36
|
-
|
41
|
+
* bundle your gems
|
42
|
+
```
|
37
43
|
bundle install
|
38
|
-
|
44
|
+
```
|
39
45
|
* configure your database(unless already configured) edit config/database.yml
|
40
46
|
|
41
47
|
* NOTE: you may need to prefix everything with `bundle exec` assuming you're using bundler
|
42
48
|
|
43
49
|
* create(unless already created) the database
|
44
|
-
|
50
|
+
```
|
45
51
|
rake db:create # this doesn't always work... you may need to use your normal client & set up permissions
|
46
|
-
|
52
|
+
```
|
47
53
|
* configure [mail_manager](https://github.com/LoneStarInternet/mail_manager)
|
48
|
-
* generate and configure the mail manager settings file at config/mail_manager.yml: (replace table prefix with something... or nothing if you don't want to scope it)
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
* generate migrations
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
* generate delayed_jobs (this is the only job runner we support right now)
|
57
|
-
|
58
|
-
|
59
|
-
|
54
|
+
* generate and configure the mail manager settings file at config/mail_manager.yml: (replace table prefix with something... or nothing if you don't want to scope it)
|
55
|
+
```
|
56
|
+
rake mail_manager:default_app_config[table_prefix]
|
57
|
+
```
|
58
|
+
* generate migrations
|
59
|
+
```
|
60
|
+
rake mail_manager:import_migrations
|
61
|
+
```
|
62
|
+
* generate delayed_jobs (this is the only job runner we support right now)
|
63
|
+
```
|
64
|
+
rails g delayed_job:active_record
|
65
|
+
```
|
60
66
|
* NOTE: you need to create an email account that will receive bounces from your mailings(and allow POP)... configure in the following file:
|
61
67
|
|
62
68
|
* configure [newsletter](https://github.com/LoneStarInternet/newsletter)
|
63
|
-
* generate and configure the newsletter settings file at config/newsletter.yml: (replace table prefix with something... or nothing if you don't want to scope it)
|
64
|
-
|
65
|
-
|
66
|
-
|
67
|
-
* generate migrations
|
68
|
-
|
69
|
-
|
70
|
-
|
69
|
+
* generate and configure the newsletter settings file at config/newsletter.yml: (replace table prefix with something... or nothing if you don't want to scope it)
|
70
|
+
```
|
71
|
+
rake newsletter:default_app_config[table_prefix]
|
72
|
+
```
|
73
|
+
* generate migrations
|
74
|
+
```
|
75
|
+
rake newsletter:import_migrations
|
76
|
+
```
|
71
77
|
* migrate the database
|
72
|
-
|
78
|
+
```
|
73
79
|
rake db:migrate
|
74
|
-
|
75
|
-
* create bounce job to check for emails that have bounced from your mailings
|
80
|
+
```
|
81
|
+
* create bounce job to check for emails that have bounced from your mailings
|
82
|
+
```
|
76
83
|
rake mail_manager:create_delayed_jobs
|
77
|
-
|
78
|
-
* mount IReach routes (you can say where by using at: /path) in config/routes.rb
|
79
|
-
|
84
|
+
```
|
85
|
+
* mount IReach routes (you can say where by using at: /path) in config/routes.rb
|
86
|
+
```ruby
|
80
87
|
mount IReach::Engine => "/"
|
81
88
|
root to: 'i_reach/welcome#index'
|
89
|
+
```
|
82
90
|
|
@@ -15,14 +15,14 @@
|
|
15
15
|
<div id="menu">
|
16
16
|
<ul>
|
17
17
|
<li><a href="/admin">Home</a></li>
|
18
|
-
<li><span onClick="$('#setup_submenu').toggle();return false" class="menu_expand">Setup</span>
|
18
|
+
<li><span onClick="$('#setup_submenu').toggle();return false" class="menu_expand" style="cursor: pointer;">Setup</span>
|
19
19
|
<ul id='setup_submenu' <%= ' style="display:none"'.html_safe unless request.path =~ %r#/newsletter/designs|setup# %>>
|
20
20
|
<%= content_tag(:li, link_to('Newsletter Designs', news.designs_path)) if can?(:manage, Newsletter::Design) %>
|
21
21
|
</ul>
|
22
22
|
</li>
|
23
23
|
<%= content_tag(:li, link_to('Newsletters', news.newsletters_path)) if can?(:manage, Newsletter::Newsletter) %>
|
24
24
|
<% if can?(:manage, MailManager::Mailing) %>
|
25
|
-
<li><span onClick="$('#mailings_submenu').toggle();return false" class="menu_expand">Mailings</span>
|
25
|
+
<li><span onClick="$('#mailings_submenu').toggle();return false" class="menu_expand" style="cursor: pointer;">Mailings</span>
|
26
26
|
<ul id='mailings_submenu' <%= ' style="display:none"'.html_safe unless request.path =~ %r|/mail_manager| %>>
|
27
27
|
<%= content_tag(:li, link_to('Contacts', mail_manager.contacts_path)) if can?(:manage, MailManager::Contact) %>
|
28
28
|
<%= content_tag(:li, link_to('Mailings', mail_manager.mailings_path)) if can?(:manage, MailManager::Mailing) %>
|
data/lib/i_reach/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: i_reach
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.2.
|
4
|
+
version: 3.2.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Christopher Hauboldt
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2015-04-
|
12
|
+
date: 2015-04-27 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: rails
|