glimmer-cw-video 0.1.2 → 0.1.3

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: 5d630fdc9f34e8936afcfde3c173371f0364e38de1ee7f827eb4ab7158c85f4e
4
- data.tar.gz: dc966e4bcc7acd835019ff2ee2e15abfba21f916a00c567dc53abd87904d8d7e
3
+ metadata.gz: a029ae8b1eb4a79e6b3309549f3b9bba275cb63111f2c07f35cbf809b63465d9
4
+ data.tar.gz: 80a94bd9c7e16f942c7274692b0eea2a0cefc6bc0d288d8576d63901dd32efb8
5
5
  SHA512:
6
- metadata.gz: be6b3b1893cade4d2614574324dae81187739d0759a87e087cc75aed877a2380adc1fc8f08c435de6557dcaaec00e5b8d6050fafce85f2346a2a905ef98f6b5e
7
- data.tar.gz: a252ca302f5067bdc95c90bf34dc09a3e39918c32269db1d1bdb92fa64b1cc8109a2f49f87003bfcf87887e6cdd6f087b520d2553a169a408b249d8d42706ffb
6
+ metadata.gz: 63c34b59eb60fa8ce1c1219f5828cb7fa4704bec5034b8f9270fc38c10d5a6eb4edd23ff3a0615a35c54f66bca85fdc12b1298a71c213a94383cd21109f66546
7
+ data.tar.gz: 91dc10dc49b09faa432528f0cd19449300152e806ba710c04a3e64c6e9a8cc5083ed919d41801da511f26a73b0bad036d65e3261dbe40bcaddd5f6f1a6cf9c99
data/README.md CHANGED
@@ -1,5 +1,5 @@
1
- # Video 0.1.2
2
- ## [Glimmer Custom Widget](https://github.com/AndyObtiva/glimmer#custom-widget-gem)
1
+ # Video 0.1.3
2
+ ## [<img src="https://raw.githubusercontent.com/AndyObtiva/glimmer/master/images/glimmer-logo-hi-res.png" height=40 /> Glimmer Custom Widget](https://github.com/AndyObtiva/glimmer#custom-widget-gem)
3
3
  [![Gem Version](https://badge.fury.io/rb/glimmer-cw-video.svg)](http://badge.fury.io/rb/glimmer-cw-video)
4
4
  [![Travis CI](https://travis-ci.com/AndyObtiva/glimmer-cw-video.svg?branch=master)](https://travis-ci.com/github/AndyObtiva/glimmer-cw-video)
5
5
  [![Coverage Status](https://coveralls.io/repos/github/AndyObtiva/glimmer-cw-video/badge.svg?branch=master)](https://coveralls.io/github/AndyObtiva/glimmer-cw-video?branch=master)
@@ -29,7 +29,7 @@ This has been tested and confirmed to be working on:
29
29
  Add the following to a Glimmer application `Gemfile`:
30
30
 
31
31
  ```ruby
32
- gem 'glimmer-cw-video', '0.1.2'
32
+ gem 'glimmer-cw-video', '0.1.3'
33
33
  ```
34
34
 
35
35
  Run:
@@ -134,6 +134,7 @@ end
134
134
 
135
135
  ## Change Log
136
136
 
137
+ - 0.1.3: Fixed an issue with hooking widget observers via symbol instead of a string
137
138
  - 0.1.2: Upgraded to the glimmer-dsl-swt 0.4.1, glimmer-dsl-xml 0.1.0, and glimmer-dsl-css 0.1.0
138
139
  - 0.1.1: Upgraded to Glimmer 0.8.0 with a relaxed version requirement
139
140
  - 0.1.0: Initial version
@@ -148,10 +149,11 @@ end
148
149
  - Make sure to add tests for it. This is important so I don't break it in a future version unintentionally.
149
150
  - Please try not to mess with the Rakefile, version, or history. If you want to have your own version, or is otherwise necessary, that is fine, but please isolate to its own commit so I can cherry-pick around it.
150
151
 
151
- ## Copyright
152
+ ## License
152
153
 
153
- Copyright (c) 2020 - Andy Maleh. See [LICENSE.txt](LICENSE.txt) for
154
- further details.
154
+ [MIT](LICENSE.txt)
155
+
156
+ Copyright (c) 2020 - Andy Maleh.
155
157
 
156
158
  --
157
159
 
@@ -141,6 +141,7 @@ module Glimmer
141
141
 
142
142
  def can_handle_observation_request?(observation_request)
143
143
  result = false
144
+ observation_request = observation_request.to_s
144
145
  if observation_request.start_with?('on_')
145
146
  attribute = observation_request.sub(/^on_/, '')
146
147
  result = OBSERVED_ATTRIBUTE_TO_PROPERTY_MAPPING.keys.include?(attribute)
@@ -149,6 +150,7 @@ module Glimmer
149
150
  end
150
151
 
151
152
  def handle_observation_request(observation_request, &block)
153
+ observation_request = observation_request.to_s
152
154
  if observation_request.start_with?('on_')
153
155
  attribute = observation_request.sub(/^on_/, '')
154
156
  if attribute == 'loaded' && !@completed
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: glimmer-cw-video
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.2
4
+ version: 0.1.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Andy Maleh
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-07-21 00:00:00.000000000 Z
11
+ date: 2020-07-28 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  requirement: !ruby/object:Gem::Requirement