ydim-html 1.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.gitignore +5 -0
- data/.travis.yml +29 -0
- data/Gemfile +12 -0
- data/History.txt +11 -0
- data/LICENSE.txt +339 -0
- data/Manifest.txt +47 -0
- data/Rakefile +21 -0
- data/bin/ydim-htmld +38 -0
- data/doc/favicon.ico +0 -0
- data/doc/index.rbx +16 -0
- data/doc/resources/javascript/dojo.js +5940 -0
- data/doc/resources/javascript/iframe_history.html +53 -0
- data/doc/resources/javascript/ydim.js +67 -0
- data/doc/resources/ydim/ydim.css +113 -0
- data/lib/ydim/html.rb +10 -0
- data/lib/ydim/html/config.rb +37 -0
- data/lib/ydim/html/state/ajax_values.rb +17 -0
- data/lib/ydim/html/state/autoinvoice.rb +94 -0
- data/lib/ydim/html/state/confirm.rb +16 -0
- data/lib/ydim/html/state/debitor.rb +82 -0
- data/lib/ydim/html/state/debitors.rb +24 -0
- data/lib/ydim/html/state/global.rb +100 -0
- data/lib/ydim/html/state/global_predefine.rb +14 -0
- data/lib/ydim/html/state/init.rb +21 -0
- data/lib/ydim/html/state/invoice.rb +180 -0
- data/lib/ydim/html/state/invoices.rb +70 -0
- data/lib/ydim/html/state/pdf.rb +17 -0
- data/lib/ydim/html/util/lookandfeel.rb +133 -0
- data/lib/ydim/html/util/server.rb +37 -0
- data/lib/ydim/html/util/session.rb +29 -0
- data/lib/ydim/html/util/validator.rb +63 -0
- data/lib/ydim/html/version.rb +7 -0
- data/lib/ydim/html/view/ajax_values.rb +27 -0
- data/lib/ydim/html/view/autoinvoice.rb +80 -0
- data/lib/ydim/html/view/autoinvoices.rb +42 -0
- data/lib/ydim/html/view/confirm.rb +28 -0
- data/lib/ydim/html/view/debitor.rb +118 -0
- data/lib/ydim/html/view/debitors.rb +45 -0
- data/lib/ydim/html/view/htmlgrid.rb +104 -0
- data/lib/ydim/html/view/init.rb +30 -0
- data/lib/ydim/html/view/invoice.rb +218 -0
- data/lib/ydim/html/view/invoices.rb +159 -0
- data/lib/ydim/html/view/navigation.rb +29 -0
- data/lib/ydim/html/view/pdf.rb +24 -0
- data/lib/ydim/html/view/template.rb +71 -0
- data/readme.md +28 -0
- data/spec/smoketest_spec.rb +234 -0
- data/spec/spec_helper.rb +117 -0
- data/spec/stub/http_server.rb +157 -0
- data/test/selenium.rb +1690 -0
- data/test/selenium/selenium-server.jar +0 -0
- data/test/selenium/test_autoinvoice.rb +319 -0
- data/test/selenium/test_debitor.rb +344 -0
- data/test/selenium/test_debitors.rb +47 -0
- data/test/selenium/test_init.rb +105 -0
- data/test/selenium/test_invoice.rb +296 -0
- data/test/selenium/test_invoices.rb +176 -0
- data/test/selenium/unit.rb +125 -0
- data/test/stub/http_server.rb +141 -0
- data/test/suite.rb +15 -0
- data/ydim-html.gemspec +36 -0
- metadata +302 -0
@@ -0,0 +1,125 @@
|
|
1
|
+
#!/usr/bin/env ruby
|
2
|
+
# encoding: utf-8
|
3
|
+
# Selenium::TestCase -- ydim -- 14.12.2006 -- hwyss@ywesee.com
|
4
|
+
|
5
|
+
$: << File.expand_path('../../lib', File.dirname(__FILE__))
|
6
|
+
|
7
|
+
if(pid = Kernel.fork)
|
8
|
+
at_exit {
|
9
|
+
Process.kill('HUP', pid)
|
10
|
+
$selenium.stop if($selenium.respond_to?(:stop))
|
11
|
+
}
|
12
|
+
else
|
13
|
+
path = File.expand_path('selenium-server.jar', File.dirname(__FILE__))
|
14
|
+
command = "java -jar #{path} &> /dev/null"
|
15
|
+
exec(command)
|
16
|
+
end
|
17
|
+
|
18
|
+
require 'delegate'
|
19
|
+
require 'selenium'
|
20
|
+
require 'ydim/html/config'
|
21
|
+
|
22
|
+
module YDIM
|
23
|
+
module Html
|
24
|
+
module Selenium
|
25
|
+
class SeleniumWrapper < SimpleDelegator
|
26
|
+
def initialize(host, port, browser, server, port2)
|
27
|
+
@server = server
|
28
|
+
@selenium = ::Selenium::SeleneseInterpreter.new(host, port, browser,
|
29
|
+
server, port2)
|
30
|
+
super @selenium
|
31
|
+
end
|
32
|
+
def open(path)
|
33
|
+
@selenium.open(@server + path)
|
34
|
+
end
|
35
|
+
def type(*args)
|
36
|
+
@selenium.type(*args)
|
37
|
+
end
|
38
|
+
end
|
39
|
+
end
|
40
|
+
end
|
41
|
+
end
|
42
|
+
|
43
|
+
$selenium = YDIM::Html::Selenium::SeleniumWrapper.new("localhost",
|
44
|
+
4444, "*chrome",
|
45
|
+
YDIM::Html.config.http_server + ":10080", 10000)
|
46
|
+
|
47
|
+
start = Time.now
|
48
|
+
begin
|
49
|
+
$selenium.start
|
50
|
+
rescue Errno::ECONNREFUSED
|
51
|
+
print "."
|
52
|
+
sleep 1
|
53
|
+
if((Time.now - start) > 15)
|
54
|
+
raise
|
55
|
+
else
|
56
|
+
retry
|
57
|
+
end
|
58
|
+
end
|
59
|
+
|
60
|
+
require "ydim/html/util/server"
|
61
|
+
require 'flexmock'
|
62
|
+
require 'logger'
|
63
|
+
require 'stub/http_server'
|
64
|
+
require "test/unit"
|
65
|
+
|
66
|
+
module YDIM
|
67
|
+
module Html
|
68
|
+
module Selenium
|
69
|
+
module TestCase
|
70
|
+
include FlexMock::TestCase
|
71
|
+
include SeleniumHelper
|
72
|
+
def setup
|
73
|
+
Html.config.email = 'test@ywesee.com'
|
74
|
+
Html.config.md5_pass = Digest::MD5.hexdigest('secret')
|
75
|
+
Html.logger = Logger.new($stdout)
|
76
|
+
Html.logger.level = Logger::DEBUG
|
77
|
+
@ydim_server = flexmock("ydim_server")
|
78
|
+
@server = Html::Util::Server.new(@ydim_server)
|
79
|
+
@server.extend(DRbUndumped)
|
80
|
+
drb_url = "druby://localhost:10081"
|
81
|
+
@drb = Thread.new {
|
82
|
+
@drb_server = DRb.start_service(drb_url, @server)
|
83
|
+
}
|
84
|
+
@drb.abort_on_exception = true
|
85
|
+
@http_server = Stub.http_server(drb_url)
|
86
|
+
@webrick = Thread.new { @http_server.start }
|
87
|
+
@verification_errors = []
|
88
|
+
if $selenium
|
89
|
+
@selenium = $selenium
|
90
|
+
else
|
91
|
+
@selenium = SeleniumWrapper.new("localhost", 4444, "f",
|
92
|
+
Html.config.http_server + ":10080", 10000)
|
93
|
+
@selenium.start
|
94
|
+
end
|
95
|
+
@selenium.set_context("TestOddb")
|
96
|
+
end
|
97
|
+
def teardown
|
98
|
+
@selenium.stop unless $selenium
|
99
|
+
@http_server.shutdown
|
100
|
+
@drb_server.stop_service
|
101
|
+
assert_equal [], @verification_errors
|
102
|
+
super
|
103
|
+
end
|
104
|
+
def login(debitors=[])
|
105
|
+
session = flexmock('session')
|
106
|
+
@ydim_server.should_receive(:login).and_return(session)
|
107
|
+
session.should_receive(:debitors).and_return(debitors)
|
108
|
+
@ydim_server.should_receive(:logout)
|
109
|
+
@selenium.open "/"
|
110
|
+
assert_equal "YDIM", @selenium.get_title
|
111
|
+
@selenium.type "email", "test@ywesee.com"
|
112
|
+
@selenium.type "pass", "secret"
|
113
|
+
@selenium.click "login"
|
114
|
+
@selenium.wait_for_page_to_load "30000"
|
115
|
+
converter = flexmock('session')
|
116
|
+
converter.should_receive(:convert).and_return { |amount, from, to|
|
117
|
+
amount
|
118
|
+
}
|
119
|
+
session.should_receive(:currency_converter).and_return(converter)
|
120
|
+
session
|
121
|
+
end
|
122
|
+
end
|
123
|
+
end
|
124
|
+
end
|
125
|
+
end
|
@@ -0,0 +1,141 @@
|
|
1
|
+
#!/usr/bin/env ruby
|
2
|
+
# encoding: utf-8
|
3
|
+
# Stub.http_server -- de.oddb.org -- 21.11.2006 -- hwyss@ywesee.com
|
4
|
+
|
5
|
+
require 'sbsm/request'
|
6
|
+
require 'sbsm/trans_handler'
|
7
|
+
require 'webrick'
|
8
|
+
|
9
|
+
class Object
|
10
|
+
def meta_class; class << self; self; end; end
|
11
|
+
def meta_eval &blk; meta_class.instance_eval &blk; end
|
12
|
+
end
|
13
|
+
|
14
|
+
## compatibility-brainfuck for integrating Apache-SBSM-Requests with WEBrick
|
15
|
+
module YDIM
|
16
|
+
module Html
|
17
|
+
YDIM_VERSION = "test-version"
|
18
|
+
module Stub
|
19
|
+
class Notes < Hash
|
20
|
+
alias :add :store
|
21
|
+
end
|
22
|
+
class Output < String
|
23
|
+
alias :write :<<
|
24
|
+
alias :print :<<
|
25
|
+
end
|
26
|
+
class HTTPServer < WEBrick::HTTPServer
|
27
|
+
attr_accessor :document_root
|
28
|
+
def method_missing(method, *args, &block)
|
29
|
+
@logger.warn "ignoring method: #{method}"
|
30
|
+
nil
|
31
|
+
end
|
32
|
+
end
|
33
|
+
def Stub.http_server(drburi, log_level=0)
|
34
|
+
doc = File.expand_path('../../doc', File.dirname(__FILE__))
|
35
|
+
logger = WEBrick::Log.new
|
36
|
+
logger.level = log_level
|
37
|
+
config = { :Host => 'localhost', :Port => 10080,
|
38
|
+
:DocumentRoot => doc, :Logger => logger }
|
39
|
+
if(log_level == 0)
|
40
|
+
config.store(:AccessLog, [])
|
41
|
+
end
|
42
|
+
server = HTTPServer.new(config)
|
43
|
+
server.document_root = doc
|
44
|
+
application = Proc.new { |req, resp|
|
45
|
+
if(req.uri == '/favicon.ico')
|
46
|
+
resp.body = File.open(File.join(doc, req.uri))
|
47
|
+
else
|
48
|
+
ARGV.push('')
|
49
|
+
req.server = server
|
50
|
+
# ignore selenium/dojo-added GET-Parameters
|
51
|
+
req.uri = CGI.unescape(req.uri[/^[^?]*/])
|
52
|
+
SBSM::TransHandler.instance.translate_uri(req)
|
53
|
+
## not Threadsafe!
|
54
|
+
SBSM::Apache.request = req
|
55
|
+
output = Output.new
|
56
|
+
sbsm = SBSM::Request.new(drburi)
|
57
|
+
sbsm.meta_eval { define_method(:handle_exception) { |e| raise e } }
|
58
|
+
sbsm.cgi.params.update(req.query)
|
59
|
+
sbsm.cgi.env_table['SERVER_NAME'] =
|
60
|
+
YDIM::Html.config.http_server.gsub('http://', '') + ':10080'
|
61
|
+
sbsm.cgi.env_table['REQUEST_METHOD'] = req.request_method
|
62
|
+
sbsm.cgi.cookies['_session_id'] = 'test:preset-session-id'
|
63
|
+
sbsm.cgi.output = output
|
64
|
+
sbsm.process
|
65
|
+
if(/^location:/i.match(output))
|
66
|
+
resp.status = 303
|
67
|
+
end
|
68
|
+
resp.rawdata = true
|
69
|
+
resp.body = output
|
70
|
+
end
|
71
|
+
}
|
72
|
+
server.mount_proc('/', &application)
|
73
|
+
server.mount_proc('/de', &application)
|
74
|
+
server.mount_proc('/de/.*', &application)
|
75
|
+
res = File.join(doc, 'resources')
|
76
|
+
server.mount('/resources', WEBrick::HTTPServlet::FileHandler, res, {})
|
77
|
+
server
|
78
|
+
end
|
79
|
+
end
|
80
|
+
end
|
81
|
+
end
|
82
|
+
module WEBrick
|
83
|
+
class HTTPRequest
|
84
|
+
attr_accessor :server, :uri, :notes
|
85
|
+
alias :__old_initialize__ :initialize
|
86
|
+
def initialize(*args)
|
87
|
+
__old_initialize__(*args)
|
88
|
+
@notes = YDIM::Html::Stub::Notes.new
|
89
|
+
end
|
90
|
+
def headers_in
|
91
|
+
headers = {}
|
92
|
+
if(@header)
|
93
|
+
@header.each { |key, vals| headers.store(key, vals.join(';')) }
|
94
|
+
end
|
95
|
+
headers
|
96
|
+
end
|
97
|
+
def uri
|
98
|
+
@uri || unparsed_uri
|
99
|
+
end
|
100
|
+
end
|
101
|
+
class HTTPResponse
|
102
|
+
attr_accessor :rawdata
|
103
|
+
alias :__old_send_header__ :send_header
|
104
|
+
def send_header(socket)
|
105
|
+
if(@rawdata)
|
106
|
+
_write_data(socket, status_line)
|
107
|
+
else
|
108
|
+
__old_send_header__(socket)
|
109
|
+
end
|
110
|
+
end
|
111
|
+
alias :__old_setup_header__ :setup_header
|
112
|
+
def setup_header()
|
113
|
+
unless(@rawdata)
|
114
|
+
__old_setup_header__
|
115
|
+
end
|
116
|
+
end
|
117
|
+
end
|
118
|
+
end
|
119
|
+
module SBSM
|
120
|
+
class Request
|
121
|
+
def handle_exception(e)
|
122
|
+
raise e
|
123
|
+
end
|
124
|
+
end
|
125
|
+
module Apache
|
126
|
+
DECLINED = nil
|
127
|
+
def Apache.request=(request)
|
128
|
+
@request = request
|
129
|
+
end
|
130
|
+
def Apache.request
|
131
|
+
@request
|
132
|
+
end
|
133
|
+
end
|
134
|
+
end
|
135
|
+
class CGI
|
136
|
+
attr_accessor :output
|
137
|
+
def stdoutput
|
138
|
+
output
|
139
|
+
end
|
140
|
+
public :env_table
|
141
|
+
end
|
data/test/suite.rb
ADDED
@@ -0,0 +1,15 @@
|
|
1
|
+
#!/usr/bin/env ruby
|
2
|
+
# encoding: utf-8
|
3
|
+
# suite.rb -- oddb -- 08.09.2006 -- hwyss@ywesee.com
|
4
|
+
|
5
|
+
require 'find'
|
6
|
+
|
7
|
+
here = File.dirname(File.dirname(__FILE__))
|
8
|
+
$: << here
|
9
|
+
require_relative 'selenium'
|
10
|
+
Find.find(here) do |file|
|
11
|
+
if /test_.*\.rb$/o.match(file)
|
12
|
+
next if /spec/.match(File.basename(file))
|
13
|
+
require file
|
14
|
+
end
|
15
|
+
end
|
data/ydim-html.gemspec
ADDED
@@ -0,0 +1,36 @@
|
|
1
|
+
# coding: utf-8
|
2
|
+
lib = File.expand_path('../lib', __FILE__)
|
3
|
+
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
4
|
+
require 'ydim/html/version'
|
5
|
+
|
6
|
+
Gem::Specification.new do |spec|
|
7
|
+
spec.name = "ydim-html"
|
8
|
+
spec.version = YDIM::Html::VERSION
|
9
|
+
spec.author = "Masaomi Hatakeyama, Zeno R.R. Davatz, Niklaus Giger"
|
10
|
+
spec.email = "mhatakeyama@ywesee.com, zdavatz@ywesee.com, ngiger@ywesee.com"
|
11
|
+
spec.description = "ywesee distributed invoice manager. A Ruby gem"
|
12
|
+
spec.summary = "ywesee distributed invoice manager"
|
13
|
+
spec.homepage = "https://github.com/zdavatz/ydim"
|
14
|
+
spec.license = "GPL-v2"
|
15
|
+
spec.files = `git ls-files -z`.split("\x0")
|
16
|
+
spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
|
17
|
+
spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
|
18
|
+
spec.require_paths = ["lib"]
|
19
|
+
|
20
|
+
spec.add_dependency "sbsm", '>= 1.2.7'
|
21
|
+
spec.add_dependency "htmlgrid",'>= 1.0.8'
|
22
|
+
spec.add_dependency "ydim", '>= 1.0.1'
|
23
|
+
spec.add_dependency "rclconf"
|
24
|
+
spec.add_dependency "syck"
|
25
|
+
# spec.add_runtime_dependency 'deprecated', '= 2.0.1'
|
26
|
+
|
27
|
+
spec.add_development_dependency "bundler"
|
28
|
+
spec.add_development_dependency "simplecov"
|
29
|
+
spec.add_development_dependency "rake"
|
30
|
+
spec.add_development_dependency "flexmock"
|
31
|
+
spec.add_development_dependency "test-unit"
|
32
|
+
spec.add_development_dependency "minitest"
|
33
|
+
spec.add_development_dependency "watir"
|
34
|
+
spec.add_development_dependency "rspec"
|
35
|
+
end
|
36
|
+
|
metadata
ADDED
@@ -0,0 +1,302 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: ydim-html
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 1.0.1
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Masaomi Hatakeyama, Zeno R.R. Davatz, Niklaus Giger
|
8
|
+
autorequire:
|
9
|
+
bindir: bin
|
10
|
+
cert_chain: []
|
11
|
+
date: 2016-05-10 00:00:00.000000000 Z
|
12
|
+
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: sbsm
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - ">="
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: 1.2.7
|
20
|
+
type: :runtime
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - ">="
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: 1.2.7
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: htmlgrid
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - ">="
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: 1.0.8
|
34
|
+
type: :runtime
|
35
|
+
prerelease: false
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - ">="
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: 1.0.8
|
41
|
+
- !ruby/object:Gem::Dependency
|
42
|
+
name: ydim
|
43
|
+
requirement: !ruby/object:Gem::Requirement
|
44
|
+
requirements:
|
45
|
+
- - ">="
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
version: 1.0.1
|
48
|
+
type: :runtime
|
49
|
+
prerelease: false
|
50
|
+
version_requirements: !ruby/object:Gem::Requirement
|
51
|
+
requirements:
|
52
|
+
- - ">="
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: 1.0.1
|
55
|
+
- !ruby/object:Gem::Dependency
|
56
|
+
name: rclconf
|
57
|
+
requirement: !ruby/object:Gem::Requirement
|
58
|
+
requirements:
|
59
|
+
- - ">="
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: '0'
|
62
|
+
type: :runtime
|
63
|
+
prerelease: false
|
64
|
+
version_requirements: !ruby/object:Gem::Requirement
|
65
|
+
requirements:
|
66
|
+
- - ">="
|
67
|
+
- !ruby/object:Gem::Version
|
68
|
+
version: '0'
|
69
|
+
- !ruby/object:Gem::Dependency
|
70
|
+
name: syck
|
71
|
+
requirement: !ruby/object:Gem::Requirement
|
72
|
+
requirements:
|
73
|
+
- - ">="
|
74
|
+
- !ruby/object:Gem::Version
|
75
|
+
version: '0'
|
76
|
+
type: :runtime
|
77
|
+
prerelease: false
|
78
|
+
version_requirements: !ruby/object:Gem::Requirement
|
79
|
+
requirements:
|
80
|
+
- - ">="
|
81
|
+
- !ruby/object:Gem::Version
|
82
|
+
version: '0'
|
83
|
+
- !ruby/object:Gem::Dependency
|
84
|
+
name: bundler
|
85
|
+
requirement: !ruby/object:Gem::Requirement
|
86
|
+
requirements:
|
87
|
+
- - ">="
|
88
|
+
- !ruby/object:Gem::Version
|
89
|
+
version: '0'
|
90
|
+
type: :development
|
91
|
+
prerelease: false
|
92
|
+
version_requirements: !ruby/object:Gem::Requirement
|
93
|
+
requirements:
|
94
|
+
- - ">="
|
95
|
+
- !ruby/object:Gem::Version
|
96
|
+
version: '0'
|
97
|
+
- !ruby/object:Gem::Dependency
|
98
|
+
name: simplecov
|
99
|
+
requirement: !ruby/object:Gem::Requirement
|
100
|
+
requirements:
|
101
|
+
- - ">="
|
102
|
+
- !ruby/object:Gem::Version
|
103
|
+
version: '0'
|
104
|
+
type: :development
|
105
|
+
prerelease: false
|
106
|
+
version_requirements: !ruby/object:Gem::Requirement
|
107
|
+
requirements:
|
108
|
+
- - ">="
|
109
|
+
- !ruby/object:Gem::Version
|
110
|
+
version: '0'
|
111
|
+
- !ruby/object:Gem::Dependency
|
112
|
+
name: rake
|
113
|
+
requirement: !ruby/object:Gem::Requirement
|
114
|
+
requirements:
|
115
|
+
- - ">="
|
116
|
+
- !ruby/object:Gem::Version
|
117
|
+
version: '0'
|
118
|
+
type: :development
|
119
|
+
prerelease: false
|
120
|
+
version_requirements: !ruby/object:Gem::Requirement
|
121
|
+
requirements:
|
122
|
+
- - ">="
|
123
|
+
- !ruby/object:Gem::Version
|
124
|
+
version: '0'
|
125
|
+
- !ruby/object:Gem::Dependency
|
126
|
+
name: flexmock
|
127
|
+
requirement: !ruby/object:Gem::Requirement
|
128
|
+
requirements:
|
129
|
+
- - ">="
|
130
|
+
- !ruby/object:Gem::Version
|
131
|
+
version: '0'
|
132
|
+
type: :development
|
133
|
+
prerelease: false
|
134
|
+
version_requirements: !ruby/object:Gem::Requirement
|
135
|
+
requirements:
|
136
|
+
- - ">="
|
137
|
+
- !ruby/object:Gem::Version
|
138
|
+
version: '0'
|
139
|
+
- !ruby/object:Gem::Dependency
|
140
|
+
name: test-unit
|
141
|
+
requirement: !ruby/object:Gem::Requirement
|
142
|
+
requirements:
|
143
|
+
- - ">="
|
144
|
+
- !ruby/object:Gem::Version
|
145
|
+
version: '0'
|
146
|
+
type: :development
|
147
|
+
prerelease: false
|
148
|
+
version_requirements: !ruby/object:Gem::Requirement
|
149
|
+
requirements:
|
150
|
+
- - ">="
|
151
|
+
- !ruby/object:Gem::Version
|
152
|
+
version: '0'
|
153
|
+
- !ruby/object:Gem::Dependency
|
154
|
+
name: minitest
|
155
|
+
requirement: !ruby/object:Gem::Requirement
|
156
|
+
requirements:
|
157
|
+
- - ">="
|
158
|
+
- !ruby/object:Gem::Version
|
159
|
+
version: '0'
|
160
|
+
type: :development
|
161
|
+
prerelease: false
|
162
|
+
version_requirements: !ruby/object:Gem::Requirement
|
163
|
+
requirements:
|
164
|
+
- - ">="
|
165
|
+
- !ruby/object:Gem::Version
|
166
|
+
version: '0'
|
167
|
+
- !ruby/object:Gem::Dependency
|
168
|
+
name: watir
|
169
|
+
requirement: !ruby/object:Gem::Requirement
|
170
|
+
requirements:
|
171
|
+
- - ">="
|
172
|
+
- !ruby/object:Gem::Version
|
173
|
+
version: '0'
|
174
|
+
type: :development
|
175
|
+
prerelease: false
|
176
|
+
version_requirements: !ruby/object:Gem::Requirement
|
177
|
+
requirements:
|
178
|
+
- - ">="
|
179
|
+
- !ruby/object:Gem::Version
|
180
|
+
version: '0'
|
181
|
+
- !ruby/object:Gem::Dependency
|
182
|
+
name: rspec
|
183
|
+
requirement: !ruby/object:Gem::Requirement
|
184
|
+
requirements:
|
185
|
+
- - ">="
|
186
|
+
- !ruby/object:Gem::Version
|
187
|
+
version: '0'
|
188
|
+
type: :development
|
189
|
+
prerelease: false
|
190
|
+
version_requirements: !ruby/object:Gem::Requirement
|
191
|
+
requirements:
|
192
|
+
- - ">="
|
193
|
+
- !ruby/object:Gem::Version
|
194
|
+
version: '0'
|
195
|
+
description: ywesee distributed invoice manager. A Ruby gem
|
196
|
+
email: mhatakeyama@ywesee.com, zdavatz@ywesee.com, ngiger@ywesee.com
|
197
|
+
executables:
|
198
|
+
- ydim-htmld
|
199
|
+
extensions: []
|
200
|
+
extra_rdoc_files: []
|
201
|
+
files:
|
202
|
+
- ".gitignore"
|
203
|
+
- ".travis.yml"
|
204
|
+
- Gemfile
|
205
|
+
- History.txt
|
206
|
+
- LICENSE.txt
|
207
|
+
- Manifest.txt
|
208
|
+
- Rakefile
|
209
|
+
- bin/ydim-htmld
|
210
|
+
- doc/favicon.ico
|
211
|
+
- doc/index.rbx
|
212
|
+
- doc/resources/javascript/dojo.js
|
213
|
+
- doc/resources/javascript/iframe_history.html
|
214
|
+
- doc/resources/javascript/ydim.js
|
215
|
+
- doc/resources/ydim/ydim.css
|
216
|
+
- lib/ydim/html.rb
|
217
|
+
- lib/ydim/html/config.rb
|
218
|
+
- lib/ydim/html/state/ajax_values.rb
|
219
|
+
- lib/ydim/html/state/autoinvoice.rb
|
220
|
+
- lib/ydim/html/state/confirm.rb
|
221
|
+
- lib/ydim/html/state/debitor.rb
|
222
|
+
- lib/ydim/html/state/debitors.rb
|
223
|
+
- lib/ydim/html/state/global.rb
|
224
|
+
- lib/ydim/html/state/global_predefine.rb
|
225
|
+
- lib/ydim/html/state/init.rb
|
226
|
+
- lib/ydim/html/state/invoice.rb
|
227
|
+
- lib/ydim/html/state/invoices.rb
|
228
|
+
- lib/ydim/html/state/pdf.rb
|
229
|
+
- lib/ydim/html/util/lookandfeel.rb
|
230
|
+
- lib/ydim/html/util/server.rb
|
231
|
+
- lib/ydim/html/util/session.rb
|
232
|
+
- lib/ydim/html/util/validator.rb
|
233
|
+
- lib/ydim/html/version.rb
|
234
|
+
- lib/ydim/html/view/ajax_values.rb
|
235
|
+
- lib/ydim/html/view/autoinvoice.rb
|
236
|
+
- lib/ydim/html/view/autoinvoices.rb
|
237
|
+
- lib/ydim/html/view/confirm.rb
|
238
|
+
- lib/ydim/html/view/debitor.rb
|
239
|
+
- lib/ydim/html/view/debitors.rb
|
240
|
+
- lib/ydim/html/view/htmlgrid.rb
|
241
|
+
- lib/ydim/html/view/init.rb
|
242
|
+
- lib/ydim/html/view/invoice.rb
|
243
|
+
- lib/ydim/html/view/invoices.rb
|
244
|
+
- lib/ydim/html/view/navigation.rb
|
245
|
+
- lib/ydim/html/view/pdf.rb
|
246
|
+
- lib/ydim/html/view/template.rb
|
247
|
+
- readme.md
|
248
|
+
- spec/smoketest_spec.rb
|
249
|
+
- spec/spec_helper.rb
|
250
|
+
- spec/stub/http_server.rb
|
251
|
+
- test/selenium.rb
|
252
|
+
- test/selenium/selenium-server.jar
|
253
|
+
- test/selenium/test_autoinvoice.rb
|
254
|
+
- test/selenium/test_debitor.rb
|
255
|
+
- test/selenium/test_debitors.rb
|
256
|
+
- test/selenium/test_init.rb
|
257
|
+
- test/selenium/test_invoice.rb
|
258
|
+
- test/selenium/test_invoices.rb
|
259
|
+
- test/selenium/unit.rb
|
260
|
+
- test/stub/http_server.rb
|
261
|
+
- test/suite.rb
|
262
|
+
- ydim-html.gemspec
|
263
|
+
homepage: https://github.com/zdavatz/ydim
|
264
|
+
licenses:
|
265
|
+
- GPL-v2
|
266
|
+
metadata: {}
|
267
|
+
post_install_message:
|
268
|
+
rdoc_options: []
|
269
|
+
require_paths:
|
270
|
+
- lib
|
271
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
272
|
+
requirements:
|
273
|
+
- - ">="
|
274
|
+
- !ruby/object:Gem::Version
|
275
|
+
version: '0'
|
276
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
277
|
+
requirements:
|
278
|
+
- - ">="
|
279
|
+
- !ruby/object:Gem::Version
|
280
|
+
version: '0'
|
281
|
+
requirements: []
|
282
|
+
rubyforge_project:
|
283
|
+
rubygems_version: 2.4.5
|
284
|
+
signing_key:
|
285
|
+
specification_version: 4
|
286
|
+
summary: ywesee distributed invoice manager
|
287
|
+
test_files:
|
288
|
+
- spec/smoketest_spec.rb
|
289
|
+
- spec/spec_helper.rb
|
290
|
+
- spec/stub/http_server.rb
|
291
|
+
- test/selenium.rb
|
292
|
+
- test/selenium/selenium-server.jar
|
293
|
+
- test/selenium/test_autoinvoice.rb
|
294
|
+
- test/selenium/test_debitor.rb
|
295
|
+
- test/selenium/test_debitors.rb
|
296
|
+
- test/selenium/test_init.rb
|
297
|
+
- test/selenium/test_invoice.rb
|
298
|
+
- test/selenium/test_invoices.rb
|
299
|
+
- test/selenium/unit.rb
|
300
|
+
- test/stub/http_server.rb
|
301
|
+
- test/suite.rb
|
302
|
+
has_rdoc:
|