g5_updatable 0.7.2 → 0.8.0

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,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: ed3729a2c43c76cf6b8f7a3d524d3dc3f36116bb
4
- data.tar.gz: be1fccc6ff748ebf1e5fd0bc10274d70eb4bcff7
3
+ metadata.gz: 063dfb513857c34a5c119760fe7356611098d689
4
+ data.tar.gz: b640eaad04c4f0d1c7ecccc9f59dba3fef8de6ce
5
5
  SHA512:
6
- metadata.gz: f0232b66bef9d00db3a4aa8a7b81d3377d9bdcaf36023f90306066f4ac99bff710ce9aa14bd4bbc60d381ce5bc0deea72cc97506360c8ff2f722c22ac84a5da1
7
- data.tar.gz: 79be6ff822de0809abdffd5e0f926da033656f0767fbdbf22d2aed94e6eb8be0f96971df6d6e5b51d2892a3a420e46ee6380a322f65fad5486f6c11f632a0ba8
6
+ metadata.gz: 172fb541c6105111bf4b2dc98f9d8e1f5da89a09082c3c7ff53affba4e63bcfebd596fa9f46814103eb863298270b5c60c522b7ecbc51f5b17cc380fc053383f
7
+ data.tar.gz: e6b075a773dff3de310f179052aa4f6e41d385d0054ff2aeb843cce6e2cf3f443b180b42929bc567ee01f5126bbec9422acce8e421f14127b30cc71e66da6705
@@ -8,8 +8,161 @@ FactoryGirl.define do
8
8
  factory :g5_updatable_location, class: "G5Updatable::Location" do
9
9
  association :client, factory: :g5_updatable_client
10
10
  sequence(:urn) { |n| "location_urn_#{n}" }
11
- sequence(:phone_number) {|n| "123-321-#{n}" }
12
11
  uid { "#{client.urn}/locations/#{urn}" }
12
+
13
+ sequence(:phone_number) {|n| "123-321-#{n}" }
14
+ corporate false
15
+ status "Pending"
16
+ street_address_1 "123 Test Way"
17
+ street_address_2 ""
18
+ city "Delta City"
19
+ state "MI"
20
+ state_name "Michigan"
21
+ postal_code "54169"
22
+ service_1 nil
23
+ service_2 nil
24
+ service_3 nil
25
+ service_4 nil
26
+ service_5 nil
27
+ fax ""
28
+ email "email@getg5.com"
29
+ office_hours ""
30
+ access_hours nil
31
+ twitter_username ""
32
+ facebook_username ""
33
+ yelp_username ""
34
+ pinterest_username ""
35
+ foursquare_username ""
36
+ tumblr_username ""
37
+ instagram_username ""
38
+ vimeo_username ""
39
+ youtube_username ""
40
+ domain "www.example.org"
41
+ secure_domain false
42
+ neighborhood nil
43
+ boat_storage false
44
+ business_storage false
45
+ gate_access false
46
+ security_monitoring false
47
+ business_center false
48
+ climate_controlled false
49
+ heated_cooled false
50
+ friendly_staff false
51
+ covered_drivethru false
52
+ covered_loading false
53
+ rv_boat_storage false
54
+ outside_parking false
55
+ deliveries false
56
+ dollies_carts false
57
+ digital_surveillance false
58
+ drive_up_access false
59
+ electronic_gate false
60
+ uhaul_trucks false
61
+ budget_trucks false
62
+ moving_trucks false
63
+ free_truck false
64
+ fenced_lighted false
65
+ ground_level_units false
66
+ high_ceilings false
67
+ individual_alarmed_units false
68
+ mail_boxes false
69
+ major_credit_cards false
70
+ military_discounts false
71
+ student_discount false
72
+ senior_discount false
73
+ month_to_month false
74
+ no_admin_fee false
75
+ no_deposits false
76
+ no_late_fees false
77
+ online_bill_pay false
78
+ packing_moving_supplies false
79
+ boxes_locks false
80
+ tenant_insurance false
81
+ truck_rentals false
82
+ wide_driveways false
83
+ wine_storage false
84
+ other_features nil
85
+ rv_storage false
86
+ seven_day_access false
87
+ other_storage nil
88
+ specific_demographic nil
89
+ primary_offering nil
90
+ secondary_other nil
91
+ secondary_condo false
92
+ secondary_townhomes false
93
+ secondary_apartments false
94
+ floor_plans nil
95
+ nearby_schools nil
96
+ highrise_structure false
97
+ garden_structure false
98
+ townhome_structure false
99
+ modern_structure false
100
+ nearby_employers nil
101
+ dogs_allowed false
102
+ cats_allowed false
103
+ accessibility nil
104
+ air_conditioned false
105
+ cable_included false
106
+ ceiling_fans false
107
+ custom_cabinetry false
108
+ dishwasher false
109
+ energy_efficient false
110
+ fireplace false
111
+ granite_counters false
112
+ hardwood_floors false
113
+ private_balcony false
114
+ private_patio false
115
+ refrigerator false
116
+ stainless_appliances false
117
+ smoke_free false
118
+ style_design nil
119
+ style_cost nil
120
+ walkin_closet false
121
+ washer_dryer false
122
+ has_view false
123
+ other_amenities nil
124
+ carport_parking false
125
+ club_house false
126
+ dog_park false
127
+ corporate_suites false
128
+ family_friendly false
129
+ fitness_center false
130
+ furnished_apartments false
131
+ garages false
132
+ gated_entrance false
133
+ laundry_facilities false
134
+ online_rental_payments false
135
+ onsite_management false
136
+ close_park false
137
+ pet_friendly false
138
+ playground false
139
+ recycling_center false
140
+ swimming_pool false
141
+ hot_tub false
142
+ storage_available false
143
+ tennis_court false
144
+ wifi_available false
145
+ other_community_amenities nil
146
+ primary_offering_other nil
147
+ ga_tracking_id nil
148
+ ga_profile_id nil
149
+ landmark_1_type nil
150
+ landmark_1_name nil
151
+ landmark_2_type nil
152
+ landmark_2_name nil
153
+ property_feature_1 nil
154
+ property_feature_2 nil
155
+ property_feature_3 nil
156
+ apartment_amenity_1 nil
157
+ apartment_amenity_2 nil
158
+ community_amenity_1 nil
159
+ community_amenity_2 nil
160
+ timezone nil
161
+ latitude 42.7265775
162
+ longitude -84.6620322
163
+ go_squared_site_token nil
164
+ thumbnail_url "/images/thumb/missing.png"
165
+
13
166
  initialize_with do
14
167
  attrs = {}
15
168
  attributes.each do |key, value|
@@ -1,3 +1,3 @@
1
1
  module G5Updatable
2
- VERSION = "0.7.2"
2
+ VERSION = "0.8.0"
3
3
  end
@@ -2730,3 +2730,465 @@ Completed 404 Not Found in 1ms (ActiveRecord: 0.4ms)
2730
2730
  G5Updatable::Location Load (0.5ms) SELECT "g5_updatable_locations".* FROM "g5_updatable_locations" WHERE ("g5_updatable_locations"."urn" != 'urn')
2731
2731
  G5Updatable::Location Load (0.5ms) SELECT "g5_updatable_locations".* FROM "g5_updatable_locations" ORDER BY "g5_updatable_locations"."id" ASC LIMIT 1
2732
2732
   (0.4ms) ROLLBACK
2733
+ ActiveRecord::SchemaMigration Load (1.5ms) SELECT "schema_migrations".* FROM "schema_migrations"
2734
+  (0.4ms) BEGIN
2735
+  (0.5ms) ROLLBACK
2736
+  (0.2ms) BEGIN
2737
+  (0.3ms) ROLLBACK
2738
+  (0.2ms) BEGIN
2739
+  (0.2ms) ROLLBACK
2740
+  (0.2ms) BEGIN
2741
+  (0.4ms) ROLLBACK
2742
+  (0.4ms) BEGIN
2743
+  (0.3ms) ROLLBACK
2744
+  (0.2ms) BEGIN
2745
+  (0.4ms) ROLLBACK
2746
+  (0.3ms) BEGIN
2747
+  (0.3ms) ROLLBACK
2748
+  (0.3ms) BEGIN
2749
+  (0.3ms) ROLLBACK
2750
+  (0.2ms) BEGIN
2751
+  (0.5ms) ROLLBACK
2752
+  (0.2ms) BEGIN
2753
+ G5Updatable::Location Load (0.5ms) SELECT "g5_updatable_locations".* FROM "g5_updatable_locations" WHERE "g5_updatable_locations"."uid" = $1 LIMIT 1 [["uid", "http://example.com/uid"]]
2754
+  (0.4ms) SAVEPOINT active_record_1
2755
+ SQL (0.5ms) INSERT INTO "g5_updatable_locations" ("uid", "urn", "name", "client_uid", "updated_at", "properties", "created_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["uid", "http://example.com/uid"], ["urn", "urn"], ["name", "Location Name"], ["client_uid", "client_uid"], ["updated_at", "2015-06-25 05:35:51.857936"], ["properties", "{\"uid\":\"http://example.com/uid\",\"urn\":\"urn\",\"client_uid\":\"client_uid\",\"name\":\"Location Name\"}"], ["created_at", "2015-06-25 05:35:51.861608"]]
2756
+  (0.3ms) RELEASE SAVEPOINT active_record_1
2757
+ G5Updatable::Location Load (0.4ms) SELECT "g5_updatable_locations".* FROM "g5_updatable_locations" WHERE ("g5_updatable_locations"."urn" != 'urn') AND "g5_updatable_locations"."client_uid" = $1 [["client_uid", "client_uid"]]
2758
+  (0.6ms) SELECT COUNT(*) FROM "g5_updatable_locations"
2759
+  (0.4ms) ROLLBACK
2760
+  (0.2ms) BEGIN
2761
+ G5Updatable::Location Load (0.7ms) SELECT "g5_updatable_locations".* FROM "g5_updatable_locations" WHERE "g5_updatable_locations"."uid" = $1 LIMIT 1 [["uid", "http://example.com/uid"]]
2762
+  (0.3ms) SAVEPOINT active_record_1
2763
+ SQL (0.5ms) INSERT INTO "g5_updatable_locations" ("uid", "urn", "name", "client_uid", "updated_at", "properties", "created_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["uid", "http://example.com/uid"], ["urn", "urn"], ["name", "Location Name"], ["client_uid", "client_uid"], ["updated_at", "2015-06-25 05:35:51.884184"], ["properties", "{\"uid\":\"http://example.com/uid\",\"urn\":\"urn\",\"client_uid\":\"client_uid\",\"name\":\"Location Name\"}"], ["created_at", "2015-06-25 05:35:51.885260"]]
2764
+  (0.3ms) RELEASE SAVEPOINT active_record_1
2765
+ G5Updatable::Location Load (0.3ms) SELECT "g5_updatable_locations".* FROM "g5_updatable_locations" WHERE ("g5_updatable_locations"."urn" != 'urn') AND "g5_updatable_locations"."client_uid" = $1 [["client_uid", "client_uid"]]
2766
+ G5Updatable::Location Load (0.5ms) SELECT "g5_updatable_locations".* FROM "g5_updatable_locations" ORDER BY "g5_updatable_locations"."id" DESC LIMIT 1
2767
+  (0.3ms) ROLLBACK
2768
+  (0.3ms) BEGIN
2769
+ G5Updatable::Location Load (0.4ms) SELECT "g5_updatable_locations".* FROM "g5_updatable_locations" WHERE "g5_updatable_locations"."uid" = $1 LIMIT 1 [["uid", "http://example.com/uid"]]
2770
+  (0.2ms) SAVEPOINT active_record_1
2771
+ SQL (0.4ms) INSERT INTO "g5_updatable_locations" ("uid", "urn", "name", "client_uid", "updated_at", "properties", "created_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["uid", "http://example.com/uid"], ["urn", "urn"], ["name", "Location Name"], ["client_uid", "client_uid"], ["updated_at", "2015-06-25 05:35:51.892108"], ["properties", "{\"uid\":\"http://example.com/uid\",\"urn\":\"urn\",\"client_uid\":\"client_uid\",\"name\":\"Location Name\"}"], ["created_at", "2015-06-25 05:35:51.893051"]]
2772
+  (0.3ms) RELEASE SAVEPOINT active_record_1
2773
+ G5Updatable::Location Load (0.3ms) SELECT "g5_updatable_locations".* FROM "g5_updatable_locations" WHERE ("g5_updatable_locations"."urn" != 'urn') AND "g5_updatable_locations"."client_uid" = $1 [["client_uid", "client_uid"]]
2774
+ G5Updatable::Location Load (0.3ms) SELECT "g5_updatable_locations".* FROM "g5_updatable_locations" ORDER BY "g5_updatable_locations"."id" DESC LIMIT 1
2775
+ G5Updatable::Location Load (0.3ms) SELECT "g5_updatable_locations".* FROM "g5_updatable_locations" WHERE "g5_updatable_locations"."name" = $1 LIMIT 1 [["name", "Location Name"]]
2776
+  (0.2ms) ROLLBACK
2777
+  (0.3ms) BEGIN
2778
+ G5Updatable::Location Load (0.4ms) SELECT "g5_updatable_locations".* FROM "g5_updatable_locations" WHERE "g5_updatable_locations"."uid" = $1 LIMIT 1 [["uid", "http://example.com/uid"]]
2779
+  (0.3ms) SAVEPOINT active_record_1
2780
+ SQL (0.4ms) INSERT INTO "g5_updatable_locations" ("uid", "urn", "name", "client_uid", "updated_at", "properties", "created_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["uid", "http://example.com/uid"], ["urn", "urn"], ["name", "Location Name"], ["client_uid", "client_uid"], ["updated_at", "2015-06-25 05:35:51.900727"], ["properties", "{\"uid\":\"http://example.com/uid\",\"urn\":\"urn\",\"client_uid\":\"client_uid\",\"name\":\"Location Name\"}"], ["created_at", "2015-06-25 05:35:51.901704"]]
2781
+  (0.3ms) RELEASE SAVEPOINT active_record_1
2782
+ G5Updatable::Location Load (0.3ms) SELECT "g5_updatable_locations".* FROM "g5_updatable_locations" WHERE ("g5_updatable_locations"."urn" != 'urn') AND "g5_updatable_locations"."client_uid" = $1 [["client_uid", "client_uid"]]
2783
+ G5Updatable::Location Load (0.3ms) SELECT "g5_updatable_locations".* FROM "g5_updatable_locations" ORDER BY "g5_updatable_locations"."id" DESC LIMIT 1
2784
+  (0.2ms) ROLLBACK
2785
+  (0.3ms) BEGIN
2786
+ G5Updatable::Location Load (0.4ms) SELECT "g5_updatable_locations".* FROM "g5_updatable_locations" WHERE "g5_updatable_locations"."uid" = $1 LIMIT 1 [["uid", "http://example.com/uid"]]
2787
+  (0.3ms) SAVEPOINT active_record_1
2788
+ SQL (0.4ms) INSERT INTO "g5_updatable_locations" ("uid", "urn", "name", "client_uid", "updated_at", "properties", "created_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["uid", "http://example.com/uid"], ["urn", "urn"], ["name", "Location Name"], ["client_uid", "client_uid"], ["updated_at", "2015-06-25 05:35:51.908748"], ["properties", "{\"uid\":\"http://example.com/uid\",\"urn\":\"urn\",\"client_uid\":\"client_uid\",\"name\":\"Location Name\"}"], ["created_at", "2015-06-25 05:35:51.909631"]]
2789
+  (0.3ms) RELEASE SAVEPOINT active_record_1
2790
+ G5Updatable::Location Load (0.3ms) SELECT "g5_updatable_locations".* FROM "g5_updatable_locations" WHERE ("g5_updatable_locations"."urn" != 'urn') AND "g5_updatable_locations"."client_uid" = $1 [["client_uid", "client_uid"]]
2791
+  (0.4ms) SAVEPOINT active_record_1
2792
+ SQL (13.4ms) INSERT INTO "g5_updatable_clients" ("uid", "urn", "name", "properties", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["uid", "http://example.com/clients/g5-c-1234-client"], ["urn", "g5-c-1234-client"], ["name", "test client"], ["properties", "{\"city\":\"Test Client\"}"], ["created_at", "2015-06-25 05:35:51.919912"], ["updated_at", "2015-06-25 05:35:51.919912"]]
2793
+  (0.4ms) RELEASE SAVEPOINT active_record_1
2794
+  (0.4ms) SAVEPOINT active_record_1
2795
+ SQL (0.4ms) INSERT INTO "g5_updatable_locations" ("uid", "urn", "client_uid", "name", "properties", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["uid", "http://example.com/clients/g5-c-1234-client/locations/g5-cl-1234-location"], ["urn", "g5-cl-1234-location"], ["client_uid", "http://example.com/clients/g5-c-1234-client"], ["name", "test location"], ["properties", "{\"domain\":\"http://myloc.com\"}"], ["created_at", "2015-06-25 05:35:51.938128"], ["updated_at", "2015-06-25 05:35:51.938128"]]
2796
+  (0.2ms) RELEASE SAVEPOINT active_record_1
2797
+ G5Updatable::Client Load (0.4ms) SELECT "g5_updatable_clients".* FROM "g5_updatable_clients" WHERE "g5_updatable_clients"."id" = $1 LIMIT 1 [["id", 69]]
2798
+ G5Updatable::Location Load (0.3ms) SELECT "g5_updatable_locations".* FROM "g5_updatable_locations" WHERE "g5_updatable_locations"."id" = $1 LIMIT 1 [["id", 247]]
2799
+  (0.2ms) ROLLBACK
2800
+  (0.2ms) BEGIN
2801
+ G5Updatable::Location Load (0.3ms) SELECT "g5_updatable_locations".* FROM "g5_updatable_locations" WHERE "g5_updatable_locations"."uid" = $1 LIMIT 1 [["uid", "http://example.com/uid"]]
2802
+  (0.2ms) SAVEPOINT active_record_1
2803
+ SQL (0.4ms) INSERT INTO "g5_updatable_locations" ("uid", "urn", "name", "client_uid", "updated_at", "properties", "created_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["uid", "http://example.com/uid"], ["urn", "urn"], ["name", "Location Name"], ["client_uid", "client_uid"], ["updated_at", "2015-06-25 05:35:51.945442"], ["properties", "{\"uid\":\"http://example.com/uid\",\"urn\":\"urn\",\"client_uid\":\"client_uid\",\"name\":\"Location Name\"}"], ["created_at", "2015-06-25 05:35:51.946315"]]
2804
+  (0.3ms) RELEASE SAVEPOINT active_record_1
2805
+ G5Updatable::Location Load (0.4ms) SELECT "g5_updatable_locations".* FROM "g5_updatable_locations" WHERE ("g5_updatable_locations"."urn" != 'urn') AND "g5_updatable_locations"."client_uid" = $1 [["client_uid", "client_uid"]]
2806
+ G5Updatable::Location Load (0.4ms) SELECT "g5_updatable_locations".* FROM "g5_updatable_locations" ORDER BY "g5_updatable_locations"."id" DESC LIMIT 1
2807
+  (0.2ms) ROLLBACK
2808
+  (0.3ms) BEGIN
2809
+ G5Updatable::Location Load (1.1ms) SELECT "g5_updatable_locations".* FROM "g5_updatable_locations" WHERE "g5_updatable_locations"."uid" = $1 LIMIT 1 [["uid", "http://example.com/uid"]]
2810
+  (0.3ms) SAVEPOINT active_record_1
2811
+ SQL (0.4ms) INSERT INTO "g5_updatable_locations" ("uid", "urn", "name", "client_uid", "updated_at", "properties", "created_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["uid", "http://example.com/uid"], ["urn", "urn"], ["name", "Location Name"], ["client_uid", "client_uid"], ["updated_at", "2015-06-25 05:35:51.953447"], ["properties", "{\"uid\":\"http://example.com/uid\",\"urn\":\"urn\",\"client_uid\":\"client_uid\",\"name\":\"Location Name\"}"], ["created_at", "2015-06-25 05:35:51.954421"]]
2812
+  (0.3ms) RELEASE SAVEPOINT active_record_1
2813
+ G5Updatable::Location Load (0.2ms) SELECT "g5_updatable_locations".* FROM "g5_updatable_locations" WHERE ("g5_updatable_locations"."urn" != 'urn') AND "g5_updatable_locations"."client_uid" = $1 [["client_uid", "client_uid"]]
2814
+ G5Updatable::Location Load (0.3ms) SELECT "g5_updatable_locations".* FROM "g5_updatable_locations" ORDER BY "g5_updatable_locations"."id" DESC LIMIT 1
2815
+  (0.3ms) ROLLBACK
2816
+  (0.3ms) BEGIN
2817
+ G5Updatable::Location Load (0.3ms) SELECT "g5_updatable_locations".* FROM "g5_updatable_locations" WHERE "g5_updatable_locations"."uid" = $1 LIMIT 1 [["uid", "http://example.com/uid"]]
2818
+  (0.2ms) SAVEPOINT active_record_1
2819
+ SQL (0.5ms) INSERT INTO "g5_updatable_locations" ("uid", "urn", "name", "client_uid", "updated_at", "properties", "created_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["uid", "http://example.com/uid"], ["urn", "urn"], ["name", "Location Name"], ["client_uid", "client_uid"], ["updated_at", "2015-06-25 05:35:51.960545"], ["properties", "{\"uid\":\"http://example.com/uid\",\"urn\":\"urn\",\"client_uid\":\"client_uid\",\"name\":\"Location Name\"}"], ["created_at", "2015-06-25 05:35:51.961368"]]
2820
+  (0.3ms) RELEASE SAVEPOINT active_record_1
2821
+ G5Updatable::Location Load (0.2ms) SELECT "g5_updatable_locations".* FROM "g5_updatable_locations" WHERE ("g5_updatable_locations"."urn" != 'urn') AND "g5_updatable_locations"."client_uid" = $1 [["client_uid", "client_uid"]]
2822
+ G5Updatable::Location Load (0.3ms) SELECT "g5_updatable_locations".* FROM "g5_updatable_locations" ORDER BY "g5_updatable_locations"."id" DESC LIMIT 1
2823
+  (0.3ms) ROLLBACK
2824
+  (0.2ms) BEGIN
2825
+  (0.3ms) SAVEPOINT active_record_1
2826
+ SQL (0.5ms) INSERT INTO "g5_updatable_locations" ("uid", "urn", "client_uid", "name", "properties", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["uid", "http://example.com/uid"], ["urn", "another_urn"], ["client_uid", "client_uid"], ["name", "Location Name"], ["properties", "{\"uid\":\"http://example.com/uid\",\"urn\":\"urn\",\"client_uid\":\"client_uid\",\"name\":\"Location Name\"}"], ["created_at", "2015-06-25 05:35:51.968961"], ["updated_at", "2015-06-25 05:35:51.968961"]]
2827
+  (0.3ms) RELEASE SAVEPOINT active_record_1
2828
+  (0.3ms) SAVEPOINT active_record_1
2829
+ SQL (0.4ms) INSERT INTO "g5_updatable_locations" ("uid", "urn", "client_uid", "name", "properties", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["uid", "http://example.com/uid"], ["urn", "some_urn"], ["client_uid", "another_client_uid"], ["name", "Location Name"], ["properties", "{\"uid\":\"http://example.com/uid\",\"urn\":\"urn\",\"client_uid\":\"client_uid\",\"name\":\"Location Name\"}"], ["created_at", "2015-06-25 05:35:51.971524"], ["updated_at", "2015-06-25 05:35:51.971524"]]
2830
+  (0.2ms) RELEASE SAVEPOINT active_record_1
2831
+ G5Updatable::Location Load (0.3ms) SELECT "g5_updatable_locations".* FROM "g5_updatable_locations" WHERE "g5_updatable_locations"."client_uid" = $1 [["client_uid", "client_uid"]]
2832
+  (0.2ms) SAVEPOINT active_record_1
2833
+ SQL (0.5ms) DELETE FROM "g5_updatable_locations" WHERE "g5_updatable_locations"."id" = $1 [["id", 251]]
2834
+  (0.2ms) RELEASE SAVEPOINT active_record_1
2835
+  (0.2ms) SELECT COUNT(*) FROM "g5_updatable_locations" WHERE "g5_updatable_locations"."client_uid" = $1 [["client_uid", "client_uid"]]
2836
+  (0.2ms) SELECT COUNT(*) FROM "g5_updatable_locations" WHERE "g5_updatable_locations"."client_uid" = $1 [["client_uid", "another_client_uid"]]
2837
+  (0.3ms) ROLLBACK
2838
+  (0.3ms) BEGIN
2839
+  (0.3ms) SAVEPOINT active_record_1
2840
+ SQL (0.4ms) INSERT INTO "g5_updatable_locations" ("uid", "urn", "client_uid", "name", "properties", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["uid", "another_uid"], ["urn", "dead_urn"], ["client_uid", "client_uid"], ["name", "test location"], ["properties", "{\"domain\":\"http://myloc.com\"}"], ["created_at", "2015-06-25 05:35:51.980467"], ["updated_at", "2015-06-25 05:35:51.980467"]]
2841
+  (0.2ms) RELEASE SAVEPOINT active_record_1
2842
+ G5Updatable::Location Load (0.5ms) SELECT "g5_updatable_locations".* FROM "g5_updatable_locations" WHERE "g5_updatable_locations"."uid" = $1 LIMIT 1 [["uid", "http://example.com/uid"]]
2843
+  (0.6ms) SAVEPOINT active_record_1
2844
+ SQL (0.4ms) INSERT INTO "g5_updatable_locations" ("uid", "urn", "name", "client_uid", "updated_at", "properties", "created_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["uid", "http://example.com/uid"], ["urn", "urn"], ["name", "Location Name"], ["client_uid", "client_uid"], ["updated_at", "2015-06-25 05:35:51.984879"], ["properties", "{\"uid\":\"http://example.com/uid\",\"urn\":\"urn\",\"client_uid\":\"client_uid\",\"name\":\"Location Name\"}"], ["created_at", "2015-06-25 05:35:51.986232"]]
2845
+  (0.3ms) RELEASE SAVEPOINT active_record_1
2846
+ G5Updatable::Location Load (0.3ms) SELECT "g5_updatable_locations".* FROM "g5_updatable_locations" WHERE ("g5_updatable_locations"."urn" != 'urn') AND "g5_updatable_locations"."client_uid" = $1 [["client_uid", "client_uid"]]
2847
+  (0.2ms) SAVEPOINT active_record_1
2848
+ SQL (0.3ms) DELETE FROM "g5_updatable_locations" WHERE "g5_updatable_locations"."id" = $1 [["id", 253]]
2849
+  (0.2ms) RELEASE SAVEPOINT active_record_1
2850
+  (0.4ms) SELECT COUNT(*) FROM "g5_updatable_locations" WHERE "g5_updatable_locations"."urn" = $1 AND "g5_updatable_locations"."client_uid" = $2 [["urn", "urn"], ["client_uid", "client_uid"]]
2851
+  (0.3ms) SELECT COUNT(*) FROM "g5_updatable_locations" WHERE "g5_updatable_locations"."urn" = $1 AND "g5_updatable_locations"."client_uid" = $2 [["urn", "dead_urn"], ["client_uid", "client_uid"]]
2852
+  (0.2ms) ROLLBACK
2853
+  (0.2ms) BEGIN
2854
+  (0.3ms) SAVEPOINT active_record_1
2855
+ SQL (0.4ms) INSERT INTO "g5_updatable_locations" ("uid", "urn", "client_uid", "name", "properties", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["uid", "http://example.com/uid"], ["urn", "old"], ["client_uid", "http://example.com/clients/g5-c-1234-client"], ["name", "test location"], ["properties", "{\"domain\":\"http://myloc.com\"}"], ["created_at", "2015-06-25 05:35:51.995499"], ["updated_at", "2015-06-25 05:35:51.995499"]]
2856
+  (0.3ms) RELEASE SAVEPOINT active_record_1
2857
+ G5Updatable::Location Load (0.3ms) SELECT "g5_updatable_locations".* FROM "g5_updatable_locations" WHERE "g5_updatable_locations"."uid" = $1 LIMIT 1 [["uid", "http://example.com/uid"]]
2858
+  (0.3ms) SAVEPOINT active_record_1
2859
+ SQL (0.5ms) UPDATE "g5_updatable_locations" SET "urn" = $1, "name" = $2, "client_uid" = $3, "updated_at" = $4, "properties" = $5 WHERE "g5_updatable_locations"."id" = $6 [["urn", "urn"], ["name", "Location Name"], ["client_uid", "client_uid"], ["updated_at", "2015-06-25 05:35:51.998313"], ["properties", "{\"uid\":\"http://example.com/uid\",\"urn\":\"urn\",\"client_uid\":\"client_uid\",\"name\":\"Location Name\"}"], ["id", 255]]
2860
+  (0.3ms) RELEASE SAVEPOINT active_record_1
2861
+ G5Updatable::Location Load (0.4ms) SELECT "g5_updatable_locations".* FROM "g5_updatable_locations" WHERE ("g5_updatable_locations"."urn" != 'urn') AND "g5_updatable_locations"."client_uid" = $1 [["client_uid", "client_uid"]]
2862
+  (0.5ms) SELECT COUNT(*) FROM "g5_updatable_locations"
2863
+  (0.3ms) ROLLBACK
2864
+  (0.3ms) BEGIN
2865
+  (0.3ms) SAVEPOINT active_record_1
2866
+ SQL (0.4ms) INSERT INTO "g5_updatable_locations" ("uid", "urn", "client_uid", "name", "properties", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["uid", "http://example.com/uid"], ["urn", "old"], ["client_uid", "http://example.com/clients/g5-c-1234-client"], ["name", "test location"], ["properties", "{\"domain\":\"http://myloc.com\"}"], ["created_at", "2015-06-25 05:35:52.007957"], ["updated_at", "2015-06-25 05:35:52.007957"]]
2867
+  (0.3ms) RELEASE SAVEPOINT active_record_1
2868
+ G5Updatable::Location Load (0.3ms) SELECT "g5_updatable_locations".* FROM "g5_updatable_locations" WHERE "g5_updatable_locations"."uid" = $1 LIMIT 1 [["uid", "http://example.com/uid"]]
2869
+  (0.2ms) SAVEPOINT active_record_1
2870
+ SQL (0.5ms) UPDATE "g5_updatable_locations" SET "urn" = $1, "name" = $2, "client_uid" = $3, "updated_at" = $4, "properties" = $5 WHERE "g5_updatable_locations"."id" = $6 [["urn", "urn"], ["name", "Location Name"], ["client_uid", "client_uid"], ["updated_at", "2015-06-25 05:35:52.010959"], ["properties", "{\"uid\":\"http://example.com/uid\",\"urn\":\"urn\",\"client_uid\":\"client_uid\",\"name\":\"Location Name\"}"], ["id", 256]]
2871
+  (0.4ms) RELEASE SAVEPOINT active_record_1
2872
+ G5Updatable::Location Load (0.3ms) SELECT "g5_updatable_locations".* FROM "g5_updatable_locations" WHERE ("g5_updatable_locations"."urn" != 'urn') AND "g5_updatable_locations"."client_uid" = $1 [["client_uid", "client_uid"]]
2873
+ G5Updatable::Location Load (0.6ms) SELECT "g5_updatable_locations".* FROM "g5_updatable_locations" ORDER BY "g5_updatable_locations"."id" DESC LIMIT 1
2874
+  (0.4ms) ROLLBACK
2875
+  (0.3ms) BEGIN
2876
+  (0.4ms) SAVEPOINT active_record_1
2877
+ SQL (0.5ms) INSERT INTO "g5_updatable_locations" ("uid", "urn", "client_uid", "name", "properties", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["uid", "http://example.com/uid"], ["urn", "old"], ["client_uid", "http://example.com/clients/g5-c-1234-client"], ["name", "test location"], ["properties", "{\"domain\":\"http://myloc.com\"}"], ["created_at", "2015-06-25 05:35:52.021392"], ["updated_at", "2015-06-25 05:35:52.021392"]]
2878
+  (0.3ms) RELEASE SAVEPOINT active_record_1
2879
+ G5Updatable::Location Load (0.3ms) SELECT "g5_updatable_locations".* FROM "g5_updatable_locations" WHERE "g5_updatable_locations"."uid" = $1 LIMIT 1 [["uid", "http://example.com/uid"]]
2880
+  (0.2ms) SAVEPOINT active_record_1
2881
+ SQL (0.5ms) UPDATE "g5_updatable_locations" SET "urn" = $1, "name" = $2, "client_uid" = $3, "updated_at" = $4, "properties" = $5 WHERE "g5_updatable_locations"."id" = $6 [["urn", "urn"], ["name", "Location Name"], ["client_uid", "client_uid"], ["updated_at", "2015-06-25 05:35:52.024480"], ["properties", "{\"uid\":\"http://example.com/uid\",\"urn\":\"urn\",\"client_uid\":\"client_uid\",\"name\":\"Location Name\"}"], ["id", 257]]
2882
+  (0.3ms) RELEASE SAVEPOINT active_record_1
2883
+ G5Updatable::Location Load (0.2ms) SELECT "g5_updatable_locations".* FROM "g5_updatable_locations" WHERE ("g5_updatable_locations"."urn" != 'urn') AND "g5_updatable_locations"."client_uid" = $1 [["client_uid", "client_uid"]]
2884
+ G5Updatable::Location Load (0.3ms) SELECT "g5_updatable_locations".* FROM "g5_updatable_locations" ORDER BY "g5_updatable_locations"."id" DESC LIMIT 1
2885
+  (0.2ms) ROLLBACK
2886
+  (0.3ms) BEGIN
2887
+  (0.3ms) SAVEPOINT active_record_1
2888
+ SQL (0.4ms) INSERT INTO "g5_updatable_locations" ("uid", "urn", "client_uid", "name", "properties", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["uid", "http://example.com/uid"], ["urn", "old"], ["client_uid", "http://example.com/clients/g5-c-1234-client"], ["name", "test location"], ["properties", "{\"domain\":\"http://myloc.com\"}"], ["created_at", "2015-06-25 05:35:52.031632"], ["updated_at", "2015-06-25 05:35:52.031632"]]
2889
+  (0.3ms) RELEASE SAVEPOINT active_record_1
2890
+ G5Updatable::Location Load (0.4ms) SELECT "g5_updatable_locations".* FROM "g5_updatable_locations" WHERE "g5_updatable_locations"."uid" = $1 LIMIT 1 [["uid", "http://example.com/uid"]]
2891
+  (0.4ms) SAVEPOINT active_record_1
2892
+ SQL (0.6ms) UPDATE "g5_updatable_locations" SET "urn" = $1, "name" = $2, "client_uid" = $3, "updated_at" = $4, "properties" = $5 WHERE "g5_updatable_locations"."id" = $6 [["urn", "urn"], ["name", "Location Name"], ["client_uid", "client_uid"], ["updated_at", "2015-06-25 05:35:52.034952"], ["properties", "{\"uid\":\"http://example.com/uid\",\"urn\":\"urn\",\"client_uid\":\"client_uid\",\"name\":\"Location Name\"}"], ["id", 258]]
2893
+  (0.3ms) RELEASE SAVEPOINT active_record_1
2894
+ G5Updatable::Location Load (0.4ms) SELECT "g5_updatable_locations".* FROM "g5_updatable_locations" WHERE ("g5_updatable_locations"."urn" != 'urn') AND "g5_updatable_locations"."client_uid" = $1 [["client_uid", "client_uid"]]
2895
+  (0.2ms) SAVEPOINT active_record_1
2896
+ SQL (0.4ms) INSERT INTO "g5_updatable_clients" ("uid", "urn", "name", "properties", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["uid", "http://example.com/clients/g5-c-1234-client"], ["urn", "g5-c-1234-client"], ["name", "test client"], ["properties", "{\"city\":\"Test Client\"}"], ["created_at", "2015-06-25 05:35:52.040670"], ["updated_at", "2015-06-25 05:35:52.040670"]]
2897
+  (0.8ms) RELEASE SAVEPOINT active_record_1
2898
+  (0.3ms) SAVEPOINT active_record_1
2899
+ SQL (0.4ms) INSERT INTO "g5_updatable_locations" ("uid", "urn", "client_uid", "name", "properties", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["uid", "http://example.com/clients/g5-c-1234-client/locations/g5-cl-1234-location"], ["urn", "g5-cl-1234-location"], ["client_uid", "http://example.com/clients/g5-c-1234-client"], ["name", "test location"], ["properties", "{\"domain\":\"http://myloc.com\"}"], ["created_at", "2015-06-25 05:35:52.044711"], ["updated_at", "2015-06-25 05:35:52.044711"]]
2900
+  (0.2ms) RELEASE SAVEPOINT active_record_1
2901
+ G5Updatable::Client Load (0.3ms) SELECT "g5_updatable_clients".* FROM "g5_updatable_clients" WHERE "g5_updatable_clients"."id" = $1 LIMIT 1 [["id", 70]]
2902
+ G5Updatable::Location Load (0.3ms) SELECT "g5_updatable_locations".* FROM "g5_updatable_locations" WHERE "g5_updatable_locations"."id" = $1 LIMIT 1 [["id", 259]]
2903
+  (0.3ms) ROLLBACK
2904
+  (0.3ms) BEGIN
2905
+  (0.4ms) SAVEPOINT active_record_1
2906
+ SQL (0.5ms) INSERT INTO "g5_updatable_locations" ("uid", "urn", "client_uid", "name", "properties", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["uid", "http://example.com/uid"], ["urn", "old"], ["client_uid", "http://example.com/clients/g5-c-1234-client"], ["name", "test location"], ["properties", "{\"domain\":\"http://myloc.com\"}"], ["created_at", "2015-06-25 05:35:52.051470"], ["updated_at", "2015-06-25 05:35:52.051470"]]
2907
+  (0.3ms) RELEASE SAVEPOINT active_record_1
2908
+ G5Updatable::Location Load (0.4ms) SELECT "g5_updatable_locations".* FROM "g5_updatable_locations" WHERE "g5_updatable_locations"."uid" = $1 LIMIT 1 [["uid", "http://example.com/uid"]]
2909
+  (0.2ms) SAVEPOINT active_record_1
2910
+ SQL (0.5ms) UPDATE "g5_updatable_locations" SET "urn" = $1, "name" = $2, "client_uid" = $3, "updated_at" = $4, "properties" = $5 WHERE "g5_updatable_locations"."id" = $6 [["urn", "urn"], ["name", "Location Name"], ["client_uid", "client_uid"], ["updated_at", "2015-06-25 05:35:52.056233"], ["properties", "{\"uid\":\"http://example.com/uid\",\"urn\":\"urn\",\"client_uid\":\"client_uid\",\"name\":\"Location Name\"}"], ["id", 260]]
2911
+  (0.4ms) RELEASE SAVEPOINT active_record_1
2912
+ G5Updatable::Location Load (0.4ms) SELECT "g5_updatable_locations".* FROM "g5_updatable_locations" WHERE ("g5_updatable_locations"."urn" != 'urn') AND "g5_updatable_locations"."client_uid" = $1 [["client_uid", "client_uid"]]
2913
+  (0.3ms) ROLLBACK
2914
+  (0.2ms) BEGIN
2915
+  (0.3ms) SAVEPOINT active_record_1
2916
+ SQL (0.4ms) INSERT INTO "g5_updatable_locations" ("uid", "urn", "client_uid", "name", "properties", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["uid", "http://example.com/uid"], ["urn", "urn"], ["client_uid", "client_uid"], ["name", "Location Name"], ["properties", "{\"uid\":\"http://example.com/uid\",\"urn\":\"urn\",\"client_uid\":\"client_uid\",\"name\":\"Location Name\"}"], ["created_at", "2015-06-25 05:35:52.063612"], ["updated_at", "2015-06-25 05:35:52.063612"]]
2917
+  (0.3ms) RELEASE SAVEPOINT active_record_1
2918
+ G5Updatable::Location Load (0.5ms) SELECT "g5_updatable_locations".* FROM "g5_updatable_locations" ORDER BY "g5_updatable_locations"."id" DESC LIMIT 1
2919
+ G5Updatable::Location Load (0.5ms) SELECT "g5_updatable_locations".* FROM "g5_updatable_locations" WHERE "g5_updatable_locations"."uid" = $1 LIMIT 1 [["uid", "http://example.com/uid"]]
2920
+  (0.3ms) SAVEPOINT active_record_1
2921
+ SQL (0.5ms) UPDATE "g5_updatable_locations" SET "updated_at" = $1 WHERE "g5_updatable_locations"."id" = $2 [["updated_at", "2015-06-25 05:35:52.068501"], ["id", 261]]
2922
+  (0.2ms) RELEASE SAVEPOINT active_record_1
2923
+ G5Updatable::Location Load (0.2ms) SELECT "g5_updatable_locations".* FROM "g5_updatable_locations" WHERE ("g5_updatable_locations"."urn" != 'urn') AND "g5_updatable_locations"."client_uid" = $1 [["client_uid", "client_uid"]]
2924
+ G5Updatable::Location Load (0.3ms) SELECT "g5_updatable_locations".* FROM "g5_updatable_locations" WHERE "g5_updatable_locations"."id" = $1 LIMIT 1 [["id", 261]]
2925
+  (0.2ms) ROLLBACK
2926
+  (0.2ms) BEGIN
2927
+  (0.3ms) SAVEPOINT active_record_1
2928
+ SQL (0.4ms) INSERT INTO "g5_updatable_locations" ("uid", "urn", "client_uid", "name", "properties", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["uid", "http://example.com/uid"], ["urn", "urn"], ["client_uid", "client_uid"], ["name", "Location Name"], ["properties", "{\"uid\":\"http://example.com/uid\",\"urn\":\"urn\",\"client_uid\":\"client_uid\",\"name\":\"Location Name\"}"], ["created_at", "2015-06-25 05:35:52.076952"], ["updated_at", "2015-06-25 05:35:52.076952"]]
2929
+  (0.2ms) RELEASE SAVEPOINT active_record_1
2930
+ G5Updatable::Location Load (0.4ms) SELECT "g5_updatable_locations".* FROM "g5_updatable_locations" ORDER BY "g5_updatable_locations"."id" DESC LIMIT 1
2931
+ G5Updatable::Location Load (0.4ms) SELECT "g5_updatable_locations".* FROM "g5_updatable_locations" WHERE "g5_updatable_locations"."uid" = $1 LIMIT 1 [["uid", "http://example.com/uid"]]
2932
+  (0.3ms) SAVEPOINT active_record_1
2933
+ SQL (0.5ms) UPDATE "g5_updatable_locations" SET "updated_at" = $1 WHERE "g5_updatable_locations"."id" = $2 [["updated_at", "2015-06-25 05:35:52.080672"], ["id", 262]]
2934
+  (0.3ms) RELEASE SAVEPOINT active_record_1
2935
+ G5Updatable::Location Load (0.3ms) SELECT "g5_updatable_locations".* FROM "g5_updatable_locations" WHERE ("g5_updatable_locations"."urn" != 'urn') AND "g5_updatable_locations"."client_uid" = $1 [["client_uid", "client_uid"]]
2936
+  (0.4ms) SAVEPOINT active_record_1
2937
+ SQL (0.5ms) INSERT INTO "g5_updatable_clients" ("uid", "urn", "name", "properties", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["uid", "http://example.com/clients/g5-c-1234-client"], ["urn", "g5-c-1234-client"], ["name", "test client"], ["properties", "{\"city\":\"Test Client\"}"], ["created_at", "2015-06-25 05:35:52.086594"], ["updated_at", "2015-06-25 05:35:52.086594"]]
2938
+  (0.2ms) RELEASE SAVEPOINT active_record_1
2939
+  (0.3ms) SAVEPOINT active_record_1
2940
+ SQL (0.5ms) INSERT INTO "g5_updatable_locations" ("uid", "urn", "client_uid", "name", "properties", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["uid", "http://example.com/clients/g5-c-1234-client/locations/g5-cl-1234-location"], ["urn", "g5-cl-1234-location"], ["client_uid", "http://example.com/clients/g5-c-1234-client"], ["name", "test location"], ["properties", "{\"domain\":\"http://myloc.com\"}"], ["created_at", "2015-06-25 05:35:52.089687"], ["updated_at", "2015-06-25 05:35:52.089687"]]
2941
+  (0.5ms) RELEASE SAVEPOINT active_record_1
2942
+ G5Updatable::Client Load (0.3ms) SELECT "g5_updatable_clients".* FROM "g5_updatable_clients" WHERE "g5_updatable_clients"."id" = $1 LIMIT 1 [["id", 71]]
2943
+ G5Updatable::Location Load (0.3ms) SELECT "g5_updatable_locations".* FROM "g5_updatable_locations" WHERE "g5_updatable_locations"."id" = $1 LIMIT 1 [["id", 263]]
2944
+  (0.2ms) ROLLBACK
2945
+  (0.2ms) BEGIN
2946
+ G5Updatable::Location Load (0.3ms) SELECT "g5_updatable_locations".* FROM "g5_updatable_locations" WHERE "g5_updatable_locations"."uid" = $1 LIMIT 1 [["uid", "http://example.com/uid"]]
2947
+  (0.3ms) SAVEPOINT active_record_1
2948
+ SQL (0.5ms) INSERT INTO "g5_updatable_locations" ("uid", "urn", "name", "client_uid", "updated_at", "properties", "created_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["uid", "http://example.com/uid"], ["urn", "urn"], ["name", "Location Name"], ["client_uid", "client_uid"], ["updated_at", "2015-06-25 05:35:52.096926"], ["properties", "{\"uid\":\"http://example.com/uid\",\"urn\":\"urn\",\"client_uid\":\"client_uid\",\"name\":\"Location Name\"}"], ["created_at", "2015-06-25 05:35:52.098008"]]
2949
+  (0.4ms) RELEASE SAVEPOINT active_record_1
2950
+ G5Updatable::Location Load (0.4ms) SELECT "g5_updatable_locations".* FROM "g5_updatable_locations" WHERE ("g5_updatable_locations"."urn" != 'urn') AND "g5_updatable_locations"."client_uid" = $1 [["client_uid", "client_uid"]]
2951
+ G5Updatable::Location Load (0.6ms) SELECT "g5_updatable_locations".* FROM "g5_updatable_locations" ORDER BY "g5_updatable_locations"."id" ASC LIMIT 1
2952
+  (0.5ms) ROLLBACK
2953
+  (0.4ms) BEGIN
2954
+  (0.2ms) ROLLBACK
2955
+  (0.2ms) BEGIN
2956
+  (0.2ms) ROLLBACK
2957
+  (0.2ms) BEGIN
2958
+  (0.2ms) SAVEPOINT active_record_1
2959
+ SQL (0.4ms) INSERT INTO "g5_updatable_clients" ("uid", "urn", "name", "properties", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["uid", "http://example.com/clients/g5-c-1234-client"], ["urn", "g5-c-1234-client"], ["name", "test client"], ["properties", "{\"city\":\"Test Client\"}"], ["created_at", "2015-06-25 05:35:52.111036"], ["updated_at", "2015-06-25 05:35:52.111036"]]
2960
+  (0.4ms) RELEASE SAVEPOINT active_record_1
2961
+  (0.3ms) SAVEPOINT active_record_1
2962
+ SQL (0.4ms) INSERT INTO "g5_updatable_locations" ("uid", "urn", "client_uid", "name", "properties", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["uid", "http://example.com/clients/g5-c-1234-client/locations/g5-cl-1234-location"], ["urn", "g5-cl-1234-location"], ["client_uid", "http://example.com/clients/g5-c-1234-client"], ["name", "test location"], ["properties", "{\"domain\":\"http://myloc.com\"}"], ["created_at", "2015-06-25 05:35:52.123433"], ["updated_at", "2015-06-25 05:35:52.123433"]]
2963
+  (0.3ms) RELEASE SAVEPOINT active_record_1
2964
+  (0.2ms) SAVEPOINT active_record_1
2965
+ SQL (0.5ms) INSERT INTO "g5_updatable_locations" ("uid", "urn", "client_uid", "name", "properties", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["uid", "http://example.com/clients/g5-c-1234-client/locations/g5-cl-1234-location"], ["urn", "g5-cl-1234-location"], ["client_uid", "http://example.com/clients/g5-c-1234-client"], ["name", "test location"], ["properties", "{\"domain\":\"http://myloc.com\"}"], ["created_at", "2015-06-25 05:35:52.126683"], ["updated_at", "2015-06-25 05:35:52.126683"]]
2966
+  (0.3ms) RELEASE SAVEPOINT active_record_1
2967
+  (0.2ms) SAVEPOINT active_record_1
2968
+ SQL (0.3ms) INSERT INTO "g5_updatable_clients" ("uid", "urn", "name", "properties", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["uid", "http://example.com/clients/g5-c-1234-client"], ["urn", "g5-c-1234-client"], ["name", "test client"], ["properties", "{\"city\":\"Test Client\"}"], ["created_at", "2015-06-25 05:35:52.129072"], ["updated_at", "2015-06-25 05:35:52.129072"]]
2969
+  (0.2ms) RELEASE SAVEPOINT active_record_1
2970
+  (0.2ms) SAVEPOINT active_record_1
2971
+ SQL (1.0ms) INSERT INTO "g5_updatable_locations" ("uid", "urn", "client_uid", "name", "properties", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["uid", "http://example.com/clients/g5-c-1234-client/locations/g5-cl-1234-location"], ["urn", "g5-cl-1234-location"], ["client_uid", "http://example.com/clients/g5-c-1234-client"], ["name", "test location"], ["properties", "{\"domain\":\"http://myloc.com\"}"], ["created_at", "2015-06-25 05:35:52.132223"], ["updated_at", "2015-06-25 05:35:52.132223"]]
2972
+  (0.4ms) RELEASE SAVEPOINT active_record_1
2973
+ Processing by G5Updatable::SyncsController#index as HTML
2974
+ Parameters: {"urn"=>"xxx"}
2975
+ G5Updatable::Client Load (0.3ms) SELECT "g5_updatable_clients".* FROM "g5_updatable_clients" WHERE "g5_updatable_clients"."urn" = $1 LIMIT 1 [["urn", "xxx"]]
2976
+ Completed 404 Not Found in 2ms (ActiveRecord: 0.3ms)
2977
+  (0.6ms) ROLLBACK
2978
+  (0.3ms) BEGIN
2979
+  (0.3ms) SAVEPOINT active_record_1
2980
+ SQL (0.5ms) INSERT INTO "g5_updatable_clients" ("uid", "urn", "name", "properties", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["uid", "http://example.com/clients/g5-c-1234-client"], ["urn", "g5-c-1234-client"], ["name", "test client"], ["properties", "{\"city\":\"Test Client\"}"], ["created_at", "2015-06-25 05:35:52.145276"], ["updated_at", "2015-06-25 05:35:52.145276"]]
2981
+  (0.2ms) RELEASE SAVEPOINT active_record_1
2982
+  (0.2ms) SAVEPOINT active_record_1
2983
+ SQL (0.4ms) INSERT INTO "g5_updatable_locations" ("uid", "urn", "client_uid", "name", "properties", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["uid", "http://example.com/clients/g5-c-1234-client/locations/g5-cl-1234-location"], ["urn", "g5-cl-1234-location"], ["client_uid", "http://example.com/clients/g5-c-1234-client"], ["name", "test location"], ["properties", "{\"domain\":\"http://myloc.com\"}"], ["created_at", "2015-06-25 05:35:52.148511"], ["updated_at", "2015-06-25 05:35:52.148511"]]
2984
+  (0.5ms) RELEASE SAVEPOINT active_record_1
2985
+  (0.4ms) SAVEPOINT active_record_1
2986
+ SQL (0.5ms) INSERT INTO "g5_updatable_locations" ("uid", "urn", "client_uid", "name", "properties", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["uid", "http://example.com/clients/g5-c-1234-client/locations/g5-cl-1234-location"], ["urn", "g5-cl-1234-location"], ["client_uid", "http://example.com/clients/g5-c-1234-client"], ["name", "test location"], ["properties", "{\"domain\":\"http://myloc.com\"}"], ["created_at", "2015-06-25 05:35:52.153215"], ["updated_at", "2015-06-25 05:35:52.153215"]]
2987
+  (0.4ms) RELEASE SAVEPOINT active_record_1
2988
+  (0.2ms) SAVEPOINT active_record_1
2989
+ SQL (0.4ms) INSERT INTO "g5_updatable_clients" ("uid", "urn", "name", "properties", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["uid", "http://example.com/clients/g5-c-1234-client"], ["urn", "g5-c-1234-client"], ["name", "test client"], ["properties", "{\"city\":\"Test Client\"}"], ["created_at", "2015-06-25 05:35:52.156681"], ["updated_at", "2015-06-25 05:35:52.156681"]]
2990
+  (0.3ms) RELEASE SAVEPOINT active_record_1
2991
+  (0.3ms) SAVEPOINT active_record_1
2992
+ SQL (0.4ms) INSERT INTO "g5_updatable_locations" ("uid", "urn", "client_uid", "name", "properties", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["uid", "http://example.com/clients/g5-c-1234-client/locations/g5-cl-1234-location"], ["urn", "g5-cl-1234-location"], ["client_uid", "http://example.com/clients/g5-c-1234-client"], ["name", "test location"], ["properties", "{\"domain\":\"http://myloc.com\"}"], ["created_at", "2015-06-25 05:35:52.159900"], ["updated_at", "2015-06-25 05:35:52.159900"]]
2993
+  (0.3ms) RELEASE SAVEPOINT active_record_1
2994
+ Processing by G5Updatable::SyncsController#index as HTML
2995
+ Parameters: {"urn"=>"g5-c-1234-client"}
2996
+ G5Updatable::Client Load (0.5ms) SELECT "g5_updatable_clients".* FROM "g5_updatable_clients" WHERE "g5_updatable_clients"."urn" = $1 LIMIT 1 [["urn", "g5-c-1234-client"]]
2997
+  (0.6ms) SELECT MAX("g5_updatable_locations"."updated_at") FROM "g5_updatable_locations" WHERE "g5_updatable_locations"."client_uid" = $1 [["client_uid", "http://example.com/clients/g5-c-1234-client"]]
2998
+ Completed 200 OK in 65ms (Views: 11.5ms | ActiveRecord: 1.1ms)
2999
+  (0.4ms) ROLLBACK
3000
+  (0.2ms) BEGIN
3001
+  (0.4ms) ROLLBACK
3002
+  (0.2ms) BEGIN
3003
+  (0.3ms) ROLLBACK
3004
+  (0.3ms) BEGIN
3005
+  (0.3ms) SAVEPOINT active_record_1
3006
+ SQL (0.6ms) INSERT INTO "g5_updatable_clients" ("uid", "urn", "name", "properties", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["uid", "http://example.com/clients/g5-c-1234-client"], ["urn", "g5-c-1234-client"], ["name", "test client"], ["properties", "{\"city\":\"Test Client\"}"], ["created_at", "2015-06-25 05:35:52.251106"], ["updated_at", "2015-06-25 05:35:52.251106"]]
3007
+  (0.3ms) RELEASE SAVEPOINT active_record_1
3008
+  (0.3ms) SAVEPOINT active_record_1
3009
+ SQL (0.5ms) INSERT INTO "g5_updatable_locations" ("uid", "urn", "client_uid", "name", "properties", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["uid", "http://example.com/clients/g5-c-1234-client/locations/g5-cl-1234-location"], ["urn", "g5-cl-1234-location"], ["client_uid", "http://example.com/clients/g5-c-1234-client"], ["name", "test location"], ["properties", "{\"domain\":\"http://myloc.com\"}"], ["created_at", "2015-06-25 05:35:52.255096"], ["updated_at", "2015-06-25 05:35:52.255096"]]
3010
+  (0.3ms) RELEASE SAVEPOINT active_record_1
3011
+ G5Updatable::Location Load (0.4ms) SELECT "g5_updatable_locations".* FROM "g5_updatable_locations" WHERE "g5_updatable_locations"."client_uid" = $1 [["client_uid", "http://example.com/clients/g5-c-1234-client"]]
3012
+  (0.3ms) ROLLBACK
3013
+  (0.2ms) BEGIN
3014
+  (0.4ms) ROLLBACK
3015
+  (0.3ms) BEGIN
3016
+  (0.3ms) ROLLBACK
3017
+  (0.3ms) BEGIN
3018
+  (0.3ms) SAVEPOINT active_record_1
3019
+ SQL (0.5ms) INSERT INTO "g5_updatable_clients" ("uid", "urn", "name", "properties", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["uid", "http://example.com/clients/g5-c-1234-client"], ["urn", "g5-c-1234-client"], ["name", "test client"], ["properties", "{\"key\":\"value\"}"], ["created_at", "2015-06-25 05:35:52.266803"], ["updated_at", "2015-06-25 05:35:52.266803"]]
3020
+  (0.3ms) RELEASE SAVEPOINT active_record_1
3021
+ G5Updatable::Client Load (0.4ms) SELECT "g5_updatable_clients".* FROM "g5_updatable_clients" WHERE "g5_updatable_clients"."id" = $1 LIMIT 1 [["id", 77]]
3022
+  (0.4ms) ROLLBACK
3023
+  (0.2ms) BEGIN
3024
+  (0.3ms) ROLLBACK
3025
+  (0.2ms) BEGIN
3026
+  (0.3ms) ROLLBACK
3027
+  (0.3ms) BEGIN
3028
+  (0.4ms) ROLLBACK
3029
+  (0.3ms) BEGIN
3030
+  (0.3ms) ROLLBACK
3031
+  (0.2ms) BEGIN
3032
+  (0.2ms) SAVEPOINT active_record_1
3033
+ SQL (0.4ms) INSERT INTO "g5_updatable_locations" ("uid", "urn", "client_uid", "name", "properties", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["uid", "http://example.com/clients/g5-c-1234-client/locations/g5-cl-1234-location"], ["urn", "g5-cl-1234-location"], ["client_uid", "http://example.com/clients/g5-c-1234-client"], ["name", "test location"], ["properties", "{\"domain\":\"http://myloc.com\"}"], ["created_at", "2015-06-25 05:35:52.296814"], ["updated_at", "2015-06-25 05:35:52.296814"]]
3034
+  (0.3ms) RELEASE SAVEPOINT active_record_1
3035
+  (0.4ms) SAVEPOINT active_record_1
3036
+ SQL (0.5ms) INSERT INTO "g5_updatable_locations" ("uid", "urn", "client_uid", "name", "properties", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["uid", "http://example.com/clients/g5-c-1234-client/locations/g5-cl-1234-location"], ["urn", "another_urn"], ["client_uid", "something_else"], ["name", "test location"], ["properties", "{\"domain\":\"http://myloc.com\"}"], ["created_at", "2015-06-25 05:35:52.299777"], ["updated_at", "2015-06-25 05:35:52.299777"]]
3037
+  (0.4ms) RELEASE SAVEPOINT active_record_1
3038
+ G5Updatable::Location Load (1.0ms) SELECT "g5_updatable_locations".* FROM "g5_updatable_locations" WHERE "g5_updatable_locations"."client_uid" = $1 [["client_uid", "http://example.com/clients/g5-c-1234-client"]]
3039
+  (0.3ms) ROLLBACK
3040
+  (0.3ms) BEGIN
3041
+  (0.3ms) SAVEPOINT active_record_1
3042
+ SQL (0.5ms) INSERT INTO "g5_updatable_locations" ("uid", "urn", "client_uid", "name", "properties", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["uid", "http://example.com/clients/g5-c-1234-client/locations/g5-cl-1234-location"], ["urn", "g5-cl-1234-location"], ["client_uid", "http://example.com/clients/g5-c-1234-client"], ["name", "test location"], ["properties", "{\"domain\":\"http://myloc.com\"}"], ["created_at", "2015-06-25 05:35:52.306929"], ["updated_at", "2015-06-25 05:35:52.306929"]]
3043
+  (0.2ms) RELEASE SAVEPOINT active_record_1
3044
+  (0.2ms) SAVEPOINT active_record_1
3045
+ SQL (0.4ms) INSERT INTO "g5_updatable_locations" ("uid", "urn", "client_uid", "name", "properties", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["uid", "http://example.com/clients/g5-c-1234-client/locations/g5-cl-1234-location"], ["urn", "another_urn"], ["client_uid", "something_else"], ["name", "test location"], ["properties", "{\"domain\":\"http://myloc.com\"}"], ["created_at", "2015-06-25 05:35:52.309632"], ["updated_at", "2015-06-25 05:35:52.309632"]]
3046
+  (0.2ms) RELEASE SAVEPOINT active_record_1
3047
+  (0.4ms) SELECT MAX("g5_updatable_locations"."updated_at") FROM "g5_updatable_locations"
3048
+  (0.2ms) ROLLBACK
3049
+  (0.2ms) BEGIN
3050
+  (0.2ms) SAVEPOINT active_record_1
3051
+ SQL (0.5ms) INSERT INTO "g5_updatable_locations" ("uid", "urn", "client_uid", "name", "properties", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["uid", "http://example.com/clients/g5-c-1234-client/locations/g5-cl-1234-location"], ["urn", "g5-cl-1234-location"], ["client_uid", "http://example.com/clients/g5-c-1234-client"], ["name", "test location"], ["properties", "{\"domain\":\"http://myloc.com\"}"], ["created_at", "2015-06-25 05:35:52.314905"], ["updated_at", "2015-06-25 05:35:52.314905"]]
3052
+  (0.3ms) RELEASE SAVEPOINT active_record_1
3053
+  (0.3ms) SAVEPOINT active_record_1
3054
+ SQL (0.5ms) INSERT INTO "g5_updatable_locations" ("uid", "urn", "client_uid", "name", "properties", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["uid", "http://example.com/clients/g5-c-1234-client/locations/g5-cl-1234-location"], ["urn", "another_urn"], ["client_uid", "something_else"], ["name", "test location"], ["properties", "{\"domain\":\"http://myloc.com\"}"], ["created_at", "2015-06-25 05:35:52.318239"], ["updated_at", "2015-06-25 05:35:52.318239"]]
3055
+  (0.3ms) RELEASE SAVEPOINT active_record_1
3056
+ G5Updatable::Location Load (0.6ms) SELECT "g5_updatable_locations".* FROM "g5_updatable_locations" WHERE "g5_updatable_locations"."urn" = $1 [["urn", "g5-cl-1234-location"]]
3057
+  (0.3ms) ROLLBACK
3058
+  (0.2ms) BEGIN
3059
+  (0.3ms) SAVEPOINT active_record_1
3060
+ SQL (0.4ms) INSERT INTO "g5_updatable_clients" ("uid", "urn", "name", "properties", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["uid", "http://example.com/clients/g5-c-1234-client"], ["urn", "g5-c-1234-client"], ["name", "test client"], ["properties", "{\"city\":\"Test Client\"}"], ["created_at", "2015-06-25 05:35:52.326076"], ["updated_at", "2015-06-25 05:35:52.326076"]]
3061
+  (0.3ms) RELEASE SAVEPOINT active_record_1
3062
+  (0.2ms) SAVEPOINT active_record_1
3063
+ SQL (0.3ms) INSERT INTO "g5_updatable_locations" ("uid", "urn", "client_uid", "name", "properties", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["uid", "http://example.com/clients/g5-c-1234-client/locations/g5-cl-1234-location"], ["urn", "g5-cl-1234-location"], ["client_uid", "http://example.com/clients/g5-c-1234-client"], ["name", "test location"], ["properties", "{\"domain\":\"http://myloc.com\"}"], ["created_at", "2015-06-25 05:35:52.329090"], ["updated_at", "2015-06-25 05:35:52.329090"]]
3064
+  (0.2ms) RELEASE SAVEPOINT active_record_1
3065
+ G5Updatable::Client Load (0.4ms) SELECT "g5_updatable_clients".* FROM "g5_updatable_clients" WHERE "g5_updatable_clients"."uid" = $1 LIMIT 1 [["uid", "http://example.com/clients/g5-c-1234-client"]]
3066
+  (0.4ms) ROLLBACK
3067
+  (0.3ms) BEGIN
3068
+  (0.3ms) SAVEPOINT active_record_1
3069
+ SQL (0.5ms) INSERT INTO "g5_updatable_locations" ("uid", "urn", "client_uid", "name", "properties", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["uid", "http://example.com/clients/g5-c-1234-client/locations/g5-cl-1234-location"], ["urn", "g5-cl-1234-location"], ["client_uid", "madeup"], ["name", "test location"], ["properties", "{\"domain\":\"http://myloc.com\"}"], ["created_at", "2015-06-25 05:35:52.336620"], ["updated_at", "2015-06-25 05:35:52.336620"]]
3070
+  (0.3ms) RELEASE SAVEPOINT active_record_1
3071
+ G5Updatable::Client Load (0.5ms) SELECT "g5_updatable_clients".* FROM "g5_updatable_clients" WHERE "g5_updatable_clients"."uid" = $1 LIMIT 1 [["uid", "madeup"]]
3072
+  (0.3ms) ROLLBACK
3073
+  (0.2ms) BEGIN
3074
+  (0.3ms) SAVEPOINT active_record_1
3075
+ SQL (0.4ms) INSERT INTO "g5_updatable_clients" ("uid", "urn", "name", "properties", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["uid", "http://example.com/clients/g5-c-1234-client"], ["urn", "g5-c-1234-client"], ["name", "test client"], ["properties", "{\"city\":\"Test Client\"}"], ["created_at", "2015-06-25 05:35:52.342764"], ["updated_at", "2015-06-25 05:35:52.342764"]]
3076
+  (0.2ms) RELEASE SAVEPOINT active_record_1
3077
+  (0.2ms) SAVEPOINT active_record_1
3078
+ SQL (0.5ms) INSERT INTO "g5_updatable_locations" ("uid", "urn", "client_uid", "name", "properties", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["uid", "http://example.com/clients/g5-c-1234-client/locations/g5-cl-1234-location"], ["urn", "g5-cl-1234-location"], ["client_uid", "http://example.com/clients/g5-c-1234-client"], ["name", "test location"], ["properties", "{\"domain\":\"http://myloc.com\"}"], ["created_at", "2015-06-25 05:35:52.345637"], ["updated_at", "2015-06-25 05:35:52.345637"]]
3079
+  (0.2ms) RELEASE SAVEPOINT active_record_1
3080
+ G5Updatable::Client Load (0.4ms) SELECT "g5_updatable_clients".* FROM "g5_updatable_clients" WHERE "g5_updatable_clients"."uid" = $1 LIMIT 1 [["uid", "http://example.com/clients/g5-c-1234-client"]]
3081
+  (0.2ms) ROLLBACK
3082
+  (0.3ms) BEGIN
3083
+  (0.3ms) ROLLBACK
3084
+  (0.5ms) BEGIN
3085
+  (0.4ms) ROLLBACK
3086
+  (0.2ms) BEGIN
3087
+  (0.2ms) SAVEPOINT active_record_1
3088
+ SQL (0.5ms) INSERT INTO "g5_updatable_locations" ("uid", "urn", "client_uid", "name", "properties", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["uid", "http://example.com/clients/g5-c-1234-client/locations/g5-cl-1234-location"], ["urn", "g5-cl-1234-location"], ["client_uid", "http://example.com/clients/g5-c-1234-client"], ["name", "test location"], ["properties", "{\"key\":\"value\"}"], ["created_at", "2015-06-25 05:35:52.358034"], ["updated_at", "2015-06-25 05:35:52.358034"]]
3089
+  (0.3ms) RELEASE SAVEPOINT active_record_1
3090
+ G5Updatable::Location Load (0.4ms) SELECT "g5_updatable_locations".* FROM "g5_updatable_locations" WHERE "g5_updatable_locations"."id" = $1 LIMIT 1 [["id", 281]]
3091
+  (0.2ms) ROLLBACK
3092
+  (0.3ms) BEGIN
3093
+  (0.3ms) ROLLBACK
3094
+  (0.2ms) BEGIN
3095
+  (0.3ms) SAVEPOINT active_record_1
3096
+ SQL (0.5ms) INSERT INTO "g5_updatable_locations" ("uid", "urn", "client_uid", "name", "properties", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["uid", "http://example.com/clients/g5-c-1234-client/locations/g5-cl-1234-location"], ["urn", "g5-cl-1234-location"], ["client_uid", "http://example.com/clients/g5-c-1234-client"], ["name", "test location"], ["properties", "{\"domain\":\"http://myloc.com\"}"], ["created_at", "2015-06-25 05:35:52.366110"], ["updated_at", "2015-06-25 05:35:52.366110"]]
3097
+  (0.3ms) RELEASE SAVEPOINT active_record_1
3098
+ Processing by G5Updatable::LocationsController#show as HTML
3099
+ Parameters: {"urn"=>"g5-cl-1234-location"}
3100
+ G5Updatable::Location Load (0.4ms) SELECT "g5_updatable_locations".* FROM "g5_updatable_locations" WHERE "g5_updatable_locations"."urn" = $1 LIMIT 1 [["urn", "g5-cl-1234-location"]]
3101
+ Completed 200 OK in 3ms (Views: 0.7ms | ActiveRecord: 0.4ms)
3102
+  (0.4ms) ROLLBACK
3103
+  (0.3ms) BEGIN
3104
+  (0.3ms) SAVEPOINT active_record_1
3105
+ SQL (0.5ms) INSERT INTO "g5_updatable_locations" ("uid", "urn", "client_uid", "name", "properties", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["uid", "http://example.com/clients/g5-c-1234-client/locations/g5-cl-1234-location"], ["urn", "g5-cl-1234-location"], ["client_uid", "http://example.com/clients/g5-c-1234-client"], ["name", "test location"], ["properties", "{\"domain\":\"http://myloc.com\"}"], ["created_at", "2015-06-25 05:35:52.376844"], ["updated_at", "2015-06-25 05:35:52.376844"]]
3106
+  (0.3ms) RELEASE SAVEPOINT active_record_1
3107
+ Processing by G5Updatable::LocationsController#show as HTML
3108
+ Parameters: {"urn"=>"g5-cl-1234-location"}
3109
+ G5Updatable::Location Load (0.5ms) SELECT "g5_updatable_locations".* FROM "g5_updatable_locations" WHERE "g5_updatable_locations"."urn" = $1 LIMIT 1 [["urn", "g5-cl-1234-location"]]
3110
+ Completed 200 OK in 1ms (Views: 0.5ms | ActiveRecord: 0.5ms)
3111
+  (0.3ms) ROLLBACK
3112
+  (0.6ms) BEGIN
3113
+  (0.3ms) ROLLBACK
3114
+  (0.2ms) BEGIN
3115
+  (0.2ms) SAVEPOINT active_record_1
3116
+ SQL (0.4ms) INSERT INTO "g5_updatable_clients" ("uid", "urn", "name", "properties", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["uid", "http://example.com/uid"], ["urn", "old"], ["name", "test client"], ["properties", "{\"city\":\"Test Client\"}"], ["created_at", "2015-06-25 05:35:52.410062"], ["updated_at", "2015-06-25 05:35:52.410062"]]
3117
+  (0.3ms) RELEASE SAVEPOINT active_record_1
3118
+ G5Updatable::Client Load (0.6ms) SELECT "g5_updatable_clients".* FROM "g5_updatable_clients" WHERE "g5_updatable_clients"."uid" = $1 LIMIT 1 [["uid", "http://example.com/uid"]]
3119
+  (0.3ms) SAVEPOINT active_record_1
3120
+ SQL (0.4ms) UPDATE "g5_updatable_clients" SET "urn" = $1, "name" = $2, "properties" = $3, "updated_at" = $4 WHERE "g5_updatable_clients"."id" = $5 [["urn", "urn"], ["name", "Client Name"], ["properties", "{\"uid\":\"http://example.com/uid\",\"urn\":\"urn\",\"name\":\"Client Name\"}"], ["updated_at", "2015-06-25 05:35:52.414626"], ["id", 80]]
3121
+  (0.3ms) RELEASE SAVEPOINT active_record_1
3122
+  (0.4ms) SELECT COUNT(*) FROM "g5_updatable_clients"
3123
+  (0.2ms) ROLLBACK
3124
+  (0.3ms) BEGIN
3125
+  (0.3ms) SAVEPOINT active_record_1
3126
+ SQL (0.5ms) INSERT INTO "g5_updatable_clients" ("uid", "urn", "name", "properties", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["uid", "http://example.com/uid"], ["urn", "old"], ["name", "test client"], ["properties", "{\"city\":\"Test Client\"}"], ["created_at", "2015-06-25 05:35:52.421370"], ["updated_at", "2015-06-25 05:35:52.421370"]]
3127
+  (0.3ms) RELEASE SAVEPOINT active_record_1
3128
+ G5Updatable::Client Load (0.4ms) SELECT "g5_updatable_clients".* FROM "g5_updatable_clients" WHERE "g5_updatable_clients"."uid" = $1 LIMIT 1 [["uid", "http://example.com/uid"]]
3129
+  (0.2ms) SAVEPOINT active_record_1
3130
+ SQL (0.4ms) UPDATE "g5_updatable_clients" SET "urn" = $1, "name" = $2, "properties" = $3, "updated_at" = $4 WHERE "g5_updatable_clients"."id" = $5 [["urn", "urn"], ["name", "Client Name"], ["properties", "{\"uid\":\"http://example.com/uid\",\"urn\":\"urn\",\"name\":\"Client Name\"}"], ["updated_at", "2015-06-25 05:35:52.425421"], ["id", 81]]
3131
+  (0.3ms) RELEASE SAVEPOINT active_record_1
3132
+ G5Updatable::Client Load (0.3ms) SELECT "g5_updatable_clients".* FROM "g5_updatable_clients" ORDER BY "g5_updatable_clients"."id" ASC LIMIT 1
3133
+  (0.3ms) ROLLBACK
3134
+  (0.3ms) BEGIN
3135
+  (0.3ms) SAVEPOINT active_record_1
3136
+ SQL (1.5ms) INSERT INTO "g5_updatable_clients" ("uid", "urn", "name", "properties", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["uid", "http://example.com/uid"], ["urn", "old"], ["name", "test client"], ["properties", "{\"city\":\"Test Client\"}"], ["created_at", "2015-06-25 05:35:52.431366"], ["updated_at", "2015-06-25 05:35:52.431366"]]
3137
+  (0.4ms) RELEASE SAVEPOINT active_record_1
3138
+ G5Updatable::Client Load (0.8ms) SELECT "g5_updatable_clients".* FROM "g5_updatable_clients" WHERE "g5_updatable_clients"."uid" = $1 LIMIT 1 [["uid", "http://example.com/uid"]]
3139
+  (0.3ms) SAVEPOINT active_record_1
3140
+ SQL (0.5ms) UPDATE "g5_updatable_clients" SET "urn" = $1, "name" = $2, "properties" = $3, "updated_at" = $4 WHERE "g5_updatable_clients"."id" = $5 [["urn", "urn"], ["name", "Client Name"], ["properties", "{\"uid\":\"http://example.com/uid\",\"urn\":\"urn\",\"name\":\"Client Name\"}"], ["updated_at", "2015-06-25 05:35:52.437790"], ["id", 82]]
3141
+  (0.2ms) RELEASE SAVEPOINT active_record_1
3142
+ G5Updatable::Client Load (0.4ms) SELECT "g5_updatable_clients".* FROM "g5_updatable_clients" ORDER BY "g5_updatable_clients"."id" ASC LIMIT 1
3143
+  (0.2ms) ROLLBACK
3144
+  (0.4ms) BEGIN
3145
+ G5Updatable::Client Load (0.3ms) SELECT "g5_updatable_clients".* FROM "g5_updatable_clients" WHERE "g5_updatable_clients"."uid" = $1 LIMIT 1 [["uid", "http://example.com/uid"]]
3146
+  (0.2ms) SAVEPOINT active_record_1
3147
+ SQL (0.4ms) INSERT INTO "g5_updatable_clients" ("uid", "urn", "name", "properties", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["uid", "http://example.com/uid"], ["urn", "urn"], ["name", "Client Name"], ["properties", "{\"uid\":\"http://example.com/uid\",\"urn\":\"urn\",\"name\":\"Client Name\"}"], ["created_at", "2015-06-25 05:35:52.444984"], ["updated_at", "2015-06-25 05:35:52.444984"]]
3148
+  (0.3ms) RELEASE SAVEPOINT active_record_1
3149
+  (0.4ms) SELECT COUNT(*) FROM "g5_updatable_clients"
3150
+  (0.2ms) ROLLBACK
3151
+  (0.3ms) BEGIN
3152
+ G5Updatable::Client Load (0.3ms) SELECT "g5_updatable_clients".* FROM "g5_updatable_clients" WHERE "g5_updatable_clients"."uid" = $1 LIMIT 1 [["uid", "http://example.com/uid"]]
3153
+  (0.3ms) SAVEPOINT active_record_1
3154
+ SQL (0.5ms) INSERT INTO "g5_updatable_clients" ("uid", "urn", "name", "properties", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["uid", "http://example.com/uid"], ["urn", "urn"], ["name", "Client Name"], ["properties", "{\"uid\":\"http://example.com/uid\",\"urn\":\"urn\",\"name\":\"Client Name\"}"], ["created_at", "2015-06-25 05:35:52.450854"], ["updated_at", "2015-06-25 05:35:52.450854"]]
3155
+  (0.5ms) RELEASE SAVEPOINT active_record_1
3156
+ G5Updatable::Client Load (0.5ms) SELECT "g5_updatable_clients".* FROM "g5_updatable_clients" ORDER BY "g5_updatable_clients"."id" ASC LIMIT 1
3157
+  (0.4ms) ROLLBACK
3158
+  (0.2ms) BEGIN
3159
+ G5Updatable::Client Load (0.3ms) SELECT "g5_updatable_clients".* FROM "g5_updatable_clients" WHERE "g5_updatable_clients"."uid" = $1 LIMIT 1 [["uid", "http://example.com/uid"]]
3160
+  (0.2ms) SAVEPOINT active_record_1
3161
+ SQL (0.4ms) INSERT INTO "g5_updatable_clients" ("uid", "urn", "name", "properties", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["uid", "http://example.com/uid"], ["urn", "urn"], ["name", "Client Name"], ["properties", "{\"uid\":\"http://example.com/uid\",\"urn\":\"urn\",\"name\":\"Client Name\"}"], ["created_at", "2015-06-25 05:35:52.458717"], ["updated_at", "2015-06-25 05:35:52.458717"]]
3162
+  (0.3ms) RELEASE SAVEPOINT active_record_1
3163
+ G5Updatable::Client Load (0.4ms) SELECT "g5_updatable_clients".* FROM "g5_updatable_clients" ORDER BY "g5_updatable_clients"."id" ASC LIMIT 1
3164
+ G5Updatable::Client Load (0.3ms) SELECT "g5_updatable_clients".* FROM "g5_updatable_clients" WHERE "g5_updatable_clients"."name" = $1 LIMIT 1 [["name", "Client Name"]]
3165
+  (0.2ms) ROLLBACK
3166
+  (0.2ms) BEGIN
3167
+ G5Updatable::Client Load (0.2ms) SELECT "g5_updatable_clients".* FROM "g5_updatable_clients" WHERE "g5_updatable_clients"."uid" = $1 LIMIT 1 [["uid", "http://example.com/uid"]]
3168
+  (0.2ms) SAVEPOINT active_record_1
3169
+ SQL (0.5ms) INSERT INTO "g5_updatable_clients" ("uid", "urn", "name", "properties", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["uid", "http://example.com/uid"], ["urn", "urn"], ["name", "Client Name"], ["properties", "{\"uid\":\"http://example.com/uid\",\"urn\":\"urn\",\"name\":\"Client Name\"}"], ["created_at", "2015-06-25 05:35:52.466590"], ["updated_at", "2015-06-25 05:35:52.466590"]]
3170
+  (0.5ms) RELEASE SAVEPOINT active_record_1
3171
+ G5Updatable::Client Load (0.5ms) SELECT "g5_updatable_clients".* FROM "g5_updatable_clients" ORDER BY "g5_updatable_clients"."id" ASC LIMIT 1
3172
+  (0.3ms) ROLLBACK
3173
+  (0.3ms) BEGIN
3174
+ G5Updatable::Client Load (0.5ms) SELECT "g5_updatable_clients".* FROM "g5_updatable_clients" WHERE "g5_updatable_clients"."uid" = $1 LIMIT 1 [["uid", "http://example.com/uid"]]
3175
+  (0.3ms) SAVEPOINT active_record_1
3176
+ SQL (0.5ms) INSERT INTO "g5_updatable_clients" ("uid", "urn", "name", "properties", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["uid", "http://example.com/uid"], ["urn", "urn"], ["name", "Client Name"], ["properties", "{\"uid\":\"http://example.com/uid\",\"urn\":\"urn\",\"name\":\"Client Name\"}"], ["created_at", "2015-06-25 05:35:52.474743"], ["updated_at", "2015-06-25 05:35:52.474743"]]
3177
+  (0.3ms) RELEASE SAVEPOINT active_record_1
3178
+ G5Updatable::Client Load (0.4ms) SELECT "g5_updatable_clients".* FROM "g5_updatable_clients" ORDER BY "g5_updatable_clients"."id" ASC LIMIT 1
3179
+  (0.2ms) ROLLBACK
3180
+  (0.4ms) BEGIN
3181
+ G5Updatable::Client Load (0.3ms) SELECT "g5_updatable_clients".* FROM "g5_updatable_clients" WHERE "g5_updatable_clients"."uid" = $1 LIMIT 1 [["uid", "http://example.com/uid"]]
3182
+  (0.2ms) SAVEPOINT active_record_1
3183
+ SQL (0.4ms) INSERT INTO "g5_updatable_clients" ("uid", "urn", "name", "properties", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["uid", "http://example.com/uid"], ["urn", "urn"], ["name", "Client Name"], ["properties", "{\"uid\":\"http://example.com/uid\",\"urn\":\"urn\",\"name\":\"Client Name\"}"], ["created_at", "2015-06-25 05:35:52.481482"], ["updated_at", "2015-06-25 05:35:52.481482"]]
3184
+  (0.4ms) RELEASE SAVEPOINT active_record_1
3185
+ G5Updatable::Client Load (0.4ms) SELECT "g5_updatable_clients".* FROM "g5_updatable_clients" ORDER BY "g5_updatable_clients"."id" ASC LIMIT 1
3186
+  (0.2ms) ROLLBACK
3187
+  (0.3ms) BEGIN
3188
+  (0.4ms) ROLLBACK
3189
+  (0.3ms) BEGIN
3190
+  (0.4ms) ROLLBACK
3191
+  (0.3ms) BEGIN
3192
+  (0.3ms) ROLLBACK
3193
+  (0.3ms) BEGIN
3194
+  (0.3ms) ROLLBACK
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: g5_updatable
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.7.2
4
+ version: 0.8.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Brian Bauer