leads_to_highrise 0.2.13 → 0.2.14
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 +8 -8
- data/app/models/lead.rb +1 -0
- data/app/views/leads/index.html.erb +1 -1
- data/app/views/leads/show.html.erb +0 -2
- data/lib/generators/leads_to_highrise/install_generator.rb +6 -2
- data/lib/leads_to_highrise/version.rb +1 -1
- data/test/dummy/db/migrate/20140417201406_add_highrise_site_and_highrise_user_to_user.rb +6 -0
- data/test/dummy/db/migrate/20140417201406_create_leads.rb +15 -0
- data/test/dummy/log/development.log +160 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/13fe41fee1fe35b49d145bcc06610705 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/2f5173deea6c795b8fdde723bb4b63af +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/357970feca3ac29060c1e3861e2c0953 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/cffd775d018f68ce5dba1ee0d951a994 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/d771ace226fc8215a3572e0aa35bb0d6 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/f7cbd26ba1d28d48de824f0e94586655 +0 -0
- metadata +7 -4
- data/README.rdoc +0 -3
checksums.yaml
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
---
|
2
2
|
!binary "U0hBMQ==":
|
3
3
|
metadata.gz: !binary |-
|
4
|
-
|
4
|
+
ZjM1N2ZkYTU4ODgxODJmOGU3MjVkZGFkZjI0MDk5YzNiZWM3NDhlMg==
|
5
5
|
data.tar.gz: !binary |-
|
6
|
-
|
6
|
+
ZTIyNWRhMDMwODczMThmZjFlZGQ1ZDYxYjQzZjYzYjc5ZmI3M2MzNg==
|
7
7
|
SHA512:
|
8
8
|
metadata.gz: !binary |-
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
YjUzZDkzODA0OTg4MmQwMmNlYTY2MjIxYTZlNmViOTI1MTI3Nzk1NWU4YzE4
|
10
|
+
ZjEyYjk0NmNlMjQ1YzhkMGMzZjY2NzNiN2ZmMzcxN2Y3ODE2NzY3YmNiMjdm
|
11
|
+
Y2YxNDBjY2Y3MGFjMTg2YjMzYmNjZDE2ZTIwMDc5OGYxM2UwNDY=
|
12
12
|
data.tar.gz: !binary |-
|
13
|
-
|
14
|
-
|
15
|
-
|
13
|
+
NmE1NmY0YWQwMTZkNzhhYzAxN2M4OTViNjE5ZTg0NDIxM2ExMjQyZGViMjZk
|
14
|
+
Y2RlMzVhMDlkODQ2ZDViMGFhZjhkMjQ2YTU0MjZlOWI1OGFlZWM3ODM4NGQw
|
15
|
+
YTE0MmIyZGVjODE1ZDZkNTE2ZDVmOGE4ODZlMGQ3OTFjN2IwMWQ=
|
data/app/models/lead.rb
CHANGED
@@ -4,8 +4,12 @@ module LeadsToHighrise
|
|
4
4
|
class InstallGenerator < ::Rails::Generators::Base
|
5
5
|
source_root File.expand_path('../templates', __FILE__)
|
6
6
|
def copy_migration
|
7
|
-
copy_file "20140417073703_create_leads.rb", "db/migrate
|
8
|
-
copy_file "20140417074432_add_highrise_site_and_highrise_user_to_user.rb", "db/migrate
|
7
|
+
copy_file "20140417073703_create_leads.rb", "db/migrate/#{time}_create_leads.rb"
|
8
|
+
copy_file "20140417074432_add_highrise_site_and_highrise_user_to_user.rb", "db/migrate/#{time}_add_highrise_site_and_highrise_user_to_user.rb"
|
9
|
+
end
|
10
|
+
|
11
|
+
def time
|
12
|
+
_new = Time.new.strftime("%Y%m%d%H%M%S")
|
9
13
|
end
|
10
14
|
end
|
11
15
|
end
|
@@ -0,0 +1,15 @@
|
|
1
|
+
class CreateLeads < ActiveRecord::Migration
|
2
|
+
def change
|
3
|
+
create_table :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
|
@@ -2043,3 +2043,163 @@ Started GET "/assets/application.css?body=1" for 10.0.2.2 at 2014-04-17 11:22:21
|
|
2043
2043
|
|
2044
2044
|
|
2045
2045
|
Started GET "/assets/application.js?body=1" for 10.0.2.2 at 2014-04-17 11:22:21 +0000
|
2046
|
+
|
2047
|
+
|
2048
|
+
Started GET "/" for 10.0.2.2 at 2014-04-17 19:34:04 +0000
|
2049
|
+
[1m[36mActiveRecord::SchemaMigration Load (27.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
2050
|
+
Processing by LeadsController#index as HTML
|
2051
|
+
Completed 500 Internal Server Error in 282ms
|
2052
|
+
|
2053
|
+
NoMethodError (undefined method `validade_precense_of' for #<Class:0xab5f89c>):
|
2054
|
+
activerecord (4.1.0) lib/active_record/dynamic_matchers.rb:26:in `method_missing'
|
2055
|
+
/vagrant/engine/leads_to_highrise/app/models/lead.rb:2:in `<class:Lead>'
|
2056
|
+
/vagrant/engine/leads_to_highrise/app/models/lead.rb:1:in `<top (required)>'
|
2057
|
+
activesupport (4.1.0) lib/active_support/dependencies.rb:443:in `load'
|
2058
|
+
activesupport (4.1.0) lib/active_support/dependencies.rb:443:in `block in load_file'
|
2059
|
+
activesupport (4.1.0) lib/active_support/dependencies.rb:633:in `new_constants_in'
|
2060
|
+
activesupport (4.1.0) lib/active_support/dependencies.rb:442:in `load_file'
|
2061
|
+
activesupport (4.1.0) lib/active_support/dependencies.rb:342:in `require_or_load'
|
2062
|
+
activesupport (4.1.0) lib/active_support/dependencies.rb:480:in `load_missing_constant'
|
2063
|
+
activesupport (4.1.0) lib/active_support/dependencies.rb:180:in `const_missing'
|
2064
|
+
activesupport (4.1.0) lib/active_support/dependencies.rb:512:in `load_missing_constant'
|
2065
|
+
activesupport (4.1.0) lib/active_support/dependencies.rb:180:in `const_missing'
|
2066
|
+
/vagrant/engine/leads_to_highrise/app/controllers/leads_controller.rb:7:in `index'
|
2067
|
+
actionpack (4.1.0) lib/action_controller/metal/implicit_render.rb:4:in `send_action'
|
2068
|
+
actionpack (4.1.0) lib/abstract_controller/base.rb:189:in `process_action'
|
2069
|
+
actionpack (4.1.0) lib/action_controller/metal/rendering.rb:10:in `process_action'
|
2070
|
+
actionpack (4.1.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action'
|
2071
|
+
activesupport (4.1.0) lib/active_support/callbacks.rb:113:in `call'
|
2072
|
+
activesupport (4.1.0) lib/active_support/callbacks.rb:113:in `call'
|
2073
|
+
activesupport (4.1.0) lib/active_support/callbacks.rb:149:in `block in halting_and_conditional'
|
2074
|
+
activesupport (4.1.0) lib/active_support/callbacks.rb:229:in `call'
|
2075
|
+
activesupport (4.1.0) lib/active_support/callbacks.rb:229:in `block in halting'
|
2076
|
+
activesupport (4.1.0) lib/active_support/callbacks.rb:166:in `call'
|
2077
|
+
activesupport (4.1.0) lib/active_support/callbacks.rb:166:in `block in halting'
|
2078
|
+
activesupport (4.1.0) lib/active_support/callbacks.rb:86:in `call'
|
2079
|
+
activesupport (4.1.0) lib/active_support/callbacks.rb:86:in `run_callbacks'
|
2080
|
+
actionpack (4.1.0) lib/abstract_controller/callbacks.rb:19:in `process_action'
|
2081
|
+
actionpack (4.1.0) lib/action_controller/metal/rescue.rb:29:in `process_action'
|
2082
|
+
actionpack (4.1.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action'
|
2083
|
+
activesupport (4.1.0) lib/active_support/notifications.rb:159:in `block in instrument'
|
2084
|
+
activesupport (4.1.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
|
2085
|
+
activesupport (4.1.0) lib/active_support/notifications.rb:159:in `instrument'
|
2086
|
+
actionpack (4.1.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action'
|
2087
|
+
actionpack (4.1.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action'
|
2088
|
+
activerecord (4.1.0) lib/active_record/railties/controller_runtime.rb:18:in `process_action'
|
2089
|
+
actionpack (4.1.0) lib/abstract_controller/base.rb:136:in `process'
|
2090
|
+
actionview (4.1.0) lib/action_view/rendering.rb:30:in `process'
|
2091
|
+
actionpack (4.1.0) lib/action_controller/metal.rb:195:in `dispatch'
|
2092
|
+
actionpack (4.1.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch'
|
2093
|
+
actionpack (4.1.0) lib/action_controller/metal.rb:231:in `block in action'
|
2094
|
+
actionpack (4.1.0) lib/action_dispatch/routing/route_set.rb:80:in `call'
|
2095
|
+
actionpack (4.1.0) lib/action_dispatch/routing/route_set.rb:80:in `dispatch'
|
2096
|
+
actionpack (4.1.0) lib/action_dispatch/routing/route_set.rb:48:in `call'
|
2097
|
+
actionpack (4.1.0) lib/action_dispatch/journey/router.rb:71:in `block in call'
|
2098
|
+
actionpack (4.1.0) lib/action_dispatch/journey/router.rb:59:in `each'
|
2099
|
+
actionpack (4.1.0) lib/action_dispatch/journey/router.rb:59:in `call'
|
2100
|
+
actionpack (4.1.0) lib/action_dispatch/routing/route_set.rb:676:in `call'
|
2101
|
+
warden (1.2.3) lib/warden/manager.rb:35:in `block in call'
|
2102
|
+
warden (1.2.3) lib/warden/manager.rb:34:in `catch'
|
2103
|
+
warden (1.2.3) lib/warden/manager.rb:34:in `call'
|
2104
|
+
rack (1.5.2) lib/rack/etag.rb:23:in `call'
|
2105
|
+
rack (1.5.2) lib/rack/conditionalget.rb:25:in `call'
|
2106
|
+
rack (1.5.2) lib/rack/head.rb:11:in `call'
|
2107
|
+
actionpack (4.1.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call'
|
2108
|
+
actionpack (4.1.0) lib/action_dispatch/middleware/flash.rb:254:in `call'
|
2109
|
+
rack (1.5.2) lib/rack/session/abstract/id.rb:225:in `context'
|
2110
|
+
rack (1.5.2) lib/rack/session/abstract/id.rb:220:in `call'
|
2111
|
+
actionpack (4.1.0) lib/action_dispatch/middleware/cookies.rb:560:in `call'
|
2112
|
+
activerecord (4.1.0) lib/active_record/query_cache.rb:36:in `call'
|
2113
|
+
activerecord (4.1.0) lib/active_record/connection_adapters/abstract/connection_pool.rb:621:in `call'
|
2114
|
+
activerecord (4.1.0) lib/active_record/migration.rb:380:in `call'
|
2115
|
+
actionpack (4.1.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call'
|
2116
|
+
activesupport (4.1.0) lib/active_support/callbacks.rb:82:in `run_callbacks'
|
2117
|
+
actionpack (4.1.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call'
|
2118
|
+
actionpack (4.1.0) lib/action_dispatch/middleware/reloader.rb:73:in `call'
|
2119
|
+
actionpack (4.1.0) lib/action_dispatch/middleware/remote_ip.rb:76:in `call'
|
2120
|
+
actionpack (4.1.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call'
|
2121
|
+
actionpack (4.1.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
|
2122
|
+
railties (4.1.0) lib/rails/rack/logger.rb:38:in `call_app'
|
2123
|
+
railties (4.1.0) lib/rails/rack/logger.rb:20:in `block in call'
|
2124
|
+
activesupport (4.1.0) lib/active_support/tagged_logging.rb:68:in `block in tagged'
|
2125
|
+
activesupport (4.1.0) lib/active_support/tagged_logging.rb:26:in `tagged'
|
2126
|
+
activesupport (4.1.0) lib/active_support/tagged_logging.rb:68:in `tagged'
|
2127
|
+
railties (4.1.0) lib/rails/rack/logger.rb:20:in `call'
|
2128
|
+
actionpack (4.1.0) lib/action_dispatch/middleware/request_id.rb:21:in `call'
|
2129
|
+
rack (1.5.2) lib/rack/methodoverride.rb:21:in `call'
|
2130
|
+
rack (1.5.2) lib/rack/runtime.rb:17:in `call'
|
2131
|
+
activesupport (4.1.0) lib/active_support/cache/strategy/local_cache_middleware.rb:26:in `call'
|
2132
|
+
rack (1.5.2) lib/rack/lock.rb:17:in `call'
|
2133
|
+
actionpack (4.1.0) lib/action_dispatch/middleware/static.rb:64:in `call'
|
2134
|
+
rack (1.5.2) lib/rack/sendfile.rb:112:in `call'
|
2135
|
+
railties (4.1.0) lib/rails/engine.rb:514:in `call'
|
2136
|
+
railties (4.1.0) lib/rails/application.rb:144:in `call'
|
2137
|
+
rack (1.5.2) lib/rack/lock.rb:17:in `call'
|
2138
|
+
rack (1.5.2) lib/rack/content_length.rb:14:in `call'
|
2139
|
+
rack (1.5.2) lib/rack/handler/webrick.rb:60:in `service'
|
2140
|
+
/home/vagrant/.rvm/rubies/ruby-1.9.3-p484/lib/ruby/1.9.1/webrick/httpserver.rb:138:in `service'
|
2141
|
+
/home/vagrant/.rvm/rubies/ruby-1.9.3-p484/lib/ruby/1.9.1/webrick/httpserver.rb:94:in `run'
|
2142
|
+
/home/vagrant/.rvm/rubies/ruby-1.9.3-p484/lib/ruby/1.9.1/webrick/server.rb:191:in `block in start_thread'
|
2143
|
+
|
2144
|
+
|
2145
|
+
Rendered /home/vagrant/.rvm/gems/ruby-1.9.3-p484/gems/actionpack-4.1.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (5.8ms)
|
2146
|
+
Rendered /home/vagrant/.rvm/gems/ruby-1.9.3-p484/gems/actionpack-4.1.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (38.2ms)
|
2147
|
+
Rendered /home/vagrant/.rvm/gems/ruby-1.9.3-p484/gems/actionpack-4.1.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (165.8ms)
|
2148
|
+
Rendered /home/vagrant/.rvm/gems/ruby-1.9.3-p484/gems/actionpack-4.1.0/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (446.7ms)
|
2149
|
+
|
2150
|
+
|
2151
|
+
Started GET "/" for 10.0.2.2 at 2014-04-17 19:37:03 +0000
|
2152
|
+
Processing by LeadsController#index as HTML
|
2153
|
+
[1m[35mLead Load (14.2ms)[0m SELECT "leads".* FROM "leads"
|
2154
|
+
[1m[36mUser Load (24.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 1 ORDER BY "users"."id" ASC LIMIT 1[0m
|
2155
|
+
Rendered /vagrant/engine/leads_to_highrise/app/views/leads/index.html.erb within layouts/application (632.9ms)
|
2156
|
+
Completed 200 OK in 2382ms (Views: 2061.6ms | ActiveRecord: 50.6ms)
|
2157
|
+
|
2158
|
+
|
2159
|
+
Started GET "/assets/application.css?body=1" for 10.0.2.2 at 2014-04-17 19:37:07 +0000
|
2160
|
+
|
2161
|
+
|
2162
|
+
Started GET "/assets/application.js?body=1" for 10.0.2.2 at 2014-04-17 19:37:08 +0000
|
2163
|
+
|
2164
|
+
|
2165
|
+
Started GET "/leads/new" for 10.0.2.2 at 2014-04-17 19:37:11 +0000
|
2166
|
+
Processing by LeadsController#new as HTML
|
2167
|
+
Rendered /vagrant/engine/leads_to_highrise/app/views/leads/_form.html.erb (440.1ms)
|
2168
|
+
Rendered /vagrant/engine/leads_to_highrise/app/views/leads/new.html.erb within layouts/application (759.5ms)
|
2169
|
+
Completed 200 OK in 1440ms (Views: 1437.4ms | ActiveRecord: 0.0ms)
|
2170
|
+
|
2171
|
+
|
2172
|
+
Started GET "/assets/application.js?body=1" for 10.0.2.2 at 2014-04-17 19:37:13 +0000
|
2173
|
+
|
2174
|
+
|
2175
|
+
Started GET "/assets/application.css?body=1" for 10.0.2.2 at 2014-04-17 19:37:13 +0000
|
2176
|
+
|
2177
|
+
|
2178
|
+
Started POST "/leads" for 10.0.2.2 at 2014-04-17 19:37:15 +0000
|
2179
|
+
Processing by LeadsController#create as HTML
|
2180
|
+
Parameters: {"utf8"=>"✓", "authenticity_token"=>"h7Hg4BJhz4hBTU1oDxw7PGmnVkKc9VDDskwoZAPV/xs=", "lead"=>{"name"=>"", "last_name"=>"", "email"=>"", "company"=>"", "job_title"=>"", "phone"=>"", "website"=>""}, "commit"=>"Create Lead"}
|
2181
|
+
[1m[35m (0.5ms)[0m begin transaction
|
2182
|
+
[1m[36m (0.3ms)[0m [1mrollback transaction[0m
|
2183
|
+
Rendered /vagrant/engine/leads_to_highrise/app/views/leads/_form.html.erb (135.2ms)
|
2184
|
+
Rendered /vagrant/engine/leads_to_highrise/app/views/leads/new.html.erb within layouts/application (350.9ms)
|
2185
|
+
Completed 200 OK in 1449ms (Views: 1373.7ms | ActiveRecord: 0.7ms)
|
2186
|
+
|
2187
|
+
|
2188
|
+
Started GET "/assets/application.css?body=1" for 10.0.2.2 at 2014-04-17 19:37:17 +0000
|
2189
|
+
|
2190
|
+
|
2191
|
+
Started GET "/assets/application.js?body=1" for 10.0.2.2 at 2014-04-17 19:37:18 +0000
|
2192
|
+
|
2193
|
+
|
2194
|
+
Started GET "/leads" for 10.0.2.2 at 2014-04-17 19:37:24 +0000
|
2195
|
+
Processing by LeadsController#index as HTML
|
2196
|
+
[1m[35mLead Load (34.5ms)[0m SELECT "leads".* FROM "leads"
|
2197
|
+
[1m[36mUser Load (53.6ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 1 ORDER BY "users"."id" ASC LIMIT 1[0m
|
2198
|
+
Rendered /vagrant/engine/leads_to_highrise/app/views/leads/index.html.erb within layouts/application (159.6ms)
|
2199
|
+
Completed 200 OK in 920ms (Views: 828.4ms | ActiveRecord: 88.2ms)
|
2200
|
+
|
2201
|
+
|
2202
|
+
Started GET "/assets/application.css?body=1" for 10.0.2.2 at 2014-04-17 19:37:26 +0000
|
2203
|
+
|
2204
|
+
|
2205
|
+
Started GET "/assets/application.js?body=1" for 10.0.2.2 at 2014-04-17 19:37:27 +0000
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: leads_to_highrise
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.14
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Bruno Tripoloni
|
@@ -66,7 +66,7 @@ dependencies:
|
|
66
66
|
- - ! '>='
|
67
67
|
- !ruby/object:Gem::Version
|
68
68
|
version: '0'
|
69
|
-
description:
|
69
|
+
description: Use this gem to send contacts to highrise easily
|
70
70
|
email:
|
71
71
|
- bruno.tripoloni@gmail.com
|
72
72
|
executables: []
|
@@ -74,7 +74,6 @@ extensions: []
|
|
74
74
|
extra_rdoc_files: []
|
75
75
|
files:
|
76
76
|
- MIT-LICENSE
|
77
|
-
- README.rdoc
|
78
77
|
- Rakefile
|
79
78
|
- app/assets/javascripts/leads.js
|
80
79
|
- app/assets/stylesheets/leads.css
|
@@ -132,6 +131,8 @@ files:
|
|
132
131
|
- test/dummy/config/secrets.yml
|
133
132
|
- test/dummy/db/development.sqlite3
|
134
133
|
- test/dummy/db/migrate/20140417074003_devise_create_users.rb
|
134
|
+
- test/dummy/db/migrate/20140417201406_add_highrise_site_and_highrise_user_to_user.rb
|
135
|
+
- test/dummy/db/migrate/20140417201406_create_leads.rb
|
135
136
|
- test/dummy/db/schema.rb
|
136
137
|
- test/dummy/lib/generators/install/USAGE
|
137
138
|
- test/dummy/lib/generators/install/install_generator.rb
|
@@ -179,7 +180,7 @@ rubyforge_project:
|
|
179
180
|
rubygems_version: 2.2.2
|
180
181
|
signing_key:
|
181
182
|
specification_version: 4
|
182
|
-
summary:
|
183
|
+
summary: Send contacts to highrise easily.
|
183
184
|
test_files:
|
184
185
|
- test/controllers/leads_controller_test.rb
|
185
186
|
- test/dummy/app/assets/javascripts/application.js
|
@@ -213,6 +214,8 @@ test_files:
|
|
213
214
|
- test/dummy/config.ru
|
214
215
|
- test/dummy/db/development.sqlite3
|
215
216
|
- test/dummy/db/migrate/20140417074003_devise_create_users.rb
|
217
|
+
- test/dummy/db/migrate/20140417201406_add_highrise_site_and_highrise_user_to_user.rb
|
218
|
+
- test/dummy/db/migrate/20140417201406_create_leads.rb
|
216
219
|
- test/dummy/db/schema.rb
|
217
220
|
- test/dummy/lib/generators/install/install_generator.rb
|
218
221
|
- test/dummy/lib/generators/install/USAGE
|
data/README.rdoc
DELETED