glimmer-cs-calculator 1.0.1 → 1.0.2

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 6fc5d5bcc6de0a60924fde4949c34debaf42ba58432eb721b96929e660fb527a
4
- data.tar.gz: a7d4865112d117fcd48d387455512eceb4541082aa6f0b8a80503b9043075bee
3
+ metadata.gz: c251dcad74915fd0a63509a3d1a81ab918ddd04e646430c3eaa0bb91d01781d8
4
+ data.tar.gz: b2378fcf8514b3c0f84897b35fbfc2cbfa60b75d1a37dc0df43913c6377bbbe1
5
5
  SHA512:
6
- metadata.gz: 74bebf88eca7828bd6591fe511d3690efa032e7c4e00a18212387df3f60b6ebeaedb3d27dffc2bd24413ac41b0de8396402af83a1d5a2f1b381f8e6340f147ad
7
- data.tar.gz: 2c38aea957bf1251614240a4fffaaac68bb87282ddf4fd7004a1c85d877aafa528e874bc14fbcf8a45a1d14eb0c1f99e1429a2cfda4d1f71c51afa8e8972b535
6
+ metadata.gz: d18ebb7b508fb14de2e56b79f3121e0e081f7a23c9d6c74ec09851194069159dd0be1833fce947a900d5487d30de52ac0d219eeee389b2d87470e4758707323d
7
+ data.tar.gz: c1e8ba2d22d114e9388da749dc44d91afbdb05361adec1714cfd9ddf45dece1f8231d84588e5d0c7d38f3315f5a525d428ced7af9f6924b99a079f865bbd40a7
data/README.md CHANGED
@@ -1,9 +1,10 @@
1
- # <img alt="Glimmer Calculator Icon" src="glimmer-cs-calculator-icon.png" width="60" /> Calculator - Glimmer Custom Shell
1
+ # <img alt="Glimmer Calculator Icon" src="glimmer-cs-calculator-icon.png" width="60" /> Glimmer Calculator
2
+ ## [Glimmer Custom Shell](https://github.com/AndyObtiva/glimmer#custom-shell-gem)
2
3
  [![Gem Version](https://badge.fury.io/rb/glimmer-cs-calculator.svg)](http://badge.fury.io/rb/glimmer-cs-calculator)
3
4
 
4
5
  ![Calculator](glimmer-cs-calculator-screenshot.png)
5
6
 
6
- Calculator sample desktop GUI application built with [Glimmer](https://github.com/AndyObtiva/glimmer) (Ruby Desktop Development Library).
7
+ Glimmer Calculator is a sample desktop GUI application built with [Glimmer](https://github.com/AndyObtiva/glimmer) (Ruby Desktop Development Library).
7
8
 
8
9
  It is developed test-first following TDD (Test Driven Development).
9
10
  Design Patterns discovered in the process were Presenter/Facade and Command Pattern.
@@ -12,7 +13,7 @@ Follows the MVP architectural pattern (Model View Presenter) thanks to [Glimmer
12
13
 
13
14
  ## Platforms
14
15
 
15
- - Mac: Tested and [packaged](https://github.com/AndyObtiva/glimmer#packaging--distribution) for the Mac. ([Download Here<img alt="Glimmer Calculator Icon" src="glimmer-cs-calculator-icon.png" width="30" />](https://www.dropbox.com/s/tdgwt2vfxfh13ro/Glimmer%20Calculator-1.0.1.dmg?dl=1))
16
+ - Mac: Tested and [packaged](https://github.com/AndyObtiva/glimmer#packaging--distribution) for the Mac. ([Download Here<img alt="Glimmer Calculator Icon" src="glimmer-cs-calculator-icon.png" width="30" />](https://www.dropbox.com/s/3fwq5cpetr99f45/Glimmer%20Calculator-1.0.2.dmg?dl=1))
16
17
  - Linux: Not tested/packaged for Linux, but should work by following setup instructions below.
17
18
  - Windows: Not tested/packaged for Windows, but should work by following setup instructions below.
18
19
 
@@ -43,7 +44,7 @@ To reuse Calculator as a Glimmer Custom Shell inside another Glimmer application
43
44
  following to the application's `Gemfile`:
44
45
 
45
46
  ```
46
- gem 'glimmer-cs-calculator', '1.0.1'
47
+ gem 'glimmer-cs-calculator', '1.0.2'
47
48
  ```
48
49
 
49
50
  Run:
@@ -56,7 +57,8 @@ And, then instantiate the Calculator custom shell in your Glimmer application vi
56
57
 
57
58
  ## Change Log
58
59
 
59
- - 1.0.1: Upgraded to glimmer-dsl-swt v0.1.0 / added delete/backspace shortcut for AC / fixed issues with pressing operations without any number
60
+ - 1.0.2: Relaxed dependency on glimmer-dsl-swt (>= 0.1.1 < 2.0.0) / updated logo / used new Glimmer `message_box` keyword syntax
61
+ - 1.0.1: Upgraded to glimmer-dsl-swt v0.1.1 / added delete/backspace shortcut for AC / fixed issues with pressing operations without any number
60
62
  - 1.0.0: Initial calculator implementation
61
63
 
62
64
  ## Contributing to glimmer-cs-calculator
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.0.1
1
+ 1.0.2
@@ -246,12 +246,10 @@ module Glimmer
246
246
  }
247
247
 
248
248
  def display_about_dialog
249
- message_box = MessageBox.new(swt_widget)
250
- message_box.setText("About")
251
- message = "Glimmer - Calculator #{VERSION}\n"
252
- message += LICENSE
253
- message_box.setMessage(message)
254
- message_box.open
249
+ message_box(body_root) {
250
+ text 'About'
251
+ message "Glimmer - Calculator #{VERSION}\n#{LICENSE}"
252
+ }.open
255
253
  end
256
254
 
257
255
  end
metadata CHANGED
@@ -1,29 +1,35 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: glimmer-cs-calculator
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.1
4
+ version: 1.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Andy Maleh
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-06-15 00:00:00.000000000 Z
11
+ date: 2020-07-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  requirement: !ruby/object:Gem::Requirement
15
15
  requirements:
16
- - - "~>"
16
+ - - ">="
17
17
  - !ruby/object:Gem::Version
18
18
  version: 0.1.1
19
+ - - "<"
20
+ - !ruby/object:Gem::Version
21
+ version: 2.0.0
19
22
  name: glimmer-dsl-swt
20
23
  type: :runtime
21
24
  prerelease: false
22
25
  version_requirements: !ruby/object:Gem::Requirement
23
26
  requirements:
24
- - - "~>"
27
+ - - ">="
25
28
  - !ruby/object:Gem::Version
26
29
  version: 0.1.1
30
+ - - "<"
31
+ - !ruby/object:Gem::Version
32
+ version: 2.0.0
27
33
  - !ruby/object:Gem::Dependency
28
34
  requirement: !ruby/object:Gem::Requirement
29
35
  requirements: