leads_to_highrise 0.2.14 → 0.2.15

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 CHANGED
@@ -1,15 +1,15 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
3
  metadata.gz: !binary |-
4
- ZjM1N2ZkYTU4ODgxODJmOGU3MjVkZGFkZjI0MDk5YzNiZWM3NDhlMg==
4
+ NzM0ZWNmNzk1ZWYyYTc4M2FlZTk2NmE5ZGJkZTc2OTRmYTQ5MWI4MA==
5
5
  data.tar.gz: !binary |-
6
- ZTIyNWRhMDMwODczMThmZjFlZGQ1ZDYxYjQzZjYzYjc5ZmI3M2MzNg==
6
+ ZmFlNWVjMTJhNDQ0YmI1Mjg5ZmIxZTNlYzBlY2M1ZTNkYmQ4ZTMyOA==
7
7
  SHA512:
8
8
  metadata.gz: !binary |-
9
- YjUzZDkzODA0OTg4MmQwMmNlYTY2MjIxYTZlNmViOTI1MTI3Nzk1NWU4YzE4
10
- ZjEyYjk0NmNlMjQ1YzhkMGMzZjY2NzNiN2ZmMzcxN2Y3ODE2NzY3YmNiMjdm
11
- Y2YxNDBjY2Y3MGFjMTg2YjMzYmNjZDE2ZTIwMDc5OGYxM2UwNDY=
9
+ YmQ5ZGIyZjMyOTM4YjRhMWZkZmVjY2FiMjgwNjQzNjEzYTkwMzU3NTBjN2I1
10
+ YzM3YWNiM2VlYTcyZDkxOTRiZjQxNDM5OTc3OGY1OThlYzc5MzZiNGJhODVm
11
+ NzI5YmRlMzlhNzVhODlhMTU0ZjBmMmU3MGUzYWQ1YzdlNzhhZDM=
12
12
  data.tar.gz: !binary |-
13
- NmE1NmY0YWQwMTZkNzhhYzAxN2M4OTViNjE5ZTg0NDIxM2ExMjQyZGViMjZk
14
- Y2RlMzVhMDlkODQ2ZDViMGFhZjhkMjQ2YTU0MjZlOWI1OGFlZWM3ODM4NGQw
15
- YTE0MmIyZGVjODE1ZDZkNTE2ZDVmOGE4ODZlMGQ3OTFjN2IwMWQ=
13
+ Mjk1YTExYTU2ODk3MDk3MzJiOTUxNTJiZTAwOThlMzgzYjE4ZjExYWYyNjY1
14
+ ZWZiNzJlYzJhNDA0MWI5M2ViZTk3MjBjZmFlODc2YTAwMzY5NDZiYzEwMzE1
15
+ OGIzZGZiYzNjMTA2OTJmZTQ1NWQ3OTRjMjI3OGI3MDRhZTNhNjc=
@@ -47,8 +47,8 @@ class LeadsController < ApplicationController
47
47
  end
48
48
 
49
49
  def to_highrise
50
- @lead = Lead.find(params[:id])
51
- if current_user.highrise_site != nil || current_user.highrise_user !=
50
+ if current_user.highrise_site != nil or current_user.highrise_user != nil
51
+ @lead = Lead.find(params[:id])
52
52
  Highrise::Base.site = current_user.highrise_site
53
53
  Highrise::Base.user = current_user.highrise_user
54
54
  Highrise::Base.format = :xml
@@ -69,7 +69,7 @@ class LeadsController < ApplicationController
69
69
  redirect_to root_path, notice: 'Error.'
70
70
  end
71
71
  else
72
- redirect_to root_path, notice: 'Please add your highrise settings'
72
+ redirect_to root_path, notice: 'Please add our highrise configs.'
73
73
  end
74
74
  end
75
75
 
@@ -9,7 +9,12 @@ module LeadsToHighrise
9
9
  end
10
10
 
11
11
  def time
12
- _new = Time.new.strftime("%Y%m%d%H%M%S")
12
+ unless @time
13
+ @time = DateTime.now.strftime("%Y%m%d%H%M%S").to_i
14
+ else
15
+ @time += 1
16
+ end
17
+ @time.to_s
13
18
  end
14
19
  end
15
20
  end
@@ -1,3 +1,3 @@
1
1
  module LeadsToHighrise
2
- VERSION = "0.2.14"
2
+ VERSION = "0.2.15"
3
3
  end
Binary file
@@ -11,7 +11,7 @@
11
11
  #
12
12
  # It's strongly recommended that you check this file into your version control system.
13
13
 
14
- ActiveRecord::Schema.define(version: 20140417074432) do
14
+ ActiveRecord::Schema.define(version: 20140417224914) do
15
15
 
16
16
  create_table "leads", force: true do |t|
17
17
  t.string "name"
@@ -2203,3 +2203,302 @@ Started GET "/assets/application.css?body=1" for 10.0.2.2 at 2014-04-17 19:37:26
2203
2203
 
2204
2204
 
2205
2205
  Started GET "/assets/application.js?body=1" for 10.0.2.2 at 2014-04-17 19:37:27 +0000
2206
+
2207
+
2208
+ Started GET "/leads/1/to_highrise" for 10.0.2.2 at 2014-04-17 21:45:27 +0000
2209
+ ActiveRecord::SchemaMigration Load (7.2ms) SELECT "schema_migrations".* FROM "schema_migrations"
2210
+
2211
+ ActiveRecord::PendingMigrationError (
2212
+
2213
+ Migrations are pending. To resolve this issue, run:
2214
+
2215
+ bin/rake db:migrate RAILS_ENV=development
2216
+
2217
+ ):
2218
+ activerecord (4.1.0) lib/active_record/migration.rb:389:in `check_pending!'
2219
+ activerecord (4.1.0) lib/active_record/migration.rb:377:in `call'
2220
+ actionpack (4.1.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call'
2221
+ activesupport (4.1.0) lib/active_support/callbacks.rb:82:in `run_callbacks'
2222
+ actionpack (4.1.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call'
2223
+ actionpack (4.1.0) lib/action_dispatch/middleware/reloader.rb:73:in `call'
2224
+ actionpack (4.1.0) lib/action_dispatch/middleware/remote_ip.rb:76:in `call'
2225
+ actionpack (4.1.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call'
2226
+ actionpack (4.1.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
2227
+ railties (4.1.0) lib/rails/rack/logger.rb:38:in `call_app'
2228
+ railties (4.1.0) lib/rails/rack/logger.rb:20:in `block in call'
2229
+ activesupport (4.1.0) lib/active_support/tagged_logging.rb:68:in `block in tagged'
2230
+ activesupport (4.1.0) lib/active_support/tagged_logging.rb:26:in `tagged'
2231
+ activesupport (4.1.0) lib/active_support/tagged_logging.rb:68:in `tagged'
2232
+ railties (4.1.0) lib/rails/rack/logger.rb:20:in `call'
2233
+ actionpack (4.1.0) lib/action_dispatch/middleware/request_id.rb:21:in `call'
2234
+ rack (1.5.2) lib/rack/methodoverride.rb:21:in `call'
2235
+ rack (1.5.2) lib/rack/runtime.rb:17:in `call'
2236
+ activesupport (4.1.0) lib/active_support/cache/strategy/local_cache_middleware.rb:26:in `call'
2237
+ rack (1.5.2) lib/rack/lock.rb:17:in `call'
2238
+ actionpack (4.1.0) lib/action_dispatch/middleware/static.rb:64:in `call'
2239
+ rack (1.5.2) lib/rack/sendfile.rb:112:in `call'
2240
+ railties (4.1.0) lib/rails/engine.rb:514:in `call'
2241
+ railties (4.1.0) lib/rails/application.rb:144:in `call'
2242
+ rack (1.5.2) lib/rack/lock.rb:17:in `call'
2243
+ rack (1.5.2) lib/rack/content_length.rb:14:in `call'
2244
+ rack (1.5.2) lib/rack/handler/webrick.rb:60:in `service'
2245
+ /home/vagrant/.rvm/rubies/ruby-1.9.3-p484/lib/ruby/1.9.1/webrick/httpserver.rb:138:in `service'
2246
+ /home/vagrant/.rvm/rubies/ruby-1.9.3-p484/lib/ruby/1.9.1/webrick/httpserver.rb:94:in `run'
2247
+ /home/vagrant/.rvm/rubies/ruby-1.9.3-p484/lib/ruby/1.9.1/webrick/server.rb:191:in `block in start_thread'
2248
+
2249
+
2250
+ Rendered /home/vagrant/.rvm/gems/ruby-1.9.3-p484/gems/actionpack-4.1.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (3.5ms)
2251
+ Rendered /home/vagrant/.rvm/gems/ruby-1.9.3-p484/gems/actionpack-4.1.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.8ms)
2252
+ 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 (6.4ms)
2253
+ 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 (208.7ms)
2254
+ ActiveRecord::SchemaMigration Load (34.3ms) SELECT "schema_migrations".* FROM "schema_migrations"
2255
+ Migrating to CreateLeads (20140417224913)
2256
+  (0.4ms) begin transaction
2257
+  (1.4ms) CREATE TABLE "leads" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "last_name" varchar(255), "email" varchar(255), "company" varchar(255), "job_title" varchar(255), "phone" varchar(255), "website" varchar(255), "created_at" datetime, "updated_at" datetime) 
2258
+ SQLite3::SQLException: table "leads" already exists: CREATE TABLE "leads" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "last_name" varchar(255), "email" varchar(255), "company" varchar(255), "job_title" varchar(255), "phone" varchar(255), "website" varchar(255), "created_at" datetime, "updated_at" datetime)
2259
+  (0.3ms) rollback transaction
2260
+ ActiveRecord::SchemaMigration Load (9.3ms) SELECT "schema_migrations".* FROM "schema_migrations"
2261
+ Migrating to CreateLeads (20140417224913)
2262
+  (0.2ms) begin transaction
2263
+  (1.6ms) CREATE TABLE "leads" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "last_name" varchar(255), "email" varchar(255), "company" varchar(255), "job_title" varchar(255), "phone" varchar(255), "website" varchar(255), "created_at" datetime, "updated_at" datetime) 
2264
+ SQLite3::SQLException: table "leads" already exists: CREATE TABLE "leads" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "last_name" varchar(255), "email" varchar(255), "company" varchar(255), "job_title" varchar(255), "phone" varchar(255), "website" varchar(255), "created_at" datetime, "updated_at" datetime)
2265
+  (1.1ms) rollback transaction
2266
+
2267
+
2268
+ Started GET "/leads/1/to_highrise" for 10.0.2.2 at 2014-04-17 22:58:54 +0000
2269
+ ActiveRecord::SchemaMigration Load (9.4ms) SELECT "schema_migrations".* FROM "schema_migrations"
2270
+
2271
+ ActiveRecord::PendingMigrationError (
2272
+
2273
+ Migrations are pending. To resolve this issue, run:
2274
+
2275
+ bin/rake db:migrate RAILS_ENV=development
2276
+
2277
+ ):
2278
+ activerecord (4.1.0) lib/active_record/migration.rb:389:in `check_pending!'
2279
+ activerecord (4.1.0) lib/active_record/migration.rb:377:in `call'
2280
+ actionpack (4.1.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call'
2281
+ activesupport (4.1.0) lib/active_support/callbacks.rb:82:in `run_callbacks'
2282
+ actionpack (4.1.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call'
2283
+ actionpack (4.1.0) lib/action_dispatch/middleware/reloader.rb:73:in `call'
2284
+ actionpack (4.1.0) lib/action_dispatch/middleware/remote_ip.rb:76:in `call'
2285
+ actionpack (4.1.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call'
2286
+ actionpack (4.1.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
2287
+ railties (4.1.0) lib/rails/rack/logger.rb:38:in `call_app'
2288
+ railties (4.1.0) lib/rails/rack/logger.rb:20:in `block in call'
2289
+ activesupport (4.1.0) lib/active_support/tagged_logging.rb:68:in `block in tagged'
2290
+ activesupport (4.1.0) lib/active_support/tagged_logging.rb:26:in `tagged'
2291
+ activesupport (4.1.0) lib/active_support/tagged_logging.rb:68:in `tagged'
2292
+ railties (4.1.0) lib/rails/rack/logger.rb:20:in `call'
2293
+ actionpack (4.1.0) lib/action_dispatch/middleware/request_id.rb:21:in `call'
2294
+ rack (1.5.2) lib/rack/methodoverride.rb:21:in `call'
2295
+ rack (1.5.2) lib/rack/runtime.rb:17:in `call'
2296
+ activesupport (4.1.0) lib/active_support/cache/strategy/local_cache_middleware.rb:26:in `call'
2297
+ rack (1.5.2) lib/rack/lock.rb:17:in `call'
2298
+ actionpack (4.1.0) lib/action_dispatch/middleware/static.rb:64:in `call'
2299
+ rack (1.5.2) lib/rack/sendfile.rb:112:in `call'
2300
+ railties (4.1.0) lib/rails/engine.rb:514:in `call'
2301
+ railties (4.1.0) lib/rails/application.rb:144:in `call'
2302
+ rack (1.5.2) lib/rack/lock.rb:17:in `call'
2303
+ rack (1.5.2) lib/rack/content_length.rb:14:in `call'
2304
+ rack (1.5.2) lib/rack/handler/webrick.rb:60:in `service'
2305
+ /home/vagrant/.rvm/rubies/ruby-1.9.3-p484/lib/ruby/1.9.1/webrick/httpserver.rb:138:in `service'
2306
+ /home/vagrant/.rvm/rubies/ruby-1.9.3-p484/lib/ruby/1.9.1/webrick/httpserver.rb:94:in `run'
2307
+ /home/vagrant/.rvm/rubies/ruby-1.9.3-p484/lib/ruby/1.9.1/webrick/server.rb:191:in `block in start_thread'
2308
+
2309
+
2310
+ Rendered /home/vagrant/.rvm/gems/ruby-1.9.3-p484/gems/actionpack-4.1.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (1.4ms)
2311
+ Rendered /home/vagrant/.rvm/gems/ruby-1.9.3-p484/gems/actionpack-4.1.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.6ms)
2312
+ 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 (15.2ms)
2313
+ 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 (121.9ms)
2314
+  (47.4ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) 
2315
+  (0.7ms) select sqlite_version(*)
2316
+  (52.8ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
2317
+ ActiveRecord::SchemaMigration Load (44.8ms) SELECT "schema_migrations".* FROM "schema_migrations"
2318
+ Migrating to DeviseCreateUsers (20140417074003)
2319
+  (0.3ms) begin transaction
2320
+  (61.4ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "email" varchar(255) DEFAULT '' NOT NULL, "encrypted_password" varchar(255) DEFAULT '' NOT NULL, "reset_password_token" varchar(255), "reset_password_sent_at" datetime, "remember_created_at" datetime, "sign_in_count" integer DEFAULT 0 NOT NULL, "current_sign_in_at" datetime, "last_sign_in_at" datetime, "current_sign_in_ip" varchar(255), "last_sign_in_ip" varchar(255), "created_at" datetime, "updated_at" datetime)
2321
+  (5.2ms) CREATE UNIQUE INDEX "index_users_on_email" ON "users" ("email")
2322
+  (0.3ms) SELECT sql
2323
+ FROM sqlite_master
2324
+ WHERE name='index_users_on_email' AND type='index'
2325
+ UNION ALL
2326
+ SELECT sql
2327
+ FROM sqlite_temp_master
2328
+ WHERE name='index_users_on_email' AND type='index'
2329
+
2330
+  (1.0ms) CREATE UNIQUE INDEX "index_users_on_reset_password_token" ON "users" ("reset_password_token")
2331
+ SQL (211.6ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20140417074003"]]
2332
+  (76.6ms) commit transaction
2333
+ Migrating to CreateLeads (20140417224913)
2334
+  (0.2ms) begin transaction
2335
+  (78.6ms) CREATE TABLE "leads" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "last_name" varchar(255), "email" varchar(255), "company" varchar(255), "job_title" varchar(255), "phone" varchar(255), "website" varchar(255), "created_at" datetime, "updated_at" datetime) 
2336
+ SQL (2.6ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20140417224913"]]
2337
+  (22.7ms) commit transaction
2338
+ Migrating to AddHighriseSiteAndHighriseUserToUser (20140417224914)
2339
+  (0.2ms) begin transaction
2340
+  (48.0ms) ALTER TABLE "users" ADD "highrise_site" varchar(255)
2341
+  (0.6ms) ALTER TABLE "users" ADD "highrise_user" varchar(255)
2342
+ SQL (3.3ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20140417224914"]]
2343
+  (29.7ms) commit transaction
2344
+ ActiveRecord::SchemaMigration Load (9.5ms) SELECT "schema_migrations".* FROM "schema_migrations"
2345
+  (9.1ms) SELECT sql
2346
+ FROM sqlite_master
2347
+ WHERE name='index_users_on_reset_password_token' AND type='index'
2348
+ UNION ALL
2349
+ SELECT sql
2350
+ FROM sqlite_temp_master
2351
+ WHERE name='index_users_on_reset_password_token' AND type='index'
2352
+
2353
+  (4.1ms)  SELECT sql
2354
+ FROM sqlite_master
2355
+ WHERE name='index_users_on_email' AND type='index'
2356
+ UNION ALL
2357
+ SELECT sql
2358
+ FROM sqlite_temp_master
2359
+ WHERE name='index_users_on_email' AND type='index'
2360
+ 
2361
+
2362
+
2363
+ Started GET "/leads/" for 10.0.2.2 at 2014-04-17 23:03:21 +0000
2364
+ ActiveRecord::SchemaMigration Load (80.6ms) SELECT "schema_migrations".* FROM "schema_migrations"
2365
+ Processing by LeadsController#index as HTML
2366
+ Lead Load (8.6ms) SELECT "leads".* FROM "leads"
2367
+ Rendered /vagrant/engine/leads_to_highrise/app/views/leads/index.html.erb within layouts/application (268.0ms)
2368
+ Completed 200 OK in 2830ms (Views: 2373.9ms | ActiveRecord: 8.6ms)
2369
+
2370
+
2371
+ Started GET "/assets/application.css?body=1" for 10.0.2.2 at 2014-04-17 23:03:33 +0000
2372
+
2373
+
2374
+ Started GET "/assets/application.js?body=1" for 10.0.2.2 at 2014-04-17 23:03:33 +0000
2375
+
2376
+
2377
+ Started GET "/leads/" for 10.0.2.2 at 2014-04-17 23:06:45 +0000
2378
+ Processing by LeadsController#index as HTML
2379
+ Lead Load (35.4ms) SELECT "leads".* FROM "leads"
2380
+ Rendered /vagrant/engine/leads_to_highrise/app/views/leads/index.html.erb within layouts/application (42.8ms)
2381
+ Completed 200 OK in 1152ms (Views: 838.1ms | ActiveRecord: 35.4ms)
2382
+
2383
+
2384
+ Started GET "/assets/application.css?body=1" for 10.0.2.2 at 2014-04-17 23:06:48 +0000
2385
+
2386
+
2387
+ Started GET "/assets/application.js?body=1" for 10.0.2.2 at 2014-04-17 23:06:48 +0000
2388
+
2389
+
2390
+ Started GET "/leads/new" for 10.0.2.2 at 2014-04-17 23:06:52 +0000
2391
+ Processing by LeadsController#new as HTML
2392
+ Rendered /vagrant/engine/leads_to_highrise/app/views/leads/_form.html.erb (462.6ms)
2393
+ Rendered /vagrant/engine/leads_to_highrise/app/views/leads/new.html.erb within layouts/application (880.3ms)
2394
+ Completed 200 OK in 1578ms (Views: 1542.0ms | ActiveRecord: 20.3ms)
2395
+
2396
+
2397
+ Started GET "/assets/application.css?body=1" for 10.0.2.2 at 2014-04-17 23:06:54 +0000
2398
+
2399
+
2400
+ Started GET "/assets/application.js?body=1" for 10.0.2.2 at 2014-04-17 23:06:55 +0000
2401
+
2402
+
2403
+ Started POST "/leads" for 10.0.2.2 at 2014-04-17 23:07:19 +0000
2404
+ Processing by LeadsController#create as HTML
2405
+ Parameters: {"utf8"=>"✓", "authenticity_token"=>"h7Hg4BJhz4hBTU1oDxw7PGmnVkKc9VDDskwoZAPV/xs=", "lead"=>{"name"=>"Bruno", "last_name"=>"Tripoloni", "email"=>"bruno.tripoloni@gmail.com", "company"=>"comanue", "job_title"=>"empresario", "phone"=>"(18) 0000-0000", "website"=>"site.com.br"}, "commit"=>"Create Lead"}
2406
+  (5.6ms) begin transaction
2407
+ SQL (14.6ms) INSERT INTO "leads" ("company", "created_at", "email", "job_title", "last_name", "name", "phone", "updated_at", "website") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["company", "comanue"], ["created_at", "2014-04-17 23:07:19.858622"], ["email", "bruno.tripoloni@gmail.com"], ["job_title", "empresario"], ["last_name", "Tripoloni"], ["name", "Bruno"], ["phone", "(18) 0000-0000"], ["updated_at", "2014-04-17 23:07:19.858622"], ["website", "site.com.br"]]
2408
+  (50.9ms) commit transaction
2409
+ Redirected to http://localhost:3000/leads/1
2410
+ Completed 302 Found in 309ms (ActiveRecord: 71.0ms)
2411
+
2412
+
2413
+ Started GET "/leads/1" for 10.0.2.2 at 2014-04-17 23:07:20 +0000
2414
+ Processing by LeadsController#show as HTML
2415
+ Parameters: {"id"=>"1"}
2416
+ Lead Load (20.1ms) SELECT "leads".* FROM "leads" WHERE "leads"."id" = ? LIMIT 1 [["id", 1]]
2417
+ Rendered /vagrant/engine/leads_to_highrise/app/views/leads/show.html.erb within layouts/application (3.2ms)
2418
+ Completed 200 OK in 992ms (Views: 946.3ms | ActiveRecord: 20.1ms)
2419
+
2420
+
2421
+ Started GET "/assets/application.css?body=1" for 10.0.2.2 at 2014-04-17 23:07:22 +0000
2422
+
2423
+
2424
+ Started GET "/assets/application.js?body=1" for 10.0.2.2 at 2014-04-17 23:07:23 +0000
2425
+
2426
+
2427
+ Started GET "/leads" for 10.0.2.2 at 2014-04-17 23:07:26 +0000
2428
+ Processing by LeadsController#index as HTML
2429
+ Lead Load (11.7ms) SELECT "leads".* FROM "leads"
2430
+ User Load (12.6ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 ORDER BY "users"."id" ASC LIMIT 1
2431
+ Rendered /vagrant/engine/leads_to_highrise/app/views/leads/index.html.erb within layouts/application (433.5ms)
2432
+ Completed 200 OK in 1215ms (Views: 1168.7ms | ActiveRecord: 43.4ms)
2433
+
2434
+
2435
+ Started GET "/assets/application.css?body=1" for 10.0.2.2 at 2014-04-17 23:07:29 +0000
2436
+
2437
+
2438
+ Started GET "/assets/application.js?body=1" for 10.0.2.2 at 2014-04-17 23:07:29 +0000
2439
+
2440
+
2441
+ Started GET "/users/sign_up" for 10.0.2.2 at 2014-04-17 23:08:19 +0000
2442
+ Processing by Devise::RegistrationsController#new as HTML
2443
+ Rendered /home/vagrant/.rvm/gems/ruby-1.9.3-p484/gems/devise-3.2.4/app/views/devise/shared/_links.erb (4.1ms)
2444
+ Rendered /home/vagrant/.rvm/gems/ruby-1.9.3-p484/gems/devise-3.2.4/app/views/devise/registrations/new.html.erb within layouts/application (854.6ms)
2445
+ Completed 200 OK in 2235ms (Views: 2229.9ms | ActiveRecord: 0.4ms)
2446
+
2447
+
2448
+ Started GET "/assets/application.css?body=1" for 10.0.2.2 at 2014-04-17 23:08:23 +0000
2449
+
2450
+
2451
+ Started GET "/assets/application.js?body=1" for 10.0.2.2 at 2014-04-17 23:08:24 +0000
2452
+
2453
+
2454
+ Started POST "/users" for 10.0.2.2 at 2014-04-17 23:08:42 +0000
2455
+ Processing by Devise::RegistrationsController#create as HTML
2456
+ Parameters: {"utf8"=>"✓", "authenticity_token"=>"h7Hg4BJhz4hBTU1oDxw7PGmnVkKc9VDDskwoZAPV/xs=", "user"=>{"email"=>"bruno.tripoloni@gmail.com", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}, "commit"=>"Sign up"}
2457
+  (0.3ms) begin transaction
2458
+ User Exists (9.8ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'bruno.tripoloni@gmail.com' LIMIT 1
2459
+ Binary data inserted for `string` type on column `encrypted_password`
2460
+ SQL (15.4ms) INSERT INTO "users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-04-17 23:08:43.947384"], ["email", "bruno.tripoloni@gmail.com"], ["encrypted_password", "$2a$10$PiBskP.jjHjl8xxqOnVSTOHbPzPvtDHFwOHEDCoiom.KWNoAE7z02"], ["updated_at", "2014-04-17 23:08:43.947384"]]
2461
+  (20.9ms) commit transaction
2462
+  (0.2ms) begin transaction
2463
+ Binary data inserted for `string` type on column `current_sign_in_ip`
2464
+ Binary data inserted for `string` type on column `last_sign_in_ip`
2465
+ SQL (38.8ms) UPDATE "users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = 1 [["current_sign_in_at", "2014-04-17 23:08:44.004788"], ["current_sign_in_ip", "10.0.2.2"], ["last_sign_in_at", "2014-04-17 23:08:44.004788"], ["last_sign_in_ip", "10.0.2.2"], ["sign_in_count", 1], ["updated_at", "2014-04-17 23:08:44.010207"]]
2466
+  (44.7ms) commit transaction
2467
+ Redirected to http://localhost:3000/
2468
+ Completed 302 Found in 2226ms (ActiveRecord: 130.1ms)
2469
+
2470
+
2471
+ Started GET "/" for 10.0.2.2 at 2014-04-17 23:08:45 +0000
2472
+ Processing by LeadsController#index as HTML
2473
+ Lead Load (23.1ms) SELECT "leads".* FROM "leads"
2474
+ User Load (29.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 ORDER BY "users"."id" ASC LIMIT 1
2475
+ Rendered /vagrant/engine/leads_to_highrise/app/views/leads/index.html.erb within layouts/application (160.2ms)
2476
+ Completed 200 OK in 1443ms (Views: 1379.7ms | ActiveRecord: 52.1ms)
2477
+
2478
+
2479
+ Started GET "/assets/application.css?body=1" for 10.0.2.2 at 2014-04-17 23:08:48 +0000
2480
+
2481
+
2482
+ Started GET "/assets/application.js?body=1" for 10.0.2.2 at 2014-04-17 23:08:48 +0000
2483
+
2484
+
2485
+ Started GET "/leads/1/to_highrise" for 10.0.2.2 at 2014-04-17 23:09:12 +0000
2486
+ Processing by LeadsController#to_highrise as HTML
2487
+ Parameters: {"id"=>"1"}
2488
+ User Load (31.5ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 ORDER BY "users"."id" ASC LIMIT 1
2489
+ Redirected to http://localhost:3000/
2490
+ Completed 302 Found in 45ms (ActiveRecord: 31.5ms)
2491
+
2492
+
2493
+ Started GET "/" for 10.0.2.2 at 2014-04-17 23:09:13 +0000
2494
+ Processing by LeadsController#index as HTML
2495
+ Lead Load (7.4ms) SELECT "leads".* FROM "leads"
2496
+ User Load (10.4ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 ORDER BY "users"."id" ASC LIMIT 1
2497
+ Rendered /vagrant/engine/leads_to_highrise/app/views/leads/index.html.erb within layouts/application (47.1ms)
2498
+ Completed 200 OK in 848ms (Views: 829.1ms | ActiveRecord: 17.8ms)
2499
+
2500
+
2501
+ Started GET "/assets/application.css?body=1" for 10.0.2.2 at 2014-04-17 23:09:15 +0000
2502
+
2503
+
2504
+ Started GET "/assets/application.js?body=1" for 10.0.2.2 at 2014-04-17 23:09:15 +0000
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.14
4
+ version: 0.2.15
5
5
  platform: ruby
6
6
  authors:
7
7
  - Bruno Tripoloni
@@ -131,8 +131,8 @@ files:
131
131
  - test/dummy/config/secrets.yml
132
132
  - test/dummy/db/development.sqlite3
133
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
134
+ - test/dummy/db/migrate/20140417224913_create_leads.rb
135
+ - test/dummy/db/migrate/20140417224914_add_highrise_site_and_highrise_user_to_user.rb
136
136
  - test/dummy/db/schema.rb
137
137
  - test/dummy/lib/generators/install/USAGE
138
138
  - test/dummy/lib/generators/install/install_generator.rb
@@ -214,8 +214,8 @@ test_files:
214
214
  - test/dummy/config.ru
215
215
  - test/dummy/db/development.sqlite3
216
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
217
+ - test/dummy/db/migrate/20140417224913_create_leads.rb
218
+ - test/dummy/db/migrate/20140417224914_add_highrise_site_and_highrise_user_to_user.rb
219
219
  - test/dummy/db/schema.rb
220
220
  - test/dummy/lib/generators/install/install_generator.rb
221
221
  - test/dummy/lib/generators/install/USAGE