glimmer 2.0.0 → 2.0.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: 8772f56eb8991b7a79057afe8640670356862b2347a47b0e685caebb62568835
4
- data.tar.gz: b53c4203d47bf66c8b3b9246d3ff96ecf82922452c6370df1637d2358b9d5dba
3
+ metadata.gz: 6a2d51ad333d0d08344d21c90f6bec78ec0cd09b61cd2d86b5d79ecf8374b7f6
4
+ data.tar.gz: c85f1d8f57ec0556ca3042d49050714908c763dbea9e911f10cde85dc5405b75
5
5
  SHA512:
6
- metadata.gz: ab4149e944396d0e236b87e632996ba1b4e585291c503061686ddd2da7d49fb46f921761bf6863f8c75923501dd2ca3af3cff7eb18f4a4f42dbafaa397bbc08a
7
- data.tar.gz: f8eadc4773b6b459d43f21ad9f041b5387766d4faf29111d81f364ca98bfb8fdcafdd4267f25c5c476af540de841d882a79a10261d84264346905c3d38073929
6
+ metadata.gz: 26211cca1888df8245ea8c1c76b74effac9370038e42474cbf1e7fb4b905c54a0f5b972dfdb4413293898fb75fea155779bfd49e15f118e7560cba5ffb13b3da
7
+ data.tar.gz: d56fe91c1eaac6730ef3b706a3e4adf467251cdc48f1ead6f2ea9070e85145ac3e2b774813d2222dd86dbfac0a416dfab54232f0e840cf0e1a28dc2acf7cc2fc
data/README.md CHANGED
@@ -36,8 +36,6 @@ Start by checking out Glimmer's original GUI DSL, which got extracted into its o
36
36
  - [glimmer-dsl-css](https://github.com/AndyObtiva/glimmer-dsl-css): Glimmer DSL for CSS
37
37
  - [glimmer-dsl-tk](https://github.com/AndyObtiva/glimmer-dsl-tk): Glimmer DSL for Tk (MRI Ruby Desktop Development GUI Library)
38
38
 
39
- [Glimmer and/or Glimmer DSLs receive two updates per month](https://rubygems.org/gems/glimmer-dsl-swt/versions). You can trust [Glimmer](https://rubygems.org/gems/glimmer) with your Ruby development needs.
40
-
41
39
  ## Table of Contents
42
40
 
43
41
  - [Glimmer](#-glimmer---dsl-framework-for-ruby-gui-and-more)
@@ -209,7 +207,7 @@ end
209
207
  ### Setup
210
208
 
211
209
  Follow these steps to author a [Glimmer](https://rubygems.org/gems/glimmer) DSL:
212
- - Add `gem 'glimmer', '~> 2.0.0'` to `Gemfile` and run `bundle` or run `gem install glimmer -v2.0.0` and add `require 'glimmer'`
210
+ - Add `gem 'glimmer', '~> 2.0.1'` to `Gemfile` and run `bundle` or run `gem install glimmer -v2.0.1` and add `require 'glimmer'`
213
211
  - 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)
214
212
  - Create `glimmer/dsl/[dsl_name]/[expresion_name]_expresion.rb` for every [expresion_name] expression needed, whether dynamic or static
215
213
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 2.0.0
1
+ 2.0.1
data/glimmer.gemspec CHANGED
@@ -2,16 +2,16 @@
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.0.0 ruby lib
5
+ # stub: glimmer 2.0.1 ruby lib
6
6
 
7
7
  Gem::Specification.new do |s|
8
8
  s.name = "glimmer".freeze
9
- s.version = "2.0.0"
9
+ s.version = "2.0.1"
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]
13
13
  s.authors = ["AndyMaleh".freeze]
14
- s.date = "2021-07-08"
14
+ s.date = "2021-07-24"
15
15
  s.description = "Glimmer is a Ruby DSL Framework for Ruby GUI and More, consisting of a DSL Engine and an Observable/Observer/Data-Binding Library. Used in the Glimmer DSL for SWT (JRuby Desktop Development GUI Framework), the Glimmer DSL for Tk (Ruby Desktop Development GUI Library), the Glimmer DSL for Opal (Pure Ruby Web GUI and Auto-Webifier of Desktop Apps), the Glimmer DSL for XML (& HTML), and the Glimmer DSL for CSS.".freeze
16
16
  s.email = "andy.am@gmail.com".freeze
17
17
  s.extra_rdoc_files = [
@@ -49,7 +49,7 @@ Gem::Specification.new do |s|
49
49
  ]
50
50
  s.homepage = "http://github.com/AndyObtiva/glimmer".freeze
51
51
  s.licenses = ["MIT".freeze]
52
- s.rubygems_version = "3.2.22".freeze
52
+ s.rubygems_version = "3.2.3".freeze
53
53
  s.summary = "Glimmer - DSL Engine for Ruby GUI and More".freeze
54
54
 
55
55
  if s.respond_to? :specification_version then
@@ -130,6 +130,15 @@ module Glimmer
130
130
  end
131
131
  end
132
132
 
133
+ def shift
134
+ shifted_element = first
135
+ unregister_dependent_observers(shifted_element)
136
+ remove_element_observers(shifted_element)
137
+ super.tap do
138
+ notify_observers
139
+ end
140
+ end
141
+
133
142
  def delete(element)
134
143
  unregister_dependent_observers(element)
135
144
  remove_element_observers(element)
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: glimmer
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.0
4
+ version: 2.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - AndyMaleh
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-07-08 00:00:00.000000000 Z
11
+ date: 2021-07-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: array_include_methods
@@ -267,7 +267,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
267
267
  - !ruby/object:Gem::Version
268
268
  version: '0'
269
269
  requirements: []
270
- rubygems_version: 3.2.22
270
+ rubygems_version: 3.2.3
271
271
  signing_key:
272
272
  specification_version: 4
273
273
  summary: Glimmer - DSL Engine for Ruby GUI and More