strelka 0.0.1.pre.320 → 0.0.1.pre.321

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.
Files changed (4) hide show
  1. data.tar.gz.sig +0 -0
  2. data/lib/strelka/cookie.rb +8 -8
  3. metadata +2 -2
  4. metadata.gz.sig +0 -0
data.tar.gz.sig CHANGED
Binary file
@@ -66,7 +66,7 @@ class Strelka::Cookie
66
66
 
67
67
  # "$Version" = value
68
68
  if m = COOKIE_VERSION.match( header )
69
- self.log.debug " Found cookie version %p" % [ m[:version] ]
69
+ # self.log.debug " Found cookie version %p" % [ m[:version] ]
70
70
  version = Integer( dequote(m[:version]) )
71
71
  header.slice!( COOKIE_VERSION )
72
72
  end
@@ -74,10 +74,10 @@ class Strelka::Cookie
74
74
  # cookie-header = "Cookie:" OWS cookie-string OWS
75
75
  # cookie-string = cookie-pair *( ";" SP cookie-pair )
76
76
  header.split( /;\x20/ ).each do |cookie_pair|
77
- self.log.debug " parsing cookie-pair: %p" % [ cookie_pair ]
77
+ # self.log.debug " parsing cookie-pair: %p" % [ cookie_pair ]
78
78
  next unless match = cookie_pair.match( COOKIE_PAIR )
79
79
 
80
- self.log.debug " matched cookie: %p" % [ match ]
80
+ # self.log.debug " matched cookie: %p" % [ match ]
81
81
  name = match[:cookie_name].untaint
82
82
  value = match[:cookie_value]
83
83
  value = self.dequote( value ) if value.start_with?( DQUOTE )
@@ -114,7 +114,7 @@ class Strelka::Cookie
114
114
  ### HttpOnly flag.
115
115
  def initialize( name, value, options={} )
116
116
  options ||= {}
117
- self.log.debug "New cookie: %p = %p (%p)" % [ name, value, options ]
117
+ # self.log.debug "New cookie: %p = %p (%p)" % [ name, value, options ]
118
118
 
119
119
  @name = name
120
120
  @value = value
@@ -127,7 +127,7 @@ class Strelka::Cookie
127
127
  @expires = nil
128
128
  @version = 0
129
129
 
130
- self.log.debug " setting options: %p" % [ options ]
130
+ # self.log.debug " setting options: %p" % [ options ]
131
131
  options.each do |meth, val|
132
132
  self.__send__( "#{meth}=", val )
133
133
  end
@@ -185,7 +185,7 @@ class Strelka::Cookie
185
185
  ### if +cookie_octets+ contains any invalid characters. If your value contains
186
186
  ### non-US-ASCII characters; control characters; or comma, semicolon, or backslash.
187
187
  def value=( cookie_octets )
188
- self.log.debug "Setting cookie value to: %p" % [ cookie_octets ]
188
+ # self.log.debug "Setting cookie value to: %p" % [ cookie_octets ]
189
189
  raise Strelka::CookieError,
190
190
  "invalid cookie value; value must be composed of non-control us-ascii characters " +
191
191
  "other than SPACE, double-quote, comma, semi-colon, and backslash. " +
@@ -202,7 +202,7 @@ class Strelka::Cookie
202
202
  ### cookie.value = [data].pack('m').strip
203
203
  ###
204
204
  def binary_value=( data )
205
- self.log.debug "Setting cookie value to base64ed %p" % [ data ]
205
+ # self.log.debug "Setting cookie value to base64ed %p" % [ data ]
206
206
  self.value = [ data ].pack( 'm' ).strip
207
207
  end
208
208
  alias_method :wrapped_value=, :binary_value=
@@ -317,7 +317,7 @@ class Strelka::Cookie
317
317
 
318
318
  ### Return +true+ if other_cookie has the same name as the receiver.
319
319
  def eql?( other_cookie )
320
- self.log.debug "Comparing %p with other cookie: %p" % [ self, other_cookie ]
320
+ # self.log.debug "Comparing %p with other cookie: %p" % [ self, other_cookie ]
321
321
  return (self.name == other_cookie.name) ? true : false
322
322
  end
323
323
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: strelka
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1.pre.320
4
+ version: 0.0.1.pre.321
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -36,7 +36,7 @@ cert_chain:
36
36
  YUhDS0xaZFNLai9SSHVUT3QrZ2JsUmV4OEZBaDhOZUEKY21saFhlNDZwWk5K
37
37
  Z1dLYnhaYWg4NWpJang5NWhSOHZPSStOQU01aUg5a09xSzEzRHJ4YWNUS1Bo
38
38
  cWo1UGp3RgotLS0tLUVORCBDRVJUSUZJQ0FURS0tLS0tCg==
39
- date: 2012-09-28 00:00:00.000000000 Z
39
+ date: 2012-09-29 00:00:00.000000000 Z
40
40
  dependencies:
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: configurability
metadata.gz.sig CHANGED
Binary file