glimmer-dsl-swt 4.20.11.0 → 4.20.11.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 22a275c90700a95d9bb50a11500062bc752ae0993177af88f8c84afb150615e2
4
- data.tar.gz: fa1470d45be2485bd2304eccfb8f93a0f45b841c81bc7891de65144fb6e7b8ac
3
+ metadata.gz: 83a247e9e977044f7294fcf2430d1ec527f15e0c46b372d0e8c2e91cfbb36321
4
+ data.tar.gz: 269d918b90ac0b565a27d71a17dfd7b01194e2df6f18c76a2c5b77d496b45202
5
5
  SHA512:
6
- metadata.gz: 72447b790c797f63c78ce456cfe638a74140294e3f710432465a773e63c97c5198ecec9c5d4a6cc6de36a8bfbb5ec743300c3ffdd2db2c638ab031bbf125d44d
7
- data.tar.gz: 577412f2a8a2313f3fc61568ac4d435e6d7158725ff2199eaef5e935c165745a872971f4fb8d48d8d8d0ae3d1a3b19078d956f65e54da7b9c0dcd582c7d73a5a
6
+ metadata.gz: 033fb29c9fb0bc37ac6786bb33610ee550628a5def123af28b9c732477329edcb13bca3008581c117fd3751bda9e6c953ac4f69bff319f91848be177dac45d77
7
+ data.tar.gz: d286000814adaf8794105b357fbeec08cef2d202436930b64848f914d99eb1bfe27fffd03b51a430495174018ebdae54fb26165a18ca42cf8e8ecfd4bf5b3694
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Change Log
2
2
 
3
+ ### 4.20.11.1
4
+
5
+ - Make scaffolded app project use bundler optionally only and still load glimmer-dsl-swt otherwise, like in gem-packaged mode (`glimmer package:gem`) to avoid erroring out about bundler.
6
+
3
7
  ### 4.20.11.0
4
8
 
5
9
  - Shape `#center_x`/`#center_y` methods to identify a shape's center point
data/README.md CHANGED
@@ -1,4 +1,4 @@
1
- # [<img src="https://raw.githubusercontent.com/AndyObtiva/glimmer/master/images/glimmer-logo-hi-res.png" height=85 />](https://github.com/AndyObtiva/glimmer) Glimmer DSL for SWT 4.20.11.0
1
+ # [<img src="https://raw.githubusercontent.com/AndyObtiva/glimmer/master/images/glimmer-logo-hi-res.png" height=85 />](https://github.com/AndyObtiva/glimmer) Glimmer DSL for SWT 4.20.11.1
2
2
  ## JRuby Desktop Development GUI Framework
3
3
  [![Gem Version](https://badge.fury.io/rb/glimmer-dsl-swt.svg)](http://badge.fury.io/rb/glimmer-dsl-swt)
4
4
  [![Travis CI](https://travis-ci.com/AndyObtiva/glimmer-dsl-swt.svg?branch=master)](https://travis-ci.com/github/AndyObtiva/glimmer-dsl-swt)
@@ -15,7 +15,7 @@
15
15
  [<img src="https://covers.oreillystatic.com/images/9780596519650/lrg.jpg" width=105 /><br />
16
16
  Featured in JRuby Cookbook](http://shop.oreilly.com/product/9780596519650.do) and [Chalmers/Gothenburg University Software Engineering Master's Lecture Material](http://www.cse.chalmers.se/~bergert/slides/guest_lecture_DSLs.pdf)
17
17
 
18
- [Glimmer DSL for SWT](https://rubygems.org/gems/glimmer-dsl-swt) 4.20.11.0 includes [SWT 4.20](https://download.eclipse.org/eclipse/downloads/drops4/R-4.20-202106111600/), which was released on June 11, 2021. Gem version numbers are in sync with the SWT library versions. The first two digits represent the SWT version number. The last two digits represent the minor and patch versions of Glimmer DSL for SWT. Note that SWT now supports AARCH64 on Mac and Linux, but it is not fully tested in Glimmer DSL for SWT yet, so deem its support experimental for the time being without guarantees for functionality until declared otherwise (report any issues you may encounter).
18
+ [Glimmer DSL for SWT](https://rubygems.org/gems/glimmer-dsl-swt) 4.20.11.1 includes [SWT 4.20](https://download.eclipse.org/eclipse/downloads/drops4/R-4.20-202106111600/), which was released on June 11, 2021. Gem version numbers are in sync with the SWT library versions. The first two digits represent the SWT version number. The last two digits represent the minor and patch versions of Glimmer DSL for SWT. Note that SWT now supports AARCH64 on Mac and Linux, but it is not fully tested in Glimmer DSL for SWT yet, so deem its support experimental for the time being without guarantees for functionality until declared otherwise (report any issues you may encounter).
19
19
 
20
20
  **Starting in version 4.20.0.0, [Glimmer DSL for SWT](https://rubygems.org/gems/glimmer-dsl-swt) comes with the new [***Shine***](/docs/reference/GLIMMER_GUI_DSL_SYNTAX.md#shine) syntax** for highly intuitive and visually expressive View/Model Attribute Mapping, relying on `<=>` for bidirectional (two-way) data-binding and `<=` for unidirectional (one-way) data-binding, providing an alternative to the `bind` keyword (keep in mind that it is still a beta, so default back to `bind` whenever needed).
21
21
 
@@ -347,7 +347,7 @@ jgem install glimmer-dsl-swt
347
347
 
348
348
  Or this command if you want a specific version:
349
349
  ```
350
- jgem install glimmer-dsl-swt -v 4.20.11.0
350
+ jgem install glimmer-dsl-swt -v 4.20.11.1
351
351
  ```
352
352
 
353
353
  `jgem` is JRuby's version of `gem` command.
@@ -375,7 +375,7 @@ Note: if you're using activerecord or activesupport, keep in mind that Glimmer u
375
375
 
376
376
  Add the following to `Gemfile`:
377
377
  ```
378
- gem 'glimmer-dsl-swt', '~> 4.20.11.0'
378
+ gem 'glimmer-dsl-swt', '~> 4.20.11.1'
379
379
  ```
380
380
 
381
381
  And, then run:
@@ -396,7 +396,7 @@ glimmer
396
396
  ```
397
397
 
398
398
  ```
399
- Glimmer (JRuby Desktop Development GUI Framework) - JRuby Gem: glimmer-dsl-swt v4.20.11.0
399
+ Glimmer (JRuby Desktop Development GUI Framework) - JRuby Gem: glimmer-dsl-swt v4.20.11.1
400
400
 
401
401
  Usage: glimmer [--bundler] [--pd] [--quiet] [--debug] [--log-level=VALUE] [[ENV_VAR=VALUE]...] [[-jruby-option]...] (application.rb or task[task_args]) [[application2.rb]...]
402
402
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 4.20.11.0
1
+ 4.20.11.1
Binary file
@@ -445,9 +445,15 @@ module Glimmer
445
445
  def app_main_file(app_name)
446
446
  <<~MULTI_LINE_STRING
447
447
  $LOAD_PATH.unshift(File.expand_path('..', __FILE__))
448
-
449
- require 'bundler/setup'
450
- Bundler.require(:default)
448
+
449
+ begin
450
+ require 'bundler/setup'
451
+ Bundler.require(:default)
452
+ rescue
453
+ # this runs when packaged as a gem (no bundler)
454
+ require 'glimmer-dsl-swt'
455
+ # add more gems if needed
456
+ end
451
457
  require '#{file_name(app_name)}/view/app_view'
452
458
 
453
459
  class #{class_name(app_name)}
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: glimmer-dsl-swt
3
3
  version: !ruby/object:Gem::Version
4
- version: 4.20.11.0
4
+ version: 4.20.11.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Andy Maleh
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-07-22 00:00:00.000000000 Z
11
+ date: 2021-07-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  requirement: !ruby/object:Gem::Requirement