Skip to content

Commit

Permalink
Merge branch 'fork/all_object_to_json' of https://github.com/ONLYOFFI…
Browse files Browse the repository at this point in the history
…CE/doc-builder-testing into fork/all_object_to_json
  • Loading branch information
Yar04ek committed Nov 27, 2023
2 parents 9f33dc8 + 4aa6052 commit 33a239e
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 18 deletions.
32 changes: 20 additions & 12 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,10 @@ GEM
iniparse (1.5.0)
json (2.6.3)
jwt (2.7.1)
nokogiri (1.15.5-arm64-darwin)
racc (~> 1.4)
nokogiri (1.15.5-x86_64-darwin)
language_server-protocol (3.17.0.3)
mini_portile2 (2.8.5)
nokogiri (1.15.4)
mini_portile2 (~> 2.8.2)
racc (~> 1.4)
onlyoffice_pdf_parser (0.5.0)
image_size (>= 2, < 4)
Expand All @@ -22,7 +23,7 @@ GEM
ooxml_decrypt (1.0.0)
nokogiri (~> 1.10)
ruby-ole (~> 1.2)
ooxml_parser (0.34.2)
ooxml_parser (0.37.1)
nokogiri (~> 1)
ooxml_decrypt (~> 1)
rubyzip (~> 2)
Expand All @@ -31,7 +32,7 @@ GEM
iniparse (~> 1.4)
rexml (~> 3.2)
parallel (1.23.0)
parallel_tests (3.13.0)
parallel_tests (4.3.0)
parallel
parser (3.2.2.4)
ast (~> 2.4.1)
Expand Down Expand Up @@ -63,25 +64,32 @@ GEM
diff-lcs (>= 1.2.0, < 2.0)
rspec-support (~> 3.12.0)
rspec-support (3.12.1)
rubocop (1.50.2)
rubocop (1.57.2)
json (~> 2.3)
language_server-protocol (>= 3.17.0)
parallel (~> 1.10)
parser (>= 3.2.0.0)
parser (>= 3.2.2.4)
rainbow (>= 2.2.2, < 4.0)
regexp_parser (>= 1.8, < 3.0)
rexml (>= 3.2.5, < 4.0)
rubocop-ast (>= 1.28.0, < 2.0)
rubocop-ast (>= 1.28.1, < 2.0)
ruby-progressbar (~> 1.7)
unicode-display_width (>= 2.4.0, < 3.0)
rubocop-ast (1.30.0)
parser (>= 3.2.1.0)
rubocop-performance (1.17.1)
rubocop-capybara (2.19.0)
rubocop (~> 1.41)
rubocop-factory_bot (2.24.0)
rubocop (~> 1.33)
rubocop-performance (1.19.1)
rubocop (>= 1.7.0, < 2.0)
rubocop-ast (>= 0.4.0)
rubocop-rake (0.6.0)
rubocop (~> 1.0)
rubocop-rspec (2.17.1)
rubocop (~> 1.33)
rubocop-rspec (2.25.0)
rubocop (~> 1.40)
rubocop-capybara (~> 2.17)
rubocop-factory_bot (~> 2.22)
ruby-ole (1.2.12.2)
ruby-progressbar (1.13.0)
ruby-rc4 (0.1.5)
Expand All @@ -92,7 +100,7 @@ GEM
yard (0.9.34)

PLATFORMS
universal-darwin-23
ruby

DEPENDENCIES
jwt
Expand Down
7 changes: 1 addition & 6 deletions spec/spec_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -10,17 +10,12 @@
# @return [WebDocBuilderWrapper, DocBuilderWrapper]
def builder
@builder ||= if web_builder?
WebDocBuilderWrapper.new(
jwt_key: 'h6DwLNlgK0ALVDvW8V8FfNJK8NSH6AiZ',
jwt_header: 'Authorization',
documentserver_path: 'http://192.168.100.2'
)
WebDocBuilderWrapper.new
else
DocBuilderWrapper.new
end
end


# @return [String] which platform is used to run builder tests
def builder_platform
ENV.fetch('BUILDER_PLATFORM', 'DESKTOP')
Expand Down

0 comments on commit 33a239e

Please sign in to comment.