vanity 1.6.0 → 1.6.1

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/CHANGELOG CHANGED
@@ -1,3 +1,8 @@
1
+ == 1.6.1 (2011-07-20)
2
+
3
+ Fixed cookie domain setting.
4
+
5
+
1
6
  == 1.6.0 (2011-07-18)
2
7
 
3
8
  If robots or spiders make up a significant portion of your sites traffic they
@@ -49,7 +49,7 @@ module Vanity
49
49
  cookie = { :value=>@vanity_identity, :expires=>1.month.from_now }
50
50
  # Useful if application and admin console are on separate domains.
51
51
  # This only works in Rails 3.x.
52
- cookie_options[:domain] ||= ::Rails.application.config.session_options[:domain] if ::Rails.respond_to?(:application)
52
+ cookie[:domain] ||= ::Rails.application.config.session_options[:domain] if ::Rails.respond_to?(:application)
53
53
  cookies["vanity_id"] = cookie
54
54
  @vanity_identity
55
55
  else # during functional testing
@@ -1,5 +1,5 @@
1
1
  module Vanity
2
- VERSION = "1.6.0"
2
+ VERSION = "1.6.1"
3
3
 
4
4
  module Version
5
5
  version = VERSION.to_s.split(".").map { |i| i.to_i }
@@ -3344,3 +3344,18 @@ Completed in 2ms (View: 1 | 200 OK [http://:? ]
3344
3344
  Processing MainController#index (for at 2011-07-20 11:53:47) [GET]
3345
3345
  Parameters: {" "=>nil}
3346
3346
  Completed in 6ms (View: 1 | 200 OK [http://:? ]
3347
+
3348
+
3349
+ Processing MainController#index (for at 2011-07-20 14:14:35) [GET]
3350
+ Parameters: {" "=>nil}
3351
+ Completed in 2ms (View: 1 | 200 OK [http://:? ]
3352
+
3353
+
3354
+ Processing MainController#index (for at 2011-07-20 14:15:05) [GET]
3355
+ Parameters: {" "=>nil}
3356
+ Completed in 3ms (View: 1 | 200 OK [http://:? ]
3357
+
3358
+
3359
+ Processing MainController#index (for at 2011-07-20 14:15:40) [GET]
3360
+ Parameters: {" "=>nil}
3361
+ Completed in 3ms (View: 1 | 200 OK [http://:? ]
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: vanity
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.6.0
4
+ version: 1.6.1
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -14,7 +14,7 @@ default_executable:
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: redis
17
- requirement: &2152929160 !ruby/object:Gem::Requirement
17
+ requirement: &2153395220 !ruby/object:Gem::Requirement
18
18
  none: false
19
19
  requirements:
20
20
  - - ~>
@@ -22,10 +22,10 @@ dependencies:
22
22
  version: '2.0'
23
23
  type: :runtime
24
24
  prerelease: false
25
- version_requirements: *2152929160
25
+ version_requirements: *2153395220
26
26
  - !ruby/object:Gem::Dependency
27
27
  name: redis-namespace
28
- requirement: &2152928700 !ruby/object:Gem::Requirement
28
+ requirement: &2153394760 !ruby/object:Gem::Requirement
29
29
  none: false
30
30
  requirements:
31
31
  - - ~>
@@ -33,7 +33,7 @@ dependencies:
33
33
  version: 1.0.0
34
34
  type: :runtime
35
35
  prerelease: false
36
- version_requirements: *2152928700
36
+ version_requirements: *2153394760
37
37
  description: Mirror, mirror on the wall ...
38
38
  email: assaf@labnotes.org
39
39
  executables:
@@ -112,7 +112,7 @@ licenses: []
112
112
  post_install_message: To get started run vanity --help
113
113
  rdoc_options:
114
114
  - --title
115
- - Vanity 1.6.0
115
+ - Vanity 1.6.1
116
116
  - --main
117
117
  - README.rdoc
118
118
  - --webcvs