xmlconv 1.0.9 → 1.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/History.txt +5 -0
- data/lib/xmlconv/custom/lookandfeel.rb +0 -11
- data/lib/xmlconv/version.rb +1 -1
- metadata +3 -4
- data/test/test_custom/lookandfeel.rb +0 -31
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4c6a24f6d6cdd84cdc5b6a296d8ccbfbd88af72b
|
4
|
+
data.tar.gz: f219d53770b60d0c948e19bb4a1c5713b47f2b33
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c10f57a89fbb486b195d75cc69ae9cb404c7dac81ba50f144a832f1a0ea4e16576d1a2a1d077527fb34598f052bf1cb55cf20e1b87123e94c45105626b3a62e5
|
7
|
+
data.tar.gz: 8f3c45d6f4395ef50201dd2701981b738f1dd441ddd78750a3c964ef46e8f447075825a4ad9b86b364c030ce4222d19579cdbd6ba0353684e172da4050e5a27a
|
data/History.txt
CHANGED
@@ -45,17 +45,6 @@ module XmlConv
|
|
45
45
|
RESOURCES = {
|
46
46
|
:css => 'xmlconv.css'
|
47
47
|
}
|
48
|
-
|
49
|
-
alias :orig_base_url :base_url
|
50
|
-
|
51
|
-
# Provides non flavored base url
|
52
|
-
def base_url
|
53
|
-
_flavor = @flavor
|
54
|
-
@flavor = nil
|
55
|
-
url = orig_base_url
|
56
|
-
@flavor = _flavor
|
57
|
-
url
|
58
|
-
end
|
59
48
|
end
|
60
49
|
end
|
61
50
|
end
|
data/lib/xmlconv/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: xmlconv
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0
|
4
|
+
version: 1.1.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Masaomi Hatakeyama, Zeno R.R. Davatz, Niklaus Giger
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-
|
11
|
+
date: 2016-09-02 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: odba
|
@@ -388,7 +388,6 @@ files:
|
|
388
388
|
- test/data/sandoz.xundart@bbmb.ch.20110524001038.928592
|
389
389
|
- test/data/simple_email.txt
|
390
390
|
- test/suite.rb
|
391
|
-
- test/test_custom/lookandfeel.rb
|
392
391
|
- test/test_i2/address.rb
|
393
392
|
- test/test_i2/date.rb
|
394
393
|
- test/test_i2/document.rb
|
@@ -445,7 +444,6 @@ test_files:
|
|
445
444
|
- test/data/sandoz.xundart@bbmb.ch.20110524001038.928592
|
446
445
|
- test/data/simple_email.txt
|
447
446
|
- test/suite.rb
|
448
|
-
- test/test_custom/lookandfeel.rb
|
449
447
|
- test/test_i2/address.rb
|
450
448
|
- test/test_i2/date.rb
|
451
449
|
- test/test_i2/document.rb
|
@@ -471,3 +469,4 @@ test_files:
|
|
471
469
|
- test/test_util/invoicer.rb
|
472
470
|
- test/test_util/polling_manager.rb
|
473
471
|
- test/test_util/transaction.rb
|
472
|
+
has_rdoc:
|
@@ -1,31 +0,0 @@
|
|
1
|
-
$: << File.dirname(__FILE__)
|
2
|
-
$: << File.expand_path('..', File.dirname(__FILE__))
|
3
|
-
$: << File.expand_path('../../lib', File.dirname(__FILE__))
|
4
|
-
|
5
|
-
require 'minitest/autorun'
|
6
|
-
require 'flexmock/minitest'
|
7
|
-
require 'xmlconv/util/application'
|
8
|
-
require 'xmlconv/util/session'
|
9
|
-
require 'xmlconv/custom/lookandfeel'
|
10
|
-
|
11
|
-
module XmlConv
|
12
|
-
class TestApplication < Util::Application
|
13
|
-
def unknown_user; end
|
14
|
-
end
|
15
|
-
|
16
|
-
module Custom
|
17
|
-
class TestLookandfeel < ::Minitest::Test
|
18
|
-
def setup
|
19
|
-
@app = TestApplication.new
|
20
|
-
@session = Util::Session.new('test', @app)
|
21
|
-
end
|
22
|
-
|
23
|
-
def test_base_url_does_not_include_flavor
|
24
|
-
lookandfeel = Lookandfeel.new(@session)
|
25
|
-
assert_equal('sbsm', lookandfeel.flavor)
|
26
|
-
assert_equal('sbsm', @session.flavor)
|
27
|
-
refute_match(@session.flavor, lookandfeel.base_url)
|
28
|
-
end
|
29
|
-
end
|
30
|
-
end
|
31
|
-
end
|