rubysl-cgi-session 2.0.0 → 2.0.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 4789df406231c3e8a7bfa32f2f03bbcd88016c0b
4
- data.tar.gz: 93dcf411efbe9cb4ed3177fb1a6265ee5a643b09
3
+ metadata.gz: 4d088553a5e245623a542a656a6cb6432660ba64
4
+ data.tar.gz: 8529b1a506ff74f4cb91e39d782f748575f87c3c
5
5
  SHA512:
6
- metadata.gz: c2cc342d9538cd0d82d5441082d8d4d19f307bb269728ffa068fd192dd0622750f06c50893a8b47b5a262a742248bc3cb98e9c98a388efe1b6374ed354074b7e
7
- data.tar.gz: 4114b261866635d2c6d540d18da5c7f6f04db324028aea4338869b4eb742374b8d7d3c1b33b28f67c18cc5b5e11880f7e9924e1b5df786d089d4ea53963699cd
6
+ metadata.gz: f047f931c5c0de2b61b71158f18833028b15d25e2b5692b6ad9859b265414f4f5bde68d321f89a9d08e2aec7bc3d718c9d4a137440f8825632ffb3f2db0edfde
7
+ data.tar.gz: 5f87fe86e6f4cc8b5e4d22a15c41977c5094cb9fdb00ae8601153ad94b311a4cb732c12b52ad540a15a8c60fb040a017bdf2e83f741b88634f82ac09b4f312b7
@@ -1,7 +1,14 @@
1
1
  language: ruby
2
2
  env:
3
3
  - RUBYLIB=lib
4
- script: bundle exec mspec
4
+ - RUBYLIB=
5
+ script: mspec spec
5
6
  rvm:
6
- - 1.9.3
7
- - rbx-nightly-19mode
7
+ - 2.0.0
8
+ - rbx-2.1.1
9
+ matrix:
10
+ exclude:
11
+ - rvm: 2.0.0
12
+ env: RUBYLIB=lib
13
+ - rvm: rbx-2.1.1
14
+ env: RUBYLIB=
@@ -62,7 +62,7 @@ class CGI
62
62
  # works with String data. This is the default
63
63
  # storage type.
64
64
  # CGI::Session::MemoryStore:: stores data in an in-memory hash. The data
65
- # only persists for as long as the current ruby
65
+ # only persists for as long as the current Ruby
66
66
  # interpreter instance does.
67
67
  # CGI::Session::PStore:: stores data in Marshalled format. Provided by
68
68
  # cgi/session/pstore.rb. Supports data of any type,
@@ -437,14 +437,14 @@ class CGI
437
437
  def delete
438
438
  File::unlink @path+".lock" rescue nil
439
439
  File::unlink @path+".new" rescue nil
440
- File::unlink @path rescue Errno::ENOENT
440
+ File::unlink @path rescue nil
441
441
  end
442
442
  end
443
443
 
444
444
  # In-memory session storage class.
445
445
  #
446
446
  # Implements session storage as a global in-memory hash. Session
447
- # data will only persist for as long as the ruby interpreter
447
+ # data will only persist for as long as the Ruby interpreter
448
448
  # instance does.
449
449
  class MemoryStore
450
450
  GLOBAL_HASH_TABLE = {} #:nodoc:
@@ -1,7 +1,7 @@
1
1
  module RubySL
2
2
  module CGI
3
3
  module Session
4
- VERSION = "2.0.0"
4
+ VERSION = "2.0.1"
5
5
  end
6
6
  end
7
7
  end
@@ -16,7 +16,10 @@ Gem::Specification.new do |spec|
16
16
  spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
17
17
  spec.require_paths = ["lib"]
18
18
 
19
+ spec.required_ruby_version = "~> 2.0"
20
+
19
21
  spec.add_development_dependency "bundler", "~> 1.3"
20
22
  spec.add_development_dependency "rake", "~> 10.0"
21
23
  spec.add_development_dependency "mspec", "~> 1.5"
24
+ spec.add_development_dependency "rubysl-prettyprint", "~> 2.0"
22
25
  end
metadata CHANGED
@@ -1,57 +1,71 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rubysl-cgi-session
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.0
4
+ version: 2.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Brian Shirai
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2013-09-04 00:00:00.000000000 Z
11
+ date: 2013-11-09 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - ~>
17
+ - - "~>"
18
18
  - !ruby/object:Gem::Version
19
19
  version: '1.3'
20
20
  type: :development
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
- - - ~>
24
+ - - "~>"
25
25
  - !ruby/object:Gem::Version
26
26
  version: '1.3'
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: rake
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
- - - ~>
31
+ - - "~>"
32
32
  - !ruby/object:Gem::Version
33
33
  version: '10.0'
34
34
  type: :development
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
- - - ~>
38
+ - - "~>"
39
39
  - !ruby/object:Gem::Version
40
40
  version: '10.0'
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: mspec
43
43
  requirement: !ruby/object:Gem::Requirement
44
44
  requirements:
45
- - - ~>
45
+ - - "~>"
46
46
  - !ruby/object:Gem::Version
47
47
  version: '1.5'
48
48
  type: :development
49
49
  prerelease: false
50
50
  version_requirements: !ruby/object:Gem::Requirement
51
51
  requirements:
52
- - - ~>
52
+ - - "~>"
53
53
  - !ruby/object:Gem::Version
54
54
  version: '1.5'
55
+ - !ruby/object:Gem::Dependency
56
+ name: rubysl-prettyprint
57
+ requirement: !ruby/object:Gem::Requirement
58
+ requirements:
59
+ - - "~>"
60
+ - !ruby/object:Gem::Version
61
+ version: '2.0'
62
+ type: :development
63
+ prerelease: false
64
+ version_requirements: !ruby/object:Gem::Requirement
65
+ requirements:
66
+ - - "~>"
67
+ - !ruby/object:Gem::Version
68
+ version: '2.0'
55
69
  description: Ruby standard library cgi-session.
56
70
  email:
57
71
  - brixen@gmail.com
@@ -59,8 +73,8 @@ executables: []
59
73
  extensions: []
60
74
  extra_rdoc_files: []
61
75
  files:
62
- - .gitignore
63
- - .travis.yml
76
+ - ".gitignore"
77
+ - ".travis.yml"
64
78
  - Gemfile
65
79
  - LICENSE
66
80
  - README.md
@@ -81,12 +95,12 @@ require_paths:
81
95
  - lib
82
96
  required_ruby_version: !ruby/object:Gem::Requirement
83
97
  requirements:
84
- - - '>='
98
+ - - "~>"
85
99
  - !ruby/object:Gem::Version
86
- version: '0'
100
+ version: '2.0'
87
101
  required_rubygems_version: !ruby/object:Gem::Requirement
88
102
  requirements:
89
- - - '>='
103
+ - - ">="
90
104
  - !ruby/object:Gem::Version
91
105
  version: '0'
92
106
  requirements: []
@@ -96,3 +110,4 @@ signing_key:
96
110
  specification_version: 4
97
111
  summary: Ruby standard library cgi-session.
98
112
  test_files: []
113
+ has_rdoc: