evercookie 0.0.5 → 0.0.6

Sign up to get free protection for your applications and to get access to all the features.
@@ -30,7 +30,9 @@ module Evercookie
30
30
  # evercookie_is_set?(:key, :value)
31
31
  #
32
32
  def evercookie_is_set?(key, value = nil)
33
- if value.nil?
33
+ if session[Evercookie.hash_name_for_saved].blank?
34
+ false
35
+ elsif value.nil?
34
36
  session[Evercookie.hash_name_for_saved][key].present?
35
37
  else
36
38
  session[Evercookie.hash_name_for_saved][key].present? \
@@ -40,7 +42,7 @@ module Evercookie
40
42
  end
41
43
 
42
44
  # controller class defines evercookie actions
43
- class EvercookieController < ::ApplicationController
45
+ class EvercookieController < ::ActionController::Base
44
46
 
45
47
  # Renders javascript with evercookie set script
46
48
  def set
@@ -111,15 +113,8 @@ module Evercookie
111
113
  require 'chunky_png'
112
114
  image = ChunkyPNG::Image.new(200, 1, ChunkyPNG::Color::BLACK)
113
115
 
114
- pixel = 0
115
- while (index = pixel * 3) < value.length
116
- red = value[index] ? value[index].ord : 0
117
- green = value[index + 1] ? value[index + 1].ord : 0
118
- blue = value[index + 2] ? value[index + 2].ord : 0
119
-
120
- image[pixel, 0] = ChunkyPNG::Color.rgb(red, green, blue)
121
-
122
- pixel += 1
116
+ (0..value.length).step(3) do |index|
117
+ image[(index / 3).round, 0] = get_pixel_by_index(value, index)
123
118
  end
124
119
 
125
120
  image.to_blob(
@@ -127,5 +122,13 @@ module Evercookie
127
122
  compression: Zlib::DEFAULT_COMPRESSION}
128
123
  )
129
124
  end
125
+
126
+ def get_pixel_by_index(value, index)
127
+ red = value[index] ? value[index].ord : 0
128
+ green = value[index + 1] ? value[index + 1].ord : 0
129
+ blue = value[index + 2] ? value[index + 2].ord : 0
130
+
131
+ ChunkyPNG::Color.rgb(red, green, blue)
132
+ end
130
133
  end
131
134
  end
@@ -1,4 +1,4 @@
1
1
  module Evercookie
2
2
  # Current gem version
3
- VERSION = "0.0.5"
3
+ VERSION = "0.0.6"
4
4
  end
@@ -1,11 +1,6 @@
1
1
  require File.expand_path('../boot', __FILE__)
2
2
 
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"
3
+ require 'rails/all'
9
4
 
10
5
  Bundler.require :default, Rails.env
11
6
  require "evercookie"
@@ -0,0 +1,16 @@
1
+ # encoding: UTF-8
2
+ # This file is auto-generated from the current state of the database. Instead
3
+ # of editing this file, please use the migrations feature of Active Record to
4
+ # incrementally modify your database, and then regenerate this schema definition.
5
+ #
6
+ # Note that this schema.rb definition is the authoritative source for your
7
+ # database schema. If you need to create the application database on another
8
+ # system, you should be using db:schema:load, not running all the migrations
9
+ # from scratch. The latter is a flawed and unsustainable approach (the more migrations
10
+ # you'll amass, the slower it'll run and the greater likelihood for issues).
11
+ #
12
+ # It's strongly recommended to check this file into your version control system.
13
+
14
+ ActiveRecord::Schema.define(:version => 0) do
15
+
16
+ end
@@ -1,11 +1,12 @@
1
1
  source 'https://rubygems.org'
2
2
 
3
3
  # Bundle edge Rails instead: gem 'rails', github: 'rails/rails'
4
- gem 'rails', '4.0.0.beta1'
4
+ gem 'rails'
5
5
  gem 'sqlite3'
6
6
 
7
7
  group :assets do
8
- gem 'uglifier', '>= 1.0.3'
8
+ gem 'uglifier'
9
+ gem 'therubyracer'
9
10
  end
10
11
 
11
12
  gem 'jquery-rails'
@@ -14,6 +15,6 @@ gem 'jquery-rails'
14
15
  gem 'turbolinks'
15
16
 
16
17
  # Build JSON APIs with ease. Read more: https://github.com/rails/jbuilder
17
- gem 'jbuilder', '~> 1.0.1'
18
+ gem 'jbuilder'
18
19
 
19
20
  gem 'evercookie', path: '../../'
@@ -1,39 +1,39 @@
1
1
  PATH
2
2
  remote: ../../
3
3
  specs:
4
- evercookie (0.0.4)
4
+ evercookie (0.0.5)
5
5
  chunky_png
6
6
  rails (>= 3.1)
7
7
 
8
8
  GEM
9
9
  remote: https://rubygems.org/
10
10
  specs:
11
- actionmailer (4.0.0.beta1)
12
- actionpack (= 4.0.0.beta1)
11
+ actionmailer (4.0.0)
12
+ actionpack (= 4.0.0)
13
13
  mail (~> 2.5.3)
14
- actionpack (4.0.0.beta1)
15
- activesupport (= 4.0.0.beta1)
14
+ actionpack (4.0.0)
15
+ activesupport (= 4.0.0)
16
16
  builder (~> 3.1.0)
17
17
  erubis (~> 2.7.0)
18
18
  rack (~> 1.5.2)
19
19
  rack-test (~> 0.6.2)
20
- activemodel (4.0.0.beta1)
21
- activesupport (= 4.0.0.beta1)
20
+ activemodel (4.0.0)
21
+ activesupport (= 4.0.0)
22
22
  builder (~> 3.1.0)
23
- activerecord (4.0.0.beta1)
24
- activemodel (= 4.0.0.beta1)
25
- activerecord-deprecated_finders (~> 0.0.3)
26
- activesupport (= 4.0.0.beta1)
27
- arel (~> 4.0.0.beta1)
28
- activerecord-deprecated_finders (0.0.3)
29
- activesupport (4.0.0.beta1)
30
- i18n (~> 0.6.2)
23
+ activerecord (4.0.0)
24
+ activemodel (= 4.0.0)
25
+ activerecord-deprecated_finders (~> 1.0.2)
26
+ activesupport (= 4.0.0)
27
+ arel (~> 4.0.0)
28
+ activerecord-deprecated_finders (1.0.3)
29
+ activesupport (4.0.0)
30
+ i18n (~> 0.6, >= 0.6.4)
31
31
  minitest (~> 4.2)
32
32
  multi_json (~> 1.3)
33
33
  thread_safe (~> 0.1)
34
- tzinfo (~> 0.3.33)
34
+ tzinfo (~> 0.3.37)
35
35
  arel (4.0.0)
36
- atomic (1.1.8)
36
+ atomic (1.1.14)
37
37
  builder (3.1.4)
38
38
  chunky_png (1.2.8)
39
39
  coffee-rails (4.0.0)
@@ -42,67 +42,64 @@ GEM
42
42
  coffee-script (2.2.0)
43
43
  coffee-script-source
44
44
  execjs
45
- coffee-script-source (1.6.2)
45
+ coffee-script-source (1.6.3)
46
46
  erubis (2.7.0)
47
- execjs (1.4.0)
48
- multi_json (~> 1.0)
49
- hike (1.2.2)
50
- i18n (0.6.4)
47
+ execjs (2.0.2)
48
+ hike (1.2.3)
49
+ i18n (0.6.5)
51
50
  jbuilder (1.0.2)
52
51
  activesupport (>= 3.0.0)
53
- jquery-rails (2.2.1)
52
+ jquery-rails (3.0.4)
54
53
  railties (>= 3.0, < 5.0)
55
54
  thor (>= 0.14, < 2.0)
56
- json (1.7.7)
57
- mail (2.5.3)
58
- i18n (>= 0.4.0)
55
+ libv8 (3.3.10.4)
56
+ mail (2.5.4)
59
57
  mime-types (~> 1.16)
60
58
  treetop (~> 1.4.8)
61
- mime-types (1.23)
62
- minitest (4.7.3)
63
- multi_json (1.7.2)
59
+ mime-types (1.25)
60
+ minitest (4.7.5)
61
+ multi_json (1.8.2)
64
62
  polyglot (0.3.3)
65
63
  rack (1.5.2)
66
64
  rack-test (0.6.2)
67
65
  rack (>= 1.0)
68
- rails (4.0.0.beta1)
69
- actionmailer (= 4.0.0.beta1)
70
- actionpack (= 4.0.0.beta1)
71
- activerecord (= 4.0.0.beta1)
72
- activesupport (= 4.0.0.beta1)
66
+ rails (4.0.0)
67
+ actionmailer (= 4.0.0)
68
+ actionpack (= 4.0.0)
69
+ activerecord (= 4.0.0)
70
+ activesupport (= 4.0.0)
73
71
  bundler (>= 1.3.0, < 2.0)
74
- railties (= 4.0.0.beta1)
75
- sprockets-rails (~> 2.0.0.rc3)
76
- railties (4.0.0.beta1)
77
- actionpack (= 4.0.0.beta1)
78
- activesupport (= 4.0.0.beta1)
72
+ railties (= 4.0.0)
73
+ sprockets-rails (~> 2.0.0)
74
+ railties (4.0.0)
75
+ actionpack (= 4.0.0)
76
+ activesupport (= 4.0.0)
79
77
  rake (>= 0.8.7)
80
- rdoc (~> 3.4)
81
- thor (>= 0.17.0, < 2.0)
82
- rake (10.0.4)
83
- rdoc (3.12.2)
84
- json (~> 1.4)
85
- sprockets (2.9.3)
78
+ thor (>= 0.18.1, < 2.0)
79
+ rake (10.1.0)
80
+ sprockets (2.10.0)
86
81
  hike (~> 1.2)
87
82
  multi_json (~> 1.0)
88
83
  rack (~> 1.0)
89
84
  tilt (~> 1.1, != 1.3.0)
90
- sprockets-rails (2.0.0.rc4)
85
+ sprockets-rails (2.0.1)
91
86
  actionpack (>= 3.0)
92
87
  activesupport (>= 3.0)
93
88
  sprockets (~> 2.8)
94
- sqlite3 (1.3.7)
89
+ sqlite3 (1.3.8)
90
+ therubyracer (0.10.2)
91
+ libv8 (~> 3.3.10)
95
92
  thor (0.18.1)
96
- thread_safe (0.1.0)
93
+ thread_safe (0.1.3)
97
94
  atomic
98
- tilt (1.3.7)
99
- treetop (1.4.12)
95
+ tilt (1.4.1)
96
+ treetop (1.4.15)
100
97
  polyglot
101
98
  polyglot (>= 0.3.1)
102
- turbolinks (1.1.1)
99
+ turbolinks (1.3.0)
103
100
  coffee-rails
104
- tzinfo (0.3.37)
105
- uglifier (2.0.1)
101
+ tzinfo (0.3.38)
102
+ uglifier (2.2.1)
106
103
  execjs (>= 0.3.0)
107
104
  multi_json (~> 1.0, >= 1.0.2)
108
105
 
@@ -111,9 +108,10 @@ PLATFORMS
111
108
 
112
109
  DEPENDENCIES
113
110
  evercookie!
114
- jbuilder (~> 1.0.1)
111
+ jbuilder
115
112
  jquery-rails
116
- rails (= 4.0.0.beta1)
113
+ rails
117
114
  sqlite3
115
+ therubyracer
118
116
  turbolinks
119
- uglifier (>= 1.0.3)
117
+ uglifier
@@ -1,3 +1,3 @@
1
1
  # Be sure to restart your server when you modify this file.
2
2
 
3
- Dummy4::Application.config.session_store :encrypted_cookie_store, key: '_dummy4_session'
3
+ Dummy4::Application.config.session_store :cookie_store, key: '_dummy4_session'
@@ -35,12 +35,14 @@ class EvercookieControllerTest < ActionController::TestCase
35
35
  test "should set view variables on evercookie set and have right js" do
36
36
  @controller = Evercookie::EvercookieController.new
37
37
 
38
- session[Evercookie.hash_name_for_set] = {key: 'testkey', value: 'testvalue'}
38
+ session_data = {key: 'testkey', value: 'testvalue'}
39
+ @request.session[Evercookie.hash_name_for_set] = session_data
39
40
 
40
41
  get :set, format: :js
42
+
41
43
  assert_response :success
42
44
 
43
- assert_equal assigns[:data], {'key' => 'testkey', 'value' => 'testvalue'}
45
+ assert_equal session_data, assigns(:data).symbolize_keys
44
46
 
45
47
  assert @response.body.include? "var ec = new evercookie()"
46
48
  assert @response.body.include? "ec.set('testkey', 'testvalue')"
@@ -49,12 +51,12 @@ class EvercookieControllerTest < ActionController::TestCase
49
51
  test "should set view variables on evercookie get and have right js" do
50
52
  @controller = Evercookie::EvercookieController.new
51
53
 
52
- session[Evercookie.hash_name_for_get] = {key: 'testkey'}
53
-
54
+ session_data = {key: 'testkey'}
55
+ @request.session[Evercookie.hash_name_for_get] = session_data
54
56
  get :get, format: :js
55
57
  assert_response :success
56
58
 
57
- assert_equal assigns[:data], {'key' => 'testkey'}
59
+ assert_equal session_data, assigns(:data).symbolize_keys
58
60
 
59
61
  assert @response.body.include? "var ec = new evercookie()"
60
62
  assert @response.body.include? "ec.get('testkey')"
@@ -63,20 +65,18 @@ class EvercookieControllerTest < ActionController::TestCase
63
65
  test "should set session variables on evercookie save if cookie present" do
64
66
  @controller = Evercookie::EvercookieController.new
65
67
 
66
- session[Evercookie.hash_name_for_get] = {key: 'testkey'}
67
- cookies[:testkey] = 'testvalue'
68
-
68
+ @request.cookies[:testkey] = 'testvalue'
69
+ @request.session[Evercookie.hash_name_for_get] = {key: 'testkey'}
69
70
  get :save
70
71
  assert_response :success
71
72
 
72
- assert_equal session[Evercookie.hash_name_for_saved],
73
- {'testkey' => 'testvalue'}
73
+ assert_equal 'testvalue', session[Evercookie.hash_name_for_saved]['testkey']
74
74
  end
75
75
 
76
76
  test "should not set session variables on save if cookie not present" do
77
77
  @controller = Evercookie::EvercookieController.new
78
78
 
79
- session[Evercookie.hash_name_for_get] = {key: 'testkey'}
79
+ @request.session[Evercookie.hash_name_for_get] = {key: 'testkey'}
80
80
 
81
81
  get :save
82
82
  assert_response :success
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.5
4
+ version: 0.0.6
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,11 +9,11 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2013-05-30 00:00:00.000000000 Z
12
+ date: 2014-05-21 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rails
16
- requirement: &7963160 !ruby/object:Gem::Requirement
16
+ requirement: !ruby/object:Gem::Requirement
17
17
  none: false
18
18
  requirements:
19
19
  - - ! '>='
@@ -21,10 +21,15 @@ dependencies:
21
21
  version: '3.1'
22
22
  type: :runtime
23
23
  prerelease: false
24
- version_requirements: *7963160
24
+ version_requirements: !ruby/object:Gem::Requirement
25
+ none: false
26
+ requirements:
27
+ - - ! '>='
28
+ - !ruby/object:Gem::Version
29
+ version: '3.1'
25
30
  - !ruby/object:Gem::Dependency
26
31
  name: chunky_png
27
- requirement: &7957240 !ruby/object:Gem::Requirement
32
+ requirement: !ruby/object:Gem::Requirement
28
33
  none: false
29
34
  requirements:
30
35
  - - ! '>='
@@ -32,7 +37,28 @@ dependencies:
32
37
  version: '0'
33
38
  type: :runtime
34
39
  prerelease: false
35
- version_requirements: *7957240
40
+ version_requirements: !ruby/object:Gem::Requirement
41
+ none: false
42
+ requirements:
43
+ - - ! '>='
44
+ - !ruby/object:Gem::Version
45
+ version: '0'
46
+ - !ruby/object:Gem::Dependency
47
+ name: sqlite3
48
+ requirement: !ruby/object:Gem::Requirement
49
+ none: false
50
+ requirements:
51
+ - - ! '>='
52
+ - !ruby/object:Gem::Version
53
+ version: '0'
54
+ type: :development
55
+ prerelease: false
56
+ version_requirements: !ruby/object:Gem::Requirement
57
+ none: false
58
+ requirements:
59
+ - - ! '>='
60
+ - !ruby/object:Gem::Version
61
+ version: '0'
36
62
  description: Gem for placing and getting evercookie for rails application
37
63
  email:
38
64
  - daddyzgm@gmail.com
@@ -40,131 +66,132 @@ executables: []
40
66
  extensions: []
41
67
  extra_rdoc_files: []
42
68
  files:
43
- - app/views/evercookie/evercookie/get.js.erb
44
- - app/views/evercookie/evercookie/set.js.erb
45
- - app/assets/images/ec.swf
46
- - app/assets/javascripts/ec.js
47
69
  - app/assets/javascripts/evercookie/evercookie.js.erb
48
70
  - app/assets/javascripts/evercookie/swfobject-2.2.min.js
71
+ - app/assets/javascripts/ec.js
72
+ - app/assets/images/ec.swf
73
+ - app/views/evercookie/evercookie/get.js.erb
74
+ - app/views/evercookie/evercookie/set.js.erb
49
75
  - config/routes.rb
50
- - lib/evercookie.rb
51
76
  - lib/tasks/evercookie_tasks.rake
52
- - lib/evercookie/view.rb
77
+ - lib/evercookie.rb
78
+ - lib/evercookie/controller.rb
53
79
  - lib/evercookie/engine.rb
80
+ - lib/evercookie/view.rb
54
81
  - lib/evercookie/version.rb
55
- - lib/evercookie/controller.rb
56
82
  - MIT-LICENSE
57
83
  - Rakefile
58
84
  - README.rdoc
59
- - test/dummy4/db/seeds.rb
60
- - test/dummy4/config.ru
61
- - test/dummy4/config/initializers/backtrace_silencers.rb
62
- - test/dummy4/config/initializers/wrap_parameters.rb
63
- - test/dummy4/config/initializers/mime_types.rb
64
- - test/dummy4/config/initializers/inflections.rb
65
- - test/dummy4/config/initializers/evercookie.rb
66
- - test/dummy4/config/initializers/session_store.rb
67
- - test/dummy4/config/initializers/filter_parameter_logging.rb
68
- - test/dummy4/config/initializers/secret_token.rb
69
- - test/dummy4/config/environments/development.rb
70
- - test/dummy4/config/environments/production.rb
71
- - test/dummy4/config/environments/test.rb
72
- - test/dummy4/config/application.rb
73
- - test/dummy4/config/boot.rb
74
- - test/dummy4/config/environment.rb
75
- - test/dummy4/config/routes.rb
76
- - test/dummy4/config/locales/en.yml
77
- - test/dummy4/config/database.yml
78
- - test/dummy4/public/robots.txt
79
- - test/dummy4/public/422.html
80
- - test/dummy4/public/404.html
81
- - test/dummy4/public/favicon.ico
82
- - test/dummy4/public/500.html
83
- - test/dummy4/Gemfile.lock
84
- - test/dummy4/test/test_helper.rb
85
- - test/dummy4/bin/rails
86
- - test/dummy4/bin/bundle
87
- - test/dummy4/bin/rake
88
- - test/dummy4/README.rdoc
89
- - test/dummy4/Gemfile
90
- - test/dummy4/Rakefile
91
- - test/dummy4/app/views/index/index.html.erb
92
- - test/dummy4/app/views/index/set.html.erb
93
- - test/dummy4/app/views/index/get_detailed.html.erb
94
- - test/dummy4/app/views/index/get.html.erb
95
- - test/dummy4/app/views/layouts/application.html.erb
96
- - test/dummy4/app/helpers/application_helper.rb
97
- - test/dummy4/app/controllers/application_controller.rb
98
- - test/dummy4/app/controllers/index_controller.rb
99
- - test/dummy4/app/assets/images/rails.png
100
- - test/dummy4/app/assets/stylesheets/application.css
101
- - test/dummy4/app/assets/javascripts/application.js
102
- - test/unit/helpers/evercookie_controller_helper_test.rb
103
- - test/unit/helpers/evercookie_view_helper_test.rb
104
85
  - test/unit/controllers/evercookie_controller_test.rb
105
- - test/dummy/db/test.sqlite3
106
- - test/dummy/db/development.sqlite3
107
- - test/dummy/config.ru
86
+ - test/unit/helpers/evercookie_view_helper_test.rb
87
+ - test/unit/helpers/evercookie_controller_helper_test.rb
88
+ - test/dummy/config/database.yml
89
+ - test/dummy/config/boot.rb
90
+ - test/dummy/config/locales/en.yml
91
+ - test/dummy/config/routes.rb
92
+ - test/dummy/config/application.rb
93
+ - test/dummy/config/environment.rb
108
94
  - test/dummy/config/initializers/backtrace_silencers.rb
109
- - test/dummy/config/initializers/wrap_parameters.rb
110
95
  - test/dummy/config/initializers/mime_types.rb
111
- - test/dummy/config/initializers/inflections.rb
112
- - test/dummy/config/initializers/evercookie.rb
113
96
  - test/dummy/config/initializers/session_store.rb
97
+ - test/dummy/config/initializers/wrap_parameters.rb
114
98
  - test/dummy/config/initializers/secret_token.rb
115
- - test/dummy/config/environments/development.rb
99
+ - test/dummy/config/initializers/evercookie.rb
100
+ - test/dummy/config/initializers/inflections.rb
116
101
  - test/dummy/config/environments/production.rb
102
+ - test/dummy/config/environments/development.rb
117
103
  - test/dummy/config/environments/test.rb
118
- - test/dummy/config/application.rb
119
- - test/dummy/config/boot.rb
120
- - test/dummy/config/environment.rb
121
- - test/dummy/config/routes.rb
122
- - test/dummy/config/locales/en.yml
123
- - test/dummy/config/database.yml
124
- - test/dummy/public/422.html
125
- - test/dummy/public/404.html
126
- - test/dummy/public/favicon.ico
127
- - test/dummy/public/500.html
128
- - test/dummy/test/unit/helpers/index_helper_test.rb
129
- - test/dummy/test/functional/index_controller_test.rb
130
104
  - test/dummy/README.rdoc
131
- - test/dummy/tmp/cache/assets/D32/A10/sprockets%2F13fe41fee1fe35b49d145bcc06610705
132
- - test/dummy/tmp/cache/assets/E83/750/sprockets%2Fe0a4c2b9c4acf9bcfedbb42a8bd45e80
133
- - test/dummy/tmp/cache/assets/CEC/FA0/sprockets%2Fcee8c6b09c33d2b276753e959712724e
134
- - test/dummy/tmp/cache/assets/CD8/370/sprockets%2F357970feca3ac29060c1e3861e2c0953
105
+ - test/dummy/Rakefile
135
106
  - test/dummy/tmp/cache/assets/DFF/960/sprockets%2Fe73aa53de71d957ef04bdfd2fba2e915
136
- - test/dummy/tmp/cache/assets/E04/890/sprockets%2F2f5173deea6c795b8fdde723bb4b63af
137
- - test/dummy/tmp/cache/assets/D70/D10/sprockets%2Fa0d37ff489ed0857f72233f5cb0b9c0b
138
- - test/dummy/tmp/cache/assets/D70/2D0/sprockets%2F2c853768baf811357d81d41bdfd05dcf
139
- - test/dummy/tmp/cache/assets/D8C/A10/sprockets%2Ffc7201c6cbef32453aa4175c520c8eae
140
107
  - test/dummy/tmp/cache/assets/DDC/400/sprockets%2Fcffd775d018f68ce5dba1ee0d951a994
108
+ - test/dummy/tmp/cache/assets/D5A/EA0/sprockets%2Fd771ace226fc8215a3572e0aa35bb0d6
109
+ - test/dummy/tmp/cache/assets/CD8/370/sprockets%2F357970feca3ac29060c1e3861e2c0953
110
+ - test/dummy/tmp/cache/assets/CEC/FA0/sprockets%2Fcee8c6b09c33d2b276753e959712724e
111
+ - test/dummy/tmp/cache/assets/E04/890/sprockets%2F2f5173deea6c795b8fdde723bb4b63af
141
112
  - test/dummy/tmp/cache/assets/D4E/1B0/sprockets%2Ff7cbd26ba1d28d48de824f0e94586655
142
- - test/dummy/tmp/cache/assets/DEE/200/sprockets%2F2a3f3abddecb0467eb2d7d5cf5f52302
143
- - test/dummy/tmp/cache/assets/DAA/C00/sprockets%2F9bddc9410e086be5f5efa982c5247c7b
144
113
  - test/dummy/tmp/cache/assets/D2F/760/sprockets%2F3b464ead21d28d0a1298357a3a7cbc18
145
- - test/dummy/tmp/cache/assets/D45/3C0/sprockets%2Fd45fb0f5f994f0c125db5e026ee65258
114
+ - test/dummy/tmp/cache/assets/E83/750/sprockets%2Fe0a4c2b9c4acf9bcfedbb42a8bd45e80
146
115
  - test/dummy/tmp/cache/assets/D45/C10/sprockets%2Fac34f7046872aba24b7375de608d8fe6
116
+ - test/dummy/tmp/cache/assets/D45/3C0/sprockets%2Fd45fb0f5f994f0c125db5e026ee65258
117
+ - test/dummy/tmp/cache/assets/D8C/A10/sprockets%2Ffc7201c6cbef32453aa4175c520c8eae
118
+ - test/dummy/tmp/cache/assets/D99/2F0/sprockets%2Fa2cf2651c63ecb32c21ea94fa84cd498
119
+ - test/dummy/tmp/cache/assets/D70/2D0/sprockets%2F2c853768baf811357d81d41bdfd05dcf
120
+ - test/dummy/tmp/cache/assets/D70/D10/sprockets%2Fa0d37ff489ed0857f72233f5cb0b9c0b
121
+ - test/dummy/tmp/cache/assets/DEE/200/sprockets%2F2a3f3abddecb0467eb2d7d5cf5f52302
122
+ - test/dummy/tmp/cache/assets/D32/A10/sprockets%2F13fe41fee1fe35b49d145bcc06610705
147
123
  - test/dummy/tmp/cache/assets/D93/360/sprockets%2Fdf600f50f002512c95d93bcfbab891ed
148
124
  - test/dummy/tmp/cache/assets/DCF/EC0/sprockets%2Fe1f34cd8fd7ca6a9a01d26e47c923f1f
149
- - test/dummy/tmp/cache/assets/D5A/EA0/sprockets%2Fd771ace226fc8215a3572e0aa35bb0d6
150
- - test/dummy/tmp/cache/assets/D99/2F0/sprockets%2Fa2cf2651c63ecb32c21ea94fa84cd498
151
- - test/dummy/log/development.log
125
+ - test/dummy/tmp/cache/assets/DAA/C00/sprockets%2F9bddc9410e086be5f5efa982c5247c7b
126
+ - test/dummy/db/schema.rb
127
+ - test/dummy/db/development.sqlite3
128
+ - test/dummy/db/test.sqlite3
152
129
  - test/dummy/log/test.log
153
- - test/dummy/Rakefile
130
+ - test/dummy/log/development.log
154
131
  - test/dummy/script/rails
132
+ - test/dummy/config.ru
133
+ - test/dummy/public/500.html
134
+ - test/dummy/public/422.html
135
+ - test/dummy/public/favicon.ico
136
+ - test/dummy/public/404.html
137
+ - test/dummy/test/functional/index_controller_test.rb
138
+ - test/dummy/test/unit/helpers/index_helper_test.rb
139
+ - test/dummy/app/assets/javascripts/index.js
140
+ - test/dummy/app/assets/javascripts/application.js
141
+ - test/dummy/app/assets/stylesheets/index.css
142
+ - test/dummy/app/assets/stylesheets/application.css
143
+ - test/dummy/app/controllers/index_controller.rb
144
+ - test/dummy/app/controllers/application_controller.rb
155
145
  - test/dummy/app/views/index/index.html.erb
156
- - test/dummy/app/views/index/set.html.erb
157
- - test/dummy/app/views/index/get_detailed.html.erb
158
146
  - test/dummy/app/views/index/get.html.erb
147
+ - test/dummy/app/views/index/get_detailed.html.erb
148
+ - test/dummy/app/views/index/set.html.erb
159
149
  - test/dummy/app/views/layouts/application.html.erb
160
- - test/dummy/app/helpers/application_helper.rb
161
150
  - test/dummy/app/helpers/index_helper.rb
162
- - test/dummy/app/controllers/application_controller.rb
163
- - test/dummy/app/controllers/index_controller.rb
164
- - test/dummy/app/assets/stylesheets/index.css
165
- - test/dummy/app/assets/stylesheets/application.css
166
- - test/dummy/app/assets/javascripts/application.js
167
- - test/dummy/app/assets/javascripts/index.js
151
+ - test/dummy/app/helpers/application_helper.rb
152
+ - test/dummy4/Gemfile.lock
153
+ - test/dummy4/config/database.yml
154
+ - test/dummy4/config/boot.rb
155
+ - test/dummy4/config/locales/en.yml
156
+ - test/dummy4/config/routes.rb
157
+ - test/dummy4/config/application.rb
158
+ - test/dummy4/config/environment.rb
159
+ - test/dummy4/config/initializers/backtrace_silencers.rb
160
+ - test/dummy4/config/initializers/mime_types.rb
161
+ - test/dummy4/config/initializers/session_store.rb
162
+ - test/dummy4/config/initializers/wrap_parameters.rb
163
+ - test/dummy4/config/initializers/secret_token.rb
164
+ - test/dummy4/config/initializers/filter_parameter_logging.rb
165
+ - test/dummy4/config/initializers/evercookie.rb
166
+ - test/dummy4/config/initializers/inflections.rb
167
+ - test/dummy4/config/environments/production.rb
168
+ - test/dummy4/config/environments/development.rb
169
+ - test/dummy4/config/environments/test.rb
170
+ - test/dummy4/README.rdoc
171
+ - test/dummy4/Rakefile
172
+ - test/dummy4/db/seeds.rb
173
+ - test/dummy4/Gemfile
174
+ - test/dummy4/bin/bundle
175
+ - test/dummy4/bin/rake
176
+ - test/dummy4/bin/rails
177
+ - test/dummy4/config.ru
178
+ - test/dummy4/public/500.html
179
+ - test/dummy4/public/422.html
180
+ - test/dummy4/public/favicon.ico
181
+ - test/dummy4/public/robots.txt
182
+ - test/dummy4/public/404.html
183
+ - test/dummy4/test/test_helper.rb
184
+ - test/dummy4/app/assets/javascripts/application.js
185
+ - test/dummy4/app/assets/stylesheets/application.css
186
+ - test/dummy4/app/assets/images/rails.png
187
+ - test/dummy4/app/controllers/index_controller.rb
188
+ - test/dummy4/app/controllers/application_controller.rb
189
+ - test/dummy4/app/views/index/index.html.erb
190
+ - test/dummy4/app/views/index/get.html.erb
191
+ - test/dummy4/app/views/index/get_detailed.html.erb
192
+ - test/dummy4/app/views/index/set.html.erb
193
+ - test/dummy4/app/views/layouts/application.html.erb
194
+ - test/dummy4/app/helpers/application_helper.rb
168
195
  - test/evercookie_test.rb
169
196
  - test/test_helper.rb
170
197
  homepage: https://github.com/daddyz/evercookie
@@ -181,7 +208,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
181
208
  version: '0'
182
209
  segments:
183
210
  - 0
184
- hash: 508150512991825601
211
+ hash: 1956709850560704508
185
212
  required_rubygems_version: !ruby/object:Gem::Requirement
186
213
  none: false
187
214
  requirements:
@@ -190,122 +217,123 @@ required_rubygems_version: !ruby/object:Gem::Requirement
190
217
  version: '0'
191
218
  segments:
192
219
  - 0
193
- hash: 508150512991825601
220
+ hash: 1956709850560704508
194
221
  requirements: []
195
222
  rubyforge_project:
196
- rubygems_version: 1.8.17
223
+ rubygems_version: 1.8.23
197
224
  signing_key:
198
225
  specification_version: 3
199
226
  summary: Gem for placing and getting evercookie for rails application
200
227
  test_files:
201
- - test/dummy4/db/seeds.rb
202
- - test/dummy4/config.ru
203
- - test/dummy4/config/initializers/backtrace_silencers.rb
204
- - test/dummy4/config/initializers/wrap_parameters.rb
205
- - test/dummy4/config/initializers/mime_types.rb
206
- - test/dummy4/config/initializers/inflections.rb
207
- - test/dummy4/config/initializers/evercookie.rb
208
- - test/dummy4/config/initializers/session_store.rb
209
- - test/dummy4/config/initializers/filter_parameter_logging.rb
210
- - test/dummy4/config/initializers/secret_token.rb
211
- - test/dummy4/config/environments/development.rb
212
- - test/dummy4/config/environments/production.rb
213
- - test/dummy4/config/environments/test.rb
214
- - test/dummy4/config/application.rb
215
- - test/dummy4/config/boot.rb
216
- - test/dummy4/config/environment.rb
217
- - test/dummy4/config/routes.rb
218
- - test/dummy4/config/locales/en.yml
219
- - test/dummy4/config/database.yml
220
- - test/dummy4/public/robots.txt
221
- - test/dummy4/public/422.html
222
- - test/dummy4/public/404.html
223
- - test/dummy4/public/favicon.ico
224
- - test/dummy4/public/500.html
225
- - test/dummy4/Gemfile.lock
226
- - test/dummy4/test/test_helper.rb
227
- - test/dummy4/bin/rails
228
- - test/dummy4/bin/bundle
229
- - test/dummy4/bin/rake
230
- - test/dummy4/README.rdoc
231
- - test/dummy4/Gemfile
232
- - test/dummy4/Rakefile
233
- - test/dummy4/app/views/index/index.html.erb
234
- - test/dummy4/app/views/index/set.html.erb
235
- - test/dummy4/app/views/index/get_detailed.html.erb
236
- - test/dummy4/app/views/index/get.html.erb
237
- - test/dummy4/app/views/layouts/application.html.erb
238
- - test/dummy4/app/helpers/application_helper.rb
239
- - test/dummy4/app/controllers/application_controller.rb
240
- - test/dummy4/app/controllers/index_controller.rb
241
- - test/dummy4/app/assets/images/rails.png
242
- - test/dummy4/app/assets/stylesheets/application.css
243
- - test/dummy4/app/assets/javascripts/application.js
244
- - test/unit/helpers/evercookie_controller_helper_test.rb
245
- - test/unit/helpers/evercookie_view_helper_test.rb
246
228
  - test/unit/controllers/evercookie_controller_test.rb
247
- - test/dummy/db/test.sqlite3
248
- - test/dummy/db/development.sqlite3
249
- - test/dummy/config.ru
229
+ - test/unit/helpers/evercookie_view_helper_test.rb
230
+ - test/unit/helpers/evercookie_controller_helper_test.rb
231
+ - test/dummy/config/database.yml
232
+ - test/dummy/config/boot.rb
233
+ - test/dummy/config/locales/en.yml
234
+ - test/dummy/config/routes.rb
235
+ - test/dummy/config/application.rb
236
+ - test/dummy/config/environment.rb
250
237
  - test/dummy/config/initializers/backtrace_silencers.rb
251
- - test/dummy/config/initializers/wrap_parameters.rb
252
238
  - test/dummy/config/initializers/mime_types.rb
253
- - test/dummy/config/initializers/inflections.rb
254
- - test/dummy/config/initializers/evercookie.rb
255
239
  - test/dummy/config/initializers/session_store.rb
240
+ - test/dummy/config/initializers/wrap_parameters.rb
256
241
  - test/dummy/config/initializers/secret_token.rb
257
- - test/dummy/config/environments/development.rb
242
+ - test/dummy/config/initializers/evercookie.rb
243
+ - test/dummy/config/initializers/inflections.rb
258
244
  - test/dummy/config/environments/production.rb
245
+ - test/dummy/config/environments/development.rb
259
246
  - test/dummy/config/environments/test.rb
260
- - test/dummy/config/application.rb
261
- - test/dummy/config/boot.rb
262
- - test/dummy/config/environment.rb
263
- - test/dummy/config/routes.rb
264
- - test/dummy/config/locales/en.yml
265
- - test/dummy/config/database.yml
266
- - test/dummy/public/422.html
267
- - test/dummy/public/404.html
268
- - test/dummy/public/favicon.ico
269
- - test/dummy/public/500.html
270
- - test/dummy/test/unit/helpers/index_helper_test.rb
271
- - test/dummy/test/functional/index_controller_test.rb
272
247
  - test/dummy/README.rdoc
273
- - test/dummy/tmp/cache/assets/D32/A10/sprockets%2F13fe41fee1fe35b49d145bcc06610705
274
- - test/dummy/tmp/cache/assets/E83/750/sprockets%2Fe0a4c2b9c4acf9bcfedbb42a8bd45e80
275
- - test/dummy/tmp/cache/assets/CEC/FA0/sprockets%2Fcee8c6b09c33d2b276753e959712724e
276
- - test/dummy/tmp/cache/assets/CD8/370/sprockets%2F357970feca3ac29060c1e3861e2c0953
248
+ - test/dummy/Rakefile
277
249
  - test/dummy/tmp/cache/assets/DFF/960/sprockets%2Fe73aa53de71d957ef04bdfd2fba2e915
278
- - test/dummy/tmp/cache/assets/E04/890/sprockets%2F2f5173deea6c795b8fdde723bb4b63af
279
- - test/dummy/tmp/cache/assets/D70/D10/sprockets%2Fa0d37ff489ed0857f72233f5cb0b9c0b
280
- - test/dummy/tmp/cache/assets/D70/2D0/sprockets%2F2c853768baf811357d81d41bdfd05dcf
281
- - test/dummy/tmp/cache/assets/D8C/A10/sprockets%2Ffc7201c6cbef32453aa4175c520c8eae
282
250
  - test/dummy/tmp/cache/assets/DDC/400/sprockets%2Fcffd775d018f68ce5dba1ee0d951a994
251
+ - test/dummy/tmp/cache/assets/D5A/EA0/sprockets%2Fd771ace226fc8215a3572e0aa35bb0d6
252
+ - test/dummy/tmp/cache/assets/CD8/370/sprockets%2F357970feca3ac29060c1e3861e2c0953
253
+ - test/dummy/tmp/cache/assets/CEC/FA0/sprockets%2Fcee8c6b09c33d2b276753e959712724e
254
+ - test/dummy/tmp/cache/assets/E04/890/sprockets%2F2f5173deea6c795b8fdde723bb4b63af
283
255
  - test/dummy/tmp/cache/assets/D4E/1B0/sprockets%2Ff7cbd26ba1d28d48de824f0e94586655
284
- - test/dummy/tmp/cache/assets/DEE/200/sprockets%2F2a3f3abddecb0467eb2d7d5cf5f52302
285
- - test/dummy/tmp/cache/assets/DAA/C00/sprockets%2F9bddc9410e086be5f5efa982c5247c7b
286
256
  - test/dummy/tmp/cache/assets/D2F/760/sprockets%2F3b464ead21d28d0a1298357a3a7cbc18
287
- - test/dummy/tmp/cache/assets/D45/3C0/sprockets%2Fd45fb0f5f994f0c125db5e026ee65258
257
+ - test/dummy/tmp/cache/assets/E83/750/sprockets%2Fe0a4c2b9c4acf9bcfedbb42a8bd45e80
288
258
  - test/dummy/tmp/cache/assets/D45/C10/sprockets%2Fac34f7046872aba24b7375de608d8fe6
259
+ - test/dummy/tmp/cache/assets/D45/3C0/sprockets%2Fd45fb0f5f994f0c125db5e026ee65258
260
+ - test/dummy/tmp/cache/assets/D8C/A10/sprockets%2Ffc7201c6cbef32453aa4175c520c8eae
261
+ - test/dummy/tmp/cache/assets/D99/2F0/sprockets%2Fa2cf2651c63ecb32c21ea94fa84cd498
262
+ - test/dummy/tmp/cache/assets/D70/2D0/sprockets%2F2c853768baf811357d81d41bdfd05dcf
263
+ - test/dummy/tmp/cache/assets/D70/D10/sprockets%2Fa0d37ff489ed0857f72233f5cb0b9c0b
264
+ - test/dummy/tmp/cache/assets/DEE/200/sprockets%2F2a3f3abddecb0467eb2d7d5cf5f52302
265
+ - test/dummy/tmp/cache/assets/D32/A10/sprockets%2F13fe41fee1fe35b49d145bcc06610705
289
266
  - test/dummy/tmp/cache/assets/D93/360/sprockets%2Fdf600f50f002512c95d93bcfbab891ed
290
267
  - test/dummy/tmp/cache/assets/DCF/EC0/sprockets%2Fe1f34cd8fd7ca6a9a01d26e47c923f1f
291
- - test/dummy/tmp/cache/assets/D5A/EA0/sprockets%2Fd771ace226fc8215a3572e0aa35bb0d6
292
- - test/dummy/tmp/cache/assets/D99/2F0/sprockets%2Fa2cf2651c63ecb32c21ea94fa84cd498
293
- - test/dummy/log/development.log
268
+ - test/dummy/tmp/cache/assets/DAA/C00/sprockets%2F9bddc9410e086be5f5efa982c5247c7b
269
+ - test/dummy/db/schema.rb
270
+ - test/dummy/db/development.sqlite3
271
+ - test/dummy/db/test.sqlite3
294
272
  - test/dummy/log/test.log
295
- - test/dummy/Rakefile
273
+ - test/dummy/log/development.log
296
274
  - test/dummy/script/rails
275
+ - test/dummy/config.ru
276
+ - test/dummy/public/500.html
277
+ - test/dummy/public/422.html
278
+ - test/dummy/public/favicon.ico
279
+ - test/dummy/public/404.html
280
+ - test/dummy/test/functional/index_controller_test.rb
281
+ - test/dummy/test/unit/helpers/index_helper_test.rb
282
+ - test/dummy/app/assets/javascripts/index.js
283
+ - test/dummy/app/assets/javascripts/application.js
284
+ - test/dummy/app/assets/stylesheets/index.css
285
+ - test/dummy/app/assets/stylesheets/application.css
286
+ - test/dummy/app/controllers/index_controller.rb
287
+ - test/dummy/app/controllers/application_controller.rb
297
288
  - test/dummy/app/views/index/index.html.erb
298
- - test/dummy/app/views/index/set.html.erb
299
- - test/dummy/app/views/index/get_detailed.html.erb
300
289
  - test/dummy/app/views/index/get.html.erb
290
+ - test/dummy/app/views/index/get_detailed.html.erb
291
+ - test/dummy/app/views/index/set.html.erb
301
292
  - test/dummy/app/views/layouts/application.html.erb
302
- - test/dummy/app/helpers/application_helper.rb
303
293
  - test/dummy/app/helpers/index_helper.rb
304
- - test/dummy/app/controllers/application_controller.rb
305
- - test/dummy/app/controllers/index_controller.rb
306
- - test/dummy/app/assets/stylesheets/index.css
307
- - test/dummy/app/assets/stylesheets/application.css
308
- - test/dummy/app/assets/javascripts/application.js
309
- - test/dummy/app/assets/javascripts/index.js
294
+ - test/dummy/app/helpers/application_helper.rb
295
+ - test/dummy4/Gemfile.lock
296
+ - test/dummy4/config/database.yml
297
+ - test/dummy4/config/boot.rb
298
+ - test/dummy4/config/locales/en.yml
299
+ - test/dummy4/config/routes.rb
300
+ - test/dummy4/config/application.rb
301
+ - test/dummy4/config/environment.rb
302
+ - test/dummy4/config/initializers/backtrace_silencers.rb
303
+ - test/dummy4/config/initializers/mime_types.rb
304
+ - test/dummy4/config/initializers/session_store.rb
305
+ - test/dummy4/config/initializers/wrap_parameters.rb
306
+ - test/dummy4/config/initializers/secret_token.rb
307
+ - test/dummy4/config/initializers/filter_parameter_logging.rb
308
+ - test/dummy4/config/initializers/evercookie.rb
309
+ - test/dummy4/config/initializers/inflections.rb
310
+ - test/dummy4/config/environments/production.rb
311
+ - test/dummy4/config/environments/development.rb
312
+ - test/dummy4/config/environments/test.rb
313
+ - test/dummy4/README.rdoc
314
+ - test/dummy4/Rakefile
315
+ - test/dummy4/db/seeds.rb
316
+ - test/dummy4/Gemfile
317
+ - test/dummy4/bin/bundle
318
+ - test/dummy4/bin/rake
319
+ - test/dummy4/bin/rails
320
+ - test/dummy4/config.ru
321
+ - test/dummy4/public/500.html
322
+ - test/dummy4/public/422.html
323
+ - test/dummy4/public/favicon.ico
324
+ - test/dummy4/public/robots.txt
325
+ - test/dummy4/public/404.html
326
+ - test/dummy4/test/test_helper.rb
327
+ - test/dummy4/app/assets/javascripts/application.js
328
+ - test/dummy4/app/assets/stylesheets/application.css
329
+ - test/dummy4/app/assets/images/rails.png
330
+ - test/dummy4/app/controllers/index_controller.rb
331
+ - test/dummy4/app/controllers/application_controller.rb
332
+ - test/dummy4/app/views/index/index.html.erb
333
+ - test/dummy4/app/views/index/get.html.erb
334
+ - test/dummy4/app/views/index/get_detailed.html.erb
335
+ - test/dummy4/app/views/index/set.html.erb
336
+ - test/dummy4/app/views/layouts/application.html.erb
337
+ - test/dummy4/app/helpers/application_helper.rb
310
338
  - test/evercookie_test.rb
311
339
  - test/test_helper.rb