glimmer 2.7.5 → 2.7.6

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: e8e895979785a8dfa9d5ba86a66c7f5f2377a7f7cc057907a02e58eb674aaf40
4
- data.tar.gz: bcb881ec3865dd762393ccfaa25325b5fe6f5c036ca4c9db45f4bfc1b80d8585
3
+ metadata.gz: b8ca0f8d84884208401c1056b8fd804adb2cfc390d78bfb6f6f78c3ca7fe824c
4
+ data.tar.gz: 5505b49e7b84c4f3063672040bc0cd169db3b709342ec3481768a00c571fc3c8
5
5
  SHA512:
6
- metadata.gz: d1b755baf68de0b725824989519143ca7ee18d43b1683459c0a8dd52bbd1e4d7f09998abde2c6ed5dddca4d08b10e740e1ab145991eec4e5864090d0cb194127
7
- data.tar.gz: bf157d2f7054e511751b3dcc14345ac2e4910f844adeed88df461dca03b24a695980b5472c531e9ef1e6cb976df8aa146c495ba3f5fe85ffdaf5cb4e59f00b4c
6
+ metadata.gz: 9ae091f1ecaffe77b1ce460c044aa930a9d6d01ab579b84178a2d85fb434078bfcbf261bfcbef95d409027f7ac0f6250faeafc3ba09a31e09c27583598032be7
7
+ data.tar.gz: 8d43e54e39272f686aa23b3e505f04171ec92d1df7de9f0d5140d2653eee899486f5461e4e610e285a1d00a462e2d79565cde7b140fd8af91de3dc495b7c38d5
data/CHANGELOG.md CHANGED
@@ -3,6 +3,10 @@
3
3
  Related Change Logs:
4
4
  - [glimmer-dsl-swt/CHANGELOG.md](https://github.com/AndyObtiva/glimmer-dsl-swt/blob/master/CHANGELOG.md)
5
5
 
6
+ ### 2.7.6
7
+
8
+ - Fix an issue in Opal by updating `Glimmer::DataBinding::Observer::Registration` to correctly inherit from `Struct` by assigning a `Struct.new` and opening a `do; end` block
9
+
6
10
  ### 2.7.5
7
11
 
8
12
  - Improve error message when `Glimmer#method_missing` raises an error, including the problematic keyword to better help with troubleshooting
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 style="position: relative; top: 20px;" />](https://rubygems.org/gems/glimmer) Glimmer 2.7.5
1
+ # [<img src="https://raw.githubusercontent.com/AndyObtiva/glimmer/master/images/glimmer-logo-hi-res.png" height=85 style="position: relative; top: 20px;" />](https://rubygems.org/gems/glimmer) Glimmer 2.7.6
2
2
  ## DSL Framework for Ruby GUI and More
3
3
  [![Gem Version](https://badge.fury.io/rb/glimmer.svg)](http://badge.fury.io/rb/glimmer)
4
4
  [![rspec](https://github.com/AndyObtiva/glimmer/workflows/rspec/badge.svg)](https://github.com/AndyObtiva/glimmer/actions?query=workflow%3Arspec)
@@ -267,7 +267,7 @@ end
267
267
  ### Setup
268
268
 
269
269
  Follow these steps to author a [Glimmer](https://rubygems.org/gems/glimmer) DSL:
270
- - Add `gem 'glimmer', '~> 2.7.5'` to `Gemfile` and run `bundle` or run `gem install glimmer -v2.7.5` and add `require 'glimmer'`
270
+ - Add `gem 'glimmer', '~> 2.7.6'` to `Gemfile` and run `bundle` or run `gem install glimmer -v2.7.6` and add `require 'glimmer'`
271
271
  - Create `glimmer/dsl/[dsl_name]/dsl.rb`, which requires and adds all dynamic expressions for the [dsl_name] Glimmer DSL module as per the code shown in the previous section (or [Official DSLs](#official-dsls) as examples)
272
272
  - Create `glimmer/dsl/[dsl_name]/[expresion_name]_expresion.rb` for every [expresion_name] expression needed, whether dynamic or static
273
273
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 2.7.5
1
+ 2.7.6
data/glimmer.gemspec CHANGED
@@ -2,11 +2,11 @@
2
2
  # DO NOT EDIT THIS FILE DIRECTLY
3
3
  # Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec'
4
4
  # -*- encoding: utf-8 -*-
5
- # stub: glimmer 2.7.5 ruby lib
5
+ # stub: glimmer 2.7.6 ruby lib
6
6
 
7
7
  Gem::Specification.new do |s|
8
8
  s.name = "glimmer".freeze
9
- s.version = "2.7.5"
9
+ s.version = "2.7.6"
10
10
 
11
11
  s.required_rubygems_version = Gem::Requirement.new(">= 0".freeze) if s.respond_to? :required_rubygems_version=
12
12
  s.require_paths = ["lib".freeze]
@@ -46,7 +46,7 @@ module Glimmer
46
46
  end
47
47
  end
48
48
 
49
- class Registration < Struct.new(:observer, :observable, :args, keyword_init: true)
49
+ Registration = Struct.new(:observer, :observable, :args, keyword_init: true) do
50
50
  def deregister
51
51
  observer.unobserve(observable, *args)
52
52
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: glimmer
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.7.5
4
+ version: 2.7.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - AndyMaleh