rsence 2.1.0 → 2.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
data/INSTALL.rdoc CHANGED
@@ -55,14 +55,13 @@ RSence works just fine on Windows too, with a few limitations.
55
55
  Windows compatibility has been officially tested on Windows XP SP3 and Windows 7 (64 bit).
56
56
 
57
57
  ==== Install ruby 1.8.7:
58
- * Download Ruby 1.8.7-p249 (RC2) from http://rubyinstaller.org/downloads
58
+ * Download Ruby 1.8.7-p302 from http://rubyinstaller.org/downloads
59
59
  * Run the downloaded exe to install ruby
60
60
  * In the installation and destination prompt, check these options:
61
61
  * Add Ruby executables to your PATH
62
62
  * Associate .rb and .rbw files with this Ruby installation
63
- * Download and Install the Development Kit from http://rubyinstaller.org/downloads
64
- * Extract the included directories into the directory where you installed ruby.
65
- * It's +C:\ruby+ by default.
63
+ * Download and Install the Development Kit (DevKit-tdm-...-sfx.exe) from http://rubyinstaller.org/downloads
64
+ * Extract the included directories into the directory where you installed ruby, which is +C:\ruby+ by default.
66
65
 
67
66
  ==== Install RSence
68
67
  * In the command prompt, run:
data/VERSION CHANGED
@@ -1 +1 @@
1
- 2.1.0
1
+ 2.1.1
@@ -273,9 +273,11 @@ HControl = HView.extend({
273
273
  setValueRange: function(_value, _minValue, _maxValue) {
274
274
  this.minValue = _minValue;
275
275
  this.maxValue = _maxValue;
276
- _value = (_value < _minValue) ? _minValue : _value;
277
- _value = (_value > _maxValue) ? _maxValue : _value;
278
- this.setValue(_value);
276
+ if( typeof _value === 'number' ) {
277
+ _value = (_value < _minValue) ? _minValue : _value;
278
+ _value = (_value > _maxValue) ? _maxValue : _value;
279
+ this.setValue(_value);
280
+ }
279
281
  return this;
280
282
  },
281
283
 
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rsence
3
3
  version: !ruby/object:Gem::Version
4
- hash: 11
4
+ hash: 9
5
5
  prerelease: false
6
6
  segments:
7
7
  - 2
8
8
  - 1
9
- - 0
10
- version: 2.1.0
9
+ - 1
10
+ version: 2.1.1
11
11
  platform: ruby
12
12
  authors:
13
13
  - Riassence Inc.
@@ -15,7 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2010-12-01 00:00:00 +02:00
18
+ date: 2010-12-07 00:00:00 +02:00
19
19
  default_executable: rsence
20
20
  dependencies:
21
21
  - !ruby/object:Gem::Dependency