glimmer-cp-cube 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA256:
3
+ metadata.gz: ec5962f932fdf39af18ab3a1e8b95da0195d48ce201f2eb6c6898ea7648d7769
4
+ data.tar.gz: 5e0439bb48031ca9b534901ddcc9d0fe2dccd0574dc61348446776e04aade1cf
5
+ SHA512:
6
+ metadata.gz: dde0b2e2756f39becddba38e6e2907174237192b4df66a3fb478af89297bc4ac36f2d6825a59860a8d75396352590b92cee0b23354ae3e9fdef992f862e3bd0d
7
+ data.tar.gz: cf1469d9f0ce9f1313c92c6c14b7d5f06938b4e32f9c6235db112c77bc25cb0cc3791480b90419204f6075b4bd9a9b13e1359a4a94772eeb515e8c6da827d98f
data/CHANGELOG.md ADDED
@@ -0,0 +1,5 @@
1
+ # Change Log
2
+
3
+ ## 0.1.0
4
+
5
+ - Initial `cube` custom shape implementation
data/LICENSE.txt ADDED
@@ -0,0 +1,20 @@
1
+ Copyright (c) 2022 Andy Maleh
2
+
3
+ Permission is hereby granted, free of charge, to any person obtaining
4
+ a copy of this software and associated documentation files (the
5
+ "Software"), to deal in the Software without restriction, including
6
+ without limitation the rights to use, copy, modify, merge, publish,
7
+ distribute, sublicense, and/or sell copies of the Software, and to
8
+ permit persons to whom the Software is furnished to do so, subject to
9
+ the following conditions:
10
+
11
+ The above copyright notice and this permission notice shall be
12
+ included in all copies or substantial portions of the Software.
13
+
14
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
15
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
16
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
17
+ NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
18
+ LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
19
+ OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
20
+ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
data/README.md ADDED
@@ -0,0 +1,150 @@
1
+ # Cube 0.1.0
2
+ ## [<img src="https://raw.githubusercontent.com/AndyObtiva/glimmer/master/images/glimmer-logo-hi-res.png" height=40 /> Glimmer Custom Shape](https://github.com/AndyObtiva/glimmer-dsl-swt/blob/master/docs/reference/GLIMMER_COMMAND.md#custom-shape-gem)
3
+ [![Gem Version](https://badge.fury.io/rb/glimmer-cp-cube.svg)](http://badge.fury.io/rb/glimmer-cp-cube)
4
+
5
+ [Glimmer DSL for SWT](https://github.com/AndyObtiva/glimmer-dsl-swt) Cube Custom Shape.
6
+
7
+ `cube` is the [Glimmer GUI DSL](https://github.com/AndyObtiva/glimmer-dsl-swt/blob/master/docs/reference/GLIMMER_GUI_DSL_SYNTAX.md#glimmer-gui-dsl-syntax) keyword provided by this [gem](https://rubygems.org/gems/glimmer-cp-cube).
8
+
9
+ ### Screenshot
10
+
11
+ ![cube screenshot](/screenshots/glimmer-cp-cube-hello-cube.png)
12
+
13
+ ### Actual Use
14
+
15
+ It is used in [Glimmer Quarto](https://github.com/AndyObtiva/glimmer-dsl-swt/blob/master/docs/reference/GLIMMER_SAMPLES.md#quarto).
16
+
17
+ ![Glimmer Quarto](https://raw.githubusercontent.com/AndyObtiva/glimmer-dsl-swt/master/images/glimmer-quarto.png)
18
+
19
+ ## Setup
20
+
21
+ ### Bundler
22
+
23
+ Add the follwing to `Gemfile`:
24
+ ```ruby
25
+ gem 'glimmer-cp-cube', '~> 0.1.0'
26
+ ```
27
+
28
+ Run `bundle install` or `bundle`:
29
+ ```
30
+ bundle
31
+ ```
32
+
33
+ ### Direct
34
+
35
+ Run:
36
+ ```
37
+ gem install glimmer-cp-cube
38
+ ```
39
+
40
+ ## API
41
+
42
+ First, add this to your [Ruby](https://www.ruby-lang.org/en/) file:
43
+ ```ruby
44
+ require 'glimmer-cp-cube'
45
+ ```
46
+
47
+ Then, use this keyword:
48
+ ```ruby
49
+ cube(options) { properties_and_listeners }
50
+ ```
51
+
52
+ Options (keyword args) are:
53
+ - `:location_x` (default: 0) (optional): starting location x coordinate within parent
54
+ - `:location_y` (default: 0) (optional): starting location y coordinate within parent
55
+ - `:cube_height`: cube height
56
+ - `:rectangle_width`: top and bottom rectangle width
57
+ - `:rectangle_height`: top and bottom rectangle height
58
+ - `:background_color`: background color
59
+ - `:line_thickness` (optional): line thickness
60
+ - `:pitted` (optional): whether it is pitted (has a black hole on top) or not
61
+
62
+ ## Sample
63
+
64
+ The [glimmer-cp-cube Ruby gem](https://rubygems.org/gems/glimmer-cp-cube) adds to glimmer samples, showing up when you run:
65
+ ```
66
+ glimmer samples
67
+ ```
68
+
69
+ ### Hello, Cube!
70
+
71
+ [Glimmer GUI DSL](https://github.com/AndyObtiva/glimmer-dsl-swt/blob/master/docs/reference/GLIMMER_GUI_DSL_SYNTAX.md#glimmer-gui-dsl-syntax) code (from [samples/cube/hello_cube.rb](/samples/cube/hello_cube.rb)):
72
+
73
+ ```ruby
74
+ require_relative '../../lib/glimmer-cp-cube' # Use `require 'glimmer-cp-cube'` if gem is installed
75
+
76
+ class HelloCube
77
+ include Glimmer::UI::CustomShell
78
+
79
+ body {
80
+ shell {
81
+ text 'Hello, Cube!'
82
+ minimum_size 310, 200
83
+
84
+ canvas {
85
+ background :white
86
+
87
+ text('Cubes can be dragged and moved', :default, 30) {
88
+ font height: 16, style: :bold
89
+ }
90
+
91
+ cube(location_x: 30, location_y: 70, cube_height: 50, rectangle_width: 50, rectangle_height: 25, pitted: false, background_color: rgb(255, 255, 64), line_thickness: 2) { |c|
92
+ drag_and_move true
93
+ }
94
+ cube(location_x: 130, location_y: 70, cube_height: 50, rectangle_width: 50, rectangle_height: 25, pitted: false, background_color: rgb(255, 64, 255), line_thickness: 2) { |c|
95
+ drag_and_move true
96
+ }
97
+ cube(location_x: 230, location_y: 70, cube_height: 50, rectangle_width: 50, rectangle_height: 25, pitted: true, background_color: rgb(64, 255, 255), line_thickness: 2) { |c|
98
+ drag_and_move true
99
+
100
+ on_mouse_up do
101
+ c.pitted = !c.pitted
102
+ end
103
+ }
104
+ }
105
+ }
106
+ }
107
+ end
108
+
109
+ HelloCube.launch
110
+ ```
111
+
112
+ Hello, Cube!
113
+
114
+ ![Hello Cube](/screenshots/glimmer-cp-cube-hello-cube.png)
115
+
116
+ ## Contributing
117
+
118
+ - Check out the latest master to make sure the feature hasn't been
119
+ implemented or the bug hasn't been fixed yet.
120
+ - Check out the issue tracker to make sure someone already hasn't
121
+ requested it and/or contributed it.
122
+ - Fork the project.
123
+ - Start a feature/bugfix branch.
124
+ - Commit and push until you are happy with your contribution.
125
+ - Make sure to add tests for it. This is important so I don't break it
126
+ in a future version unintentionally.
127
+ - Please try not to mess with the Rakefile, version, or history. If
128
+ you want to have your own version, or is otherwise necessary, that
129
+ is fine, but please isolate to its own commit so I can cherry-pick
130
+ around it.
131
+
132
+ ## TODO
133
+
134
+ If you need new features or spot things that need to be fixed or improved, please report in an Issue or submit a Pull Request.
135
+
136
+ [TODO.md](/TODO.md)
137
+
138
+ ## Change Log
139
+
140
+ [CHANGELOG.md](/CHANGELOG.md)
141
+
142
+ ## License
143
+
144
+ [MIT](LICENSE.txt)
145
+
146
+ Copyright (c) 2022 - Andy Maleh.
147
+
148
+ --
149
+
150
+ [<img src="https://raw.githubusercontent.com/AndyObtiva/glimmer/master/images/glimmer-logo-hi-res.png" height=40 />](https://github.com/AndyObtiva/glimmer) Built for [Glimmer DSL for SWT](https://github.com/AndyObtiva/glimmer-dsl-swt) (JRuby Desktop Development GUI Framework).
data/VERSION ADDED
@@ -0,0 +1 @@
1
+ 0.1.0
@@ -0,0 +1,56 @@
1
+ # Generated by juwelier
2
+ # DO NOT EDIT THIS FILE DIRECTLY
3
+ # Instead, edit Juwelier::Tasks in Rakefile, and run 'rake gemspec'
4
+ # -*- encoding: utf-8 -*-
5
+ # stub: glimmer-cp-cube 0.1.0 ruby lib
6
+
7
+ Gem::Specification.new do |s|
8
+ s.name = "glimmer-cp-cube".freeze
9
+ s.version = "0.1.0"
10
+
11
+ s.required_rubygems_version = Gem::Requirement.new(">= 0".freeze) if s.respond_to? :required_rubygems_version=
12
+ s.require_paths = ["lib".freeze]
13
+ s.authors = ["Andy Maleh".freeze]
14
+ s.date = "2022-01-08"
15
+ s.description = "Cube - Glimmer DSL for SWT Custom Shape".freeze
16
+ s.email = "andy.am@gmail.com".freeze
17
+ s.extra_rdoc_files = [
18
+ "LICENSE.txt",
19
+ "README.md"
20
+ ]
21
+ s.files = [
22
+ "CHANGELOG.md",
23
+ "LICENSE.txt",
24
+ "README.md",
25
+ "VERSION",
26
+ "glimmer-cp-cube.gemspec",
27
+ "lib/glimmer-cp-cube.rb",
28
+ "lib/glimmer/view/cube.rb",
29
+ "samples/cube/hello_cube.rb"
30
+ ]
31
+ s.homepage = "http://github.com/AndyObtiva/glimmer-cp-cube".freeze
32
+ s.licenses = ["MIT".freeze]
33
+ s.rubygems_version = "3.2.29".freeze
34
+ s.summary = "Cube - Glimmer Custom Shape".freeze
35
+
36
+ if s.respond_to? :specification_version then
37
+ s.specification_version = 4
38
+ end
39
+
40
+ if s.respond_to? :add_runtime_dependency then
41
+ s.add_runtime_dependency(%q<glimmer-dsl-swt>.freeze, ["~> 4.22"])
42
+ s.add_runtime_dependency(%q<psych>.freeze, ["= 3.3.2"])
43
+ s.add_development_dependency(%q<rspec>.freeze, ["~> 3.5.0"])
44
+ s.add_development_dependency(%q<juwelier>.freeze, ["= 2.4.9"])
45
+ s.add_development_dependency(%q<warbler>.freeze, ["= 2.0.5"])
46
+ s.add_development_dependency(%q<simplecov>.freeze, [">= 0"])
47
+ else
48
+ s.add_dependency(%q<glimmer-dsl-swt>.freeze, ["~> 4.22"])
49
+ s.add_dependency(%q<psych>.freeze, ["= 3.3.2"])
50
+ s.add_dependency(%q<rspec>.freeze, ["~> 3.5.0"])
51
+ s.add_dependency(%q<juwelier>.freeze, ["= 2.4.9"])
52
+ s.add_dependency(%q<warbler>.freeze, ["= 2.0.5"])
53
+ s.add_dependency(%q<simplecov>.freeze, [">= 0"])
54
+ end
55
+ end
56
+
@@ -0,0 +1,89 @@
1
+ # Copyright (c) 2022 Andy Maleh
2
+ #
3
+ # Permission is hereby granted, free of charge, to any person obtaining
4
+ # a copy of this software and associated documentation files (the
5
+ # "Software"), to deal in the Software without restriction, including
6
+ # without limitation the rights to use, copy, modify, merge, publish,
7
+ # distribute, sublicense, and/or sell copies of the Software, and to
8
+ # permit persons to whom the Software is furnished to do so, subject to
9
+ # the following conditions:
10
+ #
11
+ # The above copyright notice and this permission notice shall be
12
+ # included in all copies or substantial portions of the Software.
13
+ #
14
+ # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
15
+ # EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
16
+ # MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
17
+ # NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
18
+ # LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
19
+ # OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
20
+ # WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
21
+
22
+ module Glimmer
23
+ module View
24
+ class Cube
25
+ include Glimmer::UI::CustomShape
26
+
27
+ DEFAULT_SIZE = 28
28
+
29
+ options :location_x, :location_y, :rectangle_width, :rectangle_height, :cube_height, :pitted, :background_color, :line_thickness
30
+ alias pitted? pitted
31
+
32
+ def pitted=(value)
33
+ options[:pitted] = value
34
+ if value
35
+ body_root.content {
36
+ @pit ||= pit
37
+ }
38
+ else
39
+ @pit&.dispose
40
+ @pit = nil
41
+ end
42
+ end
43
+
44
+ before_body do
45
+ self.location_x ||= 0
46
+ self.location_y ||= 0
47
+ self.rectangle_width ||= rectangle_height || cube_height || DEFAULT_SIZE
48
+ self.rectangle_height ||= rectangle_width || cube_height || DEFAULT_SIZE
49
+ self.cube_height ||= rectangle_width || rectangle_height || DEFAULT_SIZE
50
+ self.line_thickness ||= 1
51
+ end
52
+
53
+ body {
54
+ shape(location_x, location_y) {
55
+ polygon(0, cube_height + rectangle_height / 2.0, rectangle_width / 2.0, cube_height, rectangle_width, cube_height + rectangle_height / 2.0, rectangle_width / 2.0, cube_height + rectangle_height) {
56
+ background background_color
57
+ }
58
+ polygon(0, cube_height + rectangle_height / 2.0, rectangle_width / 2.0, cube_height, rectangle_width, cube_height + rectangle_height / 2.0, rectangle_width / 2.0, cube_height + rectangle_height) {
59
+ line_width line_thickness
60
+ }
61
+ rectangle(0, rectangle_height / 2.0, rectangle_width, cube_height) {
62
+ background background_color
63
+ }
64
+ polyline(0, rectangle_height / 2.0 + cube_height, 0, rectangle_height / 2.0, rectangle_width, rectangle_height / 2.0, rectangle_width, rectangle_height / 2.0 + cube_height) {
65
+ line_width line_thickness
66
+ }
67
+ polygon(0, rectangle_height / 2.0, rectangle_width / 2.0, 0, rectangle_width, rectangle_height / 2.0, rectangle_width / 2.0, rectangle_height) {
68
+ background background_color
69
+ }
70
+ polygon(0, rectangle_height / 2.0, rectangle_width / 2.0, 0, rectangle_width, rectangle_height / 2.0, rectangle_width / 2.0, rectangle_height) {
71
+ line_width line_thickness
72
+ }
73
+ line(rectangle_width / 2.0, cube_height + rectangle_height, rectangle_width / 2.0, rectangle_height) {
74
+ line_width line_thickness
75
+ }
76
+ if pitted?
77
+ @pit = pit
78
+ end
79
+ }
80
+ }
81
+
82
+ def pit
83
+ oval(rectangle_width / 4.0, rectangle_height / 4.0, rectangle_width / 2.0, rectangle_height / 2.0) {
84
+ background :black
85
+ }
86
+ end
87
+ end
88
+ end
89
+ end
@@ -0,0 +1,25 @@
1
+ # Copyright (c) 2022 Andy Maleh
2
+ #
3
+ # Permission is hereby granted, free of charge, to any person obtaining
4
+ # a copy of this software and associated documentation files (the
5
+ # "Software"), to deal in the Software without restriction, including
6
+ # without limitation the rights to use, copy, modify, merge, publish,
7
+ # distribute, sublicense, and/or sell copies of the Software, and to
8
+ # permit persons to whom the Software is furnished to do so, subject to
9
+ # the following conditions:
10
+ #
11
+ # The above copyright notice and this permission notice shall be
12
+ # included in all copies or substantial portions of the Software.
13
+ #
14
+ # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
15
+ # EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
16
+ # MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
17
+ # NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
18
+ # LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
19
+ # OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
20
+ # WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
21
+
22
+ $LOAD_PATH.unshift(File.expand_path('..', __FILE__))
23
+
24
+ require 'glimmer-dsl-swt'
25
+ require 'glimmer/view/cube'
@@ -0,0 +1,57 @@
1
+ # Copyright (c) 2022 Andy Maleh
2
+ #
3
+ # Permission is hereby granted, free of charge, to any person obtaining
4
+ # a copy of this software and associated documentation files (the
5
+ # "Software"), to deal in the Software without restriction, including
6
+ # without limitation the rights to use, copy, modify, merge, publish,
7
+ # distribute, sublicense, and/or sell copies of the Software, and to
8
+ # permit persons to whom the Software is furnished to do so, subject to
9
+ # the following conditions:
10
+ #
11
+ # The above copyright notice and this permission notice shall be
12
+ # included in all copies or substantial portions of the Software.
13
+ #
14
+ # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
15
+ # EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
16
+ # MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
17
+ # NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
18
+ # LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
19
+ # OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
20
+ # WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
21
+
22
+ require_relative '../../lib/glimmer-cp-cube' # Use `require 'glimmer-cp-cube'` if gem is installed
23
+
24
+ class HelloCube
25
+ include Glimmer::UI::CustomShell
26
+
27
+ body {
28
+ shell {
29
+ text 'Hello, Cube!'
30
+ minimum_size 310, 200
31
+
32
+ canvas {
33
+ background :white
34
+
35
+ text('Cubes can be dragged and moved', :default, 30) {
36
+ font height: 16, style: :bold
37
+ }
38
+
39
+ cube(location_x: 30, location_y: 70, cube_height: 50, rectangle_width: 50, rectangle_height: 25, pitted: false, background_color: rgb(255, 255, 64), line_thickness: 2) { |c|
40
+ drag_and_move true
41
+ }
42
+ cube(location_x: 130, location_y: 70, cube_height: 50, rectangle_width: 50, rectangle_height: 25, pitted: false, background_color: rgb(255, 64, 255), line_thickness: 2) { |c|
43
+ drag_and_move true
44
+ }
45
+ cube(location_x: 230, location_y: 70, cube_height: 50, rectangle_width: 50, rectangle_height: 25, pitted: true, background_color: rgb(64, 255, 255), line_thickness: 2) { |c|
46
+ drag_and_move true
47
+
48
+ on_mouse_up do
49
+ c.pitted = !c.pitted
50
+ end
51
+ }
52
+ }
53
+ }
54
+ }
55
+ end
56
+
57
+ HelloCube.launch
metadata ADDED
@@ -0,0 +1,136 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: glimmer-cp-cube
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.1.0
5
+ platform: ruby
6
+ authors:
7
+ - Andy Maleh
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2022-01-08 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ requirement: !ruby/object:Gem::Requirement
15
+ requirements:
16
+ - - "~>"
17
+ - !ruby/object:Gem::Version
18
+ version: '4.22'
19
+ name: glimmer-dsl-swt
20
+ prerelease: false
21
+ type: :runtime
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - "~>"
25
+ - !ruby/object:Gem::Version
26
+ version: '4.22'
27
+ - !ruby/object:Gem::Dependency
28
+ requirement: !ruby/object:Gem::Requirement
29
+ requirements:
30
+ - - '='
31
+ - !ruby/object:Gem::Version
32
+ version: 3.3.2
33
+ name: psych
34
+ prerelease: false
35
+ type: :runtime
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - '='
39
+ - !ruby/object:Gem::Version
40
+ version: 3.3.2
41
+ - !ruby/object:Gem::Dependency
42
+ requirement: !ruby/object:Gem::Requirement
43
+ requirements:
44
+ - - "~>"
45
+ - !ruby/object:Gem::Version
46
+ version: 3.5.0
47
+ name: rspec
48
+ prerelease: false
49
+ type: :development
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - "~>"
53
+ - !ruby/object:Gem::Version
54
+ version: 3.5.0
55
+ - !ruby/object:Gem::Dependency
56
+ requirement: !ruby/object:Gem::Requirement
57
+ requirements:
58
+ - - '='
59
+ - !ruby/object:Gem::Version
60
+ version: 2.4.9
61
+ name: juwelier
62
+ prerelease: false
63
+ type: :development
64
+ version_requirements: !ruby/object:Gem::Requirement
65
+ requirements:
66
+ - - '='
67
+ - !ruby/object:Gem::Version
68
+ version: 2.4.9
69
+ - !ruby/object:Gem::Dependency
70
+ requirement: !ruby/object:Gem::Requirement
71
+ requirements:
72
+ - - '='
73
+ - !ruby/object:Gem::Version
74
+ version: 2.0.5
75
+ name: warbler
76
+ prerelease: false
77
+ type: :development
78
+ version_requirements: !ruby/object:Gem::Requirement
79
+ requirements:
80
+ - - '='
81
+ - !ruby/object:Gem::Version
82
+ version: 2.0.5
83
+ - !ruby/object:Gem::Dependency
84
+ requirement: !ruby/object:Gem::Requirement
85
+ requirements:
86
+ - - ">="
87
+ - !ruby/object:Gem::Version
88
+ version: '0'
89
+ name: simplecov
90
+ prerelease: false
91
+ type: :development
92
+ version_requirements: !ruby/object:Gem::Requirement
93
+ requirements:
94
+ - - ">="
95
+ - !ruby/object:Gem::Version
96
+ version: '0'
97
+ description: Cube - Glimmer DSL for SWT Custom Shape
98
+ email: andy.am@gmail.com
99
+ executables: []
100
+ extensions: []
101
+ extra_rdoc_files:
102
+ - LICENSE.txt
103
+ - README.md
104
+ files:
105
+ - CHANGELOG.md
106
+ - LICENSE.txt
107
+ - README.md
108
+ - VERSION
109
+ - glimmer-cp-cube.gemspec
110
+ - lib/glimmer-cp-cube.rb
111
+ - lib/glimmer/view/cube.rb
112
+ - samples/cube/hello_cube.rb
113
+ homepage: http://github.com/AndyObtiva/glimmer-cp-cube
114
+ licenses:
115
+ - MIT
116
+ metadata: {}
117
+ post_install_message:
118
+ rdoc_options: []
119
+ require_paths:
120
+ - lib
121
+ required_ruby_version: !ruby/object:Gem::Requirement
122
+ requirements:
123
+ - - ">="
124
+ - !ruby/object:Gem::Version
125
+ version: '0'
126
+ required_rubygems_version: !ruby/object:Gem::Requirement
127
+ requirements:
128
+ - - ">="
129
+ - !ruby/object:Gem::Version
130
+ version: '0'
131
+ requirements: []
132
+ rubygems_version: 3.2.29
133
+ signing_key:
134
+ specification_version: 4
135
+ summary: Cube - Glimmer Custom Shape
136
+ test_files: []