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 +4 -4
- data/CHANGELOG.md +4 -0
- data/README.md +2 -2
- data/VERSION +1 -1
- data/glimmer.gemspec +2 -2
- data/lib/glimmer/data_binding/observer.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b8ca0f8d84884208401c1056b8fd804adb2cfc390d78bfb6f6f78c3ca7fe824c
|
4
|
+
data.tar.gz: 5505b49e7b84c4f3063672040bc0cd169db3b709342ec3481768a00c571fc3c8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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.
|
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.
|
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.
|
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
|
+
# 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.
|
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
|
-
|
49
|
+
Registration = Struct.new(:observer, :observable, :args, keyword_init: true) do
|
50
50
|
def deregister
|
51
51
|
observer.unobserve(observable, *args)
|
52
52
|
end
|