shoes-core 4.0.0.pre6 → 4.0.0.pre7

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.
Files changed (112) hide show
  1. checksums.yaml +4 -4
  2. data/bin/shoes-picker +1 -1
  3. data/lib/shoes/app.rb +3 -3
  4. data/lib/shoes/arc.rb +6 -5
  5. data/lib/shoes/arrow.rb +31 -0
  6. data/lib/shoes/background.rb +1 -1
  7. data/lib/shoes/border.rb +1 -1
  8. data/lib/shoes/builtin_methods.rb +1 -1
  9. data/lib/shoes/color.rb +3 -3
  10. data/lib/shoes/color/dsl_helpers.rb +10 -7
  11. data/lib/shoes/color/hex_converter.rb +1 -1
  12. data/lib/shoes/common/attachable.rb +11 -0
  13. data/lib/shoes/common/background_element.rb +8 -0
  14. data/lib/shoes/common/hover.rb +7 -17
  15. data/lib/shoes/common/link_finder.rb +12 -0
  16. data/lib/shoes/common/positioning.rb +1 -1
  17. data/lib/shoes/common/state.rb +1 -1
  18. data/lib/shoes/common/style.rb +9 -4
  19. data/lib/shoes/common/translate.rb +24 -0
  20. data/lib/shoes/common/ui_element.rb +1 -0
  21. data/lib/shoes/common/visibility.rb +1 -1
  22. data/lib/shoes/configuration.rb +2 -2
  23. data/lib/shoes/core/version.rb +3 -1
  24. data/lib/shoes/dimensions.rb +6 -2
  25. data/lib/shoes/dsl.rb +34 -14
  26. data/lib/shoes/font.rb +1 -1
  27. data/lib/shoes/gradient.rb +2 -1
  28. data/lib/shoes/image.rb +2 -2
  29. data/lib/shoes/input_box.rb +2 -2
  30. data/lib/shoes/internal_app.rb +8 -8
  31. data/lib/shoes/line.rb +7 -6
  32. data/lib/shoes/link.rb +5 -6
  33. data/lib/shoes/list_box.rb +2 -2
  34. data/lib/shoes/logger.rb +2 -1
  35. data/lib/shoes/mock.rb +1 -0
  36. data/lib/shoes/mock/arrow.rb +15 -0
  37. data/lib/shoes/mock/rect.rb +2 -1
  38. data/lib/shoes/mock/slot.rb +5 -1
  39. data/lib/shoes/mock/star.rb +2 -1
  40. data/lib/shoes/oval.rb +5 -4
  41. data/lib/shoes/point.rb +2 -1
  42. data/lib/shoes/progress.rb +1 -1
  43. data/lib/shoes/rect.rb +3 -2
  44. data/lib/shoes/shape.rb +14 -9
  45. data/lib/shoes/slot.rb +54 -25
  46. data/lib/shoes/slot_contents.rb +1 -3
  47. data/lib/shoes/star.rb +4 -3
  48. data/lib/shoes/text.rb +5 -0
  49. data/lib/shoes/text_block.rb +9 -9
  50. data/lib/shoes/ui/picker.rb +5 -5
  51. data/lib/shoes/version.rb +3 -1
  52. data/lib/shoes/widget.rb +2 -2
  53. data/lib/shoes/window.rb +6 -0
  54. data/spec/shoes/app_spec.rb +16 -16
  55. data/spec/shoes/arc_spec.rb +1 -1
  56. data/spec/shoes/arrow_spec.rb +28 -0
  57. data/spec/shoes/background_spec.rb +2 -2
  58. data/spec/shoes/border_spec.rb +3 -3
  59. data/spec/shoes/builtin_methods_spec.rb +2 -2
  60. data/spec/shoes/button_spec.rb +4 -2
  61. data/spec/shoes/color_spec.rb +12 -12
  62. data/spec/shoes/common/attachable_spec.rb +32 -0
  63. data/spec/shoes/common/inspect_spec.rb +4 -4
  64. data/spec/shoes/common/remove_spec.rb +5 -5
  65. data/spec/shoes/common/rotate_spec.rb +1 -1
  66. data/spec/shoes/common/style_normalizer_spec.rb +4 -4
  67. data/spec/shoes/common/style_spec.rb +15 -11
  68. data/spec/shoes/common/translate_spec.rb +27 -0
  69. data/spec/shoes/dimension_spec.rb +111 -100
  70. data/spec/shoes/dimensions_spec.rb +344 -303
  71. data/spec/shoes/download_spec.rb +17 -17
  72. data/spec/shoes/flow_spec.rb +2 -2
  73. data/spec/shoes/framework_learning_spec.rb +3 -1
  74. data/spec/shoes/helpers/fake_absolute_element.rb +3 -2
  75. data/spec/shoes/helpers/fake_element.rb +3 -2
  76. data/spec/shoes/input_box_spec.rb +2 -2
  77. data/spec/shoes/internal_app_spec.rb +14 -14
  78. data/spec/shoes/link_spec.rb +18 -19
  79. data/spec/shoes/list_box_spec.rb +9 -8
  80. data/spec/shoes/oval_spec.rb +1 -1
  81. data/spec/shoes/point_spec.rb +3 -3
  82. data/spec/shoes/renamed_delegate_spec.rb +2 -2
  83. data/spec/shoes/shape_spec.rb +20 -20
  84. data/spec/shoes/shared_examples/common_methods.rb +2 -2
  85. data/spec/shoes/shared_examples/dsl.rb +2 -2
  86. data/spec/shoes/shared_examples/dsl/flow.rb +1 -1
  87. data/spec/shoes/shared_examples/dsl/pattern.rb +2 -2
  88. data/spec/shoes/shared_examples/dsl/rgb.rb +2 -2
  89. data/spec/shoes/shared_examples/dsl/shape.rb +11 -7
  90. data/spec/shoes/shared_examples/dsl/star.rb +44 -44
  91. data/spec/shoes/shared_examples/dsl/style.rb +1 -1
  92. data/spec/shoes/shared_examples/dsl/text_elements.rb +6 -3
  93. data/spec/shoes/shared_examples/dsl/video.rb +1 -1
  94. data/spec/shoes/shared_examples/dsl_app_context.rb +6 -5
  95. data/spec/shoes/shared_examples/hover.rb +2 -2
  96. data/spec/shoes/shared_examples/shared_element_method.rb +2 -2
  97. data/spec/shoes/shared_examples/slot.rb +32 -21
  98. data/spec/shoes/shared_examples/style.rb +1 -1
  99. data/spec/shoes/slot_spec.rb +24 -7
  100. data/spec/shoes/span_spec.rb +5 -5
  101. data/spec/shoes/spec_helper.rb +1 -1
  102. data/spec/shoes/stack_spec.rb +5 -5
  103. data/spec/shoes/text_block_dimensions_spec.rb +6 -3
  104. data/spec/shoes/text_block_spec.rb +13 -7
  105. data/spec/shoes/text_spec.rb +22 -0
  106. data/spec/shoes/ui/picker_spec.rb +3 -3
  107. data/spec/shoes/url_spec.rb +4 -4
  108. data/spec/shoes/widget_spec.rb +1 -1
  109. data/spec/shoes_spec.rb +3 -3
  110. data/spec/spec_helper.rb +8 -1
  111. metadata +17 -4
  112. data/bin/shoes +0 -1
@@ -70,7 +70,7 @@ shared_examples_for "object with style" do
70
70
 
71
71
  it 'has a style getter for all styles' do
72
72
  subject.supported_styles.each do |style|
73
- expect(subject).to respond_to("#{style}".to_sym)
73
+ expect(subject).to respond_to(style.to_s.to_sym)
74
74
  end
75
75
  end
76
76
  end
@@ -2,13 +2,14 @@ require 'spec_helper'
2
2
 
3
3
  describe Shoes::Slot do
4
4
  include_context "dsl app"
5
- let(:parent) { app }
5
+ let(:parent) { Shoes::Stack.new(app, app, {}) }
6
6
 
7
7
  let(:left) { 44 }
8
8
  let(:top) { 66 }
9
9
  let(:width) { 111 }
10
10
  let(:height) { 333 }
11
11
  let(:input_opts) { {left: left, top: top, width: width, height: height} }
12
+
12
13
  subject(:slot) { Shoes::Slot.new(app, parent, input_opts) }
13
14
 
14
15
  before do
@@ -62,7 +63,7 @@ describe Shoes::Slot do
62
63
 
63
64
  describe 'with a block' do
64
65
  before :each do
65
- subject.clear {add_text_block}
66
+ subject.clear { add_text_block }
66
67
  end
67
68
 
68
69
  it 'has one element afterwards' do
@@ -71,8 +72,24 @@ describe Shoes::Slot do
71
72
  end
72
73
  end
73
74
 
75
+ describe '#remove' do
76
+ before :each do
77
+ Shoes::Para.new app, slot, ['text']
78
+ end
79
+
80
+ it 'removes the child element' do
81
+ subject.remove
82
+ expect(subject.contents).to be_empty
83
+ end
84
+
85
+ it 'notifies the gui' do
86
+ expect(subject.gui).to receive(:remove)
87
+ subject.remove
88
+ end
89
+ end
90
+
74
91
  describe '#remove_child' do
75
- let(:element) {Shoes::FakeElement.new subject}
92
+ let(:element) { Shoes::FakeElement.new subject }
76
93
 
77
94
  before :each do
78
95
  subject.add_child element
@@ -84,7 +101,7 @@ describe Shoes::Slot do
84
101
  end
85
102
 
86
103
  describe '2 elements' do
87
- let(:element2) {Shoes::FakeElement.new subject}
104
+ let(:element2) { Shoes::FakeElement.new subject }
88
105
 
89
106
  before :each do
90
107
  subject.add_child element2
@@ -103,7 +120,7 @@ describe Shoes::Slot do
103
120
 
104
121
  describe "create_bound_block" do
105
122
  let(:callable) { double("block", call: nil) }
106
- let(:block) { Proc.new { callable.call(self) } }
123
+ let(:block) { proc { callable.call(self) } }
107
124
 
108
125
  it "calls within the slot's context" do
109
126
  expect(subject).to receive(:eval_block).with(block)
@@ -121,12 +138,12 @@ describe Shoes::Slot do
121
138
  end
122
139
 
123
140
  describe "with children" do
124
- let(:child) {
141
+ let(:child) do
125
142
  child_element = Shoes::FakeElement.new(subject, height: 100)
126
143
  child_element.absolute_top = 0
127
144
  child_element.gui = double('child gui').as_null_object
128
145
  child_element
129
- }
146
+ end
130
147
 
131
148
  before do
132
149
  subject.add_child(child)
@@ -29,12 +29,12 @@ describe Shoes::Span do
29
29
  end
30
30
 
31
31
  describe 'Looking up styles of the parent text' do
32
- let(:white) {Shoes::COLORS[:white]}
33
- let(:red) {Shoes::COLORS[:red]}
32
+ let(:white) { Shoes::COLORS[:white] }
33
+ let(:red) { Shoes::COLORS[:red] }
34
34
  it 'does not try to merge with parent style when there are none' do
35
35
  parent = double 'parent'
36
36
  span.parent = parent
37
- expect {span.style}.to_not raise_error
37
+ expect { span.style }.to_not raise_error
38
38
  end
39
39
 
40
40
  it 'merges with the styles of the parent text' do
@@ -44,7 +44,7 @@ describe Shoes::Span do
44
44
  end
45
45
 
46
46
  describe 'with own style' do
47
- let(:style) {{stroke: red}}
47
+ let(:style) { {stroke: red} }
48
48
  it 'prefers own values over parent text values' do
49
49
  parent = double 'parent', style: {stroke: white}
50
50
  span.parent = parent
@@ -64,7 +64,7 @@ describe Shoes::Span do
64
64
  describe 'code' do
65
65
  it 'sets font to Lucida Console' do
66
66
  result = app.code 'test'
67
- expect(result.style[:font]).to eq(('Lucida Console'))
67
+ expect(result.style[:font]).to eq('Lucida Console')
68
68
  end
69
69
  end
70
70
 
@@ -9,7 +9,7 @@ def unpack_styles(styles)
9
9
  supported_styles = []
10
10
  styles.each do |style|
11
11
  if Shoes::Common::Style::STYLE_GROUPS[style]
12
- Shoes::Common::Style::STYLE_GROUPS[style].each {|s| supported_styles << s}
12
+ Shoes::Common::Style::STYLE_GROUPS[style].each { |s| supported_styles << s }
13
13
  else
14
14
  supported_styles << style
15
15
  end
@@ -17,13 +17,13 @@ describe Shoes::Stack do
17
17
 
18
18
  def check_self_inside_stack
19
19
  inside_stack = nil
20
- @app.stack do inside_stack = self end
20
+ @app.stack { inside_stack = self }
21
21
  inside_stack
22
22
  end
23
23
  end
24
24
 
25
25
  it 'does not change the context' do
26
- app = Shoes.app do; end
26
+ app = Shoes.app { ; }
27
27
  context_object = ContextObject.new app
28
28
  inside_stack = context_object.check_self_inside_stack
29
29
  expect(inside_stack).to be context_object
@@ -36,17 +36,17 @@ describe Shoes::Stack do
36
36
  it_behaves_like 'arranges elements underneath each other'
37
37
 
38
38
  describe 'small stack height' do
39
- let(:input_opts) {{height: element.height + 10}}
39
+ let(:input_opts) { {height: element.height + 10} }
40
40
  it_behaves_like 'set height and contents alignment'
41
41
  end
42
42
 
43
43
  describe 'big stack height' do
44
- let(:input_opts) {{height: 1000}}
44
+ let(:input_opts) { {height: 1000} }
45
45
  it_behaves_like 'set height and contents alignment'
46
46
  end
47
47
 
48
48
  describe 'with margin' do
49
- let(:input_opts) {{margin: 27}}
49
+ let(:input_opts) { {margin: 27} }
50
50
  it_behaves_like 'taking care of margin'
51
51
  end
52
52
  end
@@ -61,9 +61,12 @@ describe Shoes::TextBlockDimensions do
61
61
  end
62
62
 
63
63
  describe "with parent" do
64
- let(:parent) { double('parent', element_width: 100,
65
- x_dimension: double("x"),
66
- y_dimension: double("y")) }
64
+ let(:parent) do
65
+ double('parent', element_width: 100,
66
+ x_dimension: double("x"),
67
+ y_dimension: double("y"))
68
+ end
69
+
67
70
  subject { Shoes::TextBlockDimensions.new(parent, left, top, nil, height) }
68
71
 
69
72
  it "delegates to parent if no width of its own" do
@@ -275,7 +275,7 @@ describe Shoes::TextBlock do
275
275
  # end
276
276
  #
277
277
  context "with nested text fragments" do
278
- let(:helper) {Sample17Helper.new(app)}
278
+ let(:helper) { Sample17Helper.new(app) }
279
279
  let!(:para) { helper.create_para }
280
280
 
281
281
  it "has full text of fragments" do
@@ -284,12 +284,12 @@ describe Shoes::TextBlock do
284
284
 
285
285
  it "has fragment styles" do
286
286
  text_styles = {
287
- 21..33 => [helper.strong_breadsticks],
288
- 34..46 => [helper.em],
289
- 47..59 => [helper.code],
290
- 60..71 => [helper.bg, helper.fg, helper.strong, helper.ins],
291
- 72..76 => [helper.sub]
292
- }
287
+ 21..33 => [helper.strong_breadsticks],
288
+ 34..46 => [helper.em],
289
+ 47..59 => [helper.code],
290
+ 60..71 => [helper.bg, helper.fg, helper.strong, helper.ins],
291
+ 72..76 => [helper.sub]
292
+ }
293
293
  expect(para.text_styles).to eq(text_styles)
294
294
  end
295
295
 
@@ -305,4 +305,10 @@ describe Shoes::TextBlock do
305
305
  expect(helper.ins.text_block).to eq para
306
306
  end
307
307
  end
308
+
309
+ describe "links" do
310
+ it "finds em" do
311
+ expect(text_block.links).to eq([text_link])
312
+ end
313
+ end
308
314
  end
@@ -0,0 +1,22 @@
1
+ require 'spec_helper'
2
+
3
+ describe Shoes::Text do
4
+ include_context "dsl app"
5
+
6
+ let(:link) { Shoes::Link.new(app, ['link']) }
7
+
8
+ it "finds no links" do
9
+ text = Shoes::Text.new(['text'])
10
+ expect(text.links).to be_empty
11
+ end
12
+
13
+ it "finds a link" do
14
+ text = Shoes::Text.new(['text', link])
15
+ expect(text.links).to eq([link])
16
+ end
17
+
18
+ it "finds multiple" do
19
+ text = Shoes::Text.new([Shoes::Text.new(['yo', link]), link])
20
+ expect(text.links).to eq([link, link])
21
+ end
22
+ end
@@ -2,13 +2,13 @@ require 'spec_helper'
2
2
  require 'shoes/ui/picker'
3
3
 
4
4
  describe Shoes::UI::Picker do
5
- let(:swt_backend) { "/gems/lib/shoes/swt/generate-backend.rb" }
6
- let(:faux_backend) { "/gems/lib/shoes/faux/generate-backend.rb" }
5
+ let(:swt_backend) { "/gems/lib/shoes/swt/generate_backend.rb" }
6
+ let(:faux_backend) { "/gems/lib/shoes/faux/generate_backend.rb" }
7
7
 
8
8
  let(:output) { StringIO.new }
9
9
  let(:input) { StringIO.new }
10
10
 
11
- subject { Shoes::UI::Picker.new(input, output) }
11
+ subject { Shoes::UI::Picker.new(input, output) }
12
12
 
13
13
  it "selects single backend generator" do
14
14
  allow(Gem).to receive(:find_files) { [swt_backend] }
@@ -44,21 +44,21 @@ describe 'Shoes.url' do
44
44
 
45
45
  it 'should receive path when visitting path' do
46
46
  expect_any_instance_of(klazz).to receive(:path)
47
- Shoes.app do visit '/path' end
47
+ Shoes.app { visit '/path' }
48
48
  end
49
49
 
50
50
  it 'handles the arguments given in the regexes' do
51
51
  expect_any_instance_of(klazz).to receive(:number).with('7')
52
- Shoes.app do visit '/number/7' end
52
+ Shoes.app { visit '/number/7' }
53
53
  end
54
54
 
55
55
  it 'can call methods defined in the URL class when visitting a URL' do
56
56
  expect_any_instance_of(klazz).to receive(:some_method)
57
- Shoes.app do visit '/foo' end
57
+ Shoes.app { visit '/foo' }
58
58
  end
59
59
 
60
60
  it 'has a location method that returns the current URL' do
61
- Shoes.app do visit('/visit_me') end
61
+ Shoes.app { visit('/visit_me') }
62
62
  end
63
63
 
64
64
  it 'instances report class as klazz (regression, do not ask...)' do
@@ -72,7 +72,7 @@ describe Shoes::Widget do
72
72
 
73
73
  it 'really smiles' do
74
74
  expect_any_instance_of(Smile).to receive(:smile_magic)
75
- Shoes.app do visit '/smile' end
75
+ Shoes.app { visit '/smile' }
76
76
  end
77
77
  end
78
78
  end
data/spec/shoes_spec.rb CHANGED
@@ -1,8 +1,8 @@
1
1
  require 'spec_helper'
2
2
 
3
3
  describe Shoes, 'load_backend' do
4
- it "raises ArgumentError on bad input" do
5
- expect { Shoes.load_backend :bogus }.to raise_error(ArgumentError)
4
+ it "raises on bad input" do
5
+ expect { Shoes.load_backend :bogus }.to raise_error(LoadError)
6
6
  end
7
7
  end
8
8
 
@@ -21,7 +21,7 @@ describe Shoes, 'setup' do
21
21
  end
22
22
 
23
23
  it 'puts a warning message to $stderr' do
24
- Shoes.setup do end
24
+ Shoes.setup {}
25
25
  end
26
26
 
27
27
  it 'warns for individual gems' do
data/spec/spec_helper.rb CHANGED
@@ -2,7 +2,14 @@ SHOESSPEC_ROOT = File.expand_path('..', __FILE__)
2
2
  $LOAD_PATH << File.join(SHOESSPEC_ROOT)
3
3
  $LOAD_PATH << File.join(SHOESSPEC_ROOT, "../lib")
4
4
 
5
- require_relative '../../spec/code_coverage'
5
+ # loaded again when executing DSL specs with the SWT backend, therefore
6
+ # we souldn't start the test coverage again or override the command as it'd
7
+ # mess up merging
8
+ unless defined?(SimpleCov)
9
+ require_relative '../../spec/code_coverage'
10
+ SimpleCov.command_name 'spec:shoes'
11
+ end
12
+
6
13
  require 'rspec'
7
14
  require 'rspec/its'
8
15
  require 'pry'
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: shoes-core
3
3
  version: !ruby/object:Gem::Version
4
- version: 4.0.0.pre6
4
+ version: 4.0.0.pre7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Team Shoes
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-11-07 00:00:00.000000000 Z
11
+ date: 2016-12-11 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description: Shoes is the best little GUI toolkit for Ruby. Shoes makes building for Mac, Windows, and Linux super simple. This is the DSL for writing your app. You'll need a backend to run it.
14
14
  email:
@@ -24,7 +24,6 @@ files:
24
24
  - LICENSE
25
25
  - README.md
26
26
  - Rakefile
27
- - bin/shoes
28
27
  - bin/shoes-picker
29
28
  - bin/shoes-stub
30
29
  - ext/install/Rakefile
@@ -36,6 +35,7 @@ files:
36
35
  - lib/shoes/animation.rb
37
36
  - lib/shoes/app.rb
38
37
  - lib/shoes/arc.rb
38
+ - lib/shoes/arrow.rb
39
39
  - lib/shoes/background.rb
40
40
  - lib/shoes/border.rb
41
41
  - lib/shoes/builtin_methods.rb
@@ -45,6 +45,7 @@ files:
45
45
  - lib/shoes/color/dsl.rb
46
46
  - lib/shoes/color/dsl_helpers.rb
47
47
  - lib/shoes/color/hex_converter.rb
48
+ - lib/shoes/common/attachable.rb
48
49
  - lib/shoes/common/background_element.rb
49
50
  - lib/shoes/common/changeable.rb
50
51
  - lib/shoes/common/clickable.rb
@@ -52,6 +53,7 @@ files:
52
53
  - lib/shoes/common/hover.rb
53
54
  - lib/shoes/common/initialization.rb
54
55
  - lib/shoes/common/inspect.rb
56
+ - lib/shoes/common/link_finder.rb
55
57
  - lib/shoes/common/positioning.rb
56
58
  - lib/shoes/common/registration.rb
57
59
  - lib/shoes/common/remove.rb
@@ -60,6 +62,7 @@ files:
60
62
  - lib/shoes/common/stroke.rb
61
63
  - lib/shoes/common/style.rb
62
64
  - lib/shoes/common/style_normalizer.rb
65
+ - lib/shoes/common/translate.rb
63
66
  - lib/shoes/common/ui_element.rb
64
67
  - lib/shoes/common/visibility.rb
65
68
  - lib/shoes/configuration.rb
@@ -87,6 +90,7 @@ files:
87
90
  - lib/shoes/mock/animation.rb
88
91
  - lib/shoes/mock/app.rb
89
92
  - lib/shoes/mock/arc.rb
93
+ - lib/shoes/mock/arrow.rb
90
94
  - lib/shoes/mock/background.rb
91
95
  - lib/shoes/mock/border.rb
92
96
  - lib/shoes/mock/button.rb
@@ -138,21 +142,25 @@ files:
138
142
  - lib/shoes/url.rb
139
143
  - lib/shoes/version.rb
140
144
  - lib/shoes/widget.rb
145
+ - lib/shoes/window.rb
141
146
  - shoes-core.gemspec
142
147
  - spec/shoes/animation_spec.rb
143
148
  - spec/shoes/app_spec.rb
144
149
  - spec/shoes/arc_spec.rb
150
+ - spec/shoes/arrow_spec.rb
145
151
  - spec/shoes/background_spec.rb
146
152
  - spec/shoes/border_spec.rb
147
153
  - spec/shoes/builtin_methods_spec.rb
148
154
  - spec/shoes/button_spec.rb
149
155
  - spec/shoes/check_spec.rb
150
156
  - spec/shoes/color_spec.rb
157
+ - spec/shoes/common/attachable_spec.rb
151
158
  - spec/shoes/common/inspect_spec.rb
152
159
  - spec/shoes/common/remove_spec.rb
153
160
  - spec/shoes/common/rotate_spec.rb
154
161
  - spec/shoes/common/style_normalizer_spec.rb
155
162
  - spec/shoes/common/style_spec.rb
163
+ - spec/shoes/common/translate_spec.rb
156
164
  - spec/shoes/configuration_spec.rb
157
165
  - spec/shoes/constants_spec.rb
158
166
  - spec/shoes/dialog_spec.rb
@@ -238,6 +246,7 @@ files:
238
246
  - spec/shoes/star_spec.rb
239
247
  - spec/shoes/text_block_dimensions_spec.rb
240
248
  - spec/shoes/text_block_spec.rb
249
+ - spec/shoes/text_spec.rb
241
250
  - spec/shoes/ui/picker_spec.rb
242
251
  - spec/shoes/url_spec.rb
243
252
  - spec/shoes/widget_spec.rb
@@ -267,7 +276,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
267
276
  version: 1.3.1
268
277
  requirements: []
269
278
  rubyforge_project:
270
- rubygems_version: 2.6.6
279
+ rubygems_version: 2.6.8
271
280
  signing_key:
272
281
  specification_version: 4
273
282
  summary: The best little DSL for the best little GUI toolkit for Ruby.
@@ -275,17 +284,20 @@ test_files:
275
284
  - spec/shoes/animation_spec.rb
276
285
  - spec/shoes/app_spec.rb
277
286
  - spec/shoes/arc_spec.rb
287
+ - spec/shoes/arrow_spec.rb
278
288
  - spec/shoes/background_spec.rb
279
289
  - spec/shoes/border_spec.rb
280
290
  - spec/shoes/builtin_methods_spec.rb
281
291
  - spec/shoes/button_spec.rb
282
292
  - spec/shoes/check_spec.rb
283
293
  - spec/shoes/color_spec.rb
294
+ - spec/shoes/common/attachable_spec.rb
284
295
  - spec/shoes/common/inspect_spec.rb
285
296
  - spec/shoes/common/remove_spec.rb
286
297
  - spec/shoes/common/rotate_spec.rb
287
298
  - spec/shoes/common/style_normalizer_spec.rb
288
299
  - spec/shoes/common/style_spec.rb
300
+ - spec/shoes/common/translate_spec.rb
289
301
  - spec/shoes/configuration_spec.rb
290
302
  - spec/shoes/constants_spec.rb
291
303
  - spec/shoes/dialog_spec.rb
@@ -371,6 +383,7 @@ test_files:
371
383
  - spec/shoes/star_spec.rb
372
384
  - spec/shoes/text_block_dimensions_spec.rb
373
385
  - spec/shoes/text_block_spec.rb
386
+ - spec/shoes/text_spec.rb
374
387
  - spec/shoes/ui/picker_spec.rb
375
388
  - spec/shoes/url_spec.rb
376
389
  - spec/shoes/widget_spec.rb