glimmer 2.7.4 → 2.7.5

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: fa5ebf6796cc72af7513d3cc33d0549140d40c1c6e724a1450225b382149d412
4
- data.tar.gz: ad4748aeed1161fa76308c9580b80bed8070d156b7b52324cd95deea3e97ccec
3
+ metadata.gz: e8e895979785a8dfa9d5ba86a66c7f5f2377a7f7cc057907a02e58eb674aaf40
4
+ data.tar.gz: bcb881ec3865dd762393ccfaa25325b5fe6f5c036ca4c9db45f4bfc1b80d8585
5
5
  SHA512:
6
- metadata.gz: cbcb834defb6bcfb0c9f700398867025eae0c89f69880e79736c944ee14aff82c1d408ce1485692f60c5e38c4ff70bebabed6d2f10a8e952c1a345ebb019396c
7
- data.tar.gz: b4a9c367cecbea65fed73f8b5cafd38dcf4efecded0c16a8ba944b757af76d5f2412be55faf4c74f9eabe669be0c54b9cf2a62d20c2f07fb982e38e95a1ab48d
6
+ metadata.gz: d1b755baf68de0b725824989519143ca7ee18d43b1683459c0a8dd52bbd1e4d7f09998abde2c6ed5dddca4d08b10e740e1ab145991eec4e5864090d0cb194127
7
+ data.tar.gz: bf157d2f7054e511751b3dcc14345ac2e4910f844adeed88df461dca03b24a695980b5472c531e9ef1e6cb976df8aa146c495ba3f5fe85ffdaf5cb4e59f00b4c
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.5
7
+
8
+ - Improve error message when `Glimmer#method_missing` raises an error, including the problematic keyword to better help with troubleshooting
9
+
6
10
  ### 2.7.4
7
11
 
8
12
  - Have `ObserveExpression` support passing an arbitrary number of arguments (not just the object and attribute) to support newer options from the Glimmer DSL like `recursive: true`
data/LICENSE.txt CHANGED
@@ -1,4 +1,4 @@
1
- Copyright (c) 2007-2022 Andy Maleh
1
+ Copyright (c) 2007-2024 Andy Maleh
2
2
 
3
3
  Permission is hereby granted, free of charge, to any person obtaining
4
4
  a copy of this software and associated documentation files (the
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.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
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)
@@ -48,7 +48,6 @@ Start by checking out:
48
48
  DSL | Platforms | Native? | Vector Graphics? | Pros | Cons | Prereqs
49
49
  ----|-----------|---------|------------------|------|------|--------
50
50
  [Glimmer DSL for SWT (JRuby Desktop Development GUI Framework)](https://github.com/AndyObtiva/glimmer-dsl-swt) | Mac / Windows / Linux | Yes | Yes (Canvas Shape DSL) | Very Mature / Scaffolding / Native Executable Packaging / Custom Widgets | Slow JRuby Startup Time / Heavy Memory Footprint | Java / JRuby
51
- [Glimmer DSL for Opal (Pure Ruby Web GUI and Auto-Webifier of Desktop Apps)](https://github.com/AndyObtiva/glimmer-dsl-opal) | All Web Browsers | No | Yes (Canvas Shape DSL) | Simpler than All JavaScript Technologies / Auto-Webify Desktop Apps | Setup Process / Incomplete Alpha | Rails
52
51
  [Glimmer DSL for LibUI (Prerequisite-Free Ruby Desktop Development GUI Library)](https://github.com/AndyObtiva/glimmer-dsl-libui) | Mac / Windows / Linux | Yes | Yes (Area API) | Very Simple Setup / Fast Startup Time / Light Memory Footprint | LibUI is an Incomplete Mid-Alpha Only | None Other Than MRI Ruby
53
52
  [Glimmer DSL for Tk (Ruby Tk Desktop Development GUI Library)](https://github.com/AndyObtiva/glimmer-dsl-tk) | Mac / Windows / Linux | Some Native-Themed Widgets (Not Truly Native) | Yes (Canvas) | Fast Startup Time / Light Memory Footprint | Complicated setup / Widgets Do Not Look Truly Native, Espcially on Linux | ActiveTcl / MRI Ruby
54
53
  [Glimmer DSL for GTK (Ruby-GNOME Desktop Development GUI Library)](https://github.com/AndyObtiva/glimmer-dsl-gtk) | Mac / Windows / Linux | Only on Linux | Yes (Cairo) | Complete Access to GNOME Features on Linux (Forte) | Not Native on Mac and Windows | None Other Than MRI Ruby on Linux / Brew Packages on Mac / MSYS & MING Toolchains on Windows / MRI Ruby
@@ -56,6 +55,8 @@ DSL | Platforms | Native? | Vector Graphics? | Pros | Cons | Prereqs
56
55
  [Glimmer DSL for WX (wxWidgets Ruby Desktop Development GUI Library)](https://github.com/AndyObtiva/glimmer-dsl-wx) | Mac / Windows / Linux | Yes | Yes | Fast Startup Time / Light Memory Footprint | wxruby3 is still beta and does not support Mac yet | wxWidgets, Doxygen, SWIG, GNU g++ 4.8 on Linux or RubyInstaller+DevKit on Windows
57
56
  [Glimmer DSL for JFX (JRuby JavaFX Desktop Development GUI Library)](https://github.com/AndyObtiva/glimmer-dsl-jfx) | Mac / Windows / Linux | No | Yes (javafx.scene.shape and javafx.scene.canvas) | Rich in Custom Widgets | Slow JRuby Startup Time / Heavy Memory Footprint / Widgets Do Not Look Native | Java / JRuby / JavaFX SDK
58
57
  [Glimmer DSL for Swing (JRuby Swing Desktop Development GUI Library)](https://github.com/AndyObtiva/glimmer-dsl-swing) | Mac / Windows / Linux | No | Yes (Java2D) | Very Mature | Slow JRuby Startup Time / Heavy Memory Footprint / Widgets Do Not Look Native | Java / JRuby
58
+ [Glimmer DSL for Web (Ruby in the Browser Web GUI Frontend Library)](https://github.com/AndyObtiva/glimmer-dsl-web) | All Web Browsers | No | Yes (SVG) | Simpler than All JavaScript Technologies / Leverages Existing HTML/JS/CSS Skills | Setup Process / Early Alpha | Rails
59
+ [Glimmer DSL for Opal (Pure Ruby Web GUI and Auto-Webifier of Desktop Apps / Archived & Superseded by Glimmer DSL for Web)](https://github.com/AndyObtiva/glimmer-dsl-opal) | All Web Browsers | No | Yes (Canvas Shape DSL) | Simpler than All JavaScript Technologies / Auto-Webify Desktop Apps | Setup Process / Incomplete Alpha | Rails
59
60
  [Glimmer DSL for XML (& HTML)](https://github.com/AndyObtiva/glimmer-dsl-xml) | All Web Browsers | No | Yes (SVG) | Programmable / Lighter-weight Than Actual XML | XML Elements Are Sometimes Not Well-Named (Many Types of Input) | None
60
61
  [Glimmer DSL for CSS](https://github.com/AndyObtiva/glimmer-dsl-css) | All Web Browsers | No | Yes | Programmable | CSS Is Over-Engineered / Too Many Features To Learn | None
61
62
 
@@ -78,6 +79,7 @@ DSL | Platforms | Native? | Vector Graphics? | Pros | Cons | Prereqs
78
79
  - [Glimmer DSL for WX (wXwidgets Ruby Desktop Development GUI Library)](https://github.com/AndyObtiva/glimmer-dsl-wx)
79
80
  - [Glimmer DSL for JFX (JRuby JavaFX Desktop Development GUI Library)](https://github.com/AndyObtiva/glimmer-dsl-jfx)
80
81
  - [Glimmer DSL for Swing (JRuby Swing Desktop Development GUI Library)](https://github.com/AndyObtiva/glimmer-dsl-swing)
82
+ - [Glimmer DSL for Web (Ruby in the Browser Web GUI Frontend Library)](https://github.com/AndyObtiva/glimmer-dsl-swing)
81
83
  - [Data-Binding Library](#data-binding-library)
82
84
  - [FAQ](#faq)
83
85
  - [Glimmer Process](#glimmer-process)
@@ -265,7 +267,7 @@ end
265
267
  ### Setup
266
268
 
267
269
  Follow these steps to author a [Glimmer](https://rubygems.org/gems/glimmer) DSL:
268
- - Add `gem 'glimmer', '~> 2.7.4'` to `Gemfile` and run `bundle` or run `gem install glimmer -v2.7.4` and add `require 'glimmer'`
270
+ - Add `gem 'glimmer', '~> 2.7.5'` to `Gemfile` and run `bundle` or run `gem install glimmer -v2.7.5` and add `require 'glimmer'`
269
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)
270
272
  - Create `glimmer/dsl/[dsl_name]/[expresion_name]_expresion.rb` for every [expresion_name] expression needed, whether dynamic or static
271
273
 
@@ -1484,7 +1486,7 @@ If your company would like to invest fulltime in further development of the Glim
1484
1486
 
1485
1487
  [MIT](LICENSE.txt)
1486
1488
 
1487
- Copyright (c) 2007-2022 - Andy Maleh.
1489
+ Copyright (c) 2007-2024 - Andy Maleh.
1488
1490
 
1489
1491
  --
1490
1492
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 2.7.4
1
+ 2.7.5
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.7.4 ruby lib
5
+ # stub: glimmer 2.7.5 ruby lib
6
6
 
7
7
  Gem::Specification.new do |s|
8
8
  s.name = "glimmer".freeze
9
- s.version = "2.7.4".freeze
9
+ s.version = "2.7.5"
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 = "2023-12-20"
14
+ s.date = "2024-01-03"
15
15
  s.description = "Glimmer is a Ruby DSL Framework for Ruby GUI and More, consisting of a DSL Engine and a Data-Binding Library (including Observer Design Pattern, Observable Model, Observable Array, and Observable Hash). Used in Glimmer DSL for SWT (JRuby Desktop Development GUI Framework), Glimmer DSL for Opal (Pure Ruby Web GUI and Auto-Webifier of Desktop Apps), Glimmer DSL for LibUI (Prerequisite-Free Ruby Desktop Development GUI Library and Winner of Fukuoka Ruby Award Competition 2022 Special Award), Glimmer DSL for Tk (Ruby Tk Desktop Development GUI Library), Glimmer DSL for GTK (Ruby-GNOME Desktop Development GUI Library), Glimmer DSL for FX (FOX Toolkit Ruby Desktop Development GUI Library), Glimmer DSL for WX (wxWidgets Ruby Desktop Development GUI Library), Glimmer DSL for Swing (JRuby Swing Desktop Development GUI Library), Glimmer DSL for JFX (JRuby JavaFX Desktop Development GUI Library), Glimmer DSL for XML (& HTML), and Glimmer DSL for CSS.".freeze
16
16
  s.email = "andy.am@gmail.com".freeze
17
17
  s.extra_rdoc_files = [
@@ -53,22 +53,22 @@ Gem::Specification.new do |s|
53
53
  ]
54
54
  s.homepage = "http://github.com/AndyObtiva/glimmer".freeze
55
55
  s.licenses = ["MIT".freeze]
56
- s.rubygems_version = "3.5.1".freeze
57
- s.summary = "Glimmer - DSL Framework for Ruby GUI and More".freeze
56
+ s.rubygems_version = "3.4.10".freeze
57
+ s.summary = "Glimmer (DSL Framework for Ruby GUI and More)".freeze
58
58
 
59
59
  s.specification_version = 4
60
60
 
61
- s.add_runtime_dependency(%q<array_include_methods>.freeze, ["~> 1.4.0".freeze])
62
- s.add_runtime_dependency(%q<facets>.freeze, [">= 3.1.0".freeze, "< 4.0.0".freeze])
63
- s.add_development_dependency(%q<rspec-mocks>.freeze, ["~> 3.5.0".freeze])
64
- s.add_development_dependency(%q<rspec>.freeze, ["~> 3.5.0".freeze])
65
- s.add_development_dependency(%q<puts_debuggerer>.freeze, ["~> 0.13".freeze])
66
- s.add_development_dependency(%q<rake>.freeze, [">= 10.1.0".freeze, "< 14.0.0".freeze])
67
- s.add_development_dependency(%q<jeweler>.freeze, [">= 2.0.0".freeze, "< 3.0.0".freeze])
68
- s.add_development_dependency(%q<rdoc>.freeze, [">= 6.2.1".freeze, "< 7.0.0".freeze])
69
- s.add_development_dependency(%q<coveralls>.freeze, [">= 0".freeze])
70
- s.add_development_dependency(%q<simplecov>.freeze, ["~> 0.16.1".freeze])
71
- s.add_development_dependency(%q<simplecov-lcov>.freeze, ["~> 0.7.0".freeze])
72
- s.add_development_dependency(%q<rake-tui>.freeze, ["> 0".freeze])
61
+ s.add_runtime_dependency(%q<array_include_methods>.freeze, ["~> 1.4.0"])
62
+ s.add_runtime_dependency(%q<facets>.freeze, [">= 3.1.0", "< 4.0.0"])
63
+ s.add_development_dependency(%q<rspec-mocks>.freeze, ["~> 3.5.0"])
64
+ s.add_development_dependency(%q<rspec>.freeze, ["~> 3.5.0"])
65
+ s.add_development_dependency(%q<puts_debuggerer>.freeze, ["~> 0.13"])
66
+ s.add_development_dependency(%q<rake>.freeze, [">= 10.1.0", "< 14.0.0"])
67
+ s.add_development_dependency(%q<jeweler>.freeze, [">= 2.0.0", "< 3.0.0"])
68
+ s.add_development_dependency(%q<rdoc>.freeze, [">= 6.2.1", "< 7.0.0"])
69
+ s.add_development_dependency(%q<coveralls>.freeze, [">= 0"])
70
+ s.add_development_dependency(%q<simplecov>.freeze, ["~> 0.16.1"])
71
+ s.add_development_dependency(%q<simplecov-lcov>.freeze, ["~> 0.7.0"])
72
+ s.add_development_dependency(%q<rake-tui>.freeze, ["> 0"])
73
73
  end
74
74
 
@@ -1,4 +1,4 @@
1
- # Copyright (c) 2007-2022 Andy Maleh
1
+ # Copyright (c) 2007-2024 Andy Maleh
2
2
  #
3
3
  # Permission is hereby granted, free of charge, to any person obtaining
4
4
  # a copy of this software and associated documentation files (the
@@ -1,4 +1,4 @@
1
- # Copyright (c) 2007-2022 Andy Maleh
1
+ # Copyright (c) 2007-2024 Andy Maleh
2
2
  #
3
3
  # Permission is hereby granted, free of charge, to any person obtaining
4
4
  # a copy of this software and associated documentation files (the
@@ -1,4 +1,4 @@
1
- # Copyright (c) 2007-2022 Andy Maleh
1
+ # Copyright (c) 2007-2024 Andy Maleh
2
2
  #
3
3
  # Permission is hereby granted, free of charge, to any person obtaining
4
4
  # a copy of this software and associated documentation files (the
@@ -1,4 +1,4 @@
1
- # Copyright (c) 2007-2022 Andy Maleh
1
+ # Copyright (c) 2007-2024 Andy Maleh
2
2
  #
3
3
  # Permission is hereby granted, free of charge, to any person obtaining
4
4
  # a copy of this software and associated documentation files (the
@@ -1,4 +1,4 @@
1
- # Copyright (c) 2007-2022 Andy Maleh
1
+ # Copyright (c) 2007-2024 Andy Maleh
2
2
  #
3
3
  # Permission is hereby granted, free of charge, to any person obtaining
4
4
  # a copy of this software and associated documentation files (the
@@ -1,4 +1,4 @@
1
- # Copyright (c) 2007-2022 Andy Maleh
1
+ # Copyright (c) 2007-2024 Andy Maleh
2
2
  #
3
3
  # Permission is hereby granted, free of charge, to any person obtaining
4
4
  # a copy of this software and associated documentation files (the
@@ -1,4 +1,4 @@
1
- # Copyright (c) 2007-2022 Andy Maleh
1
+ # Copyright (c) 2007-2024 Andy Maleh
2
2
  #
3
3
  # Permission is hereby granted, free of charge, to any person obtaining
4
4
  # a copy of this software and associated documentation files (the
@@ -1,4 +1,4 @@
1
- # Copyright (c) 2007-2022 Andy Maleh
1
+ # Copyright (c) 2007-2024 Andy Maleh
2
2
  #
3
3
  # Permission is hereby granted, free of charge, to any person obtaining
4
4
  # a copy of this software and associated documentation files (the
@@ -1,4 +1,4 @@
1
- # Copyright (c) 2007-2022 Andy Maleh
1
+ # Copyright (c) 2007-2024 Andy Maleh
2
2
  #
3
3
  # Permission is hereby granted, free of charge, to any person obtaining
4
4
  # a copy of this software and associated documentation files (the
@@ -1,4 +1,4 @@
1
- # Copyright (c) 2007-2022 Andy Maleh
1
+ # Copyright (c) 2007-2024 Andy Maleh
2
2
  #
3
3
  # Permission is hereby granted, free of charge, to any person obtaining
4
4
  # a copy of this software and associated documentation files (the
@@ -1,4 +1,4 @@
1
- # Copyright (c) 2007-2022 Andy Maleh
1
+ # Copyright (c) 2007-2024 Andy Maleh
2
2
  #
3
3
  # Permission is hereby granted, free of charge, to any person obtaining
4
4
  # a copy of this software and associated documentation files (the
@@ -1,4 +1,4 @@
1
- # Copyright (c) 2007-2022 Andy Maleh
1
+ # Copyright (c) 2007-2024 Andy Maleh
2
2
  #
3
3
  # Permission is hereby granted, free of charge, to any person obtaining
4
4
  # a copy of this software and associated documentation files (the
@@ -1,4 +1,4 @@
1
- # Copyright (c) 2007-2022 Andy Maleh
1
+ # Copyright (c) 2007-2024 Andy Maleh
2
2
  #
3
3
  # Permission is hereby granted, free of charge, to any person obtaining
4
4
  # a copy of this software and associated documentation files (the
@@ -1,4 +1,4 @@
1
- # Copyright (c) 2007-2022 Andy Maleh
1
+ # Copyright (c) 2007-2024 Andy Maleh
2
2
  #
3
3
  # Permission is hereby granted, free of charge, to any person obtaining
4
4
  # a copy of this software and associated documentation files (the
@@ -1,4 +1,4 @@
1
- # Copyright (c) 2007-2022 Andy Maleh
1
+ # Copyright (c) 2007-2024 Andy Maleh
2
2
  #
3
3
  # Permission is hereby granted, free of charge, to any person obtaining
4
4
  # a copy of this software and associated documentation files (the
@@ -1,4 +1,4 @@
1
- # Copyright (c) 2007-2022 Andy Maleh
1
+ # Copyright (c) 2007-2024 Andy Maleh
2
2
  #
3
3
  # Permission is hereby granted, free of charge, to any person obtaining
4
4
  # a copy of this software and associated documentation files (the
@@ -1,4 +1,4 @@
1
- # Copyright (c) 2007-2022 Andy Maleh
1
+ # Copyright (c) 2007-2024 Andy Maleh
2
2
  #
3
3
  # Permission is hereby granted, free of charge, to any person obtaining
4
4
  # a copy of this software and associated documentation files (the
@@ -1,4 +1,4 @@
1
- # Copyright (c) 2007-2022 Andy Maleh
1
+ # Copyright (c) 2007-2024 Andy Maleh
2
2
  #
3
3
  # Permission is hereby granted, free of charge, to any person obtaining
4
4
  # a copy of this software and associated documentation files (the
data/lib/glimmer/error.rb CHANGED
@@ -1,4 +1,4 @@
1
- # Copyright (c) 2007-2022 Andy Maleh
1
+ # Copyright (c) 2007-2024 Andy Maleh
2
2
  #
3
3
  # Permission is hereby granted, free of charge, to any person obtaining
4
4
  # a copy of this software and associated documentation files (the
@@ -1,4 +1,4 @@
1
- # Copyright (c) 2007-2022 Andy Maleh
1
+ # Copyright (c) 2007-2024 Andy Maleh
2
2
  #
3
3
  # Permission is hereby granted, free of charge, to any person obtaining
4
4
  # a copy of this software and associated documentation files (the
data/lib/glimmer.rb CHANGED
@@ -1,4 +1,4 @@
1
- # Copyright (c) 2007-2022 Andy Maleh
1
+ # Copyright (c) 2007-2024 Andy Maleh
2
2
  #
3
3
  # Permission is hereby granted, free of charge, to any person obtaining
4
4
  # a copy of this software and associated documentation files (the
@@ -78,7 +78,7 @@ module Glimmer
78
78
  Glimmer::DSL::Engine.interpret(method_symbol, *args, &block)
79
79
  end
80
80
  rescue InvalidKeywordError => e
81
- Glimmer::Config.logger.error {"Encountered an invalid keyword at this object: #{self}"}
81
+ Glimmer::Config.logger.error {"Encountered an invalid keyword '#{method_symbol}' at this object: #{self.inspect}"}
82
82
  Glimmer::Config.logger.error {e.full_message}
83
83
  super(method_symbol, *args, &block)
84
84
  end
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.7.4
4
+ version: 2.7.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - AndyMaleh
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-12-20 00:00:00.000000000 Z
11
+ date: 2024-01-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: array_include_methods
@@ -271,8 +271,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
271
271
  - !ruby/object:Gem::Version
272
272
  version: '0'
273
273
  requirements: []
274
- rubygems_version: 3.5.1
274
+ rubygems_version: 3.4.10
275
275
  signing_key:
276
276
  specification_version: 4
277
- summary: Glimmer - DSL Framework for Ruby GUI and More
277
+ summary: Glimmer (DSL Framework for Ruby GUI and More)
278
278
  test_files: []