leads_to_highrise 0.0.4 → 0.1.4

Sign up to get free protection for your applications and to get access to all the features.
Files changed (26) hide show
  1. checksums.yaml +8 -8
  2. data/config/routes.rb +2 -0
  3. data/lib/generators/leads_to_highrise/install/USAGE +8 -0
  4. data/lib/generators/leads_to_highrise/install/install_generator.rb +27 -0
  5. data/lib/generators/leads_to_highrise/install/templates/20140416000345_create_leads_to_highrise_leads.rb +15 -0
  6. data/lib/generators/leads_to_highrise/install/templates/20140416021234_add_highrise_site_and_highrise_user_to_user.rb +6 -0
  7. data/lib/generators/leads_to_highrise/install/templates/_form.html.erb +45 -0
  8. data/lib/generators/leads_to_highrise/install/templates/_lead.html.erb +34 -0
  9. data/lib/generators/leads_to_highrise/install/templates/edit.html.erb +6 -0
  10. data/lib/generators/leads_to_highrise/install/templates/index.html.erb +34 -0
  11. data/lib/generators/leads_to_highrise/install/templates/new.html.erb +5 -0
  12. data/lib/generators/leads_to_highrise/install/templates/show.html.erb +39 -0
  13. data/lib/leads_to_highrise/version.rb +1 -1
  14. data/test/dummy/app/views/leads_to_highrise/lead/_form.html.erb +45 -0
  15. data/test/dummy/app/views/leads_to_highrise/lead/_lead.html.erb +34 -0
  16. data/test/dummy/app/views/leads_to_highrise/lead/edit.html.erb +6 -0
  17. data/test/dummy/app/views/leads_to_highrise/lead/index.html.erb +34 -0
  18. data/test/dummy/app/views/leads_to_highrise/lead/new.html.erb +5 -0
  19. data/test/dummy/app/views/leads_to_highrise/lead/show.html.erb +39 -0
  20. data/test/dummy/config/routes.rb +1 -2
  21. data/test/dummy/db/migrate/20140416000345_create_leads_to_highrise_leads.rb +15 -0
  22. data/test/dummy/db/migrate/20140416021234_add_highrise_site_and_highrise_user_to_user.rb +6 -0
  23. data/test/lib/generators/leads_to_highrise/install_generator_test.rb +16 -0
  24. data/test/lib/generators/leads_to_highrise/lth_generator_test.rb +16 -0
  25. metadata +34 -19
  26. data/README.rdoc +0 -22
checksums.yaml CHANGED
@@ -1,15 +1,15 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
3
  metadata.gz: !binary |-
4
- ZTE5ZWU2ZjQ5YzQwYjZiMWUxZmEzZmI1NDNiNjFlMjgxZDBlMWY2OQ==
4
+ ZDk0NjU3NWI5YmUwOTEwZWNlMGU2MGUzNTliZGYxNmRiZDA2YjA0Mw==
5
5
  data.tar.gz: !binary |-
6
- YTg1Y2Y0NDQ4YjQwZmFiYzNhZGVlZTg5M2JkMGI5MDRiOWJmZmRmYw==
6
+ ZDA0N2ZjMGM5NDhiNGQ0ODRlYTU4NWIyYTZjOTQzODliYjAzOTRlYg==
7
7
  SHA512:
8
8
  metadata.gz: !binary |-
9
- OGQwNjI0MjEwNzg2ZWViM2JmZmEyNDUxYjk2YjQ1YjIxMzViMDFhNWY2NDdj
10
- NzUzZmFlYzlmODNhZDc3NTMxZmIxZjE3ODFkNmMyY2M1ZTU3MTQwYzVkMzc4
11
- YTczN2JhOTg5NzBmYWQ4YmQwMTg5ZGMwMWI0MTFmYjIyYzAxMmQ=
9
+ NjZhNzdmZTg0MjJhYTgzMzZmZDc0YmVmODExNTg5NzhhMjI1NDQ0MzM1YTEy
10
+ ZmE3M2I2NDkzMWM0ZTg0ZGE5MTMxYjE2YzYyMGI5NmNjNmZhMGIyMGI1NzYz
11
+ NWMzNjNlZmYyNDNlZGU2ZWE5NTNjMGJkYmRmZTdkYzMyYzQzODk=
12
12
  data.tar.gz: !binary |-
13
- NTQ2ODE1MjE4Y2YzYTkxOGIwYmFlNjA0YTcxZmY4Zjg4YzgyNzQ0NDM3NGQ4
14
- Y2NjNjNjNGE4ZmRmNTMzZjU2ZWVkNmY2MWI2Y2MyNTI4MTlhM2JkYjVhZmQ3
15
- MWM0MTM5MzdjYWEyYjVmYThhYzQ5NzhhZWM1NmNlZjMwMTQ2ZmM=
13
+ YzBhMTU5N2JhMzc3OTBjMzg2OGQxY2QwMDJmZWU1YzczNjY1YmJiMWFhNGRl
14
+ ZDUzYzMwZWM1NGJmMmUwZWIxYTUxMGMwODViZDA4NTAwODkzMTBhZjZmOTBl
15
+ Yjc0YjVhNDM2NmQ3YmJmZDg5NjYyOGE3YWU4NTA4Y2JlMjM5YTc=
data/config/routes.rb CHANGED
@@ -9,3 +9,5 @@ LeadsToHighrise::Engine.routes.draw do
9
9
  get '/leads/:id/delete', to: 'leads#destroy', as: 'delete_lead'
10
10
  get '/leads/to_highrise/:id', to: "leads#to_highrise", as: "to_highrise"
11
11
  end
12
+
13
+ #mount LeadsToHighrise::Engine => "/leads_to_highrise"
@@ -0,0 +1,8 @@
1
+ Description:
2
+ Explain the generator
3
+
4
+ Example:
5
+ rails generate install Thing
6
+
7
+ This will create:
8
+ what/will/it/create
@@ -0,0 +1,27 @@
1
+ require 'rails/generators'
2
+ module LeadsToHighrise
3
+ module Generators
4
+ class InstallGenerator < ::Rails::Generators::Base
5
+ source_root File.expand_path('../templates', __FILE__)
6
+ #argument :layout_name, :type => :string, :default => 'application', :banner => 'layout_name'
7
+
8
+ def copy_views
9
+ copy_file "_form.html.erb", "app/views/leads_to_highrise/lead/_form.html.erb"
10
+ copy_file "_lead.html.erb", "app/views/leads_to_highrise/lead/_lead.html.erb"
11
+ copy_file "edit.html.erb", "app/views/leads_to_highrise/lead/edit.html.erb"
12
+ copy_file "index.html.erb", "app/views/leads_to_highrise/lead/index.html.erb"
13
+ copy_file "new.html.erb", "app/views/leads_to_highrise/lead/new.html.erb"
14
+ copy_file "show.html.erb", "app/views/leads_to_highrise/lead/show.html.erb"
15
+ end
16
+
17
+ def copy_migration
18
+ copy_file "20140416000345_create_leads_to_highrise_leads.rb", "db/migrate/20140416000345_create_leads_to_highrise_leads.rb"
19
+ copy_file "20140416021234_add_highrise_site_and_highrise_user_to_user.rb", "db/migrate/20140416021234_add_highrise_site_and_highrise_user_to_user.rb"
20
+ end
21
+
22
+ def setup_routes
23
+ route('mount LeadsToHighrise::Engine => "/leads_to_highrise"')
24
+ end
25
+ end
26
+ end
27
+ end
@@ -0,0 +1,15 @@
1
+ class CreateLeadsToHighriseLeads < ActiveRecord::Migration
2
+ def change
3
+ create_table :leads_to_highrise_leads do |t|
4
+ t.string :name
5
+ t.string :last_name
6
+ t.string :email
7
+ t.string :company
8
+ t.string :job_title
9
+ t.string :phone
10
+ t.string :website
11
+
12
+ t.timestamps
13
+ end
14
+ end
15
+ end
@@ -0,0 +1,6 @@
1
+ class AddHighriseSiteAndHighriseUserToUser < ActiveRecord::Migration
2
+ def change
3
+ add_column :users, :highrise_site, :string
4
+ add_column :users, :highrise_user, :string
5
+ end
6
+ end
@@ -0,0 +1,45 @@
1
+ <%= form_for(@lead) do |f| %>
2
+ <% if @lead.errors.any? %>
3
+ <div id="error_explanation">
4
+ <h2><%= pluralize(@lead.errors.count, "error") %> prohibited this lead from being saved:</h2>
5
+
6
+ <ul>
7
+ <% @lead.errors.full_messages.each do |message| %>
8
+ <li><%= message %></li>
9
+ <% end %>
10
+ </ul>
11
+ </div>
12
+ <% end %>
13
+
14
+ <div class="field">
15
+ <%= f.label :name %><br>
16
+ <%= f.text_field :name %>
17
+ </div>
18
+ <div class="field">
19
+ <%= f.label :last_name %><br>
20
+ <%= f.text_field :last_name %>
21
+ </div>
22
+ <div class="field">
23
+ <%= f.label :email %><br>
24
+ <%= f.text_field :email %>
25
+ </div>
26
+ <div class="field">
27
+ <%= f.label :company %><br>
28
+ <%= f.text_field :company %>
29
+ </div>
30
+ <div class="field">
31
+ <%= f.label :job_title %><br>
32
+ <%= f.text_field :job_title %>
33
+ </div>
34
+ <div class="field">
35
+ <%= f.label :phone %><br>
36
+ <%= f.text_field :phone %>
37
+ </div>
38
+ <div class="field">
39
+ <%= f.label :website %><br>
40
+ <%= f.text_field :website %>
41
+ </div>
42
+ <div class="actions">
43
+ <%= f.submit %>
44
+ </div>
45
+ <% end %>
@@ -0,0 +1,34 @@
1
+ <%= link_to 'New Lead', new_lead_path %>
2
+ <br>
3
+ <table>
4
+ <thead>
5
+ <tr>
6
+ <th>Name</th>
7
+ <th>Last name</th>
8
+ <th>Email</th>
9
+ <th>Company</th>
10
+ <th>Job title</th>
11
+ <th>Phone</th>
12
+ <th>Website</th>
13
+ <th colspan="4"></th>
14
+ </tr>
15
+ </thead>
16
+
17
+ <tbody>
18
+ <% @leads.each do |lead| %>
19
+ <tr>
20
+ <td><%= lead.name %></td>
21
+ <td><%= lead.last_name %></td>
22
+ <td><%= lead.email %></td>
23
+ <td><%= lead.company %></td>
24
+ <td><%= lead.job_title %></td>
25
+ <td><%= lead.phone %></td>
26
+ <td><%= lead.website %></td>
27
+ <td><%= link_to 'Show', lead %></td>
28
+ <td><%= link_to 'Edit', edit_lead_path(lead) %></td>
29
+ <td><%= link_to 'Destroy', lead, method: :delete, data: { confirm: 'Are you sure?' } %></td>
30
+ <td><%= link_to 'Send To Highrise', to_highrise_path(lead) if user_signed_in? %></td>
31
+ </tr>
32
+ <% end %>
33
+ </tbody>
34
+ </table>
@@ -0,0 +1,6 @@
1
+ <h1>Editing lead</h1>
2
+
3
+ <%= render 'form' %>
4
+
5
+ <%= link_to 'Show', @lead %> |
6
+ <%= link_to 'Back', leads_path %>
@@ -0,0 +1,34 @@
1
+ <%= link_to 'New Lead', new_lead_path %>
2
+ <br>
3
+ <table>
4
+ <thead>
5
+ <tr>
6
+ <th>Name</th>
7
+ <th>Last name</th>
8
+ <th>Email</th>
9
+ <th>Company</th>
10
+ <th>Job title</th>
11
+ <th>Phone</th>
12
+ <th>Website</th>
13
+ <th colspan="4"></th>
14
+ </tr>
15
+ </thead>
16
+
17
+ <tbody>
18
+ <% @leads.each do |lead| %>
19
+ <tr>
20
+ <td><%= lead.name %></td>
21
+ <td><%= lead.last_name %></td>
22
+ <td><%= lead.email %></td>
23
+ <td><%= lead.company %></td>
24
+ <td><%= lead.job_title %></td>
25
+ <td><%= lead.phone %></td>
26
+ <td><%= lead.website %></td>
27
+ <td><%= link_to 'Show', lead %></td>
28
+ <td><%= link_to 'Edit', edit_lead_path(lead) %></td>
29
+ <td><%= link_to 'Destroy', delete_lead_path(lead), method: :delete, data: { confirm: 'Are you sure?' } %></td>
30
+ <td><%= link_to 'Send To Highrise', to_highrise_path(lead) if user_signed_in? %></td>
31
+ </tr>
32
+ <% end %>
33
+ </tbody>
34
+ </table>
@@ -0,0 +1,5 @@
1
+ <h1>New lead</h1>
2
+
3
+ <%= render 'form' %>
4
+
5
+ <%= link_to 'Back', leads_path %>
@@ -0,0 +1,39 @@
1
+ <p id="notice"><%= notice %></p>
2
+
3
+ <p>
4
+ <strong>Name:</strong>
5
+ <%= @lead.name %>
6
+ </p>
7
+
8
+ <p>
9
+ <strong>Last name:</strong>
10
+ <%= @lead.last_name %>
11
+ </p>
12
+
13
+ <p>
14
+ <strong>Email:</strong>
15
+ <%= @lead.email %>
16
+ </p>
17
+
18
+ <p>
19
+ <strong>Company:</strong>
20
+ <%= @lead.company %>
21
+ </p>
22
+
23
+ <p>
24
+ <strong>Job title:</strong>
25
+ <%= @lead.job_title %>
26
+ </p>
27
+
28
+ <p>
29
+ <strong>Phone:</strong>
30
+ <%= @lead.phone %>
31
+ </p>
32
+
33
+ <p>
34
+ <strong>Website:</strong>
35
+ <%= @lead.website %>
36
+ </p>
37
+
38
+ <%= link_to 'Edit', edit_lead_path(@lead) %> |
39
+ <%= link_to 'Back', leads_path %>
@@ -1,3 +1,3 @@
1
1
  module LeadsToHighrise
2
- VERSION = "0.0.4"
2
+ VERSION = "0.1.4"
3
3
  end
@@ -0,0 +1,45 @@
1
+ <%= form_for(@lead) do |f| %>
2
+ <% if @lead.errors.any? %>
3
+ <div id="error_explanation">
4
+ <h2><%= pluralize(@lead.errors.count, "error") %> prohibited this lead from being saved:</h2>
5
+
6
+ <ul>
7
+ <% @lead.errors.full_messages.each do |message| %>
8
+ <li><%= message %></li>
9
+ <% end %>
10
+ </ul>
11
+ </div>
12
+ <% end %>
13
+
14
+ <div class="field">
15
+ <%= f.label :name %><br>
16
+ <%= f.text_field :name %>
17
+ </div>
18
+ <div class="field">
19
+ <%= f.label :last_name %><br>
20
+ <%= f.text_field :last_name %>
21
+ </div>
22
+ <div class="field">
23
+ <%= f.label :email %><br>
24
+ <%= f.text_field :email %>
25
+ </div>
26
+ <div class="field">
27
+ <%= f.label :company %><br>
28
+ <%= f.text_field :company %>
29
+ </div>
30
+ <div class="field">
31
+ <%= f.label :job_title %><br>
32
+ <%= f.text_field :job_title %>
33
+ </div>
34
+ <div class="field">
35
+ <%= f.label :phone %><br>
36
+ <%= f.text_field :phone %>
37
+ </div>
38
+ <div class="field">
39
+ <%= f.label :website %><br>
40
+ <%= f.text_field :website %>
41
+ </div>
42
+ <div class="actions">
43
+ <%= f.submit %>
44
+ </div>
45
+ <% end %>
@@ -0,0 +1,34 @@
1
+ <%= link_to 'New Lead', new_lead_path %>
2
+ <br>
3
+ <table>
4
+ <thead>
5
+ <tr>
6
+ <th>Name</th>
7
+ <th>Last name</th>
8
+ <th>Email</th>
9
+ <th>Company</th>
10
+ <th>Job title</th>
11
+ <th>Phone</th>
12
+ <th>Website</th>
13
+ <th colspan="4"></th>
14
+ </tr>
15
+ </thead>
16
+
17
+ <tbody>
18
+ <% @leads.each do |lead| %>
19
+ <tr>
20
+ <td><%= lead.name %></td>
21
+ <td><%= lead.last_name %></td>
22
+ <td><%= lead.email %></td>
23
+ <td><%= lead.company %></td>
24
+ <td><%= lead.job_title %></td>
25
+ <td><%= lead.phone %></td>
26
+ <td><%= lead.website %></td>
27
+ <td><%= link_to 'Show', lead %></td>
28
+ <td><%= link_to 'Edit', edit_lead_path(lead) %></td>
29
+ <td><%= link_to 'Destroy', lead, method: :delete, data: { confirm: 'Are you sure?' } %></td>
30
+ <td><%= link_to 'Send To Highrise', to_highrise_path(lead) if user_signed_in? %></td>
31
+ </tr>
32
+ <% end %>
33
+ </tbody>
34
+ </table>
@@ -0,0 +1,6 @@
1
+ <h1>Editing lead</h1>
2
+
3
+ <%= render 'form' %>
4
+
5
+ <%= link_to 'Show', @lead %> |
6
+ <%= link_to 'Back', leads_path %>
@@ -0,0 +1,34 @@
1
+ <%= link_to 'New Lead', new_lead_path %>
2
+ <br>
3
+ <table>
4
+ <thead>
5
+ <tr>
6
+ <th>Name</th>
7
+ <th>Last name</th>
8
+ <th>Email</th>
9
+ <th>Company</th>
10
+ <th>Job title</th>
11
+ <th>Phone</th>
12
+ <th>Website</th>
13
+ <th colspan="4"></th>
14
+ </tr>
15
+ </thead>
16
+
17
+ <tbody>
18
+ <% @leads.each do |lead| %>
19
+ <tr>
20
+ <td><%= lead.name %></td>
21
+ <td><%= lead.last_name %></td>
22
+ <td><%= lead.email %></td>
23
+ <td><%= lead.company %></td>
24
+ <td><%= lead.job_title %></td>
25
+ <td><%= lead.phone %></td>
26
+ <td><%= lead.website %></td>
27
+ <td><%= link_to 'Show', lead %></td>
28
+ <td><%= link_to 'Edit', edit_lead_path(lead) %></td>
29
+ <td><%= link_to 'Destroy', delete_lead_path(lead), method: :delete, data: { confirm: 'Are you sure?' } %></td>
30
+ <td><%= link_to 'Send To Highrise', to_highrise_path(lead) if user_signed_in? %></td>
31
+ </tr>
32
+ <% end %>
33
+ </tbody>
34
+ </table>
@@ -0,0 +1,5 @@
1
+ <h1>New lead</h1>
2
+
3
+ <%= render 'form' %>
4
+
5
+ <%= link_to 'Back', leads_path %>
@@ -0,0 +1,39 @@
1
+ <p id="notice"><%= notice %></p>
2
+
3
+ <p>
4
+ <strong>Name:</strong>
5
+ <%= @lead.name %>
6
+ </p>
7
+
8
+ <p>
9
+ <strong>Last name:</strong>
10
+ <%= @lead.last_name %>
11
+ </p>
12
+
13
+ <p>
14
+ <strong>Email:</strong>
15
+ <%= @lead.email %>
16
+ </p>
17
+
18
+ <p>
19
+ <strong>Company:</strong>
20
+ <%= @lead.company %>
21
+ </p>
22
+
23
+ <p>
24
+ <strong>Job title:</strong>
25
+ <%= @lead.job_title %>
26
+ </p>
27
+
28
+ <p>
29
+ <strong>Phone:</strong>
30
+ <%= @lead.phone %>
31
+ </p>
32
+
33
+ <p>
34
+ <strong>Website:</strong>
35
+ <%= @lead.website %>
36
+ </p>
37
+
38
+ <%= link_to 'Edit', edit_lead_path(@lead) %> |
39
+ <%= link_to 'Back', leads_path %>
@@ -1,6 +1,5 @@
1
1
  Rails.application.routes.draw do
2
- devise_for :users
3
2
  mount LeadsToHighrise::Engine => "/leads_to_highrise"
3
+ devise_for :users
4
4
  root "leads_to_highrise/leads#index"
5
- #lth_resources
6
5
  end
@@ -0,0 +1,15 @@
1
+ class CreateLeadsToHighriseLeads < ActiveRecord::Migration
2
+ def change
3
+ create_table :leads_to_highrise_leads do |t|
4
+ t.string :name
5
+ t.string :last_name
6
+ t.string :email
7
+ t.string :company
8
+ t.string :job_title
9
+ t.string :phone
10
+ t.string :website
11
+
12
+ t.timestamps
13
+ end
14
+ end
15
+ end
@@ -0,0 +1,6 @@
1
+ class AddHighriseSiteAndHighriseUserToUser < ActiveRecord::Migration
2
+ def change
3
+ add_column :users, :highrise_site, :string
4
+ add_column :users, :highrise_user, :string
5
+ end
6
+ end
@@ -0,0 +1,16 @@
1
+ require 'test_helper'
2
+ require 'generators/install/install_generator'
3
+
4
+ module LeadsToHighrise
5
+ class InstallGeneratorTest < Rails::Generators::TestCase
6
+ tests InstallGenerator
7
+ destination Rails.root.join('tmp/generators')
8
+ setup :prepare_destination
9
+
10
+ # test "generator runs without errors" do
11
+ # assert_nothing_raised do
12
+ # run_generator ["arguments"]
13
+ # end
14
+ # end
15
+ end
16
+ end
@@ -0,0 +1,16 @@
1
+ require 'test_helper'
2
+ require 'generators/lth/lth_generator'
3
+
4
+ module LeadsToHighrise
5
+ class LthGeneratorTest < Rails::Generators::TestCase
6
+ tests LthGenerator
7
+ destination Rails.root.join('tmp/generators')
8
+ setup :prepare_destination
9
+
10
+ # test "generator runs without errors" do
11
+ # assert_nothing_raised do
12
+ # run_generator ["arguments"]
13
+ # end
14
+ # end
15
+ end
16
+ end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: leads_to_highrise
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.4
4
+ version: 0.1.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Bruno Tripoloni
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-04-16 00:00:00.000000000 Z
11
+ date: 2014-04-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
@@ -52,20 +52,6 @@ dependencies:
52
52
  - - ! '>='
53
53
  - !ruby/object:Gem::Version
54
54
  version: '0'
55
- - !ruby/object:Gem::Dependency
56
- name: jquery-rails
57
- requirement: !ruby/object:Gem::Requirement
58
- requirements:
59
- - - ! '>='
60
- - !ruby/object:Gem::Version
61
- version: '0'
62
- type: :runtime
63
- prerelease: false
64
- version_requirements: !ruby/object:Gem::Requirement
65
- requirements:
66
- - - ! '>='
67
- - !ruby/object:Gem::Version
68
- version: '0'
69
55
  - !ruby/object:Gem::Dependency
70
56
  name: sqlite3
71
57
  requirement: !ruby/object:Gem::Requirement
@@ -80,7 +66,7 @@ dependencies:
80
66
  - - ! '>='
81
67
  - !ruby/object:Gem::Version
82
68
  version: '0'
83
- description: Description of LeadsToHighrise.
69
+ description: node description
84
70
  email:
85
71
  - bruno.tripoloni@gmail.com
86
72
  executables: []
@@ -88,7 +74,6 @@ extensions: []
88
74
  extra_rdoc_files: []
89
75
  files:
90
76
  - MIT-LICENSE
91
- - README.rdoc
92
77
  - Rakefile
93
78
  - app/assets/javascripts/leads_to_highrise/application.js
94
79
  - app/assets/javascripts/leads_to_highrise/leads.js
@@ -110,6 +95,16 @@ files:
110
95
  - config/routes.rb
111
96
  - db/migrate/20140416000345_create_leads_to_highrise_leads.rb
112
97
  - db/migrate/20140416021234_add_highrise_site_and_highrise_user_to_user.rb
98
+ - lib/generators/leads_to_highrise/install/USAGE
99
+ - lib/generators/leads_to_highrise/install/install_generator.rb
100
+ - lib/generators/leads_to_highrise/install/templates/20140416000345_create_leads_to_highrise_leads.rb
101
+ - lib/generators/leads_to_highrise/install/templates/20140416021234_add_highrise_site_and_highrise_user_to_user.rb
102
+ - lib/generators/leads_to_highrise/install/templates/_form.html.erb
103
+ - lib/generators/leads_to_highrise/install/templates/_lead.html.erb
104
+ - lib/generators/leads_to_highrise/install/templates/edit.html.erb
105
+ - lib/generators/leads_to_highrise/install/templates/index.html.erb
106
+ - lib/generators/leads_to_highrise/install/templates/new.html.erb
107
+ - lib/generators/leads_to_highrise/install/templates/show.html.erb
113
108
  - lib/leads_to_highrise.rb
114
109
  - lib/leads_to_highrise/engine.rb
115
110
  - lib/leads_to_highrise/version.rb
@@ -123,6 +118,12 @@ files:
123
118
  - test/dummy/app/helpers/application_helper.rb
124
119
  - test/dummy/app/models/user.rb
125
120
  - test/dummy/app/views/layouts/application.html.erb
121
+ - test/dummy/app/views/leads_to_highrise/lead/_form.html.erb
122
+ - test/dummy/app/views/leads_to_highrise/lead/_lead.html.erb
123
+ - test/dummy/app/views/leads_to_highrise/lead/edit.html.erb
124
+ - test/dummy/app/views/leads_to_highrise/lead/index.html.erb
125
+ - test/dummy/app/views/leads_to_highrise/lead/new.html.erb
126
+ - test/dummy/app/views/leads_to_highrise/lead/show.html.erb
126
127
  - test/dummy/bin/bundle
127
128
  - test/dummy/bin/rails
128
129
  - test/dummy/bin/rake
@@ -147,7 +148,9 @@ files:
147
148
  - test/dummy/config/routes.rb
148
149
  - test/dummy/config/secrets.yml
149
150
  - test/dummy/db/development.sqlite3
151
+ - test/dummy/db/migrate/20140416000345_create_leads_to_highrise_leads.rb
150
152
  - test/dummy/db/migrate/20140416014910_devise_create_users.rb
153
+ - test/dummy/db/migrate/20140416021234_add_highrise_site_and_highrise_user_to_user.rb
151
154
  - test/dummy/db/schema.rb
152
155
  - test/dummy/db/test.sqlite3
153
156
  - test/dummy/log/development.log
@@ -180,6 +183,8 @@ files:
180
183
  - test/helpers/leads_to_highrise/leads_helper_test.rb
181
184
  - test/integration/navigation_test.rb
182
185
  - test/leads_to_highrise_test.rb
186
+ - test/lib/generators/leads_to_highrise/install_generator_test.rb
187
+ - test/lib/generators/leads_to_highrise/lth_generator_test.rb
183
188
  - test/models/leads_to_highrise/lead_test.rb
184
189
  - test/test_helper.rb
185
190
  homepage: http://github.com/btripoloni/leads_to_highrise
@@ -205,7 +210,7 @@ rubyforge_project:
205
210
  rubygems_version: 2.2.2
206
211
  signing_key:
207
212
  specification_version: 4
208
- summary: Summary of LeadsToHighrise.
213
+ summary: the easy way to send contacts do Highrise
209
214
  test_files:
210
215
  - test/controllers/leads_to_highrise/leads_controller_test.rb
211
216
  - test/dummy/app/assets/javascripts/application.js
@@ -214,6 +219,12 @@ test_files:
214
219
  - test/dummy/app/helpers/application_helper.rb
215
220
  - test/dummy/app/models/user.rb
216
221
  - test/dummy/app/views/layouts/application.html.erb
222
+ - test/dummy/app/views/leads_to_highrise/lead/edit.html.erb
223
+ - test/dummy/app/views/leads_to_highrise/lead/index.html.erb
224
+ - test/dummy/app/views/leads_to_highrise/lead/new.html.erb
225
+ - test/dummy/app/views/leads_to_highrise/lead/show.html.erb
226
+ - test/dummy/app/views/leads_to_highrise/lead/_form.html.erb
227
+ - test/dummy/app/views/leads_to_highrise/lead/_lead.html.erb
217
228
  - test/dummy/bin/bundle
218
229
  - test/dummy/bin/rails
219
230
  - test/dummy/bin/rake
@@ -238,7 +249,9 @@ test_files:
238
249
  - test/dummy/config/secrets.yml
239
250
  - test/dummy/config.ru
240
251
  - test/dummy/db/development.sqlite3
252
+ - test/dummy/db/migrate/20140416000345_create_leads_to_highrise_leads.rb
241
253
  - test/dummy/db/migrate/20140416014910_devise_create_users.rb
254
+ - test/dummy/db/migrate/20140416021234_add_highrise_site_and_highrise_user_to_user.rb
242
255
  - test/dummy/db/schema.rb
243
256
  - test/dummy/db/test.sqlite3
244
257
  - test/dummy/log/development.log
@@ -273,5 +286,7 @@ test_files:
273
286
  - test/helpers/leads_to_highrise/leads_helper_test.rb
274
287
  - test/integration/navigation_test.rb
275
288
  - test/leads_to_highrise_test.rb
289
+ - test/lib/generators/leads_to_highrise/install_generator_test.rb
290
+ - test/lib/generators/leads_to_highrise/lth_generator_test.rb
276
291
  - test/models/leads_to_highrise/lead_test.rb
277
292
  - test/test_helper.rb
data/README.rdoc DELETED
@@ -1,22 +0,0 @@
1
- = LeadsToHighrise
2
-
3
- Use this gem to send contacts to highrise easily
4
-
5
- =Dependencies
6
- *Devise
7
- *Highrise gem
8
-
9
- =How to use
10
- *Add the gem
11
- ````
12
- gem 'devise'
13
- gem 'leads_to_higrise'
14
- ```
15
-
16
- *Install Devise and generate a model(LTH uses the 'User' model by default).
17
- *Install LTH migrations ```rake leadstohighrise:install:migrations``` (this command line is big and confused, i know, i go fix it soon :) )
18
-
19
- *Run```rake db:migrate```
20
- *Add ```mount LeadsToHighrise::Engine => "/"``` to ```config/routes.rb```
21
-
22
- This project rocks and uses MIT-LICENSE.