glimmer 2.1.0 → 2.1.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: 912a0642f9a9a7a0811c8ba1fc41cd0cc1c0d0782bb358309bf2d2f70d5a187e
4
- data.tar.gz: 3d35f07751808800467b9e267aab343a04e0609d71ca15048273b725c1525ce4
3
+ metadata.gz: 2fe1b04f0f5ff0f52c71e4490690fd3b0fab149deb79f34f3a659b40f01bd9c1
4
+ data.tar.gz: 39ebc17ee659e5e29b19c28fa03916812ead713c9db8bf36922dc5c1f611a798
5
5
  SHA512:
6
- metadata.gz: 0e185959434641f56cc0ce6b031a2444348cdb076681ec026d2fb78851602f069e79eed56f55b0abe50281bf6595555642aeff92cb721f236b49bc5dbf8101b2
7
- data.tar.gz: a2be36ee355356c73217bed677f09eb4e1e54b5f7c473cf8fa2a5de8e17d8cd423164af7c9f5f10285dc365dcc4475216e75965c6f804c9b4fdc77e533224229
6
+ metadata.gz: b9f80e0781a58abffaa3672f7c5f239b0f67dfb42f3544cac71a3b2b9efac8b469753a6115983ef396f0a685c5012459bf8c8ba194b96fe50df0a4f801fa4020
7
+ data.tar.gz: 7fbe75d4c821b59073c815503978b0a7452b38db6a8f5b4b0768578f9104714bcd814b232671e9e09e88c45f7e7161f7c7c226b5662315f382f2574862b91ae6
data/CHANGELOG.md CHANGED
@@ -3,6 +3,18 @@
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.1.1
7
+
8
+ - Support double/triple/arbitrary dimension indexed arrays in ModelBinding property (e.g. `'grid[1][0]'` )
9
+
10
+ ### 2.1.0
11
+
12
+ - Extracted ObserveExpression from Glimmer DSL for SWT
13
+
14
+ ### 2.0.1
15
+
16
+ - ObservableArray notify observers on shift
17
+
6
18
  ### 2.0.0
7
19
 
8
20
  - Extract Glimmer::DSL::BindExpression from Glimmer DSL for SWT
data/VERSION CHANGED
@@ -1 +1 @@
1
- 2.1.0
1
+ 2.1.1
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.1.0 ruby lib
5
+ # stub: glimmer 2.1.1 ruby lib
6
6
 
7
7
  Gem::Specification.new do |s|
8
8
  s.name = "glimmer".freeze
9
- s.version = "2.1.0"
9
+ s.version = "2.1.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]
@@ -75,7 +75,7 @@ module Glimmer
75
75
  # If there are any indexed property names, this returns indexes as properties.
76
76
  # e.g. property name expression "addresses[1].state" gives ['addresses', '[1]', 'state']
77
77
  def nested_property_names
78
- @nested_property_names ||= Concurrent::Array.new(property_name_expression.split(".").map {|pne| pne.match(/([^\[]+)(\[[^\]]+\])?/).to_a.drop(1)}.flatten.compact)
78
+ @nested_property_names ||= Concurrent::Array.new(property_name_expression.split(/\[|\./).map {|pne| pne.end_with?(']') ? "[#{pne}" : pne })
79
79
  end
80
80
 
81
81
  # Final nested property name
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.1.0
4
+ version: 2.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - AndyMaleh