dradis-mediawiki 3.18.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.github/issue_template.md +16 -0
- data/.github/pull_request_template.md +36 -0
- data/.rspec +2 -0
- data/CHANGELOG.md +51 -0
- data/CONTRIBUTING.md +3 -0
- data/Gemfile +23 -0
- data/LICENSE +339 -0
- data/README.md +32 -0
- data/Rakefile +1 -0
- data/dradis-mediawiki.gemspec +31 -0
- data/lib/dradis-mediawiki.rb +2 -0
- data/lib/dradis/plugins/mediawiki.rb +10 -0
- data/lib/dradis/plugins/mediawiki/engine.rb +17 -0
- data/lib/dradis/plugins/mediawiki/filters.rb +68 -0
- data/lib/dradis/plugins/mediawiki/gem_version.rb +21 -0
- data/lib/dradis/plugins/mediawiki/version.rb +9 -0
- data/lib/tasks/thorfile.rb +17 -0
- data/spec/spec_helper.rb +22 -0
- data/spec/wiki_import_spec.rb +18 -0
- data/test/vendor/mocha-0.9.5/COPYING +3 -0
- data/test/vendor/mocha-0.9.5/MIT-LICENSE +7 -0
- data/test/vendor/mocha-0.9.5/README +37 -0
- data/test/vendor/mocha-0.9.5/README.dradis +4 -0
- data/test/vendor/mocha-0.9.5/RELEASE +269 -0
- data/test/vendor/mocha-0.9.5/Rakefile +207 -0
- data/test/vendor/mocha-0.9.5/lib/mocha.rb +49 -0
- data/test/vendor/mocha-0.9.5/lib/mocha/any_instance_method.rb +55 -0
- data/test/vendor/mocha-0.9.5/lib/mocha/argument_iterator.rb +21 -0
- data/test/vendor/mocha-0.9.5/lib/mocha/backtrace_filter.rb +17 -0
- data/test/vendor/mocha-0.9.5/lib/mocha/cardinality.rb +95 -0
- data/test/vendor/mocha-0.9.5/lib/mocha/central.rb +27 -0
- data/test/vendor/mocha-0.9.5/lib/mocha/change_state_side_effect.rb +19 -0
- data/test/vendor/mocha-0.9.5/lib/mocha/class_method.rb +87 -0
- data/test/vendor/mocha-0.9.5/lib/mocha/configuration.rb +60 -0
- data/test/vendor/mocha-0.9.5/lib/mocha/deprecation.rb +22 -0
- data/test/vendor/mocha-0.9.5/lib/mocha/exception_raiser.rb +17 -0
- data/test/vendor/mocha-0.9.5/lib/mocha/expectation.rb +476 -0
- data/test/vendor/mocha-0.9.5/lib/mocha/expectation_error.rb +15 -0
- data/test/vendor/mocha-0.9.5/lib/mocha/expectation_list.rb +50 -0
- data/test/vendor/mocha-0.9.5/lib/mocha/in_state_ordering_constraint.rb +19 -0
- data/test/vendor/mocha-0.9.5/lib/mocha/inspect.rb +67 -0
- data/test/vendor/mocha-0.9.5/lib/mocha/instance_method.rb +16 -0
- data/test/vendor/mocha-0.9.5/lib/mocha/is_a.rb +9 -0
- data/test/vendor/mocha-0.9.5/lib/mocha/logger.rb +15 -0
- data/test/vendor/mocha-0.9.5/lib/mocha/metaclass.rb +13 -0
- data/test/vendor/mocha-0.9.5/lib/mocha/method_matcher.rb +21 -0
- data/test/vendor/mocha-0.9.5/lib/mocha/mini_test_adapter.rb +50 -0
- data/test/vendor/mocha-0.9.5/lib/mocha/mock.rb +200 -0
- data/test/vendor/mocha-0.9.5/lib/mocha/mockery.rb +181 -0
- data/test/vendor/mocha-0.9.5/lib/mocha/module_method.rb +16 -0
- data/test/vendor/mocha-0.9.5/lib/mocha/multiple_yields.rb +20 -0
- data/test/vendor/mocha-0.9.5/lib/mocha/names.rb +53 -0
- data/test/vendor/mocha-0.9.5/lib/mocha/no_yields.rb +11 -0
- data/test/vendor/mocha-0.9.5/lib/mocha/object.rb +187 -0
- data/test/vendor/mocha-0.9.5/lib/mocha/parameter_matchers.rb +27 -0
- data/test/vendor/mocha-0.9.5/lib/mocha/parameter_matchers/all_of.rb +42 -0
- data/test/vendor/mocha-0.9.5/lib/mocha/parameter_matchers/any_of.rb +47 -0
- data/test/vendor/mocha-0.9.5/lib/mocha/parameter_matchers/any_parameters.rb +40 -0
- data/test/vendor/mocha-0.9.5/lib/mocha/parameter_matchers/anything.rb +33 -0
- data/test/vendor/mocha-0.9.5/lib/mocha/parameter_matchers/base.rb +15 -0
- data/test/vendor/mocha-0.9.5/lib/mocha/parameter_matchers/equals.rb +42 -0
- data/test/vendor/mocha-0.9.5/lib/mocha/parameter_matchers/has_entries.rb +45 -0
- data/test/vendor/mocha-0.9.5/lib/mocha/parameter_matchers/has_entry.rb +56 -0
- data/test/vendor/mocha-0.9.5/lib/mocha/parameter_matchers/has_key.rb +42 -0
- data/test/vendor/mocha-0.9.5/lib/mocha/parameter_matchers/has_value.rb +42 -0
- data/test/vendor/mocha-0.9.5/lib/mocha/parameter_matchers/includes.rb +40 -0
- data/test/vendor/mocha-0.9.5/lib/mocha/parameter_matchers/instance_of.rb +42 -0
- data/test/vendor/mocha-0.9.5/lib/mocha/parameter_matchers/is_a.rb +42 -0
- data/test/vendor/mocha-0.9.5/lib/mocha/parameter_matchers/kind_of.rb +42 -0
- data/test/vendor/mocha-0.9.5/lib/mocha/parameter_matchers/not.rb +42 -0
- data/test/vendor/mocha-0.9.5/lib/mocha/parameter_matchers/object.rb +15 -0
- data/test/vendor/mocha-0.9.5/lib/mocha/parameter_matchers/optionally.rb +55 -0
- data/test/vendor/mocha-0.9.5/lib/mocha/parameter_matchers/regexp_matches.rb +43 -0
- data/test/vendor/mocha-0.9.5/lib/mocha/parameter_matchers/responds_with.rb +43 -0
- data/test/vendor/mocha-0.9.5/lib/mocha/parameter_matchers/yaml_equivalent.rb +43 -0
- data/test/vendor/mocha-0.9.5/lib/mocha/parameters_matcher.rb +37 -0
- data/test/vendor/mocha-0.9.5/lib/mocha/pretty_parameters.rb +28 -0
- data/test/vendor/mocha-0.9.5/lib/mocha/return_values.rb +31 -0
- data/test/vendor/mocha-0.9.5/lib/mocha/sequence.rb +42 -0
- data/test/vendor/mocha-0.9.5/lib/mocha/single_return_value.rb +17 -0
- data/test/vendor/mocha-0.9.5/lib/mocha/single_yield.rb +18 -0
- data/test/vendor/mocha-0.9.5/lib/mocha/standalone.rb +166 -0
- data/test/vendor/mocha-0.9.5/lib/mocha/state_machine.rb +91 -0
- data/test/vendor/mocha-0.9.5/lib/mocha/stubbing_error.rb +16 -0
- data/test/vendor/mocha-0.9.5/lib/mocha/test_case_adapter.rb +103 -0
- data/test/vendor/mocha-0.9.5/lib/mocha/unexpected_invocation.rb +18 -0
- data/test/vendor/mocha-0.9.5/lib/mocha/yield_parameters.rb +31 -0
- data/test/vendor/mocha-0.9.5/lib/mocha_standalone.rb +2 -0
- data/test/vendor/mocha-0.9.5/lib/stubba.rb +4 -0
- data/test/wiki_import_test.rb +106 -0
- metadata +249 -0
@@ -0,0 +1,18 @@
|
|
1
|
+
module Mocha # :nodoc:
|
2
|
+
|
3
|
+
class UnexpectedInvocation
|
4
|
+
|
5
|
+
def initialize(mock, symbol, *arguments)
|
6
|
+
@mock = mock
|
7
|
+
@method_matcher = MethodMatcher.new(symbol)
|
8
|
+
@parameters_matcher = ParametersMatcher.new(arguments)
|
9
|
+
end
|
10
|
+
|
11
|
+
def to_s
|
12
|
+
method_signature = "#{@mock.mocha_inspect}.#{@method_matcher.mocha_inspect}#{@parameters_matcher.mocha_inspect}"
|
13
|
+
"unexpected invocation: #{method_signature}\n"
|
14
|
+
end
|
15
|
+
|
16
|
+
end
|
17
|
+
|
18
|
+
end
|
@@ -0,0 +1,31 @@
|
|
1
|
+
require 'mocha/no_yields'
|
2
|
+
require 'mocha/single_yield'
|
3
|
+
require 'mocha/multiple_yields'
|
4
|
+
|
5
|
+
module Mocha # :nodoc:
|
6
|
+
|
7
|
+
class YieldParameters # :nodoc:
|
8
|
+
|
9
|
+
def initialize
|
10
|
+
@parameter_groups = []
|
11
|
+
end
|
12
|
+
|
13
|
+
def next_invocation
|
14
|
+
case @parameter_groups.length
|
15
|
+
when 0 then NoYields.new
|
16
|
+
when 1 then @parameter_groups.first
|
17
|
+
else @parameter_groups.shift
|
18
|
+
end
|
19
|
+
end
|
20
|
+
|
21
|
+
def add(*parameters)
|
22
|
+
@parameter_groups << SingleYield.new(*parameters)
|
23
|
+
end
|
24
|
+
|
25
|
+
def multiple_add(*parameter_groups)
|
26
|
+
@parameter_groups << MultipleYields.new(*parameter_groups)
|
27
|
+
end
|
28
|
+
|
29
|
+
end
|
30
|
+
|
31
|
+
end
|
@@ -0,0 +1,106 @@
|
|
1
|
+
require 'test/unit'
|
2
|
+
|
3
|
+
# require Rails testing framework
|
4
|
+
require File.dirname(__FILE__) + '/../../../../test/test_helper'
|
5
|
+
|
6
|
+
$:.unshift File.dirname(__FILE__) + '/../lib'
|
7
|
+
require File.dirname(__FILE__) + '/../init'
|
8
|
+
|
9
|
+
# We need mocha (http://mocha.rubyforge.org/) to stub out Net::HTTP in the test
|
10
|
+
# otherwise people testing this library would need to install a MediaWiki on
|
11
|
+
# their own!
|
12
|
+
$:.unshift File.dirname(__FILE__) + '/vendor/mocha-0.9.5/lib'
|
13
|
+
require 'mocha'
|
14
|
+
|
15
|
+
# This class contains test cases for the WikiMedia import plugin
|
16
|
+
class WikiImportTest < Test::Unit::TestCase
|
17
|
+
# Reference strings for assertions
|
18
|
+
WIKI_PAGE=<<EOW#nodoc
|
19
|
+
=Title=
|
20
|
+
Directory Listings
|
21
|
+
|
22
|
+
=Impact=
|
23
|
+
Low
|
24
|
+
|
25
|
+
=Probability=
|
26
|
+
Low
|
27
|
+
|
28
|
+
=Description=
|
29
|
+
Some directories on the server were configured with directory listing enabled.
|
30
|
+
|
31
|
+
This may leak information about the website by revealing files that it uses
|
32
|
+
without requiring the application context in which they are accessed.
|
33
|
+
|
34
|
+
=Recommendation=
|
35
|
+
|
36
|
+
Disable directory listings if possible.
|
37
|
+
EOW
|
38
|
+
DRADIS_NOTE=<<EON#nodoc
|
39
|
+
#[Title]#
|
40
|
+
Directory Listings
|
41
|
+
|
42
|
+
#[Impact]#
|
43
|
+
Low
|
44
|
+
|
45
|
+
#[Probability]#
|
46
|
+
Low
|
47
|
+
|
48
|
+
#[Description]#
|
49
|
+
Some directories on the server were configured with directory listing enabled.
|
50
|
+
|
51
|
+
This may leak information about the website by revealing files that it uses
|
52
|
+
without requiring the application context in which they are accessed.
|
53
|
+
|
54
|
+
#[Recommendation]#
|
55
|
+
|
56
|
+
Disable directory listings if possible.
|
57
|
+
EON
|
58
|
+
|
59
|
+
WIKI_API_RESPONSE=<<EOX
|
60
|
+
<?xml version="1.0"?><api><query><pages><page pageid="2" ns="0" title="Directory Listings"><revisions><rev>=Title=
|
61
|
+
Directory Listings
|
62
|
+
|
63
|
+
=Impact=
|
64
|
+
Low
|
65
|
+
|
66
|
+
=Probability=
|
67
|
+
Low
|
68
|
+
|
69
|
+
=Description=
|
70
|
+
Some directories on the server were configured with directory listing enabled.
|
71
|
+
|
72
|
+
This may leak information about the website by revealing files that it uses
|
73
|
+
without requiring the application context in which they are accessed.
|
74
|
+
|
75
|
+
=Recommendation=
|
76
|
+
|
77
|
+
Disable directory listings if possible.
|
78
|
+
</rev></revisions></page></pages></query></api>
|
79
|
+
EOX
|
80
|
+
|
81
|
+
|
82
|
+
# At some point in the import process we need to translate from
|
83
|
+
# wiki-formatted text into our standard format for notes (see
|
84
|
+
# Note#fields).
|
85
|
+
def test_wiki_to_dradis_fields
|
86
|
+
assert_equal( DRADIS_NOTE, WikiImport::fields_from_wikitext(WIKI_PAGE) )
|
87
|
+
end
|
88
|
+
|
89
|
+
# Connect to a remote wiki, search for a specific string and parse the output
|
90
|
+
# into the format expected by the framework.
|
91
|
+
def test_pull_from_wiki
|
92
|
+
params = { :query => 'directory' }
|
93
|
+
|
94
|
+
# mocha stubs for Net::HTTP. WIKI_API_RESPONSE contains a fictional
|
95
|
+
# response by a MediaWiki server. This will be parsed by the filter to
|
96
|
+
# produce a dradis-formated note
|
97
|
+
response = mock
|
98
|
+
response.expects(:body).returns(WIKI_API_RESPONSE)
|
99
|
+
http = mock
|
100
|
+
http.expects(:get).returns(response)
|
101
|
+
Net::HTTP.stubs(:start).yields( http )
|
102
|
+
|
103
|
+
expected = [ {:title => 'Directory Listings', :description => DRADIS_NOTE} ]
|
104
|
+
assert_equal( expected, WikiImport::Filters::FullTextSearch.run(params) )
|
105
|
+
end
|
106
|
+
end
|
metadata
ADDED
@@ -0,0 +1,249 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: dradis-mediawiki
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 3.18.0
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Daniel Martin
|
8
|
+
autorequire:
|
9
|
+
bindir: bin
|
10
|
+
cert_chain: []
|
11
|
+
date: 2020-07-22 00:00:00.000000000 Z
|
12
|
+
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: dradis-plugins
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - "~>"
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: '3.0'
|
20
|
+
type: :runtime
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - "~>"
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: '3.0'
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: bundler
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - "~>"
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: '1.6'
|
34
|
+
type: :development
|
35
|
+
prerelease: false
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - "~>"
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: '1.6'
|
41
|
+
- !ruby/object:Gem::Dependency
|
42
|
+
name: rake
|
43
|
+
requirement: !ruby/object:Gem::Requirement
|
44
|
+
requirements:
|
45
|
+
- - "~>"
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
version: '10.0'
|
48
|
+
type: :development
|
49
|
+
prerelease: false
|
50
|
+
version_requirements: !ruby/object:Gem::Requirement
|
51
|
+
requirements:
|
52
|
+
- - "~>"
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: '10.0'
|
55
|
+
description: Use a MediaWiki instance as source of re-usable issue entries for Dradis
|
56
|
+
Framework.
|
57
|
+
email:
|
58
|
+
- etd@nomejortu.com
|
59
|
+
executables: []
|
60
|
+
extensions: []
|
61
|
+
extra_rdoc_files: []
|
62
|
+
files:
|
63
|
+
- ".github/issue_template.md"
|
64
|
+
- ".github/pull_request_template.md"
|
65
|
+
- ".rspec"
|
66
|
+
- CHANGELOG.md
|
67
|
+
- CONTRIBUTING.md
|
68
|
+
- Gemfile
|
69
|
+
- LICENSE
|
70
|
+
- README.md
|
71
|
+
- Rakefile
|
72
|
+
- dradis-mediawiki.gemspec
|
73
|
+
- lib/dradis-mediawiki.rb
|
74
|
+
- lib/dradis/plugins/mediawiki.rb
|
75
|
+
- lib/dradis/plugins/mediawiki/engine.rb
|
76
|
+
- lib/dradis/plugins/mediawiki/filters.rb
|
77
|
+
- lib/dradis/plugins/mediawiki/gem_version.rb
|
78
|
+
- lib/dradis/plugins/mediawiki/version.rb
|
79
|
+
- lib/tasks/thorfile.rb
|
80
|
+
- spec/spec_helper.rb
|
81
|
+
- spec/wiki_import_spec.rb
|
82
|
+
- test/vendor/mocha-0.9.5/COPYING
|
83
|
+
- test/vendor/mocha-0.9.5/MIT-LICENSE
|
84
|
+
- test/vendor/mocha-0.9.5/README
|
85
|
+
- test/vendor/mocha-0.9.5/README.dradis
|
86
|
+
- test/vendor/mocha-0.9.5/RELEASE
|
87
|
+
- test/vendor/mocha-0.9.5/Rakefile
|
88
|
+
- test/vendor/mocha-0.9.5/lib/mocha.rb
|
89
|
+
- test/vendor/mocha-0.9.5/lib/mocha/any_instance_method.rb
|
90
|
+
- test/vendor/mocha-0.9.5/lib/mocha/argument_iterator.rb
|
91
|
+
- test/vendor/mocha-0.9.5/lib/mocha/backtrace_filter.rb
|
92
|
+
- test/vendor/mocha-0.9.5/lib/mocha/cardinality.rb
|
93
|
+
- test/vendor/mocha-0.9.5/lib/mocha/central.rb
|
94
|
+
- test/vendor/mocha-0.9.5/lib/mocha/change_state_side_effect.rb
|
95
|
+
- test/vendor/mocha-0.9.5/lib/mocha/class_method.rb
|
96
|
+
- test/vendor/mocha-0.9.5/lib/mocha/configuration.rb
|
97
|
+
- test/vendor/mocha-0.9.5/lib/mocha/deprecation.rb
|
98
|
+
- test/vendor/mocha-0.9.5/lib/mocha/exception_raiser.rb
|
99
|
+
- test/vendor/mocha-0.9.5/lib/mocha/expectation.rb
|
100
|
+
- test/vendor/mocha-0.9.5/lib/mocha/expectation_error.rb
|
101
|
+
- test/vendor/mocha-0.9.5/lib/mocha/expectation_list.rb
|
102
|
+
- test/vendor/mocha-0.9.5/lib/mocha/in_state_ordering_constraint.rb
|
103
|
+
- test/vendor/mocha-0.9.5/lib/mocha/inspect.rb
|
104
|
+
- test/vendor/mocha-0.9.5/lib/mocha/instance_method.rb
|
105
|
+
- test/vendor/mocha-0.9.5/lib/mocha/is_a.rb
|
106
|
+
- test/vendor/mocha-0.9.5/lib/mocha/logger.rb
|
107
|
+
- test/vendor/mocha-0.9.5/lib/mocha/metaclass.rb
|
108
|
+
- test/vendor/mocha-0.9.5/lib/mocha/method_matcher.rb
|
109
|
+
- test/vendor/mocha-0.9.5/lib/mocha/mini_test_adapter.rb
|
110
|
+
- test/vendor/mocha-0.9.5/lib/mocha/mock.rb
|
111
|
+
- test/vendor/mocha-0.9.5/lib/mocha/mockery.rb
|
112
|
+
- test/vendor/mocha-0.9.5/lib/mocha/module_method.rb
|
113
|
+
- test/vendor/mocha-0.9.5/lib/mocha/multiple_yields.rb
|
114
|
+
- test/vendor/mocha-0.9.5/lib/mocha/names.rb
|
115
|
+
- test/vendor/mocha-0.9.5/lib/mocha/no_yields.rb
|
116
|
+
- test/vendor/mocha-0.9.5/lib/mocha/object.rb
|
117
|
+
- test/vendor/mocha-0.9.5/lib/mocha/parameter_matchers.rb
|
118
|
+
- test/vendor/mocha-0.9.5/lib/mocha/parameter_matchers/all_of.rb
|
119
|
+
- test/vendor/mocha-0.9.5/lib/mocha/parameter_matchers/any_of.rb
|
120
|
+
- test/vendor/mocha-0.9.5/lib/mocha/parameter_matchers/any_parameters.rb
|
121
|
+
- test/vendor/mocha-0.9.5/lib/mocha/parameter_matchers/anything.rb
|
122
|
+
- test/vendor/mocha-0.9.5/lib/mocha/parameter_matchers/base.rb
|
123
|
+
- test/vendor/mocha-0.9.5/lib/mocha/parameter_matchers/equals.rb
|
124
|
+
- test/vendor/mocha-0.9.5/lib/mocha/parameter_matchers/has_entries.rb
|
125
|
+
- test/vendor/mocha-0.9.5/lib/mocha/parameter_matchers/has_entry.rb
|
126
|
+
- test/vendor/mocha-0.9.5/lib/mocha/parameter_matchers/has_key.rb
|
127
|
+
- test/vendor/mocha-0.9.5/lib/mocha/parameter_matchers/has_value.rb
|
128
|
+
- test/vendor/mocha-0.9.5/lib/mocha/parameter_matchers/includes.rb
|
129
|
+
- test/vendor/mocha-0.9.5/lib/mocha/parameter_matchers/instance_of.rb
|
130
|
+
- test/vendor/mocha-0.9.5/lib/mocha/parameter_matchers/is_a.rb
|
131
|
+
- test/vendor/mocha-0.9.5/lib/mocha/parameter_matchers/kind_of.rb
|
132
|
+
- test/vendor/mocha-0.9.5/lib/mocha/parameter_matchers/not.rb
|
133
|
+
- test/vendor/mocha-0.9.5/lib/mocha/parameter_matchers/object.rb
|
134
|
+
- test/vendor/mocha-0.9.5/lib/mocha/parameter_matchers/optionally.rb
|
135
|
+
- test/vendor/mocha-0.9.5/lib/mocha/parameter_matchers/regexp_matches.rb
|
136
|
+
- test/vendor/mocha-0.9.5/lib/mocha/parameter_matchers/responds_with.rb
|
137
|
+
- test/vendor/mocha-0.9.5/lib/mocha/parameter_matchers/yaml_equivalent.rb
|
138
|
+
- test/vendor/mocha-0.9.5/lib/mocha/parameters_matcher.rb
|
139
|
+
- test/vendor/mocha-0.9.5/lib/mocha/pretty_parameters.rb
|
140
|
+
- test/vendor/mocha-0.9.5/lib/mocha/return_values.rb
|
141
|
+
- test/vendor/mocha-0.9.5/lib/mocha/sequence.rb
|
142
|
+
- test/vendor/mocha-0.9.5/lib/mocha/single_return_value.rb
|
143
|
+
- test/vendor/mocha-0.9.5/lib/mocha/single_yield.rb
|
144
|
+
- test/vendor/mocha-0.9.5/lib/mocha/standalone.rb
|
145
|
+
- test/vendor/mocha-0.9.5/lib/mocha/state_machine.rb
|
146
|
+
- test/vendor/mocha-0.9.5/lib/mocha/stubbing_error.rb
|
147
|
+
- test/vendor/mocha-0.9.5/lib/mocha/test_case_adapter.rb
|
148
|
+
- test/vendor/mocha-0.9.5/lib/mocha/unexpected_invocation.rb
|
149
|
+
- test/vendor/mocha-0.9.5/lib/mocha/yield_parameters.rb
|
150
|
+
- test/vendor/mocha-0.9.5/lib/mocha_standalone.rb
|
151
|
+
- test/vendor/mocha-0.9.5/lib/stubba.rb
|
152
|
+
- test/wiki_import_test.rb
|
153
|
+
homepage: http://dradisframework.org
|
154
|
+
licenses:
|
155
|
+
- GPL-2
|
156
|
+
metadata: {}
|
157
|
+
post_install_message:
|
158
|
+
rdoc_options: []
|
159
|
+
require_paths:
|
160
|
+
- lib
|
161
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
162
|
+
requirements:
|
163
|
+
- - ">="
|
164
|
+
- !ruby/object:Gem::Version
|
165
|
+
version: '0'
|
166
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
167
|
+
requirements:
|
168
|
+
- - ">="
|
169
|
+
- !ruby/object:Gem::Version
|
170
|
+
version: '0'
|
171
|
+
requirements: []
|
172
|
+
rubygems_version: 3.1.2
|
173
|
+
signing_key:
|
174
|
+
specification_version: 4
|
175
|
+
summary: MediaWiki add-on for the Dradis Framework.
|
176
|
+
test_files:
|
177
|
+
- spec/spec_helper.rb
|
178
|
+
- spec/wiki_import_spec.rb
|
179
|
+
- test/vendor/mocha-0.9.5/COPYING
|
180
|
+
- test/vendor/mocha-0.9.5/MIT-LICENSE
|
181
|
+
- test/vendor/mocha-0.9.5/README
|
182
|
+
- test/vendor/mocha-0.9.5/README.dradis
|
183
|
+
- test/vendor/mocha-0.9.5/RELEASE
|
184
|
+
- test/vendor/mocha-0.9.5/Rakefile
|
185
|
+
- test/vendor/mocha-0.9.5/lib/mocha.rb
|
186
|
+
- test/vendor/mocha-0.9.5/lib/mocha/any_instance_method.rb
|
187
|
+
- test/vendor/mocha-0.9.5/lib/mocha/argument_iterator.rb
|
188
|
+
- test/vendor/mocha-0.9.5/lib/mocha/backtrace_filter.rb
|
189
|
+
- test/vendor/mocha-0.9.5/lib/mocha/cardinality.rb
|
190
|
+
- test/vendor/mocha-0.9.5/lib/mocha/central.rb
|
191
|
+
- test/vendor/mocha-0.9.5/lib/mocha/change_state_side_effect.rb
|
192
|
+
- test/vendor/mocha-0.9.5/lib/mocha/class_method.rb
|
193
|
+
- test/vendor/mocha-0.9.5/lib/mocha/configuration.rb
|
194
|
+
- test/vendor/mocha-0.9.5/lib/mocha/deprecation.rb
|
195
|
+
- test/vendor/mocha-0.9.5/lib/mocha/exception_raiser.rb
|
196
|
+
- test/vendor/mocha-0.9.5/lib/mocha/expectation.rb
|
197
|
+
- test/vendor/mocha-0.9.5/lib/mocha/expectation_error.rb
|
198
|
+
- test/vendor/mocha-0.9.5/lib/mocha/expectation_list.rb
|
199
|
+
- test/vendor/mocha-0.9.5/lib/mocha/in_state_ordering_constraint.rb
|
200
|
+
- test/vendor/mocha-0.9.5/lib/mocha/inspect.rb
|
201
|
+
- test/vendor/mocha-0.9.5/lib/mocha/instance_method.rb
|
202
|
+
- test/vendor/mocha-0.9.5/lib/mocha/is_a.rb
|
203
|
+
- test/vendor/mocha-0.9.5/lib/mocha/logger.rb
|
204
|
+
- test/vendor/mocha-0.9.5/lib/mocha/metaclass.rb
|
205
|
+
- test/vendor/mocha-0.9.5/lib/mocha/method_matcher.rb
|
206
|
+
- test/vendor/mocha-0.9.5/lib/mocha/mini_test_adapter.rb
|
207
|
+
- test/vendor/mocha-0.9.5/lib/mocha/mock.rb
|
208
|
+
- test/vendor/mocha-0.9.5/lib/mocha/mockery.rb
|
209
|
+
- test/vendor/mocha-0.9.5/lib/mocha/module_method.rb
|
210
|
+
- test/vendor/mocha-0.9.5/lib/mocha/multiple_yields.rb
|
211
|
+
- test/vendor/mocha-0.9.5/lib/mocha/names.rb
|
212
|
+
- test/vendor/mocha-0.9.5/lib/mocha/no_yields.rb
|
213
|
+
- test/vendor/mocha-0.9.5/lib/mocha/object.rb
|
214
|
+
- test/vendor/mocha-0.9.5/lib/mocha/parameter_matchers.rb
|
215
|
+
- test/vendor/mocha-0.9.5/lib/mocha/parameter_matchers/all_of.rb
|
216
|
+
- test/vendor/mocha-0.9.5/lib/mocha/parameter_matchers/any_of.rb
|
217
|
+
- test/vendor/mocha-0.9.5/lib/mocha/parameter_matchers/any_parameters.rb
|
218
|
+
- test/vendor/mocha-0.9.5/lib/mocha/parameter_matchers/anything.rb
|
219
|
+
- test/vendor/mocha-0.9.5/lib/mocha/parameter_matchers/base.rb
|
220
|
+
- test/vendor/mocha-0.9.5/lib/mocha/parameter_matchers/equals.rb
|
221
|
+
- test/vendor/mocha-0.9.5/lib/mocha/parameter_matchers/has_entries.rb
|
222
|
+
- test/vendor/mocha-0.9.5/lib/mocha/parameter_matchers/has_entry.rb
|
223
|
+
- test/vendor/mocha-0.9.5/lib/mocha/parameter_matchers/has_key.rb
|
224
|
+
- test/vendor/mocha-0.9.5/lib/mocha/parameter_matchers/has_value.rb
|
225
|
+
- test/vendor/mocha-0.9.5/lib/mocha/parameter_matchers/includes.rb
|
226
|
+
- test/vendor/mocha-0.9.5/lib/mocha/parameter_matchers/instance_of.rb
|
227
|
+
- test/vendor/mocha-0.9.5/lib/mocha/parameter_matchers/is_a.rb
|
228
|
+
- test/vendor/mocha-0.9.5/lib/mocha/parameter_matchers/kind_of.rb
|
229
|
+
- test/vendor/mocha-0.9.5/lib/mocha/parameter_matchers/not.rb
|
230
|
+
- test/vendor/mocha-0.9.5/lib/mocha/parameter_matchers/object.rb
|
231
|
+
- test/vendor/mocha-0.9.5/lib/mocha/parameter_matchers/optionally.rb
|
232
|
+
- test/vendor/mocha-0.9.5/lib/mocha/parameter_matchers/regexp_matches.rb
|
233
|
+
- test/vendor/mocha-0.9.5/lib/mocha/parameter_matchers/responds_with.rb
|
234
|
+
- test/vendor/mocha-0.9.5/lib/mocha/parameter_matchers/yaml_equivalent.rb
|
235
|
+
- test/vendor/mocha-0.9.5/lib/mocha/parameters_matcher.rb
|
236
|
+
- test/vendor/mocha-0.9.5/lib/mocha/pretty_parameters.rb
|
237
|
+
- test/vendor/mocha-0.9.5/lib/mocha/return_values.rb
|
238
|
+
- test/vendor/mocha-0.9.5/lib/mocha/sequence.rb
|
239
|
+
- test/vendor/mocha-0.9.5/lib/mocha/single_return_value.rb
|
240
|
+
- test/vendor/mocha-0.9.5/lib/mocha/single_yield.rb
|
241
|
+
- test/vendor/mocha-0.9.5/lib/mocha/standalone.rb
|
242
|
+
- test/vendor/mocha-0.9.5/lib/mocha/state_machine.rb
|
243
|
+
- test/vendor/mocha-0.9.5/lib/mocha/stubbing_error.rb
|
244
|
+
- test/vendor/mocha-0.9.5/lib/mocha/test_case_adapter.rb
|
245
|
+
- test/vendor/mocha-0.9.5/lib/mocha/unexpected_invocation.rb
|
246
|
+
- test/vendor/mocha-0.9.5/lib/mocha/yield_parameters.rb
|
247
|
+
- test/vendor/mocha-0.9.5/lib/mocha_standalone.rb
|
248
|
+
- test/vendor/mocha-0.9.5/lib/stubba.rb
|
249
|
+
- test/wiki_import_test.rb
|