mootools-plus 0.1.5 → 0.1.6

Sign up to get free protection for your applications and to get access to all the features.
data/CHANGELOG.md CHANGED
@@ -1,3 +1,7 @@
1
+ ## 0.1.6
2
+
3
+ * Fix Array#deleteIf
4
+
1
5
  ## 0.1.5
2
6
 
3
7
  * Add Array#filterOne, Add Array#selectOne as alias
@@ -1,5 +1,5 @@
1
1
  module MootoolsPlus
2
2
  module Rails
3
- VERSION = '0.1.5'
3
+ VERSION = '0.1.6'
4
4
  end
5
5
  end
@@ -12,7 +12,7 @@ if (window.MooTools) {
12
12
  deleteIf: function(fn){
13
13
  for (var i = 0, length = this.length; i < length; i++) {
14
14
  var el = this.shift()
15
- if (fn.call(el)) this.push(el)
15
+ if (!fn.call(el)) this.push(el)
16
16
  }
17
17
  return this
18
18
  },
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mootools-plus
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.5
4
+ version: 0.1.6
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,11 +9,11 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-06-05 00:00:00.000000000Z
12
+ date: 2012-06-06 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: railties
16
- requirement: &2155919620 !ruby/object:Gem::Requirement
16
+ requirement: !ruby/object:Gem::Requirement
17
17
  none: false
18
18
  requirements:
19
19
  - - ! '>='
@@ -24,7 +24,15 @@ dependencies:
24
24
  version: '5.0'
25
25
  type: :runtime
26
26
  prerelease: false
27
- version_requirements: *2155919620
27
+ version_requirements: !ruby/object:Gem::Requirement
28
+ none: false
29
+ requirements:
30
+ - - ! '>='
31
+ - !ruby/object:Gem::Version
32
+ version: 3.1.0
33
+ - - <
34
+ - !ruby/object:Gem::Version
35
+ version: '5.0'
28
36
  description: mootools-plus provides helpers and Ruby-like methods to Javascript MooTools
29
37
  core classes and plus
30
38
  email:
@@ -68,7 +76,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
68
76
  version: '0'
69
77
  requirements: []
70
78
  rubyforge_project:
71
- rubygems_version: 1.8.6
79
+ rubygems_version: 1.8.23
72
80
  signing_key:
73
81
  specification_version: 3
74
82
  summary: mootools-plus provides helpers and Ruby-like methods to Javascript MooTools