sbsm 1.2.7 → 1.2.8
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/History.txt +3 -0
- data/lib/sbsm/session.rb +2 -2
- data/lib/sbsm/version.rb +1 -1
- data/test/test_session.rb +5 -3
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 77ec17c4b24006fdd35cf6d3c60696d9bd568b50
|
4
|
+
data.tar.gz: c7e9a6d6c98f1a552f2f05c86e5b2b7aa3d7e4fc
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 11900eee9a1d8b87a6569ac71edc959320cd6f08298f8a3c0b137826d864343aa7c1f86b5a0d773592cfc95d336546bc837b15cb2c03ccc34b8210b98ed34b8f
|
7
|
+
data.tar.gz: be3f84e90fcdbbf7be06bb9d58be6861cc42d7a056a513252d45bb1c398dfdfc1e0f982a469774b98a2bf7def79fb65a4752b2400145eb09d595492fe9379ae9
|
data/History.txt
CHANGED
data/lib/sbsm/session.rb
CHANGED
@@ -39,8 +39,8 @@ module SBSM
|
|
39
39
|
:unsafe_input, :valid_input, :request_path
|
40
40
|
include DRbUndumped
|
41
41
|
PERSISTENT_COOKIE_NAME = "sbsm-persistent-cookie"
|
42
|
-
DEFAULT_FLAVOR =
|
43
|
-
DEFAULT_LANGUAGE =
|
42
|
+
DEFAULT_FLAVOR = 'sbsm'
|
43
|
+
DEFAULT_LANGUAGE = 'en'
|
44
44
|
DEFAULT_STATE = State
|
45
45
|
DEFAULT_ZONE = nil
|
46
46
|
DRB_LOAD_LIMIT = 255 * 102400
|
data/lib/sbsm/version.rb
CHANGED
data/test/test_session.rb
CHANGED
@@ -344,13 +344,15 @@ class TestSession < Minitest::Test
|
|
344
344
|
assert_equal('gcc', lnf.flavor)
|
345
345
|
assert_instance_of(SBSM::Lookandfeel, lnf)
|
346
346
|
lnf2 = @session.lookandfeel
|
347
|
-
|
348
|
-
|
347
|
+
assert_equal('gcc', lnf2.flavor)
|
348
|
+
assert_equal('en', lnf2.language)
|
349
|
+
@session.persistent_user_input = {
|
349
350
|
:flavor => 'other',
|
350
351
|
}
|
351
352
|
lnf3 = @session.lookandfeel
|
352
353
|
assert_instance_of(SBSM::Lookandfeel, lnf)
|
353
|
-
|
354
|
+
assert_equal('gcc', lnf3.flavor)
|
355
|
+
assert_equal('en', lnf3.language) ## flavor does not change!
|
354
356
|
end
|
355
357
|
def test_lookandfeel2
|
356
358
|
session = StubSessionSession.new("test", StubSessionApp.new, StubSessionValidator.new)
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: sbsm
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.2.
|
4
|
+
version: 1.2.8
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Masaomi Hatakeyama, Zeno R.R. Davatz
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-
|
11
|
+
date: 2016-06-08 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rack
|