shrew 0.0.6 → 0.0.7

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: 6c193d8007187da9bf64f9a04b122531c66f4275
4
- data.tar.gz: a497bf8cbd97ce74fe0111f839b3120fffe17243
3
+ metadata.gz: 06acffe0154a0417957a12e74c46096564c1dbc8
4
+ data.tar.gz: be3dc607dc5eee1b2d2606e3551f663bc2f1d409
5
5
  SHA512:
6
- metadata.gz: af19ab6da9fa443bd3186cde3b68541aec22eec968ff8eb14fa74b7d28fbda79e6db2c0a472b3d3c4e2cbea8b504c7d00ff55c25d87b2e33e29f36ba1ceefe16
7
- data.tar.gz: 296082a0b4308bf8077bb6daa4dde2119d05dc27913c7c6937b6711720bc0a6d70b7915aff917c6eb021f86e2f3e14599fc2fcff1ac0c9a0959908b4f1ed810b
6
+ metadata.gz: 6c3d1b65b74861bdeafaab5c99c2ac2a5030cec7a6e295ae4616c2042c1327fbb13d9f024f167d711945d2635672e3489e5325c4ea7ca5486c5601843c64f4c8
7
+ data.tar.gz: d3eba17ce62d2e2c8c56e7e1265b89f7b0e380cbf215192b0899084baff931e19898d5c2b461ba32a0de6a68f62dcb07200007b013ea6165d1b5cd20a31b9e13
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- shrew (0.0.2)
4
+ shrew (0.0.7)
5
5
  activerecord (>= 4.0.0)
6
6
  activesupport (>= 4.0.0)
7
7
 
data/README.md CHANGED
@@ -16,23 +16,27 @@ Add page tracking to your application controller (or any other controller)
16
16
 
17
17
  ```
18
18
  class ApplicationController < ActionController::Base
19
- include Analytics::TracksPageViews
19
+ include Shrew::TracksPageViews
20
20
  end
21
21
  ```
22
22
 
23
23
  *For tracking javascript run time*
24
24
 
25
- Include analytics.js in your application.js
25
+ Include shrew.js in your application.js
26
26
 
27
27
  ```
28
- //= require analytics
28
+ //= require shrew
29
29
  ```
30
30
 
31
31
  Include the partial at the end of your layout to automatically track javascript run time
32
32
 
33
33
  ```
34
34
  ...
35
- <%= render "analytics/automatically_track_page_views" %>
35
+ <%= render "shrew/automatically_track_page_views" %>
36
36
  </body>
37
37
  </html>
38
38
  ```
39
+
40
+ ### Configuration
41
+
42
+ See the initializer for configuration
@@ -1,4 +1,9 @@
1
1
  Shrew.setup do |config|
2
2
  # config.route_scope = 'shrew'
3
+
4
+ # The user class to use for current_user
3
5
  # config.user_class = 'User'
6
+
7
+ # Controllers that match these patterns will not create page views
8
+ # config.exclude = [/.*/]
4
9
  end
data/lib/shrew/engine.rb CHANGED
@@ -8,7 +8,7 @@ module Shrew
8
8
  payload[:duration] = duration
9
9
 
10
10
  payload[:start_time] = (start.to_f * 1000).to_i
11
- next if payload[:controller] == 'Shrew::PageViewsController'
11
+ next if payload[:controller] == 'Shrew::PageViewsController' || (Shrew.exclude.present? && payload[:controller] =~ Regexp.union(Shrew.exclude))
12
12
  Shrew::PageView.create_from_payload(payload)
13
13
  end
14
14
  end
data/lib/shrew/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Shrew
2
- VERSION = '0.0.6'
2
+ VERSION = '0.0.7'
3
3
  end
data/lib/shrew.rb CHANGED
@@ -11,4 +11,7 @@ module Shrew
11
11
 
12
12
  mattr_accessor :user_class
13
13
  @@user_class = 'User'
14
+
15
+ mattr_accessor :exclude
16
+ @@exclude = []
14
17
  end
Binary file
@@ -16,15 +16,19 @@ ActiveRecord::Schema.define(version: 1) do
16
16
  create_table "shrew_page_views", force: true do |t|
17
17
  t.integer "user_id"
18
18
  t.string "controller"
19
+ t.string "action"
20
+ t.string "path"
19
21
  t.integer "status"
22
+ t.integer "start_time"
23
+ t.integer "duration"
20
24
  t.float "view_runtime"
21
25
  t.float "db_runtime"
22
26
  t.integer "sent_time"
23
27
  t.integer "js_return_time"
24
- t.integer "time_between_sent_and_return"
25
- t.binary "js_tracking_id", limit: 16
28
+ t.binary "js_tracking_id", limit: 16
26
29
  end
27
30
 
31
+ add_index "shrew_page_views", ["js_tracking_id"], name: "index_shrew_page_views_on_js_tracking_id"
28
32
  add_index "shrew_page_views", ["user_id"], name: "index_shrew_page_views_on_user_id"
29
33
 
30
34
  end
Binary file
@@ -79,3 +79,39 @@ Migrating to AddShrewPageViewTable (1)
79
79
  FROM sqlite_temp_master
80
80
  WHERE name='index_shrew_page_views_on_user_id' AND type='index'
81
81
  
82
+  (1.1ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) 
83
+  (0.1ms) select sqlite_version(*)
84
+  (0.9ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
85
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
86
+ Migrating to AddShrewPageViewTable (1)
87
+  (0.0ms) begin transaction
88
+  (0.3ms) CREATE TABLE "shrew_page_views" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "controller" varchar(255), "action" varchar(255), "path" varchar(255), "status" integer, "start_time" integer, "duration" integer, "view_runtime" float, "db_runtime" float, "sent_time" integer, "js_return_time" integer, "js_tracking_id" blob(16))
89
+  (0.1ms) CREATE INDEX "index_shrew_page_views_on_user_id" ON "shrew_page_views" ("user_id")
90
+  (0.1ms) SELECT sql
91
+ FROM sqlite_master
92
+ WHERE name='index_shrew_page_views_on_user_id' AND type='index'
93
+ UNION ALL
94
+ SELECT sql
95
+ FROM sqlite_temp_master
96
+ WHERE name='index_shrew_page_views_on_user_id' AND type='index'
97
+
98
+  (0.1ms) CREATE INDEX "index_shrew_page_views_on_js_tracking_id" ON "shrew_page_views" ("js_tracking_id")
99
+ SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "1"]]
100
+  (0.7ms) commit transaction
101
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
102
+  (0.1ms)  SELECT sql
103
+ FROM sqlite_master
104
+ WHERE name='index_shrew_page_views_on_js_tracking_id' AND type='index'
105
+ UNION ALL
106
+ SELECT sql
107
+ FROM sqlite_temp_master
108
+ WHERE name='index_shrew_page_views_on_js_tracking_id' AND type='index'
109
+ 
110
+  (0.1ms) SELECT sql
111
+ FROM sqlite_master
112
+ WHERE name='index_shrew_page_views_on_user_id' AND type='index'
113
+ UNION ALL
114
+ SELECT sql
115
+ FROM sqlite_temp_master
116
+ WHERE name='index_shrew_page_views_on_user_id' AND type='index'
117
+
@@ -1687,3 +1687,642 @@ Processing by AnonymousController#index as HTML
1687
1687
  Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)
1688
1688
   (0.0ms) SELECT COUNT(*) FROM "shrew_page_views"
1689
1689
   (0.5ms) rollback transaction
1690
+ ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"
1691
+  (1.9ms) DELETE FROM "shrew_page_views";
1692
+  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
1693
+  (0.5ms) DELETE FROM sqlite_sequence where name = 'shrew_page_views';
1694
+  (0.1ms) begin transaction
1695
+  (0.0ms) commit transaction
1696
+  (0.0ms) begin transaction
1697
+ Processing by Shrew::PageViewsController#create as HTML
1698
+ Completed 200 OK in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)
1699
+  (0.1ms) rollback transaction
1700
+  (0.0ms) begin transaction
1701
+  (0.0ms) commit transaction
1702
+  (0.1ms) begin transaction
1703
+ Processing by Shrew::PageViewsController#create as HTML
1704
+ Completed 200 OK in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
1705
+  (0.0ms) rollback transaction
1706
+  (0.0ms) begin transaction
1707
+  (0.0ms) commit transaction
1708
+  (0.0ms) begin transaction
1709
+ Processing by Shrew::PageViewsController#create as HTML
1710
+ Completed 200 OK in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
1711
+  (0.0ms) rollback transaction
1712
+  (0.0ms) begin transaction
1713
+  (0.0ms) commit transaction
1714
+  (0.0ms) begin transaction
1715
+ Processing by Shrew::PageViewsController#create as HTML
1716
+ Completed 200 OK in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
1717
+  (0.0ms) rollback transaction
1718
+  (0.0ms) begin transaction
1719
+  (0.0ms) commit transaction
1720
+  (0.0ms) begin transaction
1721
+ Processing by Shrew::PageViewsController#create as HTML
1722
+ Parameters: {"jTI"=>"1", "jRT"=>"100"}
1723
+ Completed 200 OK in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
1724
+  (0.0ms) rollback transaction
1725
+  (0.0ms) begin transaction
1726
+  (0.0ms) commit transaction
1727
+  (0.0ms) begin transaction
1728
+ Processing by Shrew::PageViewsController#create as HTML
1729
+ Parameters: {"jTI"=>"1", "jRT"=>"100"}
1730
+ Completed 200 OK in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
1731
+  (0.1ms) rollback transaction
1732
+  (0.0ms) begin transaction
1733
+  (0.0ms) commit transaction
1734
+  (0.0ms) begin transaction
1735
+ Processing by Shrew::PageViewsController#create as HTML
1736
+ Parameters: {"jTI"=>"1", "jRT"=>"100"}
1737
+ Completed 200 OK in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
1738
+  (0.0ms) rollback transaction
1739
+  (0.0ms) begin transaction
1740
+  (0.0ms) commit transaction
1741
+  (0.0ms) begin transaction
1742
+ Processing by AnonymousController#index as HTML
1743
+ Completed 200 OK in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
1744
+  (0.0ms) rollback transaction
1745
+  (0.0ms) begin transaction
1746
+  (0.0ms) commit transaction
1747
+  (0.0ms) begin transaction
1748
+ Processing by AnonymousController#index as HTML
1749
+ Completed 200 OK in 0ms (Views: 0.0ms | ActiveRecord: 0.0ms)
1750
+  (0.0ms) rollback transaction
1751
+  (0.0ms) begin transaction
1752
+  (0.0ms) commit transaction
1753
+  (0.0ms) begin transaction
1754
+  (0.2ms) SELECT COUNT(*) FROM "shrew_page_views"
1755
+ Processing by AnonymousController#index as HTML
1756
+ Completed 200 OK in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
1757
+  (0.1ms) SELECT COUNT(*) FROM "shrew_page_views"
1758
+  (0.1ms) rollback transaction
1759
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
1760
+  (2.1ms) DELETE FROM "shrew_page_views";
1761
+  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
1762
+  (0.2ms) DELETE FROM sqlite_sequence where name = 'shrew_page_views';
1763
+  (0.1ms) begin transaction
1764
+  (0.0ms) commit transaction
1765
+  (0.0ms) begin transaction
1766
+ Processing by Shrew::PageViewsController#create as HTML
1767
+ Completed 200 OK in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
1768
+  (0.1ms) rollback transaction
1769
+  (0.0ms) begin transaction
1770
+  (0.0ms) commit transaction
1771
+  (0.0ms) begin transaction
1772
+ Processing by Shrew::PageViewsController#create as HTML
1773
+ Completed 200 OK in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
1774
+  (0.0ms) rollback transaction
1775
+  (0.0ms) begin transaction
1776
+  (0.0ms) commit transaction
1777
+  (0.0ms) begin transaction
1778
+ Processing by Shrew::PageViewsController#create as HTML
1779
+ Completed 200 OK in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
1780
+  (0.0ms) rollback transaction
1781
+  (0.0ms) begin transaction
1782
+  (0.0ms) commit transaction
1783
+  (0.0ms) begin transaction
1784
+ Processing by Shrew::PageViewsController#create as HTML
1785
+ Completed 200 OK in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
1786
+  (0.0ms) rollback transaction
1787
+  (0.0ms) begin transaction
1788
+  (0.0ms) commit transaction
1789
+  (0.0ms) begin transaction
1790
+ Processing by Shrew::PageViewsController#create as HTML
1791
+ Parameters: {"jTI"=>"1", "jRT"=>"100"}
1792
+ Completed 200 OK in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
1793
+  (0.0ms) rollback transaction
1794
+  (0.0ms) begin transaction
1795
+  (0.0ms) commit transaction
1796
+  (0.0ms) begin transaction
1797
+ Processing by Shrew::PageViewsController#create as HTML
1798
+ Parameters: {"jTI"=>"1", "jRT"=>"100"}
1799
+ Completed 200 OK in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
1800
+  (0.1ms) rollback transaction
1801
+  (0.0ms) begin transaction
1802
+  (0.0ms) commit transaction
1803
+  (0.0ms) begin transaction
1804
+ Processing by Shrew::PageViewsController#create as HTML
1805
+ Parameters: {"jTI"=>"1", "jRT"=>"100"}
1806
+ Completed 200 OK in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
1807
+  (0.0ms) rollback transaction
1808
+  (0.0ms) begin transaction
1809
+  (0.0ms) commit transaction
1810
+  (0.0ms) begin transaction
1811
+ Processing by AnonymousController#index as HTML
1812
+  (0.0ms) rollback transaction
1813
+  (0.0ms) begin transaction
1814
+  (0.0ms) commit transaction
1815
+  (0.0ms) begin transaction
1816
+ Processing by AnonymousController#index as HTML
1817
+  (0.0ms) rollback transaction
1818
+  (0.0ms) begin transaction
1819
+  (0.0ms) commit transaction
1820
+  (0.0ms) begin transaction
1821
+  (0.1ms) SELECT COUNT(*) FROM "shrew_page_views"
1822
+ Processing by AnonymousController#index as HTML
1823
+  (0.0ms) rollback transaction
1824
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
1825
+  (1.5ms) DELETE FROM "shrew_page_views";
1826
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
1827
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'shrew_page_views';
1828
+  (0.0ms) begin transaction
1829
+  (0.0ms) commit transaction
1830
+  (0.0ms) begin transaction
1831
+ Processing by Shrew::PageViewsController#create as HTML
1832
+ Completed 200 OK in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)
1833
+  (0.1ms) rollback transaction
1834
+  (0.1ms) begin transaction
1835
+  (0.0ms) commit transaction
1836
+  (0.0ms) begin transaction
1837
+ Processing by Shrew::PageViewsController#create as HTML
1838
+ Completed 200 OK in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)
1839
+  (0.1ms) rollback transaction
1840
+  (0.0ms) begin transaction
1841
+  (0.0ms) commit transaction
1842
+  (0.0ms) begin transaction
1843
+ Processing by Shrew::PageViewsController#create as HTML
1844
+ Completed 200 OK in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
1845
+  (0.0ms) rollback transaction
1846
+  (0.0ms) begin transaction
1847
+  (0.0ms) commit transaction
1848
+  (0.0ms) begin transaction
1849
+ Processing by Shrew::PageViewsController#create as HTML
1850
+ Completed 200 OK in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
1851
+  (0.0ms) rollback transaction
1852
+  (0.0ms) begin transaction
1853
+  (0.0ms) commit transaction
1854
+  (0.0ms) begin transaction
1855
+ Processing by Shrew::PageViewsController#create as HTML
1856
+ Parameters: {"jTI"=>"1", "jRT"=>"100"}
1857
+ Completed 200 OK in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
1858
+  (0.0ms) rollback transaction
1859
+  (0.0ms) begin transaction
1860
+  (0.0ms) commit transaction
1861
+  (0.0ms) begin transaction
1862
+ Processing by Shrew::PageViewsController#create as HTML
1863
+ Parameters: {"jTI"=>"1", "jRT"=>"100"}
1864
+ Completed 200 OK in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
1865
+  (0.1ms) rollback transaction
1866
+  (0.0ms) begin transaction
1867
+  (0.0ms) commit transaction
1868
+  (0.0ms) begin transaction
1869
+ Processing by Shrew::PageViewsController#create as HTML
1870
+ Parameters: {"jTI"=>"1", "jRT"=>"100"}
1871
+ Completed 200 OK in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
1872
+  (0.0ms) rollback transaction
1873
+  (0.0ms) begin transaction
1874
+  (0.0ms) commit transaction
1875
+  (0.0ms) begin transaction
1876
+ Processing by AnonymousController#index as HTML
1877
+  (0.0ms) rollback transaction
1878
+  (0.1ms) begin transaction
1879
+  (0.0ms) commit transaction
1880
+  (0.0ms) begin transaction
1881
+ Processing by AnonymousController#index as HTML
1882
+  (0.0ms) rollback transaction
1883
+  (0.0ms) begin transaction
1884
+  (0.0ms) commit transaction
1885
+  (0.0ms) begin transaction
1886
+  (0.1ms) SELECT COUNT(*) FROM "shrew_page_views"
1887
+ Processing by AnonymousController#index as HTML
1888
+  (0.1ms) rollback transaction
1889
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
1890
+  (1.7ms) DELETE FROM "shrew_page_views";
1891
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
1892
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'shrew_page_views';
1893
+  (0.0ms) begin transaction
1894
+  (0.0ms) commit transaction
1895
+  (0.0ms) begin transaction
1896
+ Processing by Shrew::PageViewsController#create as HTML
1897
+ Completed 200 OK in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
1898
+  (0.1ms) rollback transaction
1899
+  (0.0ms) begin transaction
1900
+  (0.0ms) commit transaction
1901
+  (0.0ms) begin transaction
1902
+ Processing by Shrew::PageViewsController#create as HTML
1903
+ Completed 200 OK in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
1904
+  (0.0ms) rollback transaction
1905
+  (0.1ms) begin transaction
1906
+  (0.0ms) commit transaction
1907
+  (0.0ms) begin transaction
1908
+ Processing by Shrew::PageViewsController#create as HTML
1909
+ Completed 200 OK in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
1910
+  (0.0ms) rollback transaction
1911
+  (0.0ms) begin transaction
1912
+  (0.1ms) commit transaction
1913
+  (0.0ms) begin transaction
1914
+ Processing by Shrew::PageViewsController#create as HTML
1915
+ Completed 200 OK in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
1916
+  (0.0ms) rollback transaction
1917
+  (0.0ms) begin transaction
1918
+  (0.0ms) commit transaction
1919
+  (0.0ms) begin transaction
1920
+ Processing by Shrew::PageViewsController#create as HTML
1921
+ Parameters: {"jTI"=>"1", "jRT"=>"100"}
1922
+ Completed 200 OK in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
1923
+  (0.0ms) rollback transaction
1924
+  (0.0ms) begin transaction
1925
+  (0.1ms) commit transaction
1926
+  (0.0ms) begin transaction
1927
+ Processing by Shrew::PageViewsController#create as HTML
1928
+ Parameters: {"jTI"=>"1", "jRT"=>"100"}
1929
+ Completed 200 OK in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
1930
+  (0.1ms) rollback transaction
1931
+  (0.0ms) begin transaction
1932
+  (0.0ms) commit transaction
1933
+  (0.0ms) begin transaction
1934
+ Processing by Shrew::PageViewsController#create as HTML
1935
+ Parameters: {"jTI"=>"1", "jRT"=>"100"}
1936
+ Completed 200 OK in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
1937
+  (0.1ms) rollback transaction
1938
+  (0.1ms) begin transaction
1939
+  (0.0ms) commit transaction
1940
+  (0.0ms) begin transaction
1941
+ Processing by AnonymousController#index as HTML
1942
+ Completed 200 OK in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
1943
+  (0.0ms) rollback transaction
1944
+  (0.0ms) begin transaction
1945
+  (0.0ms) commit transaction
1946
+  (0.0ms) begin transaction
1947
+ Processing by AnonymousController#index as HTML
1948
+ Completed 200 OK in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
1949
+  (0.0ms) rollback transaction
1950
+  (0.0ms) begin transaction
1951
+  (0.0ms) commit transaction
1952
+  (0.0ms) begin transaction
1953
+  (0.1ms) SELECT COUNT(*) FROM "shrew_page_views"
1954
+ Processing by AnonymousController#index as HTML
1955
+ Completed 200 OK in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
1956
+  (0.1ms) SELECT COUNT(*) FROM "shrew_page_views"
1957
+  (0.1ms) rollback transaction
1958
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
1959
+  (2.0ms) DELETE FROM "shrew_page_views";
1960
+  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
1961
+  (0.2ms) DELETE FROM sqlite_sequence where name = 'shrew_page_views';
1962
+  (0.1ms) begin transaction
1963
+  (0.0ms) commit transaction
1964
+  (0.0ms) begin transaction
1965
+ Processing by Shrew::PageViewsController#create as HTML
1966
+ Completed 200 OK in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
1967
+  (0.1ms) rollback transaction
1968
+  (0.0ms) begin transaction
1969
+  (0.0ms) commit transaction
1970
+  (0.0ms) begin transaction
1971
+ Processing by Shrew::PageViewsController#create as HTML
1972
+ Completed 200 OK in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
1973
+  (0.0ms) rollback transaction
1974
+  (0.0ms) begin transaction
1975
+  (0.0ms) commit transaction
1976
+  (0.0ms) begin transaction
1977
+ Processing by Shrew::PageViewsController#create as HTML
1978
+ Completed 200 OK in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
1979
+  (0.0ms) rollback transaction
1980
+  (0.0ms) begin transaction
1981
+  (0.0ms) commit transaction
1982
+  (0.0ms) begin transaction
1983
+ Processing by Shrew::PageViewsController#create as HTML
1984
+ Completed 200 OK in 0ms (Views: 0.0ms | ActiveRecord: 0.0ms)
1985
+  (0.0ms) rollback transaction
1986
+  (0.0ms) begin transaction
1987
+  (0.0ms) commit transaction
1988
+  (0.0ms) begin transaction
1989
+ Processing by Shrew::PageViewsController#create as HTML
1990
+ Parameters: {"jTI"=>"1", "jRT"=>"100"}
1991
+ Completed 200 OK in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
1992
+  (0.1ms) rollback transaction
1993
+  (0.0ms) begin transaction
1994
+  (0.0ms) commit transaction
1995
+  (0.0ms) begin transaction
1996
+ Processing by Shrew::PageViewsController#create as HTML
1997
+ Parameters: {"jTI"=>"1", "jRT"=>"100"}
1998
+ Completed 200 OK in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
1999
+  (0.0ms) rollback transaction
2000
+  (0.0ms) begin transaction
2001
+  (0.0ms) commit transaction
2002
+  (0.0ms) begin transaction
2003
+ Processing by Shrew::PageViewsController#create as HTML
2004
+ Parameters: {"jTI"=>"1", "jRT"=>"100"}
2005
+ Completed 200 OK in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
2006
+  (0.0ms) rollback transaction
2007
+  (0.0ms) begin transaction
2008
+  (0.0ms) commit transaction
2009
+  (0.0ms) begin transaction
2010
+ Processing by AnonymousController#index as HTML
2011
+  (0.0ms) rollback transaction
2012
+  (0.1ms) begin transaction
2013
+  (0.0ms) commit transaction
2014
+  (0.0ms) begin transaction
2015
+ Processing by AnonymousController#index as HTML
2016
+  (0.0ms) rollback transaction
2017
+  (0.1ms) begin transaction
2018
+  (0.0ms) commit transaction
2019
+  (0.0ms) begin transaction
2020
+  (0.1ms) SELECT COUNT(*) FROM "shrew_page_views"
2021
+ Processing by AnonymousController#index as HTML
2022
+  (0.0ms) rollback transaction
2023
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
2024
+  (1.9ms) DELETE FROM "shrew_page_views";
2025
+  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
2026
+  (0.2ms) DELETE FROM sqlite_sequence where name = 'shrew_page_views';
2027
+  (0.1ms) begin transaction
2028
+  (0.1ms) commit transaction
2029
+  (0.0ms) begin transaction
2030
+ Processing by Shrew::PageViewsController#create as HTML
2031
+ Completed 200 OK in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
2032
+  (0.0ms) rollback transaction
2033
+  (0.0ms) begin transaction
2034
+  (0.0ms) commit transaction
2035
+  (0.0ms) begin transaction
2036
+ Processing by Shrew::PageViewsController#create as HTML
2037
+ Completed 200 OK in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
2038
+  (0.0ms) rollback transaction
2039
+  (0.1ms) begin transaction
2040
+  (0.0ms) commit transaction
2041
+  (0.0ms) begin transaction
2042
+ Processing by Shrew::PageViewsController#create as HTML
2043
+ Completed 200 OK in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
2044
+  (0.0ms) rollback transaction
2045
+  (0.0ms) begin transaction
2046
+  (0.0ms) commit transaction
2047
+  (0.0ms) begin transaction
2048
+ Processing by Shrew::PageViewsController#create as HTML
2049
+ Completed 200 OK in 0ms (Views: 0.0ms | ActiveRecord: 0.0ms)
2050
+  (0.0ms) rollback transaction
2051
+  (0.0ms) begin transaction
2052
+  (0.0ms) commit transaction
2053
+  (0.0ms) begin transaction
2054
+ Processing by Shrew::PageViewsController#create as HTML
2055
+ Parameters: {"jTI"=>"1", "jRT"=>"100"}
2056
+ Completed 200 OK in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
2057
+  (0.0ms) rollback transaction
2058
+  (0.0ms) begin transaction
2059
+  (0.0ms) commit transaction
2060
+  (0.0ms) begin transaction
2061
+ Processing by Shrew::PageViewsController#create as HTML
2062
+ Parameters: {"jTI"=>"1", "jRT"=>"100"}
2063
+ Completed 200 OK in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
2064
+  (0.1ms) rollback transaction
2065
+  (0.1ms) begin transaction
2066
+  (0.0ms) commit transaction
2067
+  (0.0ms) begin transaction
2068
+ Processing by Shrew::PageViewsController#create as HTML
2069
+ Parameters: {"jTI"=>"1", "jRT"=>"100"}
2070
+ Completed 200 OK in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
2071
+  (0.0ms) rollback transaction
2072
+  (0.0ms) begin transaction
2073
+  (0.0ms) commit transaction
2074
+  (0.0ms) begin transaction
2075
+ Processing by AnonymousController#index as HTML
2076
+ Completed 200 OK in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
2077
+  (0.0ms) rollback transaction
2078
+  (0.0ms) begin transaction
2079
+  (0.0ms) commit transaction
2080
+  (0.0ms) begin transaction
2081
+ Processing by AnonymousController#index as HTML
2082
+ Completed 200 OK in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
2083
+  (0.0ms) rollback transaction
2084
+  (0.0ms) begin transaction
2085
+  (0.0ms) commit transaction
2086
+  (0.0ms) begin transaction
2087
+  (0.1ms) SELECT COUNT(*) FROM "shrew_page_views"
2088
+ Processing by AnonymousController#index as HTML
2089
+ Completed 200 OK in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
2090
+  (0.0ms) SELECT COUNT(*) FROM "shrew_page_views"
2091
+  (0.0ms) rollback transaction
2092
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
2093
+  (1.7ms) DELETE FROM "shrew_page_views";
2094
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
2095
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'shrew_page_views';
2096
+  (0.0ms) begin transaction
2097
+  (0.0ms) commit transaction
2098
+  (0.0ms) begin transaction
2099
+ Processing by Shrew::PageViewsController#create as HTML
2100
+ Completed 200 OK in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
2101
+  (0.0ms) rollback transaction
2102
+  (0.0ms) begin transaction
2103
+  (0.0ms) commit transaction
2104
+  (0.0ms) begin transaction
2105
+ Processing by Shrew::PageViewsController#create as HTML
2106
+ Completed 200 OK in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
2107
+  (0.0ms) rollback transaction
2108
+  (0.1ms) begin transaction
2109
+  (0.0ms) commit transaction
2110
+  (0.0ms) begin transaction
2111
+ Processing by Shrew::PageViewsController#create as HTML
2112
+ Completed 200 OK in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
2113
+  (0.0ms) rollback transaction
2114
+  (0.1ms) begin transaction
2115
+  (0.0ms) commit transaction
2116
+  (0.0ms) begin transaction
2117
+ Processing by Shrew::PageViewsController#create as HTML
2118
+ Completed 200 OK in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
2119
+  (0.0ms) rollback transaction
2120
+  (0.0ms) begin transaction
2121
+  (0.0ms) commit transaction
2122
+  (0.0ms) begin transaction
2123
+ Processing by Shrew::PageViewsController#create as HTML
2124
+ Parameters: {"jTI"=>"1", "jRT"=>"100"}
2125
+ Completed 200 OK in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
2126
+  (0.0ms) rollback transaction
2127
+  (0.0ms) begin transaction
2128
+  (0.0ms) commit transaction
2129
+  (0.0ms) begin transaction
2130
+ Processing by Shrew::PageViewsController#create as HTML
2131
+ Parameters: {"jTI"=>"1", "jRT"=>"100"}
2132
+ Completed 200 OK in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
2133
+  (0.1ms) rollback transaction
2134
+  (0.1ms) begin transaction
2135
+  (0.0ms) commit transaction
2136
+  (0.0ms) begin transaction
2137
+ Processing by Shrew::PageViewsController#create as HTML
2138
+ Parameters: {"jTI"=>"1", "jRT"=>"100"}
2139
+ Completed 200 OK in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
2140
+  (0.0ms) rollback transaction
2141
+  (0.0ms) begin transaction
2142
+  (0.0ms) commit transaction
2143
+  (0.0ms) begin transaction
2144
+ Processing by AnonymousController#index as HTML
2145
+  (0.0ms) rollback transaction
2146
+  (0.0ms) begin transaction
2147
+  (0.0ms) commit transaction
2148
+  (0.0ms) begin transaction
2149
+ Processing by AnonymousController#index as HTML
2150
+  (0.0ms) rollback transaction
2151
+  (0.0ms) begin transaction
2152
+  (0.0ms) commit transaction
2153
+  (0.0ms) begin transaction
2154
+  (0.1ms) SELECT COUNT(*) FROM "shrew_page_views"
2155
+ Processing by AnonymousController#index as HTML
2156
+  (0.0ms) rollback transaction
2157
+  (1.3ms) CREATE TABLE "shrew_page_views" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "controller" varchar(255), "action" varchar(255), "path" varchar(255), "status" integer, "start_time" integer, "duration" integer, "view_runtime" float, "db_runtime" float, "sent_time" integer, "js_return_time" integer, "js_tracking_id" blob(16)) 
2158
+  (0.1ms) select sqlite_version(*)
2159
+  (1.0ms) CREATE INDEX "index_shrew_page_views_on_js_tracking_id" ON "shrew_page_views" ("js_tracking_id")
2160
+  (0.1ms) SELECT sql
2161
+ FROM sqlite_master
2162
+ WHERE name='index_shrew_page_views_on_js_tracking_id' AND type='index'
2163
+ UNION ALL
2164
+ SELECT sql
2165
+ FROM sqlite_temp_master
2166
+ WHERE name='index_shrew_page_views_on_js_tracking_id' AND type='index'
2167
+
2168
+  (0.9ms) CREATE INDEX "index_shrew_page_views_on_user_id" ON "shrew_page_views" ("user_id")
2169
+  (0.9ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
2170
+  (1.0ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
2171
+  (0.1ms) SELECT version FROM "schema_migrations"
2172
+  (0.8ms) INSERT INTO "schema_migrations" (version) VALUES ('1')
2173
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
2174
+  (1.0ms) DELETE FROM "shrew_page_views";
2175
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
2176
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'shrew_page_views';
2177
+  (0.0ms) begin transaction
2178
+  (0.0ms) commit transaction
2179
+  (0.0ms) begin transaction
2180
+ Processing by Shrew::PageViewsController#create as HTML
2181
+ Completed 200 OK in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
2182
+  (0.1ms) rollback transaction
2183
+  (0.0ms) begin transaction
2184
+  (0.0ms) commit transaction
2185
+  (0.0ms) begin transaction
2186
+ Processing by Shrew::PageViewsController#create as HTML
2187
+ Completed 200 OK in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
2188
+  (0.0ms) rollback transaction
2189
+  (0.0ms) begin transaction
2190
+  (0.0ms) commit transaction
2191
+  (0.0ms) begin transaction
2192
+ Processing by Shrew::PageViewsController#create as HTML
2193
+ Completed 200 OK in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
2194
+  (0.0ms) rollback transaction
2195
+  (0.0ms) begin transaction
2196
+  (0.0ms) commit transaction
2197
+  (0.0ms) begin transaction
2198
+ Processing by Shrew::PageViewsController#create as HTML
2199
+ Completed 200 OK in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
2200
+  (0.0ms) rollback transaction
2201
+  (0.0ms) begin transaction
2202
+  (0.0ms) commit transaction
2203
+  (0.0ms) begin transaction
2204
+ Processing by Shrew::PageViewsController#create as HTML
2205
+ Parameters: {"jTI"=>"1", "jRT"=>"100"}
2206
+ Completed 200 OK in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
2207
+  (0.0ms) rollback transaction
2208
+  (0.0ms) begin transaction
2209
+  (0.0ms) commit transaction
2210
+  (0.0ms) begin transaction
2211
+ Processing by Shrew::PageViewsController#create as HTML
2212
+ Parameters: {"jTI"=>"1", "jRT"=>"100"}
2213
+ Completed 200 OK in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
2214
+  (0.0ms) rollback transaction
2215
+  (0.0ms) begin transaction
2216
+  (0.0ms) commit transaction
2217
+  (0.0ms) begin transaction
2218
+ Processing by Shrew::PageViewsController#create as HTML
2219
+ Parameters: {"jTI"=>"1", "jRT"=>"100"}
2220
+ Completed 200 OK in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
2221
+  (0.0ms) rollback transaction
2222
+  (0.0ms) begin transaction
2223
+  (0.0ms) commit transaction
2224
+  (0.0ms) begin transaction
2225
+ Processing by AnonymousController#index as HTML
2226
+  (0.0ms) SAVEPOINT active_record_1
2227
+ SQL (0.5ms) INSERT INTO "shrew_page_views" ("action", "controller", "db_runtime", "duration", "js_tracking_id", "path", "sent_time", "start_time", "status", "view_runtime") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["action", "index"], ["controller", "AnonymousController"], ["db_runtime", 0.0], ["duration", 0], ["js_tracking_id", "<36 bytes of binary data>"], ["path", "/anonymous"], ["sent_time", 1415817622296], ["start_time", 1415817622296], ["status", 200], ["view_runtime", 0.068]]
2228
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2229
+ Completed 200 OK in 6ms (Views: 0.1ms | ActiveRecord: 0.0ms)
2230
+  (0.5ms) rollback transaction
2231
+  (0.1ms) begin transaction
2232
+  (0.0ms) commit transaction
2233
+  (0.0ms) begin transaction
2234
+ Processing by AnonymousController#index as HTML
2235
+  (0.0ms) SAVEPOINT active_record_1
2236
+ SQL (0.3ms) INSERT INTO "shrew_page_views" ("action", "controller", "db_runtime", "duration", "js_tracking_id", "path", "sent_time", "start_time", "status", "view_runtime") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["action", "index"], ["controller", "AnonymousController"], ["db_runtime", 0.0], ["duration", 0], ["js_tracking_id", "<36 bytes of binary data>"], ["path", "/anonymous"], ["sent_time", 1415817622310], ["start_time", 1415817622310], ["status", 200], ["view_runtime", 0.132]]
2237
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2238
+ Completed 200 OK in 2ms (Views: 0.1ms | ActiveRecord: 0.0ms)
2239
+  (0.3ms) rollback transaction
2240
+  (0.0ms) begin transaction
2241
+  (0.0ms) commit transaction
2242
+  (0.0ms) begin transaction
2243
+  (0.1ms) SELECT COUNT(*) FROM "shrew_page_views"
2244
+ Processing by AnonymousController#index as HTML
2245
+  (0.0ms) SAVEPOINT active_record_1
2246
+ SQL (0.2ms) INSERT INTO "shrew_page_views" ("action", "controller", "db_runtime", "duration", "js_tracking_id", "path", "sent_time", "start_time", "status", "view_runtime") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["action", "index"], ["controller", "AnonymousController"], ["db_runtime", 0.0], ["duration", 0], ["js_tracking_id", "<36 bytes of binary data>"], ["path", "/anonymous"], ["sent_time", 1415817622319], ["start_time", 1415817622319], ["status", 200], ["view_runtime", 0.07100000000000001]]
2247
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2248
+ Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)
2249
+  (0.0ms) SELECT COUNT(*) FROM "shrew_page_views"
2250
+  (0.4ms) rollback transaction
2251
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
2252
+  (1.7ms) DELETE FROM "shrew_page_views";
2253
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
2254
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'shrew_page_views';
2255
+  (0.0ms) begin transaction
2256
+  (0.0ms) commit transaction
2257
+  (0.0ms) begin transaction
2258
+ Processing by Shrew::PageViewsController#create as HTML
2259
+ Completed 200 OK in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
2260
+  (0.0ms) rollback transaction
2261
+  (0.0ms) begin transaction
2262
+  (0.0ms) commit transaction
2263
+  (0.0ms) begin transaction
2264
+ Processing by Shrew::PageViewsController#create as HTML
2265
+ Completed 200 OK in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
2266
+  (0.0ms) rollback transaction
2267
+  (0.0ms) begin transaction
2268
+  (0.0ms) commit transaction
2269
+  (0.0ms) begin transaction
2270
+ Processing by Shrew::PageViewsController#create as HTML
2271
+ Completed 200 OK in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
2272
+  (0.0ms) rollback transaction
2273
+  (0.0ms) begin transaction
2274
+  (0.0ms) commit transaction
2275
+  (0.0ms) begin transaction
2276
+ Processing by Shrew::PageViewsController#create as HTML
2277
+ Completed 200 OK in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
2278
+  (0.0ms) rollback transaction
2279
+  (0.0ms) begin transaction
2280
+  (0.0ms) commit transaction
2281
+  (0.0ms) begin transaction
2282
+ Processing by Shrew::PageViewsController#create as HTML
2283
+ Parameters: {"jTI"=>"1", "jRT"=>"100"}
2284
+ Completed 200 OK in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
2285
+  (0.0ms) rollback transaction
2286
+  (0.0ms) begin transaction
2287
+  (0.0ms) commit transaction
2288
+  (0.0ms) begin transaction
2289
+ Processing by Shrew::PageViewsController#create as HTML
2290
+ Parameters: {"jTI"=>"1", "jRT"=>"100"}
2291
+ Completed 200 OK in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
2292
+  (0.0ms) rollback transaction
2293
+  (0.0ms) begin transaction
2294
+  (0.0ms) commit transaction
2295
+  (0.0ms) begin transaction
2296
+ Processing by Shrew::PageViewsController#create as HTML
2297
+ Parameters: {"jTI"=>"1", "jRT"=>"100"}
2298
+ Completed 200 OK in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
2299
+  (0.0ms) rollback transaction
2300
+  (0.0ms) begin transaction
2301
+  (0.0ms) commit transaction
2302
+  (0.0ms) begin transaction
2303
+ Processing by AnonymousController#index as HTML
2304
+  (0.0ms) SAVEPOINT active_record_1
2305
+ SQL (0.3ms) INSERT INTO "shrew_page_views" ("action", "controller", "db_runtime", "duration", "js_tracking_id", "path", "sent_time", "start_time", "status", "view_runtime") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["action", "index"], ["controller", "AnonymousController"], ["db_runtime", 0.0], ["duration", 0], ["js_tracking_id", "<36 bytes of binary data>"], ["path", "/anonymous"], ["sent_time", 1415817744590], ["start_time", 1415817744590], ["status", 200], ["view_runtime", 0.056]]
2306
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2307
+ Completed 200 OK in 5ms (Views: 0.1ms | ActiveRecord: 0.0ms)
2308
+  (0.4ms) rollback transaction
2309
+  (0.0ms) begin transaction
2310
+  (0.0ms) commit transaction
2311
+  (0.0ms) begin transaction
2312
+ Processing by AnonymousController#index as HTML
2313
+  (0.0ms) SAVEPOINT active_record_1
2314
+ SQL (0.2ms) INSERT INTO "shrew_page_views" ("action", "controller", "db_runtime", "duration", "js_tracking_id", "path", "sent_time", "start_time", "status", "view_runtime") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["action", "index"], ["controller", "AnonymousController"], ["db_runtime", 0.0], ["duration", 0], ["js_tracking_id", "<36 bytes of binary data>"], ["path", "/anonymous"], ["sent_time", 1415817744600], ["start_time", 1415817744600], ["status", 200], ["view_runtime", 0.073]]
2315
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2316
+ Completed 200 OK in 2ms (Views: 0.1ms | ActiveRecord: 0.0ms)
2317
+  (0.4ms) rollback transaction
2318
+  (0.1ms) begin transaction
2319
+  (0.0ms) commit transaction
2320
+  (0.0ms) begin transaction
2321
+  (0.1ms) SELECT COUNT(*) FROM "shrew_page_views"
2322
+ Processing by AnonymousController#index as HTML
2323
+  (0.0ms) SAVEPOINT active_record_1
2324
+ SQL (0.2ms) INSERT INTO "shrew_page_views" ("action", "controller", "db_runtime", "duration", "js_tracking_id", "path", "sent_time", "start_time", "status", "view_runtime") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["action", "index"], ["controller", "AnonymousController"], ["db_runtime", 0.0], ["duration", 0], ["js_tracking_id", "<36 bytes of binary data>"], ["path", "/anonymous"], ["sent_time", 1415817744617], ["start_time", 1415817744617], ["status", 200], ["view_runtime", 0.098]]
2325
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2326
+ Completed 200 OK in 2ms (Views: 0.1ms | ActiveRecord: 0.0ms)
2327
+  (0.0ms) SELECT COUNT(*) FROM "shrew_page_views"
2328
+  (0.4ms) rollback transaction
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: shrew
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.6
4
+ version: 0.0.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Adam Gross
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-11-11 00:00:00.000000000 Z
11
+ date: 2014-11-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport