evercookie 0.0.2 → 0.0.3
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.
- data/README.rdoc +2 -0
- data/lib/evercookie/version.rb +1 -1
- data/test/dummy/config/application.rb +9 -4
- data/test/dummy/config/environments/test.rb +1 -1
- data/test/dummy/log/test.log +16 -0
- metadata +10 -21
data/README.rdoc
CHANGED
@@ -1,5 +1,7 @@
|
|
1
1
|
## Evercookie
|
2
2
|
|
3
|
+
{<img src="https://secure.travis-ci.org/daddyz/evercookie.png" alt="Build Status" />}[http://travis-ci.org/daddyz/evercookie]
|
4
|
+
|
3
5
|
Evercookie is a gem allowing you to use very persistent cookies on your rails project to track existing users on your system.
|
4
6
|
It's javascript is based on https://github.com/samyk/evercookie javascript.
|
5
7
|
Please note, that evercookie can't be fully reliable for detecting previous visiting of your site/application. For people who know the job it's simple enough to override it.
|
data/lib/evercookie/version.rb
CHANGED
@@ -1,8 +1,13 @@
|
|
1
1
|
require File.expand_path('../boot', __FILE__)
|
2
2
|
|
3
|
-
require 'rails/all'
|
4
|
-
|
5
|
-
|
3
|
+
#require 'rails/all'
|
4
|
+
require "action_controller/railtie"
|
5
|
+
require "action_mailer/railtie"
|
6
|
+
require "active_resource/railtie"
|
7
|
+
require "rails/test_unit/railtie"
|
8
|
+
require "sprockets/railtie"
|
9
|
+
|
10
|
+
Bundler.require :default, Rails.env
|
6
11
|
require "evercookie"
|
7
12
|
|
8
13
|
module Dummy
|
@@ -47,7 +52,7 @@ module Dummy
|
|
47
52
|
# This will create an empty whitelist of attributes available for mass-assignment for all models
|
48
53
|
# in your app. As such, your models will need to explicitly whitelist or blacklist accessible
|
49
54
|
# parameters by using an attr_accessible or attr_protected declaration.
|
50
|
-
config.active_record.whitelist_attributes = true
|
55
|
+
#config.active_record.whitelist_attributes = true
|
51
56
|
|
52
57
|
# Enable the asset pipeline
|
53
58
|
config.assets.enabled = true
|
@@ -30,7 +30,7 @@ Dummy::Application.configure do
|
|
30
30
|
config.action_mailer.delivery_method = :test
|
31
31
|
|
32
32
|
# Raise exception on mass assignment protection for Active Record models
|
33
|
-
config.active_record.mass_assignment_sanitizer = :strict
|
33
|
+
#config.active_record.mass_assignment_sanitizer = :strict
|
34
34
|
|
35
35
|
# Print deprecation notices to the stderr
|
36
36
|
config.active_support.deprecation = :stderr
|
data/test/dummy/log/test.log
CHANGED
@@ -1514,3 +1514,19 @@ Completed 200 OK in 1ms (Views: 1.1ms | ActiveRecord: 0.0ms)
|
|
1514
1514
|
[1m[35m (0.0ms)[0m rollback transaction
|
1515
1515
|
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1516
1516
|
[1m[35m (0.0ms)[0m rollback transaction
|
1517
|
+
Processing by Evercookie::EvercookieController#save as HTML
|
1518
|
+
Completed 200 OK in 18ms (Views: 17.2ms)
|
1519
|
+
Processing by Evercookie::EvercookieController#save as HTML
|
1520
|
+
Completed 200 OK in 0ms (Views: 0.1ms)
|
1521
|
+
Processing by Evercookie::EvercookieController#get as JS
|
1522
|
+
Completed 200 OK in 2ms (Views: 2.0ms)
|
1523
|
+
Processing by Evercookie::EvercookieController#set as JS
|
1524
|
+
Completed 200 OK in 1ms (Views: 0.8ms)
|
1525
|
+
Processing by Evercookie::EvercookieController#save as HTML
|
1526
|
+
Completed 200 OK in 16ms (Views: 15.6ms)
|
1527
|
+
Processing by Evercookie::EvercookieController#save as HTML
|
1528
|
+
Completed 200 OK in 0ms (Views: 0.1ms)
|
1529
|
+
Processing by Evercookie::EvercookieController#get as JS
|
1530
|
+
Completed 200 OK in 2ms (Views: 2.1ms)
|
1531
|
+
Processing by Evercookie::EvercookieController#set as JS
|
1532
|
+
Completed 200 OK in 1ms (Views: 0.7ms)
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: evercookie
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.3
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,22 +9,22 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2012-09-
|
12
|
+
date: 2012-09-24 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: rails
|
16
|
-
requirement: &
|
16
|
+
requirement: &14070040 !ruby/object:Gem::Requirement
|
17
17
|
none: false
|
18
18
|
requirements:
|
19
|
-
- -
|
19
|
+
- - ! '>='
|
20
20
|
- !ruby/object:Gem::Version
|
21
|
-
version: 3.
|
21
|
+
version: '3.1'
|
22
22
|
type: :runtime
|
23
23
|
prerelease: false
|
24
|
-
version_requirements: *
|
24
|
+
version_requirements: *14070040
|
25
25
|
- !ruby/object:Gem::Dependency
|
26
26
|
name: chunky_png
|
27
|
-
requirement: &
|
27
|
+
requirement: &14068720 !ruby/object:Gem::Requirement
|
28
28
|
none: false
|
29
29
|
requirements:
|
30
30
|
- - ! '>='
|
@@ -32,18 +32,7 @@ dependencies:
|
|
32
32
|
version: '0'
|
33
33
|
type: :runtime
|
34
34
|
prerelease: false
|
35
|
-
version_requirements: *
|
36
|
-
- !ruby/object:Gem::Dependency
|
37
|
-
name: sqlite3
|
38
|
-
requirement: &9059080 !ruby/object:Gem::Requirement
|
39
|
-
none: false
|
40
|
-
requirements:
|
41
|
-
- - ! '>='
|
42
|
-
- !ruby/object:Gem::Version
|
43
|
-
version: '0'
|
44
|
-
type: :development
|
45
|
-
prerelease: false
|
46
|
-
version_requirements: *9059080
|
35
|
+
version_requirements: *14068720
|
47
36
|
description: Gem for placing and getting evercookie for rails application
|
48
37
|
email:
|
49
38
|
- daddyzgm@gmail.com
|
@@ -149,7 +138,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
149
138
|
version: '0'
|
150
139
|
segments:
|
151
140
|
- 0
|
152
|
-
hash:
|
141
|
+
hash: 4466189941222340777
|
153
142
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
154
143
|
none: false
|
155
144
|
requirements:
|
@@ -158,7 +147,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
158
147
|
version: '0'
|
159
148
|
segments:
|
160
149
|
- 0
|
161
|
-
hash:
|
150
|
+
hash: 4466189941222340777
|
162
151
|
requirements: []
|
163
152
|
rubyforge_project:
|
164
153
|
rubygems_version: 1.8.17
|