microstation 0.8.6 → 0.8.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/Gemfile +26 -29
- data/Rakefile +45 -45
- data/bin/dgn2pdf +5 -6
- data/bin/dgn_template +23 -25
- data/bin/pw_print +11 -13
- data/cad_files/drawing_no_block.dgn +0 -0
- data/cad_files/drawing_with_3_block.dgn +0 -0
- data/cad_files/drawing_with_block.dgn +0 -0
- data/cad_files/drawing_with_text.dgn +0 -0
- data/lib/microstation/app.rb +91 -87
- data/lib/microstation/cad_input_queue.rb +10 -20
- data/lib/microstation/cell.rb +6 -18
- data/lib/microstation/changer.rb +3 -3
- data/lib/microstation/configuration.rb +33 -50
- data/lib/microstation/criteria_creation_t.rb +4 -8
- data/lib/microstation/dir.rb +27 -59
- data/lib/microstation/directory.rb +2 -7
- data/lib/microstation/drawing.rb +103 -102
- data/lib/microstation/element.rb +55 -68
- data/lib/microstation/enumerator.rb +4 -9
- data/lib/microstation/errors.rb +0 -5
- data/lib/microstation/event_handler.rb +1 -5
- data/lib/microstation/ext/pathname.rb +12 -14
- data/lib/microstation/ext/win32ole.rb +0 -2
- data/lib/microstation/extensions/faa.rb +12 -34
- data/lib/microstation/file_tests.rb +15 -50
- data/lib/microstation/functions.rb +10 -20
- data/lib/microstation/graphics.rb +6 -13
- data/lib/microstation/line.rb +2 -6
- data/lib/microstation/model.rb +11 -20
- data/lib/microstation/model_trait.rb +40 -40
- data/lib/microstation/ole_cad_input_message.rb +25 -34
- data/lib/microstation/ole_helper.rb +58 -66
- data/lib/microstation/pdf_support.rb +7 -16
- data/lib/microstation/point3d.rb +17 -30
- data/lib/microstation/primitive_command_interface.rb +8 -14
- data/lib/microstation/properties.rb +29 -17
- data/lib/microstation/property_handler.rb +6 -8
- data/lib/microstation/scan/color.rb +1 -8
- data/lib/microstation/scan/criteria.rb +17 -33
- data/lib/microstation/scan/klass.rb +8 -12
- data/lib/microstation/scan/level.rb +2 -9
- data/lib/microstation/scan/line_style.rb +4 -12
- data/lib/microstation/scan/line_weight.rb +1 -3
- data/lib/microstation/scan/range.rb +2 -8
- data/lib/microstation/scan/scan_trait.rb +48 -51
- data/lib/microstation/scan/subtype.rb +0 -10
- data/lib/microstation/scan/type.rb +9 -15
- data/lib/microstation/scan_trait.rb +13 -20
- data/lib/microstation/scanner.rb +1 -11
- data/lib/microstation/tag.rb +12 -21
- data/lib/microstation/tag_set.rb +52 -71
- data/lib/microstation/tag_set_trait.rb +6 -10
- data/lib/microstation/tagged_element.rb +16 -28
- data/lib/microstation/template.rb +15 -14
- data/lib/microstation/template_info.rb +35 -49
- data/lib/microstation/template_runner.rb +14 -22
- data/lib/microstation/text.rb +15 -19
- data/lib/microstation/text_node.rb +17 -26
- data/lib/microstation/ts/attribute.rb +16 -20
- data/lib/microstation/ts/instance.rb +28 -38
- data/lib/microstation/ts/tagset_trait.rb +5 -12
- data/lib/microstation/types.rb +0 -3
- data/lib/microstation/version.rb +1 -3
- data/lib/microstation/wrap.rb +3 -10
- data/lib/microstation.rb +53 -68
- data/spec/microstation/app_spec.rb +49 -46
- data/spec/microstation/configuration_spec.rb +45 -43
- data/spec/microstation/drawing_spec.rb +103 -101
- data/spec/microstation/functions_spec.rb +18 -12
- data/spec/microstation/tag_set_spec.rb +57 -55
- data/spec/microstation/template_spec.rb +41 -42
- data/spec/microstation/text_node_spec.rb +16 -14
- data/spec/microstation/text_spec.rb +10 -8
- data/spec/microstation_spec.rb +18 -17
- data/spec/spec_helper.rb +18 -18
- metadata +26 -12
@@ -1,13 +1,13 @@
|
|
1
1
|
# frozen_string_literal: true
|
2
2
|
|
3
|
-
require_relative
|
4
|
-
require
|
5
|
-
require
|
3
|
+
require_relative "../spec_helper"
|
4
|
+
require "fileutils"
|
5
|
+
require "digest/md5"
|
6
6
|
|
7
|
-
require
|
8
|
-
require
|
7
|
+
require "minitest/spec"
|
8
|
+
require "minitest/autorun"
|
9
9
|
|
10
|
-
require
|
10
|
+
require "microstation/template"
|
11
11
|
|
12
12
|
module TestHelper
|
13
13
|
def digest_for_path(file)
|
@@ -22,21 +22,21 @@ end
|
|
22
22
|
describe Microstation::Template do
|
23
23
|
include TestHelper
|
24
24
|
|
25
|
-
describe
|
26
|
-
it
|
25
|
+
describe "initialization" do
|
26
|
+
it "needs a drawing argument" do
|
27
27
|
assert_raises { Microstation::Template.new }
|
28
28
|
end
|
29
29
|
|
30
|
-
it
|
30
|
+
it "requires a valid and existing microstation file" do
|
31
31
|
%w[draw.dgn file://adoc.doc file://anexcel.xls file://autocad.dwg].each do |ftype|
|
32
32
|
assert_raises { Microstation::Template.new(ftype) }
|
33
33
|
end
|
34
34
|
end
|
35
35
|
|
36
|
-
describe
|
37
|
-
let(:file) {
|
36
|
+
describe "given a good dgn file and file exists" do
|
37
|
+
let(:file) { "file.dgn" }
|
38
38
|
|
39
|
-
it
|
39
|
+
it "does not error" do
|
40
40
|
mock = Minitest::Mock.new
|
41
41
|
mock.expect(:file?, true)
|
42
42
|
File.stub :file?, true do
|
@@ -44,7 +44,7 @@ describe Microstation::Template do
|
|
44
44
|
end
|
45
45
|
end
|
46
46
|
|
47
|
-
it
|
47
|
+
it "sets the template" do
|
48
48
|
mock = Minitest::Mock.new
|
49
49
|
mock.expect(:file?, true)
|
50
50
|
File.stub :file?, true do
|
@@ -55,25 +55,25 @@ describe Microstation::Template do
|
|
55
55
|
end
|
56
56
|
end
|
57
57
|
|
58
|
-
describe
|
58
|
+
describe "a drawing with tags" do
|
59
59
|
before do
|
60
|
-
@dgn_name =
|
61
|
-
@dgn_file = drawing_path(
|
60
|
+
@dgn_name = "drawing_with_block.dgn"
|
61
|
+
@dgn_file = drawing_path("drawing_with_block.dgn")
|
62
62
|
@template = Microstation::Template.new(@dgn_file)
|
63
63
|
end
|
64
64
|
|
65
65
|
subject { @template }
|
66
66
|
|
67
|
-
describe
|
67
|
+
describe ".render" do
|
68
68
|
let(:dgn_name) { @dgn_name }
|
69
69
|
let(:template) { @template }
|
70
70
|
let(:dgn_file) { @dgn_file }
|
71
|
-
let(:copied_file) { drawing_path(
|
71
|
+
let(:copied_file) { drawing_path("copied_file.dgn") }
|
72
72
|
let(:output_file) { output_path(dgn_name) }
|
73
|
-
let(:changed_name) {
|
73
|
+
let(:changed_name) { "changed_name.dgn" }
|
74
74
|
let(:locals) do
|
75
|
-
{
|
76
|
-
|
75
|
+
{"a1" => "change 1", "a2" => "change 2",
|
76
|
+
"a3" => "c3", "a4" => "c4"}
|
77
77
|
end
|
78
78
|
|
79
79
|
before do
|
@@ -86,31 +86,31 @@ describe Microstation::Template do
|
|
86
86
|
after do
|
87
87
|
FileUtils.rm(output_file) if File.exist? output_file
|
88
88
|
FileUtils.rm(output_path(changed_name)) if File.exist?(output_path(changed_name))
|
89
|
-
end
|
89
|
+
end
|
90
90
|
|
91
91
|
it "it doesn't error" do
|
92
92
|
template.render(output_dir: OUTPUT_DIR)
|
93
93
|
end
|
94
94
|
|
95
|
-
describe
|
96
|
-
it
|
95
|
+
describe "when locals or tagsets not input" do
|
96
|
+
it "does nothing unless either locals or tagsets" do
|
97
97
|
template.render(output_dir: OUTPUT_DIR)
|
98
98
|
_(File.file?(output_file)).must_equal false
|
99
99
|
end
|
100
100
|
end
|
101
101
|
|
102
|
-
describe
|
103
|
-
it
|
102
|
+
describe "when locals or tagset is set" do
|
103
|
+
it "creates a file" do
|
104
104
|
template.render(output_dir: OUTPUT_DIR, locals: locals)
|
105
105
|
_(File.file?(output_file)).must_equal true
|
106
106
|
end
|
107
107
|
|
108
|
-
it
|
108
|
+
it "changes text" do
|
109
109
|
template.render(output_dir: OUTPUT_DIR,
|
110
|
-
|
110
|
+
locals: {"a1" => "change 1", "a2" => "change 2", "a3" => "c3", "a4" => "c4"})
|
111
111
|
text = Microstation.get_text(output_file)
|
112
|
-
[
|
113
|
-
|
112
|
+
["text1 change 1", "text2 change 2", "text3 c3", "node1 c4\nnode1 ", "node2 \nnode2 ",
|
113
|
+
"text a1 again change 1"].each do |t|
|
114
114
|
_(text).must_include(t)
|
115
115
|
end
|
116
116
|
end
|
@@ -120,19 +120,19 @@ describe Microstation::Template do
|
|
120
120
|
_(FileUtils.compare_file(dgn_file, copied_file)).must_equal true
|
121
121
|
end
|
122
122
|
|
123
|
-
it
|
123
|
+
it "changes the output" do
|
124
124
|
template.render(output_dir: OUTPUT_DIR, locals: locals)
|
125
125
|
_(FileUtils.compare_file(output_file, copied_file)).must_equal false
|
126
126
|
end
|
127
127
|
end
|
128
128
|
|
129
|
-
describe
|
129
|
+
describe "a drawing with multiple blocks of the same block" do
|
130
130
|
# before :all do
|
131
131
|
# @dgn_file = drawing_path('drawing_with_block.dgn')
|
132
132
|
# @template = Microstation::Template.new(@dgn_file)
|
133
133
|
# end
|
134
134
|
|
135
|
-
let(:filename) {
|
135
|
+
let(:filename) { "drawing_with_3_block.dgn" }
|
136
136
|
let(:drawing_file) { drawing_path(filename) }
|
137
137
|
let(:template) { Microstation::Template.new(drawing_file) }
|
138
138
|
let(:output_file) { output_path(filename) }
|
@@ -141,19 +141,18 @@ describe Microstation::Template do
|
|
141
141
|
FileUtils.rm(output_file) if File.exist? output_file
|
142
142
|
end
|
143
143
|
|
144
|
-
it
|
145
|
-
panel = {
|
146
|
-
|
147
|
-
|
148
|
-
template.render(output_dir: OUTPUT_DIR, tagsets: [{
|
149
|
-
Microstation.run do |app|
|
144
|
+
it "updates the drawing_blocks" do
|
145
|
+
panel = {"brk_1_service" => "OUTLETS",
|
146
|
+
"brk_2_service" => "AIR CONDITIONER",
|
147
|
+
"microstation_id" => 324}
|
148
|
+
template.render(output_dir: OUTPUT_DIR, tagsets: [{"electrical_panel_42" => panel}])
|
149
|
+
Microstation.run do |app|
|
150
150
|
drawing = app.open_drawing(output_file)
|
151
|
-
ts = drawing.find_tagset_instance_by_name_and_id(
|
152
|
-
_(ts.brk_2_service).must_equal(
|
151
|
+
ts = drawing.find_tagset_instance_by_name_and_id("electrical_panel_42", 324)
|
152
|
+
_(ts.brk_2_service).must_equal("AIR CONDITIONER")
|
153
153
|
end
|
154
154
|
end
|
155
155
|
end
|
156
|
-
|
157
156
|
end
|
158
157
|
end
|
159
158
|
end
|
@@ -1,8 +1,8 @@
|
|
1
1
|
# frozen_string_literal: true
|
2
2
|
|
3
|
-
require_relative
|
3
|
+
require_relative "../spec_helper"
|
4
4
|
|
5
|
-
describe
|
5
|
+
describe "Microstation::TextNode" do
|
6
6
|
include Minitest::Hooks
|
7
7
|
before(:all) do
|
8
8
|
@app = Microstation::App.new
|
@@ -10,27 +10,29 @@ describe 'Microstation::TextNode' do
|
|
10
10
|
end
|
11
11
|
|
12
12
|
after(:all) do
|
13
|
-
@app.quit
|
13
|
+
@app.quit
|
14
|
+
rescue
|
15
|
+
nil
|
14
16
|
end
|
15
17
|
|
16
|
-
describe
|
18
|
+
describe "given a TextNode" do
|
17
19
|
let(:app) { @app }
|
18
20
|
let(:scanner) { app.create_scanner(:text, &:include_text_nodes) }
|
19
|
-
let(:drawing) { open_existing_drawing(
|
21
|
+
let(:drawing) { open_existing_drawing("drawing_with_text.dgn") }
|
20
22
|
let(:text_node) { drawing.scan_model(scanner).find { |t| !t.empty? } }
|
21
23
|
|
22
|
-
it
|
24
|
+
it "should forward Capitalized methods to @ole_obj" do
|
23
25
|
ole = Minitest::Mock.new
|
24
|
-
ole.expect(:Type,
|
26
|
+
ole.expect(:Type, "A ole type")
|
25
27
|
text_node.stub(:ole_obj, ole) do
|
26
|
-
_(text_node.Type).must_equal
|
28
|
+
_(text_node.Type).must_equal "A ole type"
|
27
29
|
end
|
28
30
|
ole.verify
|
29
31
|
end
|
30
32
|
|
31
|
-
describe
|
33
|
+
describe "ruby string methods" do
|
32
34
|
describe "calling with methods that don't change the string" do
|
33
|
-
it
|
35
|
+
it "should not call the update method" do
|
34
36
|
skip
|
35
37
|
ole = Minitest::Mock.new
|
36
38
|
mock.expect(:update, true)
|
@@ -41,12 +43,12 @@ describe 'Microstation::TextNode' do
|
|
41
43
|
text_node.downcase
|
42
44
|
end
|
43
45
|
|
44
|
-
it
|
46
|
+
it "should give the correct value" do
|
45
47
|
value = text_node.to_s
|
46
48
|
_(text_node.reverse.to_s).must_equal(value.reverse)
|
47
49
|
end
|
48
50
|
|
49
|
-
it
|
51
|
+
it "should retain the same value" do
|
50
52
|
value = text_node.to_s
|
51
53
|
result = text_node.reverse
|
52
54
|
_(text_node.to_s).must_equal(value)
|
@@ -54,8 +56,8 @@ describe 'Microstation::TextNode' do
|
|
54
56
|
end
|
55
57
|
end
|
56
58
|
|
57
|
-
describe
|
58
|
-
it
|
59
|
+
describe "calling with methods that change the string" do
|
60
|
+
it "should change the value" do
|
59
61
|
value = text_node.to_s
|
60
62
|
result = text_node.reverse!
|
61
63
|
_(text_node.to_s).must_equal(result)
|
@@ -1,19 +1,21 @@
|
|
1
1
|
# frozen_string_literal: true
|
2
2
|
|
3
|
-
require_relative
|
3
|
+
require_relative "../spec_helper"
|
4
4
|
|
5
|
-
describe
|
5
|
+
describe "Microstation:Text and Microstation::TextNode" do
|
6
6
|
include Minitest::Hooks
|
7
7
|
before(:all) do
|
8
8
|
@app = Microstation::App.new
|
9
9
|
config_app(@app)
|
10
10
|
end
|
11
11
|
after(:all) do
|
12
|
-
@app.quit
|
12
|
+
@app.quit
|
13
|
+
rescue
|
14
|
+
nil
|
13
15
|
end
|
14
16
|
|
15
|
-
describe
|
16
|
-
let(:drawing) { open_existing_drawing(
|
17
|
+
describe "given a text node initialized by a scan" do
|
18
|
+
let(:drawing) { open_existing_drawing("drawing_with_text.dgn") }
|
17
19
|
let(:criteria) { @app.create_scanner(&:include_textual) }
|
18
20
|
|
19
21
|
before do
|
@@ -23,15 +25,15 @@ describe 'Microstation:Text and Microstation::TextNode' do
|
|
23
25
|
|
24
26
|
let(:text) { @text }
|
25
27
|
|
26
|
-
it
|
28
|
+
it "should be an instance of text" do
|
27
29
|
_(text).must_be_instance_of Microstation::Text
|
28
30
|
end
|
29
31
|
|
30
|
-
it
|
32
|
+
it "should forward all the Microstation commands to ole_obj" do
|
31
33
|
_(text.IsTextElement).must_equal true
|
32
34
|
end
|
33
35
|
|
34
|
-
it
|
36
|
+
it "should update the drawing if the text is changed" do
|
35
37
|
id = text.microstation_id
|
36
38
|
val = text.to_s
|
37
39
|
text.reverse!
|
data/spec/microstation_spec.rb
CHANGED
@@ -1,19 +1,19 @@
|
|
1
1
|
# frozen_string_literal: true
|
2
2
|
|
3
|
-
require_relative
|
3
|
+
require_relative "spec_helper"
|
4
4
|
|
5
5
|
|
6
6
|
describe Microstation do
|
7
|
-
describe
|
7
|
+
describe "#root" do
|
8
8
|
subject { Microstation.root }
|
9
9
|
|
10
|
-
it
|
10
|
+
it "to_s" do
|
11
11
|
_(subject.to_s).must_equal(Pathname.getwd.to_s)
|
12
12
|
end
|
13
13
|
end
|
14
14
|
|
15
|
-
describe
|
16
|
-
it
|
15
|
+
describe "#run" do
|
16
|
+
it "opens up and yields an app" do
|
17
17
|
result = nil
|
18
18
|
Microstation.run do |app|
|
19
19
|
_(app).must_be_instance_of(Microstation::App)
|
@@ -21,25 +21,26 @@ describe Microstation do
|
|
21
21
|
end
|
22
22
|
end
|
23
23
|
|
24
|
-
describe
|
25
|
-
let(:drawing_with_text) { drawing_path(
|
26
|
-
let(:drawing_no_text) { drawing_path(
|
27
|
-
let(:text_for_drawing_with_text){
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
24
|
+
describe "#get_text" do
|
25
|
+
let(:drawing_with_text) { drawing_path("drawing_with_text.dgn") }
|
26
|
+
let(:drawing_no_text) { drawing_path("drawing_no_block.dgn") }
|
27
|
+
let(:text_for_drawing_with_text) {
|
28
|
+
[
|
29
|
+
"Four score and seven years ago our fathers brought forth",
|
30
|
+
"Out out brief candle\nLifes but a walking shadow",
|
31
|
+
"It is my lady, it is my love\nOh that she knew she were"
|
32
|
+
]
|
32
33
|
}
|
33
34
|
|
34
|
-
describe
|
35
|
-
it
|
35
|
+
describe "when drawing has text" do
|
36
|
+
it "returns the text" do
|
36
37
|
text = Microstation.get_text(drawing_with_text)
|
37
38
|
_(text.sort).must_equal(text_for_drawing_with_text.sort)
|
38
39
|
end
|
39
40
|
end
|
40
41
|
|
41
|
-
describe
|
42
|
-
it
|
42
|
+
describe "when drawing has no text" do
|
43
|
+
it "returns an empty array" do
|
43
44
|
_(Microstation.get_text(drawing_no_text)).must_equal([])
|
44
45
|
end
|
45
46
|
end
|
data/spec/spec_helper.rb
CHANGED
@@ -1,20 +1,20 @@
|
|
1
1
|
# frozen_string_literal: true
|
2
2
|
|
3
|
-
require
|
3
|
+
require "pathname"
|
4
4
|
SPEC_DIR = Pathname(__dir__).expand_path
|
5
5
|
ROOT_DIR = SPEC_DIR.parent
|
6
|
-
DRAWING_DIR = ROOT_DIR +
|
7
|
-
OUTPUT_DIR = ROOT_DIR +
|
8
|
-
TEMP_DIR = ROOT_DIR +
|
6
|
+
DRAWING_DIR = ROOT_DIR + "cad_files"
|
7
|
+
OUTPUT_DIR = ROOT_DIR + "test_outdir"
|
8
|
+
TEMP_DIR = ROOT_DIR + "tmp"
|
9
9
|
|
10
|
-
require
|
11
|
-
$LOAD_PATH.unshift(
|
10
|
+
require "bundler/setup"
|
11
|
+
$LOAD_PATH.unshift(ROOT_DIR + "lib")
|
12
12
|
|
13
|
-
require
|
14
|
-
require
|
15
|
-
require
|
16
|
-
require
|
17
|
-
require
|
13
|
+
require "minitest/spec"
|
14
|
+
require "minitest/autorun"
|
15
|
+
require "minitest/hooks/default"
|
16
|
+
require "microstation"
|
17
|
+
require "pry"
|
18
18
|
def drawing_path(file)
|
19
19
|
(DRAWING_DIR + file).expand_path
|
20
20
|
end
|
@@ -32,12 +32,12 @@ def seedfile_path(file)
|
|
32
32
|
end
|
33
33
|
|
34
34
|
def normalize_path(p)
|
35
|
-
p.to_s.sub(/[c,C]:/,
|
35
|
+
p.to_s.sub(/[c,C]:/, "C:")
|
36
36
|
end
|
37
37
|
|
38
38
|
def config_app(app)
|
39
39
|
conf = app.configuration
|
40
|
-
conf.prepend(
|
40
|
+
conf.prepend("MS_SEEDFILES", DRAWING_DIR)
|
41
41
|
# conf.set!('MS_DESIGNSEED','seed2d')
|
42
42
|
end
|
43
43
|
|
@@ -48,11 +48,11 @@ def open_existing_drawing(name)
|
|
48
48
|
@app.open_drawing(path)
|
49
49
|
end
|
50
50
|
|
51
|
-
def new_drawing(name, seedfile:
|
51
|
+
def new_drawing(name, seedfile: "seed2d")
|
52
52
|
seed_path = (drawing_path(seedfile) if seedfile)
|
53
53
|
begin
|
54
54
|
@app.close_active_drawing
|
55
|
-
rescue
|
55
|
+
rescue
|
56
56
|
nil
|
57
57
|
end
|
58
58
|
@path = output_path(name)
|
@@ -71,12 +71,12 @@ def delete_current_drawing
|
|
71
71
|
path = drawing.path
|
72
72
|
begin
|
73
73
|
@app.close_active_drawing
|
74
|
-
rescue
|
74
|
+
rescue
|
75
75
|
nil
|
76
76
|
end
|
77
77
|
begin
|
78
78
|
File.delete path
|
79
|
-
rescue
|
79
|
+
rescue
|
80
80
|
nil
|
81
81
|
end
|
82
82
|
end
|
@@ -86,7 +86,7 @@ def before_new_drawing
|
|
86
86
|
@app.close_active_drawing
|
87
87
|
begin
|
88
88
|
File.delete(@path)
|
89
|
-
rescue
|
89
|
+
rescue
|
90
90
|
nil
|
91
91
|
end
|
92
92
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: microstation
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.8.
|
4
|
+
version: 0.8.7
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Dominic Sisneros
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2023-04-27 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: methadone
|
@@ -156,14 +156,14 @@ dependencies:
|
|
156
156
|
requirements:
|
157
157
|
- - "~>"
|
158
158
|
- !ruby/object:Gem::Version
|
159
|
-
version: '
|
159
|
+
version: '4'
|
160
160
|
type: :development
|
161
161
|
prerelease: false
|
162
162
|
version_requirements: !ruby/object:Gem::Requirement
|
163
163
|
requirements:
|
164
164
|
- - "~>"
|
165
165
|
- !ruby/object:Gem::Version
|
166
|
-
version: '
|
166
|
+
version: '4'
|
167
167
|
- !ruby/object:Gem::Dependency
|
168
168
|
name: hoe-bundler
|
169
169
|
requirement: !ruby/object:Gem::Requirement
|
@@ -235,7 +235,7 @@ dependencies:
|
|
235
235
|
- !ruby/object:Gem::Version
|
236
236
|
version: 0.0.0
|
237
237
|
- !ruby/object:Gem::Dependency
|
238
|
-
name:
|
238
|
+
name: debug
|
239
239
|
requirement: !ruby/object:Gem::Requirement
|
240
240
|
requirements:
|
241
241
|
- - ">"
|
@@ -249,7 +249,7 @@ dependencies:
|
|
249
249
|
- !ruby/object:Gem::Version
|
250
250
|
version: 0.0.0
|
251
251
|
- !ruby/object:Gem::Dependency
|
252
|
-
name:
|
252
|
+
name: rb-readline
|
253
253
|
requirement: !ruby/object:Gem::Requirement
|
254
254
|
requirements:
|
255
255
|
- - ">"
|
@@ -263,7 +263,7 @@ dependencies:
|
|
263
263
|
- !ruby/object:Gem::Version
|
264
264
|
version: 0.0.0
|
265
265
|
- !ruby/object:Gem::Dependency
|
266
|
-
name:
|
266
|
+
name: win32console
|
267
267
|
requirement: !ruby/object:Gem::Requirement
|
268
268
|
requirements:
|
269
269
|
- - ">"
|
@@ -277,7 +277,7 @@ dependencies:
|
|
277
277
|
- !ruby/object:Gem::Version
|
278
278
|
version: 0.0.0
|
279
279
|
- !ruby/object:Gem::Dependency
|
280
|
-
name:
|
280
|
+
name: rb-notifu
|
281
281
|
requirement: !ruby/object:Gem::Requirement
|
282
282
|
requirements:
|
283
283
|
- - ">"
|
@@ -291,7 +291,7 @@ dependencies:
|
|
291
291
|
- !ruby/object:Gem::Version
|
292
292
|
version: 0.0.0
|
293
293
|
- !ruby/object:Gem::Dependency
|
294
|
-
name:
|
294
|
+
name: wdm
|
295
295
|
requirement: !ruby/object:Gem::Requirement
|
296
296
|
requirements:
|
297
297
|
- - ">"
|
@@ -305,7 +305,7 @@ dependencies:
|
|
305
305
|
- !ruby/object:Gem::Version
|
306
306
|
version: 0.0.0
|
307
307
|
- !ruby/object:Gem::Dependency
|
308
|
-
name:
|
308
|
+
name: solargraph
|
309
309
|
requirement: !ruby/object:Gem::Requirement
|
310
310
|
requirements:
|
311
311
|
- - ">"
|
@@ -319,7 +319,21 @@ dependencies:
|
|
319
319
|
- !ruby/object:Gem::Version
|
320
320
|
version: 0.0.0
|
321
321
|
- !ruby/object:Gem::Dependency
|
322
|
-
name:
|
322
|
+
name: standard
|
323
|
+
requirement: !ruby/object:Gem::Requirement
|
324
|
+
requirements:
|
325
|
+
- - ">"
|
326
|
+
- !ruby/object:Gem::Version
|
327
|
+
version: 0.0.0
|
328
|
+
type: :development
|
329
|
+
prerelease: false
|
330
|
+
version_requirements: !ruby/object:Gem::Requirement
|
331
|
+
requirements:
|
332
|
+
- - ">"
|
333
|
+
- !ruby/object:Gem::Version
|
334
|
+
version: 0.0.0
|
335
|
+
- !ruby/object:Gem::Dependency
|
336
|
+
name: solargraph-standardrb
|
323
337
|
requirement: !ruby/object:Gem::Requirement
|
324
338
|
requirements:
|
325
339
|
- - ">"
|
@@ -458,7 +472,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
458
472
|
- !ruby/object:Gem::Version
|
459
473
|
version: '0'
|
460
474
|
requirements: []
|
461
|
-
rubygems_version: 3.
|
475
|
+
rubygems_version: 3.4.12
|
462
476
|
signing_key:
|
463
477
|
specification_version: 4
|
464
478
|
summary: A ruby gem to control and automate Bentley Microstation using win32ole
|